/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
D | functionalext_shm_open.c | 31 int fd = shm_open(shm_name, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in shm_open_0100() 45 int fd1 = shm_open(shm_name, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in shm_open_0200() 48 int fd2 = shm_open(shm_name, O_RDWR, S_IRUSR | S_IWUSR); in shm_open_0200() 64 int fd1 = shm_open(shm_name, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in shm_open_0300() 67 int fd2 = shm_open(shm_name, O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR); in shm_open_0300() 84 int fd = shm_open(shm_name, O_RDWR, S_IRUSR | S_IWUSR); in shm_open_0400()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
D | chmod.c | 30 …S_IRUSR | S_ISGID | S_ISVTX | S_IWUSR | S_IROTH | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP … in chmod_0100() 63 …S_ISUID | S_ISGID | S_ISVTX | S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH … in chmod_0300()
|
/third_party/libsnd/tests/ |
D | win32_test.c | 118 flags = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH ; in show_fstat_error() 128 flags = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH ; in show_fstat_error() 178 flags = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH ; in show_lseek_error() 188 flags = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH ; in show_lseek_error() 239 flags = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH ; in show_stat_fstat_error()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
D | 16-1.c | 59 fd = open(fname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 94 S_IRUSR | S_IWUSR, NULL); in main() 111 S_IRUSR | S_IWUSR, NULL); in main()
|
D | 7-3.c | 35 roqueue = mq_open(qname, O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR, NULL); in main() 42 roqueue2 = mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, NULL); in main()
|
D | 15-1.c | 32 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 43 S_IRUSR | S_IWUSR, NULL); in main()
|
D | 23-1.c | 33 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 44 S_IRUSR | S_IWUSR, NULL); in main()
|
/third_party/rust/crates/nix/test/ |
D | test_mq.rs | 36 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_send_and_receive() 65 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_getattr() 90 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_setattr() 140 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_set_nonblocking() 167 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_unlink()
|
/third_party/ltp/testcases/kernel/syscalls/link/ |
D | link04.c | 24 #define MODE_TO1 S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IXOTH|S_IROTH 25 #define MODE_TO2 S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IXOTH|S_IROTH|S_IWOTH 26 #define MODE_TE S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH
|
/third_party/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod07.c | 53 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ 59 #define CHR_MODE (S_IFCHR | S_IRUSR | S_IWUSR) 60 #define BLK_MODE (S_IFBLK | S_IRUSR | S_IWUSR)
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 22-1.c | 29 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR); in main() 35 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main()
|
D | 25-1.c | 35 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main() 46 fd = shm_open(SHM_NAME, O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in main()
|
D | 18-1.c | 34 #define MOD_FLAGS (S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH) /* -w?rw?r-? */ 36 #define ALL_MOD_FLAGS (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | \
|
D | 14-2.c | 39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main() 58 fd = shm_open(SHM_NAME, O_RDWR, S_IRUSR | S_IWUSR); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
D | 5-1.c | 28 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main() 39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
D | 1-1.c | 38 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); in main() 44 if (mq_open(mqname, O_RDWR, S_IRUSR | S_IWUSR, 0) == (mqd_t)-1) { in main()
|
/third_party/libsnd/src/ |
D | sf_unistd.h | 56 #ifndef S_IWUSR 57 #define S_IWUSR 0000200 /* write permission, owner */ macro
|
/third_party/libuv/test/ |
D | test-fs-open-flags.c | 91 UV_FS_O_TRUNC | UV_FS_O_CREAT | UV_FS_O_WRONLY, S_IWUSR | S_IRUSR, NULL); in refresh() 105 UV_FS_O_TRUNC | UV_FS_O_CREAT | UV_FS_O_WRONLY, S_IWUSR | S_IRUSR, NULL); in refresh() 133 r = uv_fs_open(NULL, &open_req, file, flags, S_IWUSR | S_IRUSR, NULL); in openFail() 139 r = uv_fs_open(NULL, &open_req, file, flags, S_IWUSR | S_IRUSR, NULL); in openFail() 152 r = uv_fs_open(NULL, &open_req, file, flags, S_IWUSR | S_IRUSR, NULL); in refreshOpen() 181 r = uv_fs_open(NULL, &open_req, file, UV_FS_O_RDONLY, S_IWUSR | S_IRUSR, NULL); in writeExpect()
|
D | test-fs.c | 867 S_IRUSR | S_IWUSR, create_cb); in TEST_IMPL() 930 O_WRONLY | O_CREAT | add_flags, S_IWUSR | S_IRUSR, NULL); in fs_file_sync() 1019 O_WRONLY | O_CREAT | add_flags, S_IWUSR | S_IRUSR, NULL); in fs_file_write_null_buffer() 1065 S_IWUSR | S_IRUSR, NULL); in TEST_IMPL() 1073 S_IWUSR | S_IRUSR, NULL); in TEST_IMPL() 1153 f = open("test_file", O_WRONLY | O_CREAT, S_IWUSR | S_IRUSR); in test_sendfile() 1169 S_IWUSR | S_IRUSR, NULL); in test_sendfile() 1348 S_IWUSR | S_IRUSR, NULL); in TEST_IMPL() 1515 S_IWUSR | S_IRUSR, NULL); in TEST_IMPL() 1576 S_IWUSR | S_IRUSR, NULL); in TEST_IMPL() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/nftw/ |
D | tools64.c | 121 if (chmod("./tmp/data/d333", (mode_t) S_IWUSR | S_IXUSR | S_IWGRP | in setup_path() 129 if (chmod("./tmp/data/d666", (mode_t) S_IRUSR | S_IWUSR | S_IRGRP | in setup_path() 137 if (chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IWUSR | S_IXUSR | in setup_path()
|
D | tools.c | 122 if (chmod("./tmp/data/d333", (mode_t) S_IWUSR | S_IXUSR | S_IWGRP | in setup_path() 130 if (chmod("./tmp/data/d666", (mode_t) S_IRUSR | S_IWUSR | S_IRGRP | in setup_path() 138 if (chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IWUSR | S_IXUSR | in setup_path()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 6-6.c | 45 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 57 fd = open(tmpfname, O_WRONLY, S_IRUSR | S_IWUSR); in main()
|
D | 6-4.c | 47 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 59 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main()
|
D | 6-5.c | 46 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 58 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main()
|
/third_party/musl/libc-test/src/functional/ |
D | renameat2_test.c | 32 if ((oldfd = creat(oldPath, S_IWUSR)) < 0) in main() 36 if ((newfd = creat(newPath, S_IWUSR)) < 0) in main()
|