Searched refs:R_OK (Results 1 – 13 of 13) sorted by relevance
/bionic/libc/bionic/ |
D | faccessat.cpp | 39 if ((mode != F_OK) && ((mode & ~(R_OK | W_OK | X_OK)) != 0) && in faccessat() 40 ((mode & (R_OK | W_OK | X_OK)) == 0)) { in faccessat()
|
D | bionic_arc4random.cpp | 42 static bool have_urandom = access("/dev/urandom", R_OK) == 0; in __libc_safe_arc4random_buf()
|
D | ftw.cpp | 66 if (postorder || access(cur->fts_path, R_OK) == -1) continue; in do_nftw()
|
/bionic/tests/ |
D | sys_stat_test.cpp | 278 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); in TEST() 281 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), AT_SYMLINK_NOFOLLOW)); in TEST() 282 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); in TEST() 299 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", R_OK, 0)); in TEST() 301 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", R_OK|W_OK, 0)); in TEST()
|
D | ftw_test.cpp | 66 if (access(fpath, R_OK) == 0) { in sanity_check_ftw()
|
/bionic/libc/system_properties/ |
D | contexts_split.cpp | 270 if (access("/system/etc/selinux/plat_property_contexts", R_OK) != -1) { in InitializeProperties() 277 if (access("/vendor/etc/selinux/vendor_property_contexts", R_OK) != -1) { in InitializeProperties() 287 if (access("/vendor_property_contexts", R_OK) != -1) { in InitializeProperties()
|
D | context_node.cpp | 93 return access(filename, R_OK) == 0; in CheckAccess()
|
D | system_properties.cpp | 76 if (access("/dev/__properties__/property_info", R_OK) == 0) { in Init()
|
/bionic/libc/tzcode/ |
D | private.h | 154 #ifndef R_OK 155 #define R_OK 4 macro
|
D | localtime.c | 420 if (doaccess && access(name, R_OK) != 0) in tzloadbody()
|
/bionic/libc/include/ |
D | unistd.h | 53 #define R_OK 4 macro
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 105 MACRO(R_OK); in unistd_h()
|
/bionic/linker/ |
D | linker_config.cpp | 242 if (access(value.c_str(), R_OK) != 0) { in parse_config_file()
|