/external/ltp/testcases/kernel/syscalls/access/ |
D | access01.c | 37 {FNAME_RWX, F_OK, "F_OK", 0, 3}, 83 {DNAME_R"/"FNAME_R, F_OK, "F_OK", 0, 2}, 87 {DNAME_R"/"FNAME_W, F_OK, "F_OK", 0, 2}, 91 {DNAME_R"/"FNAME_X, F_OK, "F_OK", 0, 2}, 96 {DNAME_W"/"FNAME_R, F_OK, "F_OK", 0, 2}, 100 {DNAME_W"/"FNAME_W, F_OK, "F_OK", 0, 2}, 104 {DNAME_W"/"FNAME_X, F_OK, "F_OK", 0, 2}, 109 {DNAME_X"/"FNAME_R, F_OK, "F_OK", 0, 3}, 113 {DNAME_X"/"FNAME_W, F_OK, "F_OK", 0, 3}, 117 {DNAME_X"/"FNAME_X, F_OK, "F_OK", 0, 3}, [all …]
|
D | access02.c | 47 {FNAME_F, F_OK, "F_OK", FNAME_F}, 51 {SNAME_F, F_OK, "F_OK", FNAME_F}, 71 case F_OK: in access_test()
|
/external/protobuf/src/google/protobuf/io/ |
D | io_win32_unittest.cc | 286 EXPECT_EQ(access(test_tmpdir.c_str(), F_OK), 0); in TEST_F() 287 EXPECT_EQ(access(path.c_str(), F_OK), 0); in TEST_F() 289 EXPECT_EQ(access(file.c_str(), F_OK | W_OK), 0); in TEST_F() 290 EXPECT_NE(access((file + ".blah").c_str(), F_OK), 0); in TEST_F() 293 EXPECT_EQ(access(".", F_OK), 0); in TEST_F() 295 EXPECT_EQ(access((test_tmpdir + "/accesstest").c_str(), F_OK | W_OK), 0); in TEST_F() 297 F_OK | W_OK), in TEST_F() 299 EXPECT_NE(access("io_win32_unittest.AccessTest.nonexistent", F_OK), 0); in TEST_F() 302 ASSERT_EQ(access("c:bad", F_OK), -1); in TEST_F() 304 ASSERT_EQ(access("/tmp/bad", F_OK), -1); in TEST_F() [all …]
|
D | io_win32.h | 104 #ifndef F_OK 105 #define F_OK 00 // not defined by MSVC for whatever reason macro
|
/external/ltp/testcases/kernel/containers/mountns/ |
D | mountns02.c | 58 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()
|
D | mountns03.c | 71 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()
|
D | mountns01.c | 58 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/ |
D | ksm01.c | 69 if (access(PATH_KSM, F_OK) == -1) in setup() 81 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup() 90 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup()
|
D | ksm03.c | 72 if (access(PATH_KSM, F_OK) == -1) in setup() 75 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup() 88 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup()
|
D | ksm02.c | 87 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup() 97 if (access(PATH_KSM, F_OK) == -1) in setup() 102 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup()
|
D | ksm04.c | 90 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) in cleanup() 102 if (access(PATH_KSM, F_OK) == -1) in setup() 105 if (access(PATH_KSM "merge_across_nodes", F_OK) == 0) { in setup()
|
/external/ltp/lib/ |
D | tst_module.c | 35 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()
|
D | tst_kconfig.c | 22 if (!access(path, F_OK)) in kconfig_path() 28 if (!access("/proc/config.gz", F_OK)) in kconfig_path() 36 if (!access(path_buf, F_OK)) in kconfig_path() 42 if (!access(path_buf, F_OK)) in kconfig_path()
|
D | tst_virt.c | 54 if (access("/proc/xen", F_OK) == 0) in is_xen() 57 if (access("/sys/hypervisor/type", F_OK) == 0) { in is_xen()
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice.h | 29 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/ltp/testcases/kernel/syscalls/getxattr/ |
D | getxattr05.c | 103 if (access(UID_MAP, F_OK)) in do_unshare() 154 if (access(SELF_USERNS, F_OK) != 0) { in setup() 156 } else if (!access(MAX_USERNS, F_OK)) { in setup()
|
/external/strace/xlat/ |
D | access_flags.h | 17 #if defined(F_OK) || (defined(HAVE_DECL_F_OK) && HAVE_DECL_F_OK) 18 XLAT(F_OK),
|
/external/ltp/testcases/kernel/controllers/memcg/regression/ |
D | memcg_test_3.c | 51 if (access(SUBDIR, F_OK)) in do_test() 80 if (!access(SUBDIR, F_OK)) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create04.c | 55 if (access(pattern, F_OK)) in check_hugepage_support() 87 if (access(PATH_HUGEPAGES, F_OK)) in setup()
|
D | memfd_create03.c | 199 if (access(MEMINFO_PATH, F_OK) || in setup() 200 access("/sys/kernel/mm/hugepages", F_OK) || in setup() 201 access(TOTAL_HP_PATH, F_OK)) in setup()
|
/external/curl/lib/ |
D | config-amigaos.h | 116 #ifndef F_OK 117 # define F_OK 0 macro
|
/external/curl/src/ |
D | tool_dirhie.c | 46 # ifndef F_OK 47 # define F_OK 0 macro
|
/external/autotest/client/profilers/powertop/src/ |
D | bluetooth.c | 108 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/ |
D | login.py | 131 if os.access(constants.OWNER_KEY_FILE, os.F_OK): 134 condition=lambda: os.access(constants.OWNER_KEY_FILE, os.F_OK),
|
/external/perfetto/src/profiling/symbolizer/ |
D | local_symbolizer.cc | 279 if (access(symbol_file.c_str(), F_OK) == 0 && in FindBinaryInRoot() 286 if (access(symbol_file.c_str(), F_OK) == 0 && in FindBinaryInRoot() 292 if (access(symbol_file.c_str(), F_OK) == 0 && in FindBinaryInRoot() 298 if (access(symbol_file.c_str(), F_OK) == 0 && in FindBinaryInRoot() 308 if (access(symbol_file.c_str(), F_OK) == 0 && in FindBinaryInRoot()
|