HomeSort by relevance Sort by last modified time
    Searched refs:R_OK (Results 1 - 25 of 195) sorted by null

1 2 3 4 5 6 7 8

  /bionic/libc/bionic/
faccessat.cpp 38 // bitwise OR of one or more of R_OK, W_OK, and X_OK."
39 if ((mode != F_OK) && ((mode & ~(R_OK | W_OK | X_OK)) != 0) &&
40 ((mode & (R_OK | W_OK | X_OK)) == 0)) {
  /external/strace/xlat/
access_flags.h 14 #if defined(R_OK) || (defined(HAVE_DECL_R_OK) && HAVE_DECL_R_OK)
15 XLAT(R_OK),
  /frameworks/av/services/mediacodec/minijail/
minijail.cpp 31 if (access(kSeccompFilePath, R_OK) == -1) {
  /frameworks/av/services/mediaextractor/minijail/
minijail.cpp 31 if (access(kSeccompFilePath, R_OK) == -1) {
  /external/ltrace/testsuite/ltrace.minor/
count-record.c 44 access ("system_calls.tmp", R_OK);
  /external/libchrome/sandbox/linux/syscall_broker/
broker_file_permission.cc 85 if (mode != F_OK && mode & ~(R_OK | W_OK)) {
101 case R_OK:
109 case R_OK | W_OK:
broker_process_unittest.cc 111 ret = open_broker.Access(kR_WhiteListed, R_OK);
115 ret = open_broker.Access(kR_WhiteListed, R_OK | W_OK);
119 ret = open_broker.Access(kR_WhiteListed, R_OK | X_OK);
137 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK);
141 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK | W_OK);
145 ret = open_broker.Access(kR_WhiteListedButDenied, R_OK | X_OK);
157 ret = open_broker.Access(kW_WhiteListed, R_OK);
161 ret = open_broker.Access(kW_WhiteListed, R_OK | W_OK);
165 ret = open_broker.Access(kW_WhiteListed, R_OK | X_OK);
176 ret = open_broker.Access(kRW_WhiteListed, R_OK);
    [all...]
  /hardware/libhardware/
hardware.c 136 if (access(path, R_OK) == 0)
141 if (access(path, R_OK) == 0)
146 if (access(path, R_OK) == 0)
  /toolchain/binutils/binutils-2.25/libiberty/
make-temp-file.c 38 #include <sys/file.h> /* May get R_OK, etc. on some systems. */
44 #ifndef R_OK
45 #define R_OK 4
79 && access (dir, R_OK | W_OK | X_OK) == 0)
  /system/core/healthd/
BatteryMonitor.cpp 294 (access(path.string(), R_OK) == 0) ? getIntField(path) : 0;
301 (access(path.string(), R_OK) == 0) ? getIntField(path) :
512 if (access(path.string(), R_OK) == 0)
523 if (access(path, R_OK) == 0)
531 if (access(path, R_OK) == 0)
539 if (access(path, R_OK) == 0)
547 if (access(path, R_OK) == 0)
555 if (access(path, R_OK) == 0) {
561 if (access(path, R_OK) == 0)
570 if (access(path, R_OK) == 0
    [all...]
  /libcore/ojluni/src/main/native/
jvm_md.h 36 #include <unistd.h> /* For F_OK, R_OK, W_OK */
55 #define JVM_R_OK R_OK
  /system/netd/server/
oem_iptables_hook.cpp 78 if (0 == access(OEM_SCRIPT_PATH, R_OK | X_OK)) {
  /bootable/recovery/
recovery-persist.cpp 187 if (access(LAST_PMSG_FILE, R_OK)) {
197 if (!access(LAST_CONSOLE_FILE, R_OK)) {
199 } else if (!access(ALT_LAST_CONSOLE_FILE, R_OK)) {
  /frameworks/base/cmds/idmap/
idmap.cpp 102 return access(path, R_OK | X_OK) == 0;
112 return access(path, R_OK) == 0;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/
fcntl.h 42 # ifndef R_OK /* Verbatim from <unistd.h>. Ugh. */
45 # define R_OK 4 /* Test for read permission. */
  /external/autotest/client/tools/
cd_hash.py 31 can_read_file = os.access(filename, os.R_OK)
  /external/toybox/toys/posix/
rm.c 53 if (faccessat(fd, try->name, R_OK, 0)) {
  /external/valgrind/none/tests/solaris/
proc_auxv.c 79 if (access(execname, R_OK | X_OK)) {
  /system/extras/tests/storage/
opentest.c 59 if (access(dir, R_OK | W_OK)) {
  /bionic/tests/
sys_stat_test.cpp 253 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0));
256 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), AT_SYMLINK_NOFOLLOW));
257 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0));
274 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", R_OK, 0));
276 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", R_OK|W_OK, 0));
  /external/libxml2/
check-xinclude-test-suite.py 80 if os.access(URI, os.R_OK) == 0:
96 if os.access(output, os.R_OK) == 0:
  /frameworks/native/libs/input/
InputDevice.cpp 96 if (!access(path.string(), R_OK)) {
111 if (!access(path.string(), R_OK)) {
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
fcntl.h 88 # ifndef R_OK /* Verbatim from <unistd.h>. Ugh. */
91 # define R_OK 4 /* Test for read permission. */
  /external/autotest/client/profilers/powertop/src/
config.c 46 if (access("/proc/config.gz", R_OK) == 0) {
  /external/chromium-trace/catapult/telemetry/build/
linux_setup_msr.py 51 if not os.access(MSR_DEV_FILE_PATH, os.R_OK):

Completed in 427 milliseconds

1 2 3 4 5 6 7 8