/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
H A 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/ |
H A D | chmod.c | 30 S_IRUSR | S_ISGID | S_ISVTX | S_IWUSR | S_IROTH | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH | in chmod_0100() 63 S_ISUID | S_ISGID | S_ISVTX | S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH | S_IWOTH | in chmod_0300()
|
/third_party/libsnd/tests/ |
H A 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/libsnd/src/ |
H A D | sf_unistd.h | 56 #ifndef S_IWUSR 57 #define S_IWUSR 0000200 /* write permission, owner */ macro
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | 19-1.c | 53 S_IRUSR | S_IWUSR, &attr); in main() 75 queue = mq_open(qname, O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, NULL); in main()
|
H A D | 11-1.c | 38 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 56 queue2 = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
H A 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()
|
H A 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()
|
H A 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 | \
|
H A 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/ |
H A 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/ |
H A 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/ltp/testcases/kernel/syscalls/link/ |
H A 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/ |
H A 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/kernel/syscalls/nftw/ |
H A 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()
|
H A 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()
|
/third_party/rust/crates/nix/test/ |
H A 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/open_posix_testsuite/conformance/interfaces/mmap/ |
H A 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()
|
H A 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()
|
H A 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()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/ |
H A D | 26-1.c | 54 S_IRUSR | S_IWUSR, NULL); in main() 63 S_IRUSR | S_IWUSR, NULL); in main()
|