Home
last modified time | relevance | path

Searched refs:S_IWUSR (Results 1 - 25 of 473) sorted by relevance

12345678910>>...19

/third_party/musl/libc-test/src/functionalext/supplement/mman/
H A Dfunctionalext_shm_open.c31 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 Dchmod.c30 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 Dwin32_test.c118 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 Dsf_unistd.h56 #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 D7-3.c35 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 D16-1.c59 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 D15-1.c32 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 D23-1.c33 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 D19-1.c53 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 D11-1.c38 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 D22-1.c29 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 D25-1.c35 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 D18-1.c34 #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 D14-2.c39 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 D5-1.c28 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 D1-1.c38 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 Dlink04.c24 #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 Dmknod07.c53 #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 Dtools.c122 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 Dtools64.c121 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 Dtest_mq.rs36 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 D6-6.c45 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 D6-5.c46 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 D6-4.c47 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 D26-1.c54 S_IRUSR | S_IWUSR, NULL); in main()
63 S_IRUSR | S_IWUSR, NULL); in main()

Completed in 8 milliseconds

12345678910>>...19