Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 25 of 598) sorted by relevance

12345678910>>...24

/kernel/linux/build/test/unittest/accesstokenid/
Daccesstokenid_test.cpp88 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in GetTokenid()
107 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in SetTokenid()
126 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in GetfTokenid()
145 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in SetfTokenid()
368 int fd = open(DEV_ACCESSTOKENID, O_RDWR);
388 int fd = open(DEV_ACCESSTOKENID, O_RDWR);
408 int fd = open(DEV_ACCESSTOKENID, O_RDWR);
428 int fd = open(DEV_ACCESSTOKENID, O_RDWR);
450 int fd = open(DEV_ACCESSTOKENID, O_RDWR);
480 int fd = open(DEV_ACCESSTOKENID, O_RDWR);
[all …]
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/
Dposix_fs_open_test.c43 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH);
49 fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
71 int32_t fd = open(tmpFileName1, O_CREAT | O_RDWR);
75 fd = open(tmpFileName2, O_CREAT | O_RDWR);
94 fd = open(tmpFileName, O_CREAT | O_RDWR);
Dposix_fs_lseek_test.c47 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
73 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
99 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
177 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
Dposix_fs_unlink_test.c43 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
65 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
Dposix_fs_fstat_test.c45 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
127 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
154 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
/kernel/liteos_m/testsuites/unittest/posix/src/mqueue/
Dmqueue_func_test.c112 mqueue = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr);
149 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
211 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr);
228 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr);
250 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
274 queue = mq_open(qName, O_RDWR, S_IRUSR | S_IWUSR, NULL);
302 queue[i] = mq_open(qName[i], O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
314 queue[i] = mq_open(qName[i], O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
340 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &setAttr);
378 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr);
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
Dopenat2_test.c165 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
167 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
178 .how.flags = O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
198 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags()
207 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
210 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
221 .how.flags = O_TMPFILE | O_RDWR, in test_openat2_flags()
/kernel/liteos_m/testsuites/unittest/posix/src/fs/
Dposix_fs_func_test.c267 fd = open(TEST_FILE_PTAH_RIGHT, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
290 fd = open(TEST_FILE_PTAH_RIGHT, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
313 fd = open(TEST_FILE_PTAH_RIGHT, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
337 fd = open(TEST_FILE_PTAH_RIGHT, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
1302 fd = open(TEST_FILE_PTAH_RIGHT, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
1464 fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
1501 fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
1526 fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
1554 fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
1581 fd = open(FILE1, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
[all …]
/kernel/liteos_m/testsuites/unittest/xts/ipc/msg_queue/
Dmq_exp_test.c63 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr);
142 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr);
173 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr);
235 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr);
286 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr);
319 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr);
359 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr);
420 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr);
475 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr);
511 queue = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr);
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/dmabuf-heaps/
Ddmabuf-heap.c49 fd = open(name, O_RDWR); in open_vgem()
99 fd = open(buf, O_RDWR); in dmabuf_heap_open()
129 return dmabuf_heap_alloc_fdflags(fd, len, O_RDWR | O_CLOEXEC, flags, in dmabuf_heap_alloc()
234 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_older()
266 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_newer()
346 ~(O_RDWR | O_CLOEXEC), 0, &dmabuf_fd); in test_alloc_errors()
/kernel/liteos_m/testsuites/unittest/posix/src/fs/full/
Dposix_fs_full_test.c55 fd1 = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH);
59 fd2 = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH);
66 fd2 = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH);
95 fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH);
150 fd[i] = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH);
278 fd = open(tmpFileName, O_CREAT | O_RDWR);
320 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
348 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
412 int32_t fd = open(tmpFileName1, O_CREAT | O_RDWR, TEST_MODE_HIGH);
/kernel/linux/build/test/fuzztest/accesstokenid/src/
Daccesstokenidcommon.cpp28 int fd = open(DEVACCESSTOKENID, O_RDWR); in GetTokenid()
43 int fd = open(DEVACCESSTOKENID, O_RDWR); in SetTokenid()
185 int fd = open(DEVACCESSTOKENID, O_RDWR); in GetfTokenid()
202 int fd = open(DEVACCESSTOKENID, O_RDWR); in SetfTokenid()
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
DIt_posix_queue_016.cpp43 mqueue1 = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
46 mqueue2 = mq_open(mqname, O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
DIt_posix_queue_127.cpp46 msgQId1 = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &msgAttr); in Testcase()
49 msgQId2 = mq_open(qName, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &msgAttr); in Testcase()
DIt_posix_queue_203.cpp49 mqueue1 = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase()
52 mqueue2 = mq_open(mqname, O_RDWR | O_EXCL, S_IRUSR | S_IWUSR, &attr); in Testcase()
DIt_posix_queue_014.cpp44 mqueue = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
50 ICUNIT_GOTO_EQUAL(attr.mq_flags, O_CREAT | O_RDWR, attr.mq_flags, EXIT1); in Testcase()
DIt_posix_queue_013.cpp44 mqueue1 = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
50 mqueue2 = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
DIt_posix_queue_015.cpp47 mqueue = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase()
53 ICUNIT_GOTO_EQUAL(attrget.mq_flags, O_CREAT | O_RDWR | O_NONBLOCK, attrget.mq_flags, EXIT1); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/mqueue/
DIt_posix_queue_010.c43 mqueue1 = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
46 mqueue2 = mq_open(mqname, O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
DIt_posix_queue_003.c48 mqueue1 = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase()
51 mqueue2 = mq_open(mqname, O_RDWR | O_EXCL, S_IRUSR | S_IWUSR, &attr); in Testcase()
DIt_posix_queue_008.c43 mqueue = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
49 ICUNIT_GOTO_EQUAL(attr.mq_flags, O_CREAT | O_RDWR, attr.mq_flags, EXIT1); in Testcase()
DIt_posix_queue_009.c46 mqueue = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase()
52 ICUNIT_GOTO_EQUAL(attrget.mq_flags, O_CREAT | O_RDWR | O_NONBLOCK, attrget.mq_flags, EXIT1); in Testcase()
DIt_posix_queue_007.c44 mqueue1 = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
50 mqueue2 = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/io/smoke/
DIO_test_008.cpp54 fd = open(file, O_CREAT | O_RDWR | O_TRUNC); in Testcase()
64 fd = open(file, O_RDWR); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/io/full/
DIt_stdio_readv_001.cpp54 fd = open(pathname, O_CREAT | O_RDWR | O_TRUNC, 0666); // 0666, file authority in Testcase()
62 fd = open(pathname, O_RDWR); in Testcase()

12345678910>>...24