Home
last modified time | relevance | path

Searched refs:X_OK (Results 1 – 25 of 83) 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.h20 #if defined(X_OK) || (defined(HAVE_DECL_X_OK) && HAVE_DECL_X_OK)
21 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/valgrind/coregrind/
Dlauncher-darwin.c126 if (access(fullname, R_OK|X_OK) == 0) in find_client()
292 if (access(vgpreload_core, R_OK|X_OK) != 0) { in main()
415 if (access(toolfile, R_OK|X_OK) != 0) { in main()
/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.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()
1204 ksh_access(tp->val.s, X_OK) != 0) { in findcom()
1229 X_OK, &tp->u2.errnov); in findcom()
1296 if (mode == X_OK && (!S_ISREG(sb.st_mode) || in search_access()
1479 X_OK | ((iop->ioflag & IORDUP) ? R_OK : W_OK), in iosetup()
/external/valgrind/none/tests/darwin/
Daccess_extended.stderr.exp3 access_extended.c(X_OK) = 13 (Permission denied)
Daccess_extended.c30 entries[1].ad_flags = X_OK; // fails in main()
/external/googletest/googletest/include/gtest/internal/custom/
Dgtest.h50 if (access("/data/local/tmp", R_OK | W_OK | X_OK) == 0) return "/data/local/tmp/"; in GetAndroidTempDir()
/external/strace/tests-m32/
Daccess.c18 rc = syscall(__NR_access, sample, R_OK|W_OK|X_OK); in main()
/external/strace/tests-mx32/
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/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/tensorflow/tensorflow/core/platform/posix/
Dtracing.cc35 if (access(dir, R_OK | W_OK | X_OK) == 0) return dir; in LogDir()
/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/oj-libjdwp/src/solaris/javavm/export/
Djvm_md.h57 #define JVM_X_OK X_OK
/external/valgrind/none/tests/solaris/
Dproc_auxv.c79 if (access(execname, R_OK | X_OK)) { in main()
/external/vulkan-validation-layers/scripts/
Ddetermine_vs_version.py30 return os.path.isfile(fPath) and os.access(fPath, 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):

1234