/Zephyr-latest/include/zephyr/posix/ |
D | fcntl.h | 11 #define O_CREAT 0x0040 macro 15 #define O_CREAT 0x0200 macro
|
/Zephyr-latest/tests/posix/semaphores/src/ |
D | main.c | 177 sem1 = sem_open("sem1", O_CREAT, 0, (CONFIG_POSIX_SEM_VALUE_MAX + 1)); in ZTEST() 183 sem1 = sem_open("sem1", O_CREAT, 0, 0); in ZTEST() 186 sem2 = sem_open("sem2", O_CREAT, 0, 0); in ZTEST() 195 new_sem1 = sem_open("sem1", i % 2 == 0 ? O_CREAT : 0, 0, 0); in ZTEST() 198 new_sem2 = sem_open("sem2", i % 2 == 0 ? O_CREAT : 0, 0, 0); in ZTEST() 211 zassert_equal_ptr((sem_open("sem1", O_CREAT | O_EXCL, 0, 0)), SEM_FAILED); in ZTEST() 262 different_sem1 = sem_open("sem1", O_CREAT, 0, 0); in ZTEST() 298 sem1 = sem_open("nsem", O_CREAT, 0, 0); in ZTEST()
|
/Zephyr-latest/lib/libc/armstdc/include/ |
D | fcntl.h | 10 #define O_CREAT 0x0200 macro
|
/Zephyr-latest/tests/posix/common/src/ |
D | mqueue.c | 73 int flags = O_RDWR | O_CREAT; in ZTEST() 130 int flags = O_RDWR | O_CREAT; in ZTEST() 179 int flags = O_RDWR | O_CREAT; in ZTEST() 211 int flags = O_RDWR | O_CREAT; in ZTEST() 251 int flags = O_RDWR | O_CREAT; in ZTEST()
|
/Zephyr-latest/lib/libc/arcmwdt/include/ |
D | fcntl.h | 23 #if O_NONBLOCK & (O_RDONLY | O_WRONLY | O_RDWR | O_NDELAY | O_CREAT | O_APPEND | O_TRUNC | O_EXCL)
|
/Zephyr-latest/tests/posix/fs/src/ |
D | test_fs_dir.c | 33 res = open(TEST_DIR_FILE, O_CREAT | O_RDWR, 0770); in test_mkdir() 175 zassert_not_equal(open(TEST_DIR_FILE, O_CREAT | O_RDWR), -1, in ZTEST()
|
D | test_fs_stat.c | 27 fh = open(filename, O_CREAT | O_WRONLY, 0440); in create_file()
|
D | test_fs_open_flags.c | 63 fd = open(THE_FILE, O_CREAT | O_WRONLY, 0440); in test_file_open_flags() 239 fd = open(THE_FILE, O_CREAT | O_WRONLY, 0440); in test_file_open_flags()
|
D | test_fs_file.c | 19 res = open(TEST_FILE, O_CREAT | O_RDWR, 0660); in test_file_open()
|
/Zephyr-latest/lib/posix/options/ |
D | fs.c | 60 int mode = (mf & O_CREAT) ? FS_O_CREATE : 0; in posix_mode_to_zephyr() 105 if (flags & O_CREAT) { in zvfs_open() 106 flags &= ~O_CREAT; in zvfs_open()
|
D | mqueue.c | 66 if ((oflags & O_CREAT) != 0) { in mq_open() 78 if ((name == NULL) || ((oflags & O_CREAT) != 0 && (msg_size <= 0 || in mq_open() 94 if ((msg_queue != NULL) && (oflags & O_CREAT) != 0 && in mq_open() 101 if ((msg_queue == NULL) && (oflags & O_CREAT) == 0) { in mq_open()
|
D | semaphore.c | 258 if (((oflags & O_CREAT) != 0) && ((oflags & O_EXCL) != 0)) { in sem_open() 270 if ((oflags & O_CREAT) == 0) { in sem_open()
|
D | device_io.c | 67 if ((flags & O_CREAT) != 0) { in open()
|
D | shm.c | 306 bool creat = (oflag & O_CREAT) != 0; in shm_open()
|
/Zephyr-latest/drivers/flash/ |
D | flash_simulator_native.c | 53 *flash_fd = open(flash_file_path, O_RDWR | O_CREAT, (mode_t)0600); in flash_mock_init_native()
|
/Zephyr-latest/drivers/eeprom/ |
D | eeprom_simulator_native.c | 49 *eeprom_fd = open(eeprom_file_path, O_RDWR | O_CREAT, (mode_t)0600); in eeprom_mock_init_native()
|
/Zephyr-latest/tests/posix/shm/src/ |
D | main.c | 27 #define VALID_FLAGS (O_RDWR | O_CREAT) 29 #define OPEN_FLAGS (VALID_FLAGS & ~O_CREAT)
|
/Zephyr-latest/scripts/kconfig/ |
D | kconfiglib.py | 6433 sym_path, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, 0o644))
|