Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/external/e2fsprogs/lib/ext2fs/
Dgetsectsize.c49 fd = open64(file, O_RDONLY); in ext2fs_get_device_sectsize()
51 fd = open(file, O_RDONLY); in ext2fs_get_device_sectsize()
75 fd = open64(file, O_RDONLY); in ext2fs_get_device_phys_sectsize()
77 fd = open(file, O_RDONLY); in ext2fs_get_device_phys_sectsize()
/external/valgrind/main/none/tests/
Dfdleak_dup2.c12 s1 = DO( open("/dev/null", O_RDONLY) ); in main()
13 s2 = DO( open("/dev/null", O_RDONLY) ); in main()
Drlimit_nofile.c56 if (open("/dev/null", O_RDONLY) < 0) in main()
62 if ((fd = open("/dev/null", O_RDONLY)) >= 0) in main()
Dfdleak_open.c9 DO( open("/dev/null", O_RDONLY) ); in main()
Dfdleak_dup.c11 s = DO( open("/dev/null", O_RDONLY) ); in main()
Dfdleak_fcntl.c12 s1 = DO( open("/dev/null", O_RDONLY) ); in main()
/external/e2fsprogs/lib/e2p/
Dfsetversion.c34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfgetversion.c34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfsetflags.c47 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
49 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfgetflags.c38 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
40 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
/external/chromium/base/
Ddir_reader_posix_unittest.cc31 const int prev_wd = open(".", O_RDONLY | O_DIRECTORY); in TEST()
39 const int fd = open(buf, O_CREAT | O_RDONLY | O_EXCL, 0600); in TEST()
/external/libmtp/examples/
Dthumb.c88 if ( (fd = open(path, O_RDONLY|O_BINARY) == -1) ) {
90 if ( (fd = open(path, O_RDONLY)) == -1) {
Dalbumart.c108 if ( (fd = open(path, O_RDONLY|O_BINARY) == -1) ) {
110 if ( (fd = open(path, O_RDONLY)) == -1) {
/external/openssh/
Dssh-keysign.c170 key_fd[i++] = open(_PATH_HOST_DSA_KEY_FILE, O_RDONLY); in main()
171 key_fd[i++] = open(_PATH_HOST_ECDSA_KEY_FILE, O_RDONLY); in main()
172 key_fd[i++] = open(_PATH_HOST_RSA_KEY_FILE, O_RDONLY); in main()
/external/elfutils/libdwfl/
Dlinux-proc-maps.c79 int fd = open64 (fname, O_RDONLY); in find_sysinfo_ehdr()
298 int fd = open64 (module_name, O_RDONLY); in dwfl_linux_proc_find_elf()
320 int fd = open64 (fname, O_RDONLY); in dwfl_linux_proc_find_elf()
/external/stlport/src/details/
Dfstream_stdio.cpp69 # ifndef O_RDONLY
70 # define O_RDONLY _O_RDONLY macro
81 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
Dfstream_unistd.cpp53 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
83 case O_RDONLY: in flag_to_openmode()
176 flags = O_RDONLY; in _M_open()
/external/yaffs2/yaffs2/direct/
Dyaffsfs.h23 #ifndef O_RDONLY
24 #define O_RDONLY 00 macro
/external/qemu/
Dloader.c57 fd = open(filename, O_RDONLY | O_BINARY); in get_image_size()
70 fd = open(filename, O_RDONLY | O_BINARY); in load_image()
217 fd = open(filename, O_RDONLY | O_BINARY); in load_aout()
313 fd = open(filename, O_RDONLY | O_BINARY); in load_elf()
466 fd = open(filename, O_RDONLY | O_BINARY); in load_uimage()
/external/clang/test/Analysis/
Dunix-fns.c24 #define O_RDONLY 0x0000 macro
31 fd = open(path, O_RDONLY); // no-warning in test_open()
/external/linux-tools-perf/util/
Dtrace-event-info.c219 fd = open(file, O_RDONLY); in copy_file()
250 fd = open(file, O_RDONLY); in get_size()
266 fd = open(path, O_RDONLY); in read_header_files()
284 fd = open(path, O_RDONLY); in read_header_files()
/external/netperf/
Dnetcpu_procstat.c68 proc_stat_fd = open (PROC_STAT_FILE_NAME, O_RDONLY, NULL); in cpu_util_init()
115 proc_stat_fd = open (PROC_STAT_FILE_NAME, O_RDONLY, NULL); in calibrate_idle_rate()
/external/fsck_msdos/
Dcheck.c74 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0); in checkfilesys()
76 dosfs = open(fname, O_RDONLY, 0); in checkfilesys()
/external/valgrind/main/memcheck/tests/
Dmmaptest.c12 fd = open("dir", O_RDONLY); in main()
Derringfds.c12 fd = open("foo/bar/xyzzy", O_RDONLY); /* fails */ in main()

12345678910>>...15