/third_party/ltp/testcases/kernel/syscalls/access/ |
D | access01.c | 39 {FNAME_RWX, W_OK, "W_OK", 0, 3}, 42 {FNAME_RWX, R_OK|W_OK, "R_OK|W_OK", 0, 3}, 44 {FNAME_RWX, W_OK|X_OK, "W_OK|X_OK", 0, 3}, 45 {FNAME_RWX, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", 0, 3}, 48 {FNAME_W, W_OK, "W_OK", 0, 3}, 52 {FNAME_R, W_OK, "W_OK", EACCES, 1}, 56 {FNAME_X, W_OK, "W_OK", EACCES, 1}, 58 {FNAME_R, W_OK|X_OK, "W_OK|X_OK", EACCES, 3}, 60 {FNAME_R, R_OK|W_OK, "R_OK|W_OK", EACCES, 1}, 61 {FNAME_R, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", EACCES, 3}, [all …]
|
D | access02.c | 49 {FNAME_W, W_OK, "W_OK", FNAME_W}, 53 {SNAME_W, W_OK, "W_OK", FNAME_W}, 102 case W_OK: in access_test()
|
D | access04.c | 52 {"", W_OK, ENOENT}, 56 {MNT_POINT, W_OK, EROFS}
|
D | access03.c | 25 {(void *)-1, W_OK, "W_OK"},
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | faccessat.c | 85 int isWrite = faccessat(fd, ptr, W_OK, 0); in faccessat_0400() 137 int isExecute = faccessat(fd, ptr, R_OK | W_OK | X_OK, 0); in faccessat_0700() 154 int isExecute = faccessat(fd, ptr, R_OK | W_OK | X_OK, 0); in faccessat_0800() 190 int isExecute = faccessat(AT_FDCWD, ptr, R_OK | W_OK | X_OK, AT_EACCESS); in faccessat_1000() 208 int isExecute = faccessat(AT_FDCWD, ptr, R_OK | W_OK | X_OK, AT_EACCESS); in faccessat_1100()
|
D | access.c | 123 int isWrite = access(ptr, W_OK); in access_0600()
|
/third_party/libsnd/src/ |
D | sf_unistd.h | 32 #ifndef W_OK 33 #define W_OK 2 /* Test for write permission. */ macro
|
/third_party/node/test/parallel/ |
D | test-fs-access.js | 68 assert.strictEqual(typeof fs.W_OK, 'number'); 114 fs.access(readOnlyFile, fs.W_OK, common.mustCall(expectedError)); 115 fs.promises.access(readOnlyFile, fs.W_OK) 156 const mode = fs.F_OK | fs.R_OK | fs.W_OK;
|
/third_party/protobuf/src/google/protobuf/io/ |
D | io_win32_unittest.cc | 303 EXPECT_EQ(access(path.c_str(), W_OK), 0); in TEST_F() 304 EXPECT_EQ(access(file.c_str(), F_OK | W_OK), 0); in TEST_F() 306 EXPECT_NE(access((file + ".blah").c_str(), W_OK), 0); in TEST_F() 309 EXPECT_EQ(access(".", W_OK), 0); in TEST_F() 310 EXPECT_EQ(access((test_tmpdir + "/accesstest").c_str(), F_OK | W_OK), 0); in TEST_F() 312 F_OK | W_OK), in TEST_F() 315 EXPECT_NE(access("io_win32_unittest.AccessTest.nonexistent", W_OK), 0); in TEST_F()
|
D | io_win32.h | 119 #ifndef W_OK 120 #define W_OK 02 // not defined by MSVC for whatever reason macro
|
/third_party/skia/build/fuchsia/ |
D | update_fuchsia_sdk | 94 if (not os.access(sdk_dir, os.W_OK)) or (not os.path.isdir(sdk_dir)): 96 if (not os.access(clang_dir, os.W_OK)) or (not os.path.isdir(clang_dir)):
|
/third_party/openssl/ |
D | e_os.h | 215 # ifndef W_OK 216 # define W_OK 2 macro
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise06.c | 68 if (access(path, R_OK | W_OK)) in check_path() 145 if (!access("/proc/sys/vm/stat_refresh", W_OK)) in setup()
|
/third_party/node/deps/npm/lib/install/ |
D | writable.js | 22 fs.access(dir, fs.W_OK, done)
|
/third_party/ltp/lib/ |
D | tst_wallclock.c | 75 ret = access(localtime, F_OK | W_OK); in tst_wallclock_restore()
|
/third_party/toybox/toys/posix/ |
D | rm.c | 39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
|
/third_party/e2fsprogs/misc/ |
D | fuse2fs.c | 346 #ifndef W_OK 347 # define W_OK 2 macro 641 if ((mask & W_OK) && !fs_writeable(fs)) in check_inum_access() 651 (mask & R_OK ? "r" : ""), (mask & W_OK ? "w" : ""), in check_inum_access() 660 if ((mask & W_OK) && in check_inum_access() 944 ret = check_inum_access(fs, parent, W_OK); in op_mknod() 1075 ret = check_inum_access(fs, parent, W_OK); in op_mkdir() 1194 ret = check_inum_access(fs, dir, W_OK); in unlink_file_by_name() 1458 ret = check_inum_access(fs, parent, W_OK); in op_symlink() 1620 ret = check_inum_access(fs, from_dir_ino, W_OK); in op_rename() [all …]
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
D | win_tool.py | 99 if not os.access(path, os.W_OK): 104 if not os.access(dest, os.W_OK):
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | win_tool.py | 102 if not os.access(path, os.W_OK): 108 if not os.access(dest, os.W_OK):
|
/third_party/libuv/include/uv/ |
D | win.h | 660 #ifndef W_OK 661 #define W_OK 2 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | fcntl.h | 120 #define W_OK 2 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | fcntl.h | 117 #define W_OK 2 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | fcntl.h | 117 #define W_OK 2 macro
|
/third_party/musl/porting/linux/user/include/ |
D | fcntl.h | 118 #define W_OK 2 macro
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | rm.c | 89 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
|