/third_party/ltp/testcases/kernel/syscalls/access/ |
H A D | access01.c | 11 * Basic test for access(2) using F_OK, R_OK, W_OK and X_OK 43 {FNAME_RWX, X_OK, "X_OK", 0, 3}, 48 {FNAME_RWX, R_OK|X_OK, "R_OK|X_OK", 0, 3}, 49 {FNAME_RWX, W_OK|X_OK, "W_OK|X_OK", 0, 3}, 50 {FNAME_RWX, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", 0, 3}, 52 {FNAME_X, X_OK, "X_O [all...] |
H A D | access02.c | 14 * - check the existence or read/write/execute permissions on a file (mode argument: F_OK/R_OK/W_OK/X_OK) 48 {FNAME_X, X_OK, "X_OK", FNAME_X}, 52 {SNAME_X, X_OK, "X_OK", FNAME_X} 118 case X_OK: in access_test()
|
H A D | access03.c | 29 {(void *)-1, X_OK, "X_OK"},
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | faccessat.c | 95 * @tc.desc : The test file has executable permission, amode is X_OK. 107 int isExecute = faccessat(fd, ptr, X_OK, 0); in faccessat_0500() 115 * @tc.desc : The test file has no executable permission, amode is X_OK. 124 int isExecute = faccessat(fd, ptr, X_OK, 0); in faccessat_0600() 141 int isExecute = faccessat(fd, ptr, R_OK | W_OK | X_OK, 0); in faccessat_0700() 149 * @tc.desc : The test file does not have read/write executable permission, and amode is R_OK|W_OK|X_OK. 158 int isExecute = faccessat(fd, ptr, R_OK | W_OK | X_OK, 0); in faccessat_0800() 185 * and amode is R_OK|W_OK|X_OK. 194 int isExecute = faccessat(AT_FDCWD, ptr, R_OK | W_OK | X_OK, AT_EACCESS); in faccessat_1000() 203 * and amode is R_OK|W_OK|X_OK [all...] |
H A D | access.c | 143 int isExecute = access(ptr, X_OK); in access_0700() 162 int isExecute = access(ptr, X_OK); in access_0800()
|
/third_party/libsnd/src/ |
H A D | sf_unistd.h | 36 #ifndef X_OK 38 #define X_OK 0 macro 40 #define X_OK 1 /* execute permission - unsupported in windows*/ macro
|
/third_party/toybox/toys/other/ |
H A D | which.c | 31 if (!access(filename, X_OK)) { in which_in_path() 48 if (!access(list->str, X_OK)) { in which_in_path()
|
/third_party/cups-filters/filter/ |
H A D | sys5ippprinter.c | 273 if (filter_present("gstoraster") && access(CUPS_GHOSTSCRIPT, X_OK) == 0) in main() 305 if (access(CUPS_GHOSTSCRIPT, X_OK) != 0) in main() 312 else if (access(CUPS_POPPLER_PDFTOPS, X_OK) != 0) in main() 336 if (filter_present("gstopxl") && access(CUPS_GHOSTSCRIPT, X_OK) == 0) in main() 416 if (filter_present("gstoraster") && access(CUPS_GHOSTSCRIPT, X_OK) == 0) in main() 501 if (access(filter_path, X_OK) == 0) in filter_present()
|
/third_party/lame/test/ |
H A D | lametest.py | 150 status = os.access(os.path.join(x, lame1), os.X_OK) 160 status = os.access(os.path.join(x, lame2), os.X_OK)
|
/third_party/mksh/ |
H A D | os2.c | 276 * On OS/2 kLIBC, X_OK is set only for executable files. in access() 279 if (mode & X_OK) in access() 280 mode = (mode & ~X_OK) | R_OK; in access() 416 exec_name = search_path(name, path, X_OK, NULL); in execve()
|
H A D | exec.c | 882 sh = search_path(sh, path, X_OK, NULL); in scriptexec() 963 if (mksh_vdirsep(sh) && !search_path(sh, path, X_OK, NULL)) { in scriptexec() 964 cp = search_path(_getname(sh), path, X_OK, NULL); in scriptexec() 1208 ksh_access(tp->val.s, X_OK) != 0) { in findcom() 1233 X_OK, &tp->u2.errnov); in findcom() 1300 if (mode == X_OK && (!S_ISREG(sb.st_mode) || in search_access() 1319 /* R_OK or X_OK */ in search_path() 1481 X_OK | ((iop->ioflag & IORDUP) ? R_OK : W_OK), in iosetup()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_unistd.cpp | 279 benchmark::DoNotOptimize(access(filename, X_OK)); in Bm_function_Access_execute() 457 int mode = F_OK | R_OK | W_OK | X_OK; in Bm_function_Faccessat_Normal() 468 int mode = F_OK | R_OK | W_OK | X_OK; in Bm_function_Faccessat_Nofollow()
|
/third_party/jerryscript/tools/runners/ |
H A D | run-unittests.py | 45 if os.path.isfile(testfile) and os.access(testfile, os.X_OK):
|
/third_party/node/deps/v8/tools/ |
H A D | dump-cpp.py | 19 return os.path.isfile(fPath) and os.access(fPath, os.X_OK)
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSUserFile.py | 34 if os.path.isfile(item) and os.access(item, os.X_OK):
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSUserFile.py | 34 if os.path.isfile(item) and os.access(item, os.X_OK):
|
/third_party/rust/crates/which-rs/src/ |
H A D | checker.rs | 21 .map(|c| unsafe { libc::access(c.as_ptr(), libc::X_OK) == 0 }) in is_valid()
|
/third_party/musl/porting/linux/user/include/ |
H A D | fcntl.h | 119 #define X_OK 1 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | fcntl.h | 118 #define X_OK 1 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | fcntl.h | 118 #define X_OK 1 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | fcntl.h | 118 #define X_OK 1 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | fcntl.h | 121 #define X_OK 1 macro
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | fcntl.h | 118 #define X_OK 1 macro
|
/third_party/vk-gl-cts/scripts/build/ |
H A D | common.py | 123 if os.path.isfile(fullPath) and os.access(fullPath, os.X_OK):
|
/third_party/vk-gl-cts/scripts/ctsbuild/ |
H A D | common.py | 123 if os.path.isfile(fullPath) and os.access(fullPath, os.X_OK):
|