Home
last modified time | relevance | path

Searched refs:S_IWUSR (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/third_party/musl/libc-test/src/functionalext/supplement/mman/
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/
Dchmod.c30 …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/
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/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
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()
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()
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()
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()
/third_party/rust/crates/nix/test/
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/kernel/syscalls/link/
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/
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/open_posix_testsuite/conformance/interfaces/shm_open/
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()
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()
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 | \
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/
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/
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/libsnd/src/
Dsf_unistd.h56 #ifndef S_IWUSR
57 #define S_IWUSR 0000200 /* write permission, owner */ macro
/third_party/libuv/test/
Dtest-fs-open-flags.c91 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()
Dtest-fs.c867 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/
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()
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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
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()
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()
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()
/third_party/musl/libc-test/src/functional/
Drenameat2_test.c32 if ((oldfd = creat(oldPath, S_IWUSR)) < 0) in main()
36 if ((newfd = creat(newPath, S_IWUSR)) < 0) in main()

12345678910>>...20