Home
last modified time | relevance | path

Searched refs:W_OK (Results 1 – 5 of 5) 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_property_set.cpp72 access(property_service_for_system_socket, W_OK) == 0) { in PropertyServiceConnection()
/bionic/tests/
Dsys_stat_test.cpp282 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); in TEST()
285 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), AT_SYMLINK_NOFOLLOW)); in TEST()
286 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); in TEST()
304 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", W_OK, 0)); in TEST()
305 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", R_OK|W_OK, 0)); in TEST()
/bionic/libc/include/
Dunistd.h53 #define W_OK 2 macro
/bionic/tests/headers/posix/
Dunistd_h.c124 MACRO(W_OK); in unistd_h()