/kernel/linux/build/test/unittest/accesstokenid/ |
D | accesstokenid_test.cpp | 88 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/ |
D | posix_fs_open_test.c | 43 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);
|
D | posix_fs_lseek_test.c | 47 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);
|
D | posix_fs_unlink_test.c | 43 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR); 65 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
|
D | posix_fs_fstat_test.c | 45 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/ |
D | mqueue_func_test.c | 112 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/ |
D | openat2_test.c | 165 .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/ |
D | posix_fs_func_test.c | 267 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/ |
D | mq_exp_test.c | 63 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/ |
D | dmabuf-heap.c | 49 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/ |
D | posix_fs_full_test.c | 55 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/ |
D | accesstokenidcommon.cpp | 28 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/ |
D | It_posix_queue_016.cpp | 43 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()
|
D | It_posix_queue_127.cpp | 46 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()
|
D | It_posix_queue_203.cpp | 49 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()
|
D | It_posix_queue_014.cpp | 44 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()
|
D | It_posix_queue_013.cpp | 44 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()
|
D | It_posix_queue_015.cpp | 47 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/ |
D | It_posix_queue_010.c | 43 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()
|
D | It_posix_queue_003.c | 48 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()
|
D | It_posix_queue_008.c | 43 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()
|
D | It_posix_queue_009.c | 46 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()
|
D | It_posix_queue_007.c | 44 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/ |
D | IO_test_008.cpp | 54 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/ |
D | It_stdio_readv_001.cpp | 54 fd = open(pathname, O_CREAT | O_RDWR | O_TRUNC, 0666); // 0666, file authority in Testcase() 62 fd = open(pathname, O_RDWR); in Testcase()
|