Home
last modified time | relevance | path

Searched refs:X_OK (Results 1 - 25 of 104) sorted by relevance

12345

/third_party/ltp/testcases/kernel/syscalls/access/
H A Daccess01.c11 * 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 Daccess02.c14 * - 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 Daccess03.c29 {(void *)-1, X_OK, "X_OK"},
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dfaccessat.c95 * @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 Daccess.c143 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 Dsf_unistd.h36 #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 Dwhich.c31 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 Dsys5ippprinter.c273 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 Dlametest.py150 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 Dos2.c276 * 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 Dexec.c882 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 Dlibc_unistd.cpp279 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 Drun-unittests.py45 if os.path.isfile(testfile) and os.access(testfile, os.X_OK):
/third_party/node/deps/v8/tools/
H A Ddump-cpp.py19 return os.path.isfile(fPath) and os.access(fPath, os.X_OK)
/third_party/node/tools/gyp/pylib/gyp/
H A DMSVSUserFile.py34 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 DMSVSUserFile.py34 if os.path.isfile(item) and os.access(item, os.X_OK):
/third_party/rust/crates/which-rs/src/
H A Dchecker.rs21 .map(|c| unsafe { libc::access(c.as_ptr(), libc::X_OK) == 0 }) in is_valid()
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h119 #define X_OK 1 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h118 #define X_OK 1 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h118 #define X_OK 1 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h118 #define X_OK 1 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h121 #define X_OK 1 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h118 #define X_OK 1 macro
/third_party/vk-gl-cts/scripts/build/
H A Dcommon.py123 if os.path.isfile(fullPath) and os.access(fullPath, os.X_OK):
/third_party/vk-gl-cts/scripts/ctsbuild/
H A Dcommon.py123 if os.path.isfile(fullPath) and os.access(fullPath, os.X_OK):

Completed in 17 milliseconds

12345