/third_party/ltp/testcases/kernel/syscalls/access/ |
D | access01.c | 40 {FNAME_RWX, R_OK, "R_OK", 0, 3}, 42 {FNAME_RWX, R_OK|W_OK, "R_OK|W_OK", 0, 3}, 43 {FNAME_RWX, R_OK|X_OK, "R_OK|X_OK", 0, 3}, 45 {FNAME_RWX, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", 0, 3}, 49 {FNAME_R, R_OK, "R_OK", 0, 3}, 53 {FNAME_W, R_OK, "R_OK", EACCES, 1}, 55 {FNAME_X, R_OK, "R_OK", EACCES, 1}, 59 {FNAME_R, R_OK|X_OK, "R_OK|X_OK", EACCES, 3}, 60 {FNAME_R, R_OK|W_OK, "R_OK|W_OK", EACCES, 1}, 61 {FNAME_R, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", EACCES, 3}, [all …]
|
D | access04.c | 53 {longpathname, R_OK, ENAMETOOLONG}, 54 {FNAME2, R_OK, ENOTDIR}, 55 {SNAME1, R_OK, ELOOP},
|
D | access02.c | 48 {FNAME_R, R_OK, "R_OK", FNAME_R}, 52 {SNAME_R, R_OK, "R_OK", FNAME_R}, 84 case R_OK: in access_test()
|
D | access03.c | 24 {(void *)-1, R_OK, "R_OK"},
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | faccessat.c | 68 int isRead = faccessat(fd, ptr, R_OK, 0); in faccessat_0300() 137 int isExecute = faccessat(fd, ptr, R_OK | W_OK | X_OK, 0); in faccessat_0700() 154 int isExecute = faccessat(fd, ptr, R_OK | W_OK | X_OK, 0); in faccessat_0800() 171 int ret = faccessat(fd, ptr, R_OK, AT_SYMLINK_NOFOLLOW); in faccessat_0900() 190 int isExecute = faccessat(AT_FDCWD, ptr, R_OK | W_OK | X_OK, AT_EACCESS); in faccessat_1000() 208 int isExecute = faccessat(AT_FDCWD, ptr, R_OK | W_OK | X_OK, AT_EACCESS); in faccessat_1100()
|
/third_party/node/test/parallel/ |
D | test-fs-access.js | 67 assert.strictEqual(typeof fs.R_OK, 'number'); 79 fs.access(__filename, fs.R_OK, common.mustCall(function(...args) { 82 fs.promises.access(__filename, fs.R_OK) 85 fs.access(readOnlyFile, fs.F_OK | fs.R_OK, common.mustCall(function(...args) { 88 fs.promises.access(readOnlyFile, fs.F_OK | fs.R_OK) 156 const mode = fs.F_OK | fs.R_OK | fs.W_OK; 163 { [Symbol.toPrimitive]() { return fs.R_OK; } },
|
/third_party/gstreamer/gstplugins_bad/ext/wildmidi/ |
D | gstwildmididec.c | 51 #ifndef R_OK 52 #define R_OK 4 /* Test for read permission */ macro 169 if (path && (g_access (path, R_OK) == -1)) { in gst_wildmidi_get_config_path() 179 if (path && (g_access (path, R_OK) == -1)) { in gst_wildmidi_get_config_path() 190 if (path && (g_access (path, R_OK) == -1)) { in gst_wildmidi_get_config_path() 201 if (path && (g_access (path, R_OK) == -1)) { in gst_wildmidi_get_config_path() 210 if (path && (g_access (path, R_OK) == -1)) { in gst_wildmidi_get_config_path() 221 if (path && (g_access (path, R_OK) == -1)) { in gst_wildmidi_get_config_path() 232 if (path && (g_access (path, R_OK) == -1)) { in gst_wildmidi_get_config_path()
|
/third_party/curl/lib/ |
D | curl_path.h | 32 # ifndef R_OK 33 # define R_OK 4 macro
|
/third_party/libsnd/src/ |
D | sf_unistd.h | 28 #ifndef R_OK 29 #define R_OK 4 /* Test for read permission. */ macro
|
/third_party/openssl/ |
D | e_os.h | 218 # ifndef R_OK 219 # define R_OK 4 macro
|
/third_party/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):
|
/third_party/ltp/lib/ |
D | tst_fips.c | 18 if (access(PATH_FIPS, R_OK) == 0) { in tst_fips_enabled()
|
D | get_path.c | 47 if (!access(path, R_OK) && !stat(path, &st) && S_ISREG(st.st_mode)) in file_exist()
|
D | tst_resource.c | 92 if (access(buf, R_OK)) in file_copy()
|
/third_party/icu/icu4c/source/tools/tzcode/ |
D | private.h | 108 #ifndef R_OK 109 #define R_OK 4 macro
|
/third_party/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:
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
D | private.h | 108 #ifndef R_OK 109 #define R_OK 4 macro
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/tzcode/ |
D | private.h | 108 #ifndef R_OK 109 #define R_OK 4 macro
|
/third_party/python/Lib/test/ |
D | test_unicode_file.py | 34 self.assertTrue(os.access(filename, os.R_OK)) 37 self.assertTrue(os.access(os.path.abspath(filename), os.R_OK))
|
/third_party/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()
|
/third_party/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()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/ir/ |
D | validators.cc | 38 if (access(tokenizer_file.c_str(), R_OK) == -1) { in ValidateTokenizerDirParam()
|
/third_party/ltp/testcases/kernel/security/cap_bound/ |
D | cap_bounds_r.c | 49 if (access(PROC_CAP_LAST, R_OK) == 0) { in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | nftw.c | 38 if (access(pathname, R_OK) == 0) { in nftw_callback()
|
/third_party/node/test/wasi/c/ |
D | stat.c | 49 ret = access(PATH, R_OK); in main()
|