/third_party/ltp/lib/ |
H A D | tst_resource.c | 92 if (access(buf, R_OK)) in file_copy()
|
/third_party/ltp/testcases/kernel/device-drivers/rtc/ |
H A D | rtc02.c | 137 int exists = access(rtc_dev, F_OK); in rtc_setup()
|
/third_party/node/test/wasi/c/ |
H A D | stat.c | 49 ret = access(PATH, R_OK); in main()
|
/third_party/node/deps/v8/tools/ |
H A D | dump-cpp.py | 19 return os.path.isfile(fPath) and os.access(fPath, os.X_OK)
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSUserFile.py | 30 # we can access. 34 if os.path.isfile(item) and os.access(item, os.X_OK):
|
/third_party/node/deps/icu-small/source/common/unicode/ |
H A D | udata.h | 284 * This allows to get access to the header containing 388 /** An alias for the default access mode. @stable ICU 3.4 */ 395 /** ICU does not access the file system for data loading. @stable ICU 3.4 */ 411 * @param access The type of file access to be used 417 udata_setFileAccess(UDataFileAccess access, UErrorCode *status);
|
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/ |
H A D | move-file.js | 6 await fs.access(path)
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSUserFile.py | 30 # we can access. 34 if os.path.isfile(item) and os.access(item, os.X_OK):
|
/third_party/ltp/testcases/kernel/pty/ |
H A D | pty07.c | 85 if (access(tty_path, F_OK)) in setup()
|
/third_party/ltp/testcases/kernel/syscalls/access/ |
H A D | access04.c | 14 * - access() fails with -1 return value and sets errno to EINVAL 15 * if the specified access mode argument is invalid. 16 * - access() fails with -1 return value and sets errno to ENOENT 18 * - access() fails with -1 return value and sets errno to ENAMETOOLONG 20 * - access() fails with -1 return value and sets errno to ENOTDIR 22 * - access() fails with -1 return value and sets errno to ELOOP 24 * - access() fails with -1 return value and sets errno to EROFS 68 TST_EXP_FAIL(access(*tc->pathname, tc->mode), tc->exp_errno, in access_test() 69 "access as %s", user); in access_test()
|
/third_party/ltp/testcases/kernel/syscalls/prctl/ |
H A D | prctl08.c | 118 if (access(PROC_TIMERSLACK_PATH, F_OK) == -1) { in setup()
|
/third_party/ltp/testcases/kernel/mem/thp/ |
H A D | thp02.c | 101 if (access(PATH_THP, F_OK) == -1) in setup()
|
/third_party/ltp/testcases/kernel/security/cap_bound/ |
H A D | cap_bounds_rw.c | 97 if (access(PROC_CAP_LAST, R_OK) == 0) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
H A D | ioctl_ns06.c | 33 int exists = access("/proc/self/ns/user", F_OK); in setup()
|
H A D | ioctl_ns05.c | 32 int exists = access("/proc/self/ns/pid", F_OK); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/pidfd_send_signal/ |
H A D | pidfd_send_signal03.c | 123 if (access(last_pid_file, F_OK) == -1) { in setup()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/misc_gtest/ |
H A D | misc_nftw64_test.cpp | 26 if (access(pathName, R_OK) == 0) { in NftwCallback()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_render_pass.h | 107 zink_render_pass_attachment_get_barrier_info(const struct zink_rt_attrib *rt, bool color, VkPipelineStageFlags *pipeline, VkAccessFlags *access);
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
H A D | posix_madvise.c | 36 if (access(path, F_OK) == 0) { in clearfile()
|
/third_party/skia/src/image/ |
H A D | SkSurface_Gpu.h | 49 GrSemaphoresSubmitted onFlush(BackendSurfaceAccess access, const GrFlushInfo& info,
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | udata.h | 284 * This allows to get access to the header containing 388 /** An alias for the default access mode. @stable ICU 3.4 */ 395 /** ICU does not access the file system for data loading. @stable ICU 3.4 */ 411 * @param access The type of file access to be used 417 udata_setFileAccess(UDataFileAccess access, UErrorCode *status);
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | io_win32.h | 36 // commonly used POSIX functions such as open(2) and access(2), as well 39 // By including this file you'll redefine open/access/etc. to 40 // ::google::protobuf::io::win32::{open/access/etc.}. 66 PROTOBUF_EXPORT int access(const char* path, int mode);
|
/third_party/rust/crates/which-rs/src/ |
H A D | checker.rs | 21 .map(|c| unsafe { libc::access(c.as_ptr(), libc::X_OK) == 0 }) in is_valid()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/ |
H A D | file_path.cpp | 274 return access(const_cast<FilePath &>(path).Value().c_str(), F_OK) == 0; in PathIsValid() 279 return access(const_cast<FilePath &>(path).Value().c_str(), R_OK) == 0; in PathIsReadable() 284 return access(const_cast<FilePath &>(path).Value().c_str(), W_OK) == 0; in PathIsWriteable()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_asset_rdbstore.cpp | 139 if (access(databaseDir.c_str(), E_OK) != 0) {
in TryGetRdbStore() 312 if (access(MEDIA_DB_DIR.c_str(), E_OK) != 0) {
in IsQueryAccessibleViaSandBox() 377 if (access(MEDIA_DB_DIR.c_str(), E_OK) != 0) {
in IsSupportSharedAssetQuery()
|