Home
last modified time | relevance | path

Searched refs:F_OK (Results 1 – 25 of 134) sorted by relevance

123456

/external/ltp/testcases/kernel/syscalls/access/
Daccess01.c56 {FNAME_RWX, F_OK, "F_OK", 0, 3},
102 {DNAME_R"/"FNAME_R, F_OK, "F_OK", 0, 2},
106 {DNAME_R"/"FNAME_W, F_OK, "F_OK", 0, 2},
110 {DNAME_R"/"FNAME_X, F_OK, "F_OK", 0, 2},
115 {DNAME_W"/"FNAME_R, F_OK, "F_OK", 0, 2},
119 {DNAME_W"/"FNAME_W, F_OK, "F_OK", 0, 2},
123 {DNAME_W"/"FNAME_X, F_OK, "F_OK", 0, 2},
128 {DNAME_X"/"FNAME_R, F_OK, "F_OK", 0, 3},
132 {DNAME_X"/"FNAME_W, F_OK, "F_OK", 0, 3},
136 {DNAME_X"/"FNAME_X, F_OK, "F_OK", 0, 3},
[all …]
Daccess02.c60 {FNAME_F, F_OK, "F_OK", FNAME_F},
64 {SNAME_F, F_OK, "F_OK", FNAME_F},
84 case F_OK: in access_test()
/external/ltp/testcases/kernel/containers/mountns/
Dmountns02.c58 if ((access(DIRA"/A", F_OK) != 0) || (access(DIRA"/B", F_OK) == 0)) in child_func()
105 if ((access(DIRA"/A", F_OK) != 0) || (access(DIRA"/B", F_OK) == 0)) in test()
Dmountns03.c71 if (access(DIRA"/B", F_OK) == -1) in child_func()
122 if ((access(DIRA"/A", F_OK) == 0) && (access(DIRA"/B", F_OK) == -1)) in test()
Dmountns01.c58 if (access(DIRA"/B", F_OK) == -1) in child_func()
105 if (access(DIRA"/B", F_OK) == 0) in test()
/external/ltp/testcases/kernel/mem/ksm/
Dksm01.c106 if (access(PATH_KSM, F_OK) == -1) in setup()
118 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup()
130 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup()
Dksm03.c107 if (access(PATH_KSM, F_OK) == -1) in setup()
110 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup()
125 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup()
Dksm02.c124 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup()
139 if (access(PATH_KSM, F_OK) == -1) in setup()
143 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup()
Dksm04.c126 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup()
142 if (access(PATH_KSM, F_OK) == -1) in setup()
145 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup()
/external/valgrind/memcheck/tests/solaris/
Dsyscall_at.c50 faccessat(dfd, FILENAME, F_OK, 0); in main()
51 faccessat(0x4132151, DIRECTORY FILENAME, F_OK, 0); in main()
52 faccessat(AT_FDCWD, FILENAME, F_OK, 0); in main()
53 faccessat(0x4132152, FILENAME, F_OK, 0); /* warning for this one */ in main()
/external/ltp/lib/
Dtst_module.c35 if (access(mod_name, F_OK) == 0) { in tst_module_exists()
52 err = access(buf, F_OK); in tst_module_exists()
64 err = access(buf, F_OK); in tst_module_exists()
Dtst_virt.c54 if (access("/proc/xen", F_OK) == 0) in is_xen()
57 if (access("/sys/hypervisor/type", F_OK) == 0) { in is_xen()
/external/valgrind/none/tests/darwin/
Daccess_extended.stderr.exp2 access_extended.c(F_OK) = 0 (Undefined error: 0)
4 no_such_file(F_OK) = 2 (No such file or directory)
Daccess_extended.c29 entries[0].ad_flags = F_OK; // succeeds in main()
31 entries[2].ad_flags = F_OK; // fails in main()
/external/strace/xlat/
Daccess_flags.h11 #if defined(F_OK) || (defined(HAVE_DECL_F_OK) && HAVE_DECL_F_OK)
12 XLAT(F_OK),
/external/protobuf/src/google/protobuf/testing/
Dfile.cc56 #ifndef F_OK
57 #define F_OK 00 // not defined by MSVC for whatever reason macro
62 return access(name.c_str(), F_OK) == 0; in Exists()
/external/curl/lib/
Dconfig-amigaos.h118 #ifndef F_OK
119 # define F_OK 0 macro
/external/curl/src/
Dtool_dirhie.c47 # define F_OK 0 macro
142 if(access(dirbuildup, F_OK) == -1) { in create_dir_hierarchy()
/external/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c181 if (access(PATH_HUGEPAGES, F_OK)) in setup()
205 if (!access(path_hugepages_node1, F_OK)) { in setup()
215 if (!access(path_hugepages_node2, F_OK)) { in setup()
/external/autotest/client/profilers/powertop/src/
Dbluetooth.c108 if (access("/sys/module/bluetooth",F_OK)) in suggest_bluetooth_off()
122 access("/sys/module/hci_usb",F_OK)) /* interface down already */ in suggest_bluetooth_off()
/external/autotest/client/cros/
Dlogin.py131 if os.access(constants.OWNER_KEY_FILE, os.F_OK):
134 condition=lambda: os.access(constants.OWNER_KEY_FILE, os.F_OK),
/external/autotest/client/site_tests/login_OwnershipTaken/
Dlogin_OwnershipTaken.py27 if (os.access(constants.OWNER_KEY_FILE, os.F_OK) or
28 os.access(constants.SIGNED_POLICY_FILE, os.F_OK)):
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise09.c278 if (cgroup_path[0] && !access(cgroup_path, F_OK)) in cleanup()
316 if (access(MEMCG_PATH, F_OK)) { in setup()
321 if (!access(MEMCG_PATH "memory.memsw.limit_in_bytes", F_OK)) in setup()
/external/sonivox/jet_tools/JetCreator/
DJetDefs.py251 F_OK = "btnOk" variable in JetDefs
404 ('Ok', F_OK, BUTROW1, COL3+100, BUTSIZE, 0, 0, wx.ID_OK, [], "OnOk", True, ""),
416 ('Ok', F_OK, BUTROW1, COL3+100, BUTSIZE, 0, 0, wx.ID_OK, [], "OnOk", True, ""),
428 ('Ok', F_OK, BUTROW1, 500, BUTSIZE, 0, 0, wx.ID_OK, [], "OnOk", True, ""),
535 ('Ok', F_OK, BUTROW1, COL3+150, BUTSIZE, 0, 0, wx.ID_OK, [], "OnOk", True, ""),
550 ('Ok', F_OK, BUTROW1, COL3+150, BUTSIZE, 0, 0, wx.ID_OK, [], "OnOk", True, ""),
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_file_permission.cc85 if (mode != F_OK && mode & ~(R_OK | W_OK)) { in CheckAccess()
97 case F_OK: in CheckAccess()

123456