/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | mount_test.cc | 51 EXPECT_EQ(ENOENT, mnt.Access(Path("/foo"), R_OK | W_OK)); in TEST() 64 EXPECT_EQ(0, mnt.Access(Path("/foo"), R_OK | W_OK)); in TEST() 68 EXPECT_EQ(0, mnt.Access(Path("/"), R_OK | W_OK | X_OK)); in TEST() 217 ASSERT_EQ(0, mnt.Access(Path("/dir1/file"), R_OK)); in TEST() 222 ASSERT_NE(0, mnt.Access(Path("/dir1/file"), R_OK)); in TEST() 223 ASSERT_EQ(0, mnt.Access(Path("/dir2/new_file"), R_OK)); in TEST() 228 ASSERT_NE(0, mnt.Access(Path("/dir2/new_file"), R_OK)); in TEST() 229 ASSERT_EQ(0, mnt.Access(Path("/dir2/new_file2"), R_OK)); in TEST() 234 ASSERT_NE(0, mnt.Access(Path("/dir2/new_file2"), R_OK)); in TEST() 235 ASSERT_EQ(0, mnt.Access(Path("/dir1/new_file2"), R_OK)); in TEST() [all …]
|
/external/chromium_org/sandbox/linux/services/ |
D | broker_process_unittest.cc | 134 ret = open_broker.Access(kR_WhiteListed, R_OK); in TestOpenFilePerms() 138 ret = open_broker.Access(kR_WhiteListed, R_OK | W_OK); in TestOpenFilePerms() 142 ret = open_broker.Access(kR_WhiteListed, R_OK | X_OK); in TestOpenFilePerms() 160 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK); in TestOpenFilePerms() 164 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK | W_OK); in TestOpenFilePerms() 168 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK | X_OK); in TestOpenFilePerms() 180 ret = open_broker.Access(kW_WhiteListed, R_OK); in TestOpenFilePerms() 184 ret = open_broker.Access(kW_WhiteListed, R_OK | W_OK); in TestOpenFilePerms() 188 ret = open_broker.Access(kW_WhiteListed, R_OK | X_OK); in TestOpenFilePerms() 199 ret = open_broker.Access(kRW_WhiteListed, R_OK); in TestOpenFilePerms() [all …]
|
D | broker_process.cc | 458 requested_mode & ~(R_OK | W_OK)) { in GetFileNameIfAllowedToAccess() 468 case R_OK: in GetFileNameIfAllowedToAccess() 474 case R_OK | W_OK: in GetFileNameIfAllowedToAccess()
|
/external/chromium_org/content/shell/app/ |
D | webkit_test_platform_support_linux.cc | 23 if (access(font, R_OK) < 0) { in CheckAndLoadFontFile() 25 if (access(font, R_OK) < 0) { in CheckAndLoadFontFile() 95 if (access(kFonts[i], R_OK) < 0) { in SetupFontConfig()
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | test_demovfs.c | 486 #ifndef R_OK 487 # define R_OK 4 macro 511 if( flags==SQLITE_ACCESS_READWRITE ) eAccess = R_OK|W_OK; in demoAccess() 512 if( flags==SQLITE_ACCESS_READ ) eAccess = R_OK; in demoAccess()
|
/external/icu4c/tools/tzcode/ |
D | private.h | 114 #ifndef R_OK 115 #define R_OK 4 macro
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
D | private.h | 114 #ifndef R_OK 115 #define R_OK 4 macro
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
D | SQLiteFileSystemPosix.cpp | 128 *res = (attr & W_OK) && (attr & R_OK); in chromiumAccess() 131 *res = (attr & R_OK); in chromiumAccess()
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
D | osunistd.h | 10 #define R_OK 4 macro
|
/external/chromium_org/webkit/browser/database/ |
D | vfs_backend.cc | 151 if (!access(file_path.value().c_str(), R_OK)) in GetFileAttributes() 152 attributes |= static_cast<uint32>(R_OK); in GetFileAttributes()
|
/external/qemu/ |
D | kvm-android.c | 28 if (access("/dev/kvm",R_OK)) { in kvm_check_allowed()
|
D | os-posix.c | 140 if (access(res, R_OK)) { in os_find_datadir() 142 if (access(res, R_OK)) { in os_find_datadir()
|
/external/qemu/android/utils/ |
D | timezone.c | 320 if ( access( env, R_OK ) != 0 ) { in get_zoneinfo_timezone() 345 if ( access( localtime, R_OK ) != 0 ) { in get_zoneinfo_timezone() 349 if (p >= end || access( temp, R_OK ) != 0 ) { in get_zoneinfo_timezone()
|
D | path.c | 268 CHECKED(ret, access(path, R_OK)); in path_can_read() 278 CHECKED(ret, access(path, R_OK)); in path_can_write() 540 if ( access(source, R_OK) < 0 ) { in path_copy_file()
|
/external/valgrind/main/coregrind/ |
D | launcher-darwin.c | 122 if (access(fullname, R_OK|X_OK) == 0) in find_client() 288 if (access(vgpreload_core, R_OK|X_OK) != 0) { in main() 411 if (access(toolfile, R_OK|X_OK) != 0) { in main()
|
/external/chromium_org/third_party/libxml/src/ |
D | check-xinclude-test-suite.py | 80 if os.access(URI, os.R_OK) == 0: 96 if os.access(output, os.R_OK) == 0:
|
/external/linux-tools-perf/util/ |
D | config.c | 407 if (perf_config_system() && !access(perf_etc_perfconfig(), R_OK)) { in perf_config() 416 if (!access(user_config, R_OK)) { in perf_config()
|
/external/blktrace/btreplay/ |
D | btrecord.c | 344 if (access(full_name, R_OK) != 0) in add_input_file() 399 if (access(idir, R_OK | X_OK) != 0) { in handle_args() 408 if (access(odir, R_OK | X_OK) != 0) { in handle_args()
|
/external/oprofile/libutil/ |
D | op_file.c | 29 return !stat(file, &st) && S_ISREG(st.st_mode) && !access(file, R_OK); in op_file_readable()
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
D | util.py | 153 required_mode = os.R_OK
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
D | captest.c | 178 if (access("/etc/shadow", R_OK) == 0) in report()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
D | symbolize.cc | 132 if (access(g_pprof_path->c_str(), R_OK) != 0) { in Symbolize()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
D | symbolize.cc | 132 if (access(g_pprof_path->c_str(), R_OK) != 0) { in Symbolize()
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/linux/ |
D | WebFontInfo.cpp | 100 if (access(reinterpret_cast<char*>(cFilename), R_OK)) in familyForChar()
|
/external/openssl/ |
D | e_os.h | 358 # ifndef R_OK 359 # define R_OK 4 macro
|