/third_party/ltp/testcases/kernel/syscalls/access/ |
D | access01.c | 45 {FNAME_RWX, R_OK, "R_OK", 0, 3}, 47 {FNAME_RWX, R_OK|W_OK, "R_OK|W_OK", 0, 3}, 48 {FNAME_RWX, R_OK|X_OK, "R_OK|X_OK", 0, 3}, 50 {FNAME_RWX, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", 0, 3}, 54 {FNAME_R, R_OK, "R_OK", 0, 3}, 58 {FNAME_W, R_OK, "R_OK", EACCES, 1}, 60 {FNAME_X, R_OK, "R_OK", EACCES, 1}, 64 {FNAME_R, R_OK|X_OK, "R_OK|X_OK", EACCES, 3}, 65 {FNAME_R, R_OK|W_OK, "R_OK|W_OK", EACCES, 1}, 66 {FNAME_R, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", EACCES, 3}, [all …]
|
D | access04.c | 60 {&longpathname, R_OK, ENAMETOOLONG}, 61 {&fname2, R_OK, ENOTDIR}, 62 {&sname1, R_OK, ELOOP},
|
D | access02.c | 46 {FNAME_R, R_OK, "R_OK", FNAME_R}, 50 {SNAME_R, R_OK, "R_OK", FNAME_R}, 82 case R_OK: in access_test()
|
D | access03.c | 27 {(void *)-1, R_OK, "R_OK"},
|
/third_party/ltp/testcases/kernel/syscalls/faccessat2/ |
D | faccessat202.c | 51 {&atcwd_fd, &bad_path, R_OK, 0, EFAULT, "invalid address"}, 52 {&atcwd_fd, &rel_path, R_OK, -1, EINVAL, "invalid flags"}, 54 {&bad_fd, &rel_path, R_OK, 0, EBADF, "invalid fd"}, 55 {&fd, &rel_path, R_OK, 0, ENOTDIR, "fd pointing to file"}, 56 {&atcwd_fd, &rel_path, R_OK, AT_EACCESS, EACCES,
|
/third_party/cups-filters/filter/foomatic-rip/ |
D | spooler.c | 113 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile() 117 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile() 120 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile() 123 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile() 126 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile() 129 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile() 132 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
|
/third_party/node/test/parallel/ |
D | test-fs-access.js | 68 assert.strictEqual(typeof fs.R_OK, 'number'); 80 fs.access(__filename, fs.R_OK, common.mustCall(function(...args) { 83 fs.promises.access(__filename, fs.R_OK) 86 fs.access(readOnlyFile, fs.R_OK, common.mustCall(function(...args) { 89 fs.promises.access(readOnlyFile, fs.R_OK) 157 const mode = fs.R_OK | fs.W_OK; 164 { [Symbol.toPrimitive]() { return fs.R_OK; } },
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | faccessat.c | 70 int isRead = faccessat(fd, ptr, R_OK, 0); in faccessat_0300() 141 int isExecute = faccessat(fd, ptr, R_OK | W_OK | X_OK, 0); in faccessat_0700() 158 int isExecute = faccessat(fd, ptr, R_OK | W_OK | X_OK, 0); in faccessat_0800() 175 int ret = faccessat(fd, ptr, R_OK, 0); in faccessat_0900() 194 int isExecute = faccessat(AT_FDCWD, ptr, R_OK | W_OK | X_OK, AT_EACCESS); in faccessat_1000() 212 int isExecute = faccessat(AT_FDCWD, ptr, R_OK | W_OK | X_OK, AT_EACCESS); in faccessat_1100()
|
/third_party/node/deps/npm/lib/commands/ |
D | doctor.js | 16 const { R_OK, W_OK, X_OK } = fs.constants 20 if (mask & R_OK) { 231 return this.checkFilesPermission(this.npm.cache, true, R_OK) 235 return this.checkFilesPermission(this.npm.localDir, true, R_OK | W_OK, true) 239 return this.checkFilesPermission(this.npm.globalDir, false, R_OK) 243 return this.checkFilesPermission(this.npm.localBin, false, R_OK | W_OK | X_OK, true)
|
/third_party/curl/lib/ |
D | curl_path.h | 34 # ifndef R_OK 35 # 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/vk-gl-cts/external/vulkan-docs/src/scripts/ |
D | makemanaliases.py | 49 if not os.access(src, os.R_OK): 55 if os.access(alias, os.R_OK):
|
/third_party/lame/test/ |
D | lametest.py | 47 status = os.access(name1, os.R_OK) 130 status = os.access(options_file, os.R_OK) 135 status = os.access(input_file, os.R_OK)
|
/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/openssl/ohos_lite/ |
D | e_os.h | 218 # ifndef R_OK 219 # define R_OK 4 macro
|
/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/icu/icu4c/source/tools/tzcode/ |
D | private.h | 108 #ifndef R_OK 109 #define R_OK 4 macro
|
/third_party/node/deps/openssl/openssl/ |
D | e_os.h | 165 # ifndef R_OK 166 # 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/openssl/ |
D | e_os.h | 165 # ifndef R_OK 166 # define R_OK 4 macro
|
/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()
|
/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/ltp/testcases/kernel/syscalls/faccessat/ |
D | faccessat02.c | 40 TST_EXP_FAIL(faccessat(*tc->fd, TESTFILE, R_OK, 0), in verify_faccessat()
|
/third_party/ltp/testcases/kernel/security/cap_bound/ |
D | cap_bounds_r.c | 49 if (access(PROC_CAP_LAST, R_OK) == 0) { in main()
|