/external/ltp/testcases/kernel/syscalls/access/ |
D | access01.c | 59 {FNAME_RWX, R_OK, "R_OK", 0, 3}, 61 {FNAME_RWX, R_OK|W_OK, "R_OK|W_OK", 0, 3}, 62 {FNAME_RWX, R_OK|X_OK, "R_OK|X_OK", 0, 3}, 64 {FNAME_RWX, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", 0, 3}, 68 {FNAME_R, R_OK, "R_OK", 0, 3}, 72 {FNAME_W, R_OK, "R_OK", EACCES, 1}, 74 {FNAME_X, R_OK, "R_OK", EACCES, 1}, 78 {FNAME_R, R_OK|X_OK, "R_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 …]
|
D | access04.c | 65 {longpathname, R_OK, ENAMETOOLONG}, 66 {FNAME2, R_OK, ENOTDIR}, 67 {SNAME1, R_OK, ELOOP},
|
D | access02.c | 62 {FNAME_R, R_OK, "R_OK", FNAME_R}, 66 {SNAME_R, R_OK, "R_OK", FNAME_R}, 100 case R_OK: in access_test()
|
/external/selinux/libselinux/src/android/ |
D | android.c | 80 if (access(seopts_service_plat[i].value, R_OK) != -1) { in selinux_android_service_context_handle() 86 if (access(seopts_service_product[i].value, R_OK) != -1) { in selinux_android_service_context_handle() 92 if (access(seopts_service_vendor[i].value, R_OK) != -1) { in selinux_android_service_context_handle() 107 if (access(seopts_hwservice_plat[i].value, R_OK) != -1) { in selinux_android_hw_service_context_handle() 113 if (access(seopts_hwservice_product[i].value, R_OK) != -1) { in selinux_android_hw_service_context_handle() 119 if (access(seopts_hwservice_vendor[i].value, R_OK) != -1) { in selinux_android_hw_service_context_handle() 125 if (access(seopts_hwservice_odm[i].value, R_OK) != -1) { in selinux_android_hw_service_context_handle() 136 if (access(seopts_vndservice.value, R_OK) != -1) { in selinux_android_vendor_service_context_handle()
|
D | android_platform.c | 177 if (access(seopts_file_plat[i].value, R_OK) != -1) { in selinux_android_file_context_handle() 183 if (access(seopts_file_product[i].value, R_OK) != -1) { in selinux_android_file_context_handle() 189 if (access(seopts_file_vendor[i].value, R_OK) != -1) { in selinux_android_file_context_handle() 195 if (access(seopts_file_odm[i].value, R_OK) != -1) { in selinux_android_file_context_handle() 210 if (access(seopts_prop_plat[i].value, R_OK) != -1) { in selinux_android_prop_context_handle() 216 if (access(seopts_prop_product[i].value, R_OK) != -1) { in selinux_android_prop_context_handle() 222 if (access(seopts_prop_vendor[i].value, R_OK) != -1) { in selinux_android_prop_context_handle() 228 if (access(seopts_prop_odm[i].value, R_OK) != -1) { in selinux_android_prop_context_handle() 486 if (access(seapp_contexts_plat[i], R_OK) != -1) { in selinux_android_seapp_context_reload() 492 if (access(seapp_contexts_product[i], R_OK) != -1) { in selinux_android_seapp_context_reload() [all …]
|
/external/libcups/cups/ |
D | tls-gnutls.c | 1399 if (access(crtfile, R_OK) || access(keyfile, R_OK)) in _httpTLSStart() 1410 …if ((access(cacrtfile, R_OK) || access(cakeyfile, R_OK)) && (hostptr = strchr(hostname, '.')) != N… in _httpTLSStart() 1424 if (!access(cacrtfile, R_OK) && !access(cakeyfile, R_OK)) in _httpTLSStart() 1435 have_creds = !access(crtfile, R_OK) && !access(keyfile, R_OK); in _httpTLSStart() 1446 if (access(crtfile, R_OK) || access(keyfile, R_OK)) in _httpTLSStart() 1457 …if ((access(cacrtfile, R_OK) || access(cakeyfile, R_OK)) && (hostptr = strchr(tls_common_name, '.'… in _httpTLSStart() 1471 if (!access(cacrtfile, R_OK) && !access(cakeyfile, R_OK)) in _httpTLSStart() 1482 have_creds = !access(crtfile, R_OK) && !access(keyfile, R_OK); in _httpTLSStart()
|
/external/curl/lib/ |
D | curl_path.h | 32 # ifndef R_OK 33 # define R_OK 4 macro
|
/external/strace/xlat/ |
D | access_flags.h | 20 #if defined(R_OK) || (defined(HAVE_DECL_R_OK) && HAVE_DECL_R_OK) 21 XLAT(R_OK),
|
D | access_flags.in | 2 R_OK
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/ |
D | supplicant.cpp | 72 int ret = access(src_file_path.c_str(), R_OK); in copyFileIfItExists() 100 int ret = access(config_file_path.c_str(), R_OK | W_OK); in ensureConfigFileExists() 287 int ret = access(kP2pIfaceConfOverlayPath, R_OK); in addInterfaceInternal() 302 int ret = access(kStaIfaceConfOverlayPath, R_OK); in addInterfaceInternal()
|
/external/u-boot/fs/yaffs2/ |
D | yportenv.h | 281 #ifndef R_OK 282 #define R_OK 4 macro
|
/external/ltp/ |
D | execltp.in | 71 if not os.access(exec_log, os.R_OK): 74 elif 1 < verbose and not os.access(output_log, os.R_OK): 372 if not os.access(runtest_file, os.R_OK):
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
D | constants.go | 10 R_OK = 0x4 const
|
/external/icu/icu4c/source/tools/tzcode/ |
D | private.h | 108 #ifndef R_OK 109 #define R_OK 4 macro
|
/external/libxml2/ |
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/strace/tests-m32/ |
D | access.c | 18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK); in main()
|
/external/strace/tests/ |
D | access.c | 18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK); in main()
|
/external/googletest/googletest/include/gtest/internal/custom/ |
D | gtest.h | 42 if (access("/data/local/tmp", R_OK | W_OK | X_OK) == 0) return "/data/local/tmp/"; in GetAndroidTempDir()
|
/external/strace/tests-mx32/ |
D | access.c | 18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK); in main()
|
/external/libxkbcommon/xkbcommon/src/ |
D | context.c | 57 if (eaccess(path, R_OK | X_OK) != 0) in xkb_context_include_path_append() 60 if (euidaccess(path, R_OK | X_OK) != 0) in xkb_context_include_path_append()
|
/external/python/cpython2/Modules/ |
D | dlmodule.c | 203 if (access(name, R_OK)) { in dl_open() 208 if (access(fname, R_OK)) { in dl_open()
|
/external/python/cpython3/Lib/test/ |
D | test_unicode_file.py | 32 self.assertTrue(os.access(filename, os.R_OK)) 35 self.assertTrue(os.access(os.path.abspath(filename), os.R_OK))
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | tracing.cc | 42 if (access(dir, R_OK | W_OK | X_OK) == 0) return dir; in GetLogDir()
|
/external/toybox/toys/pending/ |
D | mdev.c | 276 if (!access(dev, R_OK)) make_device(dev); in callback() 293 if (!access("/sys/block", R_OK)) dirtree_read("/sys/block", callback); in mdev_main()
|
/external/e2fsprogs/resize/ |
D | online.c | 80 (access("/sys/fs/ext4/features/sparse_super2", R_OK) != 0)) { in online_resize_fs() 109 if ((access("/sys/fs/ext4/features/meta_bg_resize", R_OK) != 0) || in online_resize_fs()
|