Home
last modified time | relevance | path

Searched refs:R_OK (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/bionic/
Dfaccessat.cpp39 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()
Dsystem_properties.cpp798 return access(filename, R_OK) == 0; in check_access()
/bionic/tests/
Dsys_stat_test.cpp253 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); in TEST()
256 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), AT_SYMLINK_NOFOLLOW)); in TEST()
257 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); in TEST()
274 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", R_OK, 0)); in TEST()
276 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", R_OK|W_OK, 0)); in TEST()
/bionic/libc/tzcode/
Dprivate.h143 #ifndef R_OK
144 #define R_OK 4 macro
Dlocaltime.c419 if (doaccess && access(name, R_OK) != 0) in tzloadbody()
/bionic/libc/include/
Dunistd.h50 #define R_OK 4 macro