/external/autotest/client/profilers/powertop/src/ |
D | wireless.c | 63 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/libchrome/sandbox/linux/syscall_broker/ |
D | broker_process_unittest.cc | 113 ret = open_broker.Access(kR_WhiteListed, W_OK); in TestOpenFilePerms() 115 ret = open_broker.Access(kR_WhiteListed, R_OK | W_OK); in TestOpenFilePerms() 139 ret = open_broker.Access(kR_WhiteListedButDenied, W_OK); in TestOpenFilePerms() 141 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK | W_OK); in TestOpenFilePerms() 159 ret = open_broker.Access(kW_WhiteListed, W_OK); in TestOpenFilePerms() 161 ret = open_broker.Access(kW_WhiteListed, R_OK | W_OK); in TestOpenFilePerms() 178 ret = open_broker.Access(kRW_WhiteListed, W_OK); in TestOpenFilePerms() 180 ret = open_broker.Access(kRW_WhiteListed, R_OK | W_OK); in TestOpenFilePerms() 197 ret = open_broker.Access(k_NotWhitelisted, W_OK); in TestOpenFilePerms() 199 ret = open_broker.Access(k_NotWhitelisted, R_OK | W_OK); in TestOpenFilePerms() [all …]
|
D | broker_file_permission.cc | 85 if (mode != F_OK && mode & ~(R_OK | W_OK)) { in CheckAccess() 105 case W_OK: in CheckAccess() 109 case R_OK | W_OK: in CheckAccess()
|
D | broker_file_permission_unittest.cc | 98 ASSERT_FALSE(perm.CheckAccess(path, W_OK, NULL)); in CheckPerm() 105 ASSERT_TRUE(perm.CheckAccess(path, W_OK, NULL)); in CheckPerm() 112 ASSERT_TRUE(perm.CheckAccess(path, W_OK, NULL)); in CheckPerm()
|
/external/strace/xlat/ |
D | access_flags.h | 17 #if defined(W_OK) || (defined(HAVE_DECL_W_OK) && HAVE_DECL_W_OK) 18 XLAT(W_OK),
|
D | access_flags.in | 3 W_OK
|
/external/toybox/toys/posix/ |
D | rm.c | 39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | dependency_manager_util.py | 15 if not os.access(path, os.W_OK):
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
D | customhandlers.py | 141 if not os.access(self.screenshot_dir, os.W_OK):
|
D | httparchive.py | 451 if not os.access(filename, os.W_OK): 453 elif not os.access(persist_dir, os.W_OK):
|
/external/e2fsprogs/lib/blkid/ |
D | save.c | 80 (ret == 0 && access(filename, W_OK) < 0)) { in blkid_flush_cache()
|
/external/skia/src/ports/ |
D | SkOSFile_posix.cpp | 28 mode |= W_OK; in sk_exists()
|
/external/chromium-trace/catapult/systrace/systrace/agents/ |
D | ftrace_agent.py | 26 return os.access(path, os.W_OK)
|
/external/ImageMagick/MagickCore/ |
D | nt-base.h | 53 #define W_OK 2 macro
|
/external/boringssl/src/util/bot/go/ |
D | bootstrap.py | 109 if not os.access(path, os.W_OK):
|
/external/selinux/libsemanage/src/ |
D | semanage_store.c | 515 int mode_mask = R_OK | W_OK | X_OK; in semanage_create_store() 601 if (!S_ISREG(sb.st_mode) || access(path, R_OK | W_OK) == -1) { in semanage_create_store() 638 if (access(path, R_OK | W_OK | X_OK) != 0) { in semanage_store_access_check() 648 if (access(path, R_OK | W_OK | X_OK) != 0) in semanage_store_access_check()
|
/external/e2fsprogs/e2fsck/ |
D | dirinfo.c | 54 if (!enable || !tdb_dir || access(tdb_dir, W_OK) || in setup_tdb()
|
/external/libxml2/ |
D | debugXML.c | 2520 #ifdef W_OK in xmlShellWrite() 2521 if (access((char *) filename, W_OK)) { in xmlShellWrite() 2589 #ifdef W_OK in xmlShellSave() 2590 if (access((char *) filename, W_OK)) { in xmlShellSave()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 508 access_ret = access(UUIDD_DIR, W_OK); in get_uuid_via_daemon()
|
/external/autotest/client/common_lib/ |
D | base_job_unittest.py | 322 self.assert_(not os.access('testing9', os.W_OK)) 329 self.assert_(not os.access('testing10', os.W_OK)) 342 self.assert_(os.access(jd.path, os.W_OK))
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.cc | 79 #ifndef W_OK 80 #define W_OK 02 // not defined by MSVC for whatever reason macro
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem_vs_real_test.py | 110 self.assertTrue(os.access(self.real_base, os.W_OK))
|
D | fake_filesystem_test.py | 494 self.rwx = self.os.R_OK | self.os.W_OK | self.os.X_OK 495 self.rw = self.os.R_OK | self.os.W_OK 1211 self.assertTrue(self.os.access(path, self.os.W_OK)) 1224 self.assertTrue(self.os.access(path, self.os.W_OK)) 1238 self.assertFalse(self.os.access(path, self.os.W_OK)) 1250 self.assertFalse(self.os.access(path, self.os.W_OK))
|
/external/libchrome/base/files/ |
D | file_util_posix.cc | 377 return access(path.value().c_str(), W_OK) == 0; in PathIsWritable()
|
/external/mksh/src/ |
D | funcs.c | 367 if ((fd = coproc_getfd(W_OK, &emsg)) < 0) { in c_print() 387 else if ((fd = check_fd(s, W_OK, &emsg)) < 0) { in c_print() 3060 return (access(opnd1, W_OK) == 0); in test_eval()
|