Home
last modified time | relevance | path

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

1234567

/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.c61 {FNAME_F, F_OK, "F_OK", FNAME_F},
65 {SNAME_F, F_OK, "F_OK", FNAME_F},
85 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.c69 if (access(PATH_KSM, F_OK) == -1) in setup()
83 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup()
92 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup()
Dksm03.c70 if (access(PATH_KSM, F_OK) == -1) in setup()
73 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup()
86 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup()
Dksm02.c90 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup()
101 if (access(PATH_KSM, F_OK) == -1) in setup()
107 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup()
Dksm04.c92 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup()
104 if (access(PATH_KSM, F_OK) == -1) in setup()
107 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/ltp/testcases/kernel/syscalls/splice/
Dsplice.h29 if (!access("/proc/sys/fs/pipe-max-size", F_OK)) { in get_max_limit()
34 if (!access("/proc/sys/fs/pipe-max-pages", F_OK)) { in get_max_limit()
/external/strace/xlat/
Daccess_flags.h11 #if defined(F_OK) || (defined(HAVE_DECL_F_OK) && HAVE_DECL_F_OK)
12 XLAT(F_OK),
/external/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_3.c78 if (access(SUBDIR, F_OK)) in do_test()
107 if (!access(SUBDIR, F_OK)) in cleanup()
/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/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c187 if (access(PATH_HUGEPAGES, F_OK)) in setup()
211 if (!access(path_hugepages_node1, F_OK)) { in setup()
221 if (!access(path_hugepages_node2, F_OK)) { in setup()
/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/madvise/
Dmadvise09.c278 if (cgroup_path[0] && !access(cgroup_path, F_OK)) in cleanup()
319 if (access(MEMCG_PATH, F_OK)) { in setup()
324 if (!access(MEMCG_PATH "memory.memsw.limit_in_bytes", F_OK)) in setup()
/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/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/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, ""),

1234567