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

1 2 3 4 5 6 7 8 91011>>

  /external/strace/xlat/
open_access_modes.h 6 #if defined(O_RDONLY) || (defined(HAVE_DECL_O_RDONLY) && HAVE_DECL_O_RDONLY)
8 static_assert((O_RDONLY) == (0), "O_RDONLY != 0");
11 # define O_RDONLY 0
40 [O_RDONLY] = XLAT(O_RDONLY),
  /external/clang/test/Analysis/
unix-api.c 3 #ifndef O_RDONLY
4 #define O_RDONLY 0
16 fd = open(path, O_RDONLY); // no-warning
24 fd = open(path, O_RDONLY, mode, NULL); // expected-warning{{Call to 'open' with more than three arguments}}
31 fd = open(path, O_RDONLY, NULL); // expected-warning{{Third argument to 'open' is not an integer}}
38 fd = open(path, O_RDONLY, ""); // expected-warning{{Third argument to 'open' is not an integer}}
48 fd = open(path, O_RDONLY, st); // expected-warning{{Third argument to 'open' is not an integer}}
58 fd = open(path, O_RDONLY, st.val); // no-warning
65 fd = open(path, O_RDONLY, &open); // expected-warning{{Third argument to 'open' is not an integer}}
72 fd = open(path, O_RDONLY, 0.0f); // expected-warning{{Third argument to 'open' is not an integer}
    [all...]
  /bionic/tests/
fdsan_test.cpp 52 int fd = open("/dev/null", O_RDONLY);
59 int fd = open("/dev/null", O_RDONLY);
66 int fd = open("/dev/null", O_RDONLY);
73 int fd = open("/dev/null", O_RDONLY);
81 int fd = open("/dev/null", O_RDONLY);
89 int fd = open("/dev/null", O_RDONLY);
97 int fd = open("/dev/null", O_RDONLY);
105 int fd = open("/dev/null", O_RDONLY);
132 int fd = open("/dev/null", O_RDONLY);
146 int fd = open("/dev/null", O_RDONLY);
    [all...]
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl32.c 43 {O_RDONLY, O_RDONLY},
44 {O_RDONLY, O_WRONLY},
45 {O_RDONLY, O_RDWR},
46 {O_WRONLY, O_RDONLY},
49 {O_RDWR, O_RDONLY},
  /external/compiler-rt/test/tsan/
fd_close_norace.cc 8 int f = open("/dev/random", O_RDONLY);
16 int f = open("/dev/random", O_RDONLY);
fd_dup_norace2.cc 25 // [pid 122196] open("/dev/urandom", O_RDONLY) = 3
26 // [pid 122196] open("/dev/urandom", O_RDONLY) = 4
43 fd = open("/dev/urandom", O_RDONLY);
44 int fd2 = open("/dev/urandom", O_RDONLY);
fd_dup_race.cc 20 fd = open("/dev/random", O_RDONLY);
21 int fd2 = open("/dev/random", O_RDONLY);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
22-1.c 29 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR);
35 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
  /external/fsverity-utils/
cmd_enable.c 26 if (!open_file(&file, argv[1], O_RDONLY, 0))
  /external/libpcap/testprogs/
unix.h 47 #define O_RDONLY _O_RDONLY
  /external/linux-kselftest/tools/testing/selftests/proc/
proc-self-wchan.c 27 fd = open("/proc/self/wchan", O_RDONLY);
  /external/ltp/testcases/commands/eject/
eject_check_tray.c 49 if ((fd = open(argv[1], O_RDONLY | O_NONBLOCK)) == -1)
  /external/toybox/toys/other/
fsync.c 31 loopfiles_rw(toys.optargs, O_RDONLY|O_NOATIME|O_NOCTTY|O_CLOEXEC|WARN_ONLY,
  /external/perfetto/src/base/
scoped_file_unittest.cc 62 int raw_fd = open(kNullFilename, O_RDONLY);
88 int raw_fd1 = open(kNullFilename, O_RDONLY);
89 int raw_fd2 = open(kZeroFilename, O_RDONLY);
104 scoped_file.reset(open(kNullFilename, O_RDONLY));
110 int raw_fd = open(kNullFilename, O_RDONLY);
121 int raw_fd1 = open(kNullFilename, O_RDONLY);
122 int raw_fd2 = open(kZeroFilename, O_RDONLY);
143 int raw_fd1 = open(kNullFilename, O_RDONLY);
144 int raw_fd2 = open(kZeroFilename, O_RDONLY);
172 int raw_fd = open(kNullFilename, O_RDONLY);
    [all...]
  /external/ltp/testcases/kernel/syscalls/open/
open11.c 9 * 1. Open regular file O_RDONLY
14 * 6. Open dir O_RDONLY
17 * 9. Open hard link file O_RDONLY
20 * 12. Open sym link file O_RDONLY
23 * 15. Open sym link dir O_RDONLY
26 * 18. Open device special file O_RDONLY
30 * 22. Open link file O_RDONLY | O_CREAT
31 * 23. Open symlink file O_RDONLY | O_CREAT
32 * 24. Open regular file O_RDONLY | O_CREAT
33 * 25. Open symlink dir O_RDONLY | O_CREAT, expect EISDI
    [all...]
  /external/e2fsprogs/lib/e2p/
fgetproject.c 37 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
39 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
fgetversion.c 41 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
43 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
fsetproject.c 37 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
39 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
fsetversion.c 41 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
43 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
  /external/libchrome/base/
rand_util_posix.cc 29 URandomFd() : fd_(HANDLE_EINTR(open("/dev/urandom", O_RDONLY))) {
33 URandomFd() : fd_(HANDLE_EINTR(open("/dev/urandom", O_RDONLY | O_CLOEXEC))) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
7-3.c 35 roqueue = mq_open(qname, O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR, NULL);
42 roqueue2 = mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, NULL);
  /external/perfetto/src/profiling/memory/
unwinding_fuzzer.cc 44 base::OpenFile("/proc/self/maps", O_RDONLY),
45 base::OpenFile("/proc/self/mem", O_RDONLY));
  /external/strace/tests/
open.c 43 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400);
44 printf("open(\"%s\", O_RDONLY|O_CREAT, 0400) = %s\n",
52 fd = syscall(__NR_open, sample, O_RDONLY);
53 printf("open(\"%s\", O_RDONLY) = %s\n", sample, sprintrc(fd));
  /external/strace/tests-m32/
open.c 43 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400);
44 printf("open(\"%s\", O_RDONLY|O_CREAT, 0400) = %s\n",
52 fd = syscall(__NR_open, sample, O_RDONLY);
53 printf("open(\"%s\", O_RDONLY) = %s\n", sample, sprintrc(fd));
  /external/strace/tests-mx32/
open.c 43 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400);
44 printf("open(\"%s\", O_RDONLY|O_CREAT, 0400) = %s\n",
52 fd = syscall(__NR_open, sample, O_RDONLY);
53 printf("open(\"%s\", O_RDONLY) = %s\n", sample, sprintrc(fd));

Completed in 877 milliseconds

1 2 3 4 5 6 7 8 91011>>