Home
last modified time | relevance | path

Searched refs:X_OK (Results 1 – 25 of 87) sorted by relevance

1234

/external/ltp/testcases/kernel/syscalls/access/
Daccess01.c57 {FNAME_RWX, X_OK, "X_OK", 0, 3},
62 {FNAME_RWX, R_OK|X_OK, "R_OK|X_OK", 0, 3},
63 {FNAME_RWX, W_OK|X_OK, "W_OK|X_OK", 0, 3},
64 {FNAME_RWX, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", 0, 3},
66 {FNAME_X, X_OK, "X_OK", 0, 3},
70 {FNAME_R, X_OK, "X_OK", EACCES, 3},
73 {FNAME_W, X_OK, "X_OK", EACCES, 3},
77 {FNAME_R, W_OK|X_OK, "W_OK|X_OK", EACCES, 3},
78 {FNAME_R, R_OK|X_OK, "R_OK|X_OK", EACCES, 3},
80 {FNAME_R, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", EACCES, 3},
[all …]
Daccess02.c64 {FNAME_X, X_OK, "X_OK", FNAME_X},
68 {SNAME_X, X_OK, "X_OK", FNAME_X}
136 case X_OK: in access_test()
Daccess03.c45 {(void *)-1, X_OK, "X_OK"},
/external/python/cpython2/Mac/Tools/
Dfixapplepython23.py82 if not os.access(dirname, os.X_OK):
120 if not os.access(GCC_SCRIPT, os.X_OK):
122 if not os.access(GXX_SCRIPT, os.X_OK):
/external/strace/xlat/
Daccess_flags.h26 #if defined(X_OK) || (defined(HAVE_DECL_X_OK) && HAVE_DECL_X_OK)
27 XLAT(X_OK),
Daccess_flags.in4 X_OK
/external/toybox/toys/other/
Dwhich.c31 if (!access(filename, X_OK)) { in which_in_path()
48 if (!access(list->str, X_OK)) { in which_in_path()
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dconstants.go12 X_OK = 0x1 const
/external/mksh/src/
Dos2.c255 if (mode & X_OK) in access()
256 mode = (mode & ~X_OK) | R_OK; in access()
379 exec_name = search_path(name, path, X_OK, NULL); in execve()
Dexec.c890 sh = search_path(sh, path, X_OK, NULL); in scriptexec()
971 if (mksh_vdirsep(sh) && !search_path(sh, path, X_OK, NULL)) { in scriptexec()
972 cp = search_path(_getname(sh), path, X_OK, NULL); in scriptexec()
1212 ksh_access(tp->val.s, X_OK) != 0) { in findcom()
1237 X_OK, &tp->u2.errnov); in findcom()
1304 if (mode == X_OK && (!S_ISREG(sb.st_mode) || in search_access()
1487 X_OK | ((iop->ioflag & IORDUP) ? R_OK : W_OK), in iosetup()
/external/strace/tests-m32/
Daccess.c18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK); in main()
/external/strace/tests/
Daccess.c18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK); in main()
/external/googletest/googletest/include/gtest/internal/custom/
Dgtest.h42 if (access("/data/local/tmp", R_OK | W_OK | X_OK) == 0) return "/data/local/tmp/"; in GetAndroidTempDir()
/external/strace/tests-mx32/
Daccess.c18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK); in main()
/external/libxkbcommon/xkbcommon/src/
Dcontext.c57 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/selinux/libsemanage/src/
Dconf-parse.y364 if (access("/sbin/load_policy", X_OK) == 0) {
378 if (access("/sbin/setfiles", X_OK) == 0) {
392 if (access("/sbin/sefcontext_compile", X_OK) == 0) {
/external/tensorflow/tensorflow/core/platform/default/
Dtracing.cc42 if (access(dir, R_OK | W_OK | X_OK) == 0) return dir; in GetLogDir()
/external/oj-libjdwp/src/solaris/javavm/export/
Djvm_md.h57 #define JVM_X_OK X_OK
/external/python/setuptools/setuptools/tests/
Denvironment.py12 if os.access(filename, os.X_OK):
/external/ppp/pppd/plugins/
Dpassprompt.c35 if (promptprog[0] == 0 || access(promptprog, X_OK) < 0) in promptpass()
/external/v8/tools/
Ddump-cpp.py16 return os.path.isfile(fPath) and os.access(fPath, os.X_OK)
/external/deqp/scripts/build/
Dcommon.py109 if os.path.isfile(fullPath) and os.access(fullPath, os.X_OK):
/external/u-boot/fs/yaffs2/
Dyportenv.h284 #define X_OK 1 macro
/external/harfbuzz_ng/test/fuzzing/
Drun-shape-fuzzer-tests.py11 return os.path.isfile(fpath) and os.access(fpath, os.X_OK)
/external/pdfium/testing/tools/
Dsafetynet_measure.py39 if not os.access(self.pdfium_test_path, os.X_OK):

1234