Home
last modified time | relevance | path

Searched refs:W_OK (Results 1 – 25 of 97) sorted by relevance

1234

/external/ltp/testcases/kernel/syscalls/access/
Daccess01.c58 {FNAME_RWX, W_OK, "W_OK", 0, 3},
61 {FNAME_RWX, R_OK|W_OK, "R_OK|W_OK", 0, 3},
63 {FNAME_RWX, W_OK|X_OK, "W_OK|X_OK", 0, 3},
64 {FNAME_RWX, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", 0, 3},
67 {FNAME_W, W_OK, "W_OK", 0, 3},
71 {FNAME_R, W_OK, "W_OK", EACCES, 1},
75 {FNAME_X, W_OK, "W_OK", EACCES, 1},
77 {FNAME_R, W_OK|X_OK, "W_OK|X_OK", EACCES, 3},
79 {FNAME_R, R_OK|W_OK, "R_OK|W_OK", EACCES, 1},
80 {FNAME_R, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", EACCES, 3},
[all …]
Daccess02.c63 {FNAME_W, W_OK, "W_OK", FNAME_W},
67 {SNAME_W, W_OK, "W_OK", FNAME_W},
118 case W_OK: in access_test()
Daccess04.c64 {"", W_OK, ENOENT},
68 {MNT_POINT, W_OK, EROFS}
Daccess03.c44 {(void *)-1, W_OK, "W_OK"},
/external/autotest/client/profilers/powertop/src/
Dwireless.c63 if (access(rfkill_path, W_OK)) in rfkill_enabled()
83 if (access(rfkill_path, W_OK)) in check_unused_wiresless_up()
145 if (access(powersave_path, W_OK)) in need_wireless_suggest_new()
177 if (!access(pathname, W_OK)) in find_4965()
189 if (!access(pathname, W_OK)) in find_4965()
/external/strace/xlat/
Daccess_flags.h17 #if defined(W_OK) || (defined(HAVE_DECL_W_OK) && HAVE_DECL_W_OK)
18 XLAT(W_OK),
Daccess_flags.in3 W_OK
/external/googletest/googletest/include/gtest/internal/custom/
Dgtest.h50 if (access("/data/local/tmp", R_OK | W_OK | X_OK) == 0) return "/data/local/tmp/"; in GetAndroidTempDir()
/external/strace/tests-m32/
Daccess.c18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK); in main()
/external/strace/tests-mx32/
Daccess.c18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK); in main()
/external/strace/tests/
Daccess.c18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK); in main()
/external/tensorflow/tensorflow/core/platform/posix/
Dtracing.cc35 if (access(dir, R_OK | W_OK | X_OK) == 0) return dir; in LogDir()
/external/oj-libjdwp/src/solaris/javavm/export/
Djvm_md.h56 #define JVM_W_OK W_OK
/external/avb/test/
Davbtool_signing_helper_test.py58 if os.path.isfile(test_file_name) and not os.access(test_file_name, os.W_OK):
Davbtool_signing_helper_with_files_test.py55 if os.path.isfile(test_file_name) and not os.access(test_file_name, os.W_OK):
/external/python/cpython2/Lib/
Dtempfile.py211 _os.path.isdir(dir) and _os.access(dir, _os.W_OK)):
251 _os.path.isdir(dir) and _os.access(dir, _os.W_OK)):
345 _os.path.isdir(dir) and _os.access(dir, _os.W_OK)):
/external/e2fsprogs/misc/
Dfuse2fs.c337 #ifndef W_OK
338 # define W_OK 2 macro
631 if ((mask & W_OK) && !fs_writeable(fs)) in check_inum_access()
641 (mask & R_OK ? "r" : ""), (mask & W_OK ? "w" : ""), in check_inum_access()
650 if ((mask & W_OK) && in check_inum_access()
950 ret = check_inum_access(fs, parent, W_OK); in op_mknod()
1078 ret = check_inum_access(fs, parent, W_OK); in op_mkdir()
1195 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()
1618 ret = check_inum_access(fs, from_dir_ino, W_OK); in op_rename()
[all …]
/external/libcups/cups/
Dtempfile.c74 if ((tmpdir = getenv("TMPDIR")) != NULL && access(tmpdir, W_OK)) in cupsTempFd()
/external/ltp/testcases/kernel/syscalls/setpriority/
Dsetpriority01.c119 if (eaccess("/etc/passwd", W_OK)) in setup()
/external/toybox/toys/posix/
Drm.c39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
/external/python/cpython2/Mac/Tools/
Dfixapplepython23.py115 if do_apply and not os.access(MAKEFILE, os.W_OK):
/external/python/cpython3/Lib/
Dtempfile.py224 _os.access(dir, _os.W_OK)):
267 _os.access(dir, _os.W_OK)):
375 _os.access(dir, _os.W_OK)):
/external/python/cpython2/Lib/plat-mac/
Dmacresource.py126 os.access(os.path.dirname(pathname), os.W_OK|os.X_OK):
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise06.c54 if (access(path, R_OK | W_OK)) in check_path()
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util.py16 if not os.access(path, os.W_OK):

1234