Home
last modified time | relevance | path

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

12

/external/chromium_org/sandbox/linux/services/
Dbroker_process_unittest.cc109 ret = open_broker.Access(kR_WhiteListed, W_OK); in TestOpenFilePerms()
111 ret = open_broker.Access(kR_WhiteListed, R_OK | W_OK); in TestOpenFilePerms()
135 ret = open_broker.Access(kR_WhiteListedButDenied, W_OK); in TestOpenFilePerms()
137 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK | W_OK); in TestOpenFilePerms()
155 ret = open_broker.Access(kW_WhiteListed, W_OK); in TestOpenFilePerms()
157 ret = open_broker.Access(kW_WhiteListed, R_OK | W_OK); in TestOpenFilePerms()
174 ret = open_broker.Access(kRW_WhiteListed, W_OK); in TestOpenFilePerms()
176 ret = open_broker.Access(kRW_WhiteListed, R_OK | W_OK); in TestOpenFilePerms()
193 ret = open_broker.Access(k_NotWhitelisted, W_OK); in TestOpenFilePerms()
195 ret = open_broker.Access(k_NotWhitelisted, R_OK | W_OK); in TestOpenFilePerms()
[all …]
Dbroker_process.cc483 requested_mode & ~(R_OK | W_OK)) { in GetFileNameIfAllowedToAccess()
496 case W_OK: in GetFileNameIfAllowedToAccess()
499 case R_OK | W_OK: in GetFileNameIfAllowedToAccess()
/external/strace/xlat/
Daccess_flags.h10 #if defined(W_OK) || (defined(HAVE_DECL_W_OK) && HAVE_DECL_W_OK)
11 XLAT(W_OK),
Daccess_flags.in3 W_OK
/external/chromium_org/tools/gyp/test/win/win-tool/
Dgyptest-win-tool-handles-readonly-files.py27 if os.access(f, os.W_OK):
39 if os.access(test.built_file_path(f), os.W_OK):
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dosunistd.h11 #define W_OK 2 macro
/external/chromium_org/storage/browser/database/
Dvfs_backend.cc144 if (!access(file_path.value().c_str(), W_OK)) in GetFileAttributes()
145 attributes |= static_cast<uint32>(W_OK); in GetFileAttributes()
/external/chromium_org/third_party/sqlite/src/src/
Dtest_demovfs.c489 #ifndef W_OK
490 # define W_OK 2 macro
511 if( flags==SQLITE_ACCESS_READWRITE ) eAccess = R_OK|W_OK; in demoAccess()
/external/chromium_org/third_party/skia/src/ports/
DSkOSFile_posix.cpp24 mode |= W_OK; in sk_exists()
/external/chromium_org/tools/gyp/pylib/gyp/
Dwin_tool.py96 if not os.access(path, os.W_OK):
101 if not os.access(dest, os.W_OK):
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
DSQLiteFileSystemPosix.cpp128 *res = (attr & W_OK) && (attr & R_OK); in chromiumAccess()
/external/e2fsprogs/lib/blkid/
Dsave.c80 (ret == 0 && access(filename, W_OK) < 0)) { in blkid_flush_cache()
/external/openssl/
De_os.h355 # ifndef W_OK
356 # define W_OK 2 macro
/external/chromium_org/third_party/cython/src/Cython/Includes/posix/
Dunistd.pxd8 enum: W_OK
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc75 #ifndef W_OK
76 #define W_OK 02 // not defined by MSVC for whatever reason macro
147 if (access(path.c_str(), W_OK) == -1) { in VerifyDirectoryExists()
/external/chromium_org/tools/auto_bisect/
Dbisect_utils.py304 if not os.access(path, os.W_OK):
/external/chromium_org/base/memory/
Dshared_memory_posix.cc233 if (access(dir.value().c_str(), W_OK | X_OK) < 0) { in Create()
/external/openssl/apps/
Dca.c78 #ifndef W_OK
92 #ifndef W_OK
95 # define W_OK 2 macro
869 if (access(outdir,R_OK|W_OK|X_OK) != 0) in MAIN()
871 if (_access(outdir,R_OK|W_OK|X_OK) != 0) in MAIN()
/external/qemu/android/utils/
Dpath.c268 return HANDLE_EINTR(access(path, W_OK)) == 0; in path_can_write()
/external/e2fsprogs/e2fsck/
Ddirinfo.c54 if (!enable || !tdb_dir || access(tdb_dir, W_OK) || in setup_tdb()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc77 #ifndef W_OK
78 #define W_OK 02 // not defined by MSVC for whatever reason macro
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c508 access_ret = access(UUIDD_DIR, W_OK); in get_uuid_via_daemon()
/external/libxml2/
DdebugXML.c2518 #ifdef W_OK in xmlShellWrite()
2519 if (access((char *) filename, W_OK)) { in xmlShellWrite()
2587 #ifdef W_OK in xmlShellSave()
2588 if (access((char *) filename, W_OK)) { in xmlShellSave()
/external/chromium_org/third_party/libxml/src/
DdebugXML.c2515 #ifdef W_OK in xmlShellWrite()
2516 if (access((char *) filename, W_OK)) { in xmlShellWrite()
2584 #ifdef W_OK in xmlShellSave()
2585 if (access((char *) filename, W_OK)) { in xmlShellSave()
/external/valgrind/main/include/vki/
Dvki-darwin.h729 #define VKI_W_OK W_OK

12