Home
last modified time | relevance | path

Searched full:open (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/nrf52832-nimble/rt-thread/examples/ulog/
H A Dulog_example.c34 LOG_D("LOG_D(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
35 LOG_I("LOG_I(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
36 LOG_W("LOG_W(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
37 LOG_E("LOG_E(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
38 … ulog_d("test", "ulog_d(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
39 … ulog_i("test", "ulog_i(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
40 … ulog_w("test", "ulog_w(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
41 … ulog_e("test", "ulog_e(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
69 …syslog(LOG_INFO, "syslog(%d) LOG_INFO: RT-Thread is an open source IoT operating system from China… in ulog_example()
70 …syslog(LOG_DEBUG, "syslog(%d) LOG_DEBUG: RT-Thread is an open source IoT operating system from Chi… in ulog_example()
[all …]
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/include/port/
H A Dfcntl.h7 /* File access modes used for open() and fnctl() */
8 #define JFFS2_O_RDONLY (O_RDONLY) /* Open for reading only */
9 #define JFFS2_O_WRONLY (O_WRONLY) /* Open for writing only */
10 #define JFFS2_O_RDWR (O_RDONLY|O_WRONLY) /* Open for reading and writing */
15 /* open() mode flags */
22 /* File status flags used for open() and fcntl() */
/nrf52832-nimble/rt-thread/examples/test/
H A Dfs_test.c49 fd = open(fsrw1_fn, O_WRONLY | O_CREAT | O_TRUNC, 0); in fsrw1_thread_entry()
52 rt_kprintf("fsrw1 open file for write failed\n"); in fsrw1_thread_entry()
84 /* open file read only */ in fsrw1_thread_entry()
85 fd = open(fsrw1_fn, O_RDONLY, 0); in fsrw1_thread_entry()
88 rt_kprintf("fsrw1 open file for read failed\n"); in fsrw1_thread_entry()
157 fd = open(fsrw2_fn, O_WRONLY | O_CREAT | O_TRUNC, 0); in fsrw2_thread_entry()
160 rt_kprintf("fsrw2 open file for write failed\n"); in fsrw2_thread_entry()
192 /* open file read only */ in fsrw2_thread_entry()
193 fd = open(fsrw2_fn, O_RDONLY, 0); in fsrw2_thread_entry()
196 rt_kprintf("fsrw2 open file for read failed\n"); in fsrw2_thread_entry()
/nrf52832-nimble/rt-thread/documentation/
H A Droadmap-2.1.0.md3 …hat's the features of next version. In fact, I would say, RT-Thread is an open source community, w…
9open source system, then he/she must also take into account the open source ecosystem as well. The…
13 …he platform, so that RT-Thread can be more POSIX, more standardized, more open and easy to use. Th…
/nrf52832-nimble/rt-thread/examples/file/
H A Dreadwrite.c22 fd = open(TEST_FN, O_WRONLY | O_CREAT | O_TRUNC, 0); in readwrite()
25 rt_kprintf("open file for write failed\n"); in readwrite()
48 fd = open(TEST_FN, O_WRONLY | O_CREAT | O_APPEND, 0); in readwrite()
51 rt_kprintf("open file for append write failed\n"); in readwrite()
66 fd = open(TEST_FN, O_RDONLY, 0); in readwrite()
69 rt_kprintf("check: open file for read failed\n"); in readwrite()
/nrf52832-nimble/rt-thread/components/dfs/src/
H A Ddfs_posix.c9 * 2018-02-07 Bernard Change the 3rd parameter of open/fcntl/ioctl to '...'
23 * this function is a POSIX compliant version, which will open a file and
27 * @param flags the file open flags.
29 * @return the non-negative integer on successful open, others for failed.
31 int open(const char *file, int flags, ...) in open() function
63 RTM_EXPORT(open);
66 * this function is a POSIX compliant version, which will close the open
104 * buffer length for an open file descriptor.
149 * buffer length for an open file descriptor.
193 * an open file descriptor.
[all …]
H A Ddfs_file.c11 * 2019-01-24 Bernard Remove file repeatedly open check.
25 * this function will open a file which specified by path with specified flags.
29 * @param flags the flags for open operator.
50 LOG_D("open file:%s", fullpath); in dfs_file_open()
61 LOG_D("open in filesystem:%s", fs->ops->name); in dfs_file_open()
86 /* specific file system open routine */ in dfs_file_open()
87 if (fd->fops->open == NULL) in dfs_file_open()
96 if ((result = fd->fops->open(fd)) < 0) in dfs_file_open()
102 LOG_E("open failed"); in dfs_file_open()
114 LOG_I("open successful"); in dfs_file_open()
[all …]
/nrf52832-nimble/rt-thread/components/utilities/logtrace/
H A Dlog_file.c38 /* test and open */ in fdevice_open()
39 fd = open(fdev->filename, O_RDONLY, 0); in fdevice_open()
43 fd = open(fdev->filename, O_WRONLY | O_APPEND, 0); in fdevice_open()
48 fd = open(fdev->filename, O_WRONLY | O_CREAT, 0); in fdevice_open()
128 _file_device.parent.open = fdevice_open; in log_trace_file_init()
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/
H A Dble_hs_stop.c62 * Terminates the first open connection.
64 * If there are no open connections, signals completion of the close procedure.
74 /* No open connections. Signal completion of the stop procedure. */ in ble_hs_stop_terminate_next_conn()
92 * Event handler. Attempts to terminate the first open connection if there is
205 /* Schedule termination of all open connections in the host task. This is in ble_hs_stop()
206 * done even if there are no open connections so that the result of the in ble_hs_stop()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/apps/
H A Dtftp_server.h57 * Open file for read/write.
63 void* (*open)(const char* fname, const char* mode, u8_t write); member
66 * @param handle File handle returned by open()
71 * @param handle File handle returned by open()
79 * @param handle File handle returned by open()
/nrf52832-nimble/rt-thread/components/libc/compilers/minilibc/sys/
H A Dstat.h25 #define _FCREAT 0x0200 /* open with file create */
26 #define _FTRUNC 0x0400 /* open with truncation */
27 #define _FEXCL 0x0800 /* error on open if file exists */
32 #define _FNOCTTY 0x8000 /* don't assign a ctty on this open */
/nrf52832-nimble/rt-thread/components/libc/compilers/dlib/sys/
H A Dunistd.h28 #define _FCREAT 0x0200 /* open with file create */
29 #define _FTRUNC 0x0400 /* open with truncation */
30 #define _FEXCL 0x0800 /* error on open if file exists */
35 #define _FNOCTTY 0x8000 /* don't assign a ctty on this open */
/nrf52832-nimble/rt-thread/components/libc/compilers/armlibc/sys/
H A Dunistd.h30 #define _FCREAT 0x0200 /* open with file create */
31 #define _FTRUNC 0x0400 /* open with truncation */
32 #define _FEXCL 0x0800 /* error on open if file exists */
37 #define _FNOCTTY 0x8000 /* don't assign a ctty on this open */
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/apps/
H A Dtftp_server.h57 * Open file for read/write.
63 void* (*open)(const char* fname, const char* mode, u8_t write); member
66 * @param handle File handle returned by open()
71 * @param handle File handle returned by open()
79 * @param handle File handle returned by open()
/nrf52832-nimble/rt-thread/components/finsh/
H A Dmsh.c214 /* try to open program */ in msh_exec_module()
215 fd = open(pg_name, O_RDONLY, 0); in msh_exec_module()
221 fd = open(pg_name, O_RDONLY, 0); in msh_exec_module()
226 /* add .mo and open program */ in msh_exec_module()
228 /* try to open program */ in msh_exec_module()
230 fd = open(pg_name, O_RDONLY, 0); in msh_exec_module()
236 fd = open(pg_name, O_RDONLY, 0); in msh_exec_module()
327 /* try to open program */ in _msh_exec_lwp()
328 fd = open(pg_name, O_RDONLY, 0); in _msh_exec_lwp()
458 if (dir == RT_NULL) /* open directory failed! */ in msh_auto_complete_path()
/nrf52832-nimble/rt-thread/src/
H A Ddevice.c26 #define device_open (dev->ops->open)
33 #define device_open (dev->open)
233 * This function will open a device
236 * @param oflag the flags for device open
272 /* call device open interface */ in rt_device_open()
279 /* set open flag */ in rt_device_open()
283 /* set open flag */ in rt_device_open()
326 /* set open flag */ in rt_device_close()
/nrf52832-nimble/rt-thread/tools/
H A Dgenconf.py9 f = open('rtconfig.h', 'r')
13 print("Open rtconfig.h file failed.")
19 f = open('.config', 'w')
/nrf52832-nimble/rt-thread/components/net/uip/apps/smtp/
H A Dmakestrings6 open(OUTPUTC, "> $name.c");
7 open(OUTPUTH, "> $name.h");
9 open(FILE, "$name");
/nrf52832-nimble/rt-thread/components/net/uip/apps/webserver/
H A Dmakestrings6 open(OUTPUTC, "> $name.c");
7 open(OUTPUTH, "> $name.h");
9 open(FILE, "$name");
/nrf52832-nimble/rt-thread/components/net/uip/apps/webclient/
H A Dmakestrings6 open(OUTPUTC, "> $name.c");
7 open(OUTPUTH, "> $name.h");
9 open(FILE, "$name");
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/emu/
H A Dtest_cmds.c106 MSGLN("Can't open file %s for write.", file_name); in test_write_file()
139 MSGLN("Can't open file %s for read.", file_name); in test_verify_file()
180 MSGLN("Can't open file %s for append.", file_name); in test_append_file()
217 MSGLN("Can't open %s", name); in cmd_t1()
249 MSGLN("Can't open dir abc, err: %d", uffs_get_error()); in DoTest2()
266 MSGLN("Can't open /abc/test.txt"); in DoTest2()
386 /* open two files and test write */
391 MSGLN("open /a ..."); in cmd_t4()
393 MSGLN("Can't open /a"); in cmd_t4()
397 MSGLN("open /b ..."); in cmd_t4()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/httpd/makefsdata/
H A Dmakefsdata3 open(OUTPUT, "> fsdata.c");
6 open(FILES, "find . -type f |");
17 open(HEADER, "> /tmp/header") || die $!;
48 open(FILE, "/tmp/file");
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/http/makefsdata/
H A Dmakefsdata3 open(OUTPUT, "> fsdata.c");
6 open(FILES, "find . -type f |");
17 open(HEADER, "> /tmp/header") || die $!;
48 open(FILE, "/tmp/file");
/nrf52832-nimble/rt-thread/components/dfs/filesystems/elmfat/
H A Dff.h7 / FatFs module is an open source software. Redistribution and use of FatFs in
166 FSIZE_t fptr; /* File read/write pointer (Zeroed on file open) */
174 DWORD* cltbl; /* Pointer to the cluster link map table (nulled on open, set by application) */
240 FR_TOO_MANY_OPEN_FILES, /* (18) Number of open files > _FS_LOCK */
249 FRESULT f_open (FIL* fp, const TCHAR* path, BYTE mode); /* Open or create a file */
250 FRESULT f_close (FIL* fp); /* Close an open file object */
256 FRESULT f_opendir (DIR* dp, const TCHAR* path); /* Open a directory */
257 FRESULT f_closedir (DIR* dp); /* Close an open directory */
331 /* File access mode and open method flags (3rd argument of f_open) */
/nrf52832-nimble/rt-thread/components/dfs/filesystems/devfs/
H A Ddevfs.c8 * 2018-02-11 Bernard Ignore O_CREAT flag in open.
127 /* open root directory */ in dfs_device_fs_open()
184 if (file->fops->open) in dfs_device_fs_open()
186 result = file->fops->open(file); in dfs_device_fs_open()
205 /* open device failed. */ in dfs_device_fs_open()

12345678910>>...13