Home
last modified time | relevance | path

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

123456789

/external/bluetooth/bluez/common/
Doui.c49 fd = open("oui.txt", O_RDONLY); in ouitocomp()
51 fd = open(OUIFILE, O_RDONLY); in ouitocomp()
53 fd = open("/usr/share/misc/oui.txt", O_RDONLY); in ouitocomp()
/external/e2fsprogs/lib/ext2fs/
Dgetsectsize.c44 fd = open64(file, O_RDONLY); in ext2fs_get_device_sectsize()
46 fd = open(file, O_RDONLY); in ext2fs_get_device_sectsize()
Dgetsize.c163 fd = open64(file, O_RDONLY); in ext2fs_get_device_size()
165 fd = open(file, O_RDONLY); in ext2fs_get_device_size()
/external/e2fsprogs/lib/e2p/
Dfsetversion.c32 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfgetversion.c32 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfgetflags.c36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
38 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
Dfsetflags.c45 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
47 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
/external/netcat/data/
Dxor.c71 x = open (argv[1], O_RDONLY | O_BINARY);
73 x = open (argv[1], O_RDONLY);
/external/oprofile/opcontrol/
Dopcontrol.cpp263 fd = open(OP_DATA_DIR, O_RDONLY); in setup_session_dir()
406 int fd = open(file, O_RDONLY); in read_num()
447 fd = open(fullname, O_RDONLY); in do_status()
480 fd = open(OP_DATA_DIR"/samples/current", O_RDONLY); in do_reset()
/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/yaffs2/yaffs2/direct/
Dyaffsfs.h23 #ifndef O_RDONLY
24 #define O_RDONLY 00 macro
Ddtest.c22 inh = open(inName,O_RDONLY); in copy_in_a_file()
148 h = yaffs_open(fn,O_RDONLY,0); in dump_file()
195 h = yaffs_open(fn, O_RDONLY, S_IREAD | S_IWRITE); in verify_file_of_size()
647 f = yaffs_open("/boot/b1", O_RDONLY,0); in long_test()
812 PermissionsCheck("/boot/yyfile",0, O_RDONLY,0); in long_test()
816 PermissionsCheck("/boot/yyfile",S_IREAD, O_RDONLY,1); in long_test()
820 PermissionsCheck("/boot/yyfile",S_IWRITE, O_RDONLY,0); in long_test()
824 PermissionsCheck("/boot/yyfile",S_IREAD | S_IWRITE, O_RDONLY,1); in long_test()
1217 a = yaffs_open("/boot/a",O_RDONLY,0); in cache_read_test()
1218 b = yaffs_open("/boot/b",O_RDONLY,0); in cache_read_test()
[all …]
/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/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/libpcap/
Dpcap-enet.c160 GETENETDEVICE(0, O_RDONLY, &if_fd); in initdevice()
162 if_fd = open("/dev/enet", O_RDONLY, 0); in initdevice()
/external/e2fsprogs/misc/
Dfilefrag.c122 fd = open64(filename, O_RDONLY);
124 fd = open(filename, O_RDONLY);
/external/bison/djgpp/
Dsubpipe.c173 …int from_out_fd = open(tmp_file_name[0], O_RDONLY, S_IRUSR); /* pipe from bison … in end_of_output_subpipe()
246 to_in_fd = open(tmp_file_name[1], O_RDONLY, S_IRUSR); /* pipe from m4 to bison. */ in end_of_output_subpipe()
/external/oprofile/libutil/
Dop_deviceio.c24 return open(name, O_RDONLY); in op_open_device()
/external/e2fsprogs/tests/progs/
Dhold_inode.c41 if (open(filename, O_RDONLY) < 0) { in main()
/external/e2fsprogs/e2fsck/
Dflushb.c46 fd = open(argv[1], O_RDONLY, 0); in main()
/external/qemu/distrib/sdl-1.2.12/src/joystick/linux/
DSDL_sysjoystick.c310 fd = open(SDL_joylist[i].fname, O_RDONLY, 0); in CountLogicalJoysticks()
420 fd = open(path, O_RDONLY, 0); in SDL_SYS_JoystickInit()
455 fd = open(path, O_RDONLY, 0); in SDL_SYS_JoystickInit()
511 fd = open(SDL_joylist[index].fname, O_RDONLY, 0); in SDL_SYS_JoystickName()
797 fd = open(SDL_joylist[joystick->index].fname, O_RDONLY, 0); in SDL_SYS_JoystickOpen()
801 fd = open(SDL_joylist[joystick->index].fname, O_RDONLY, 0); in SDL_SYS_JoystickOpen()
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
DSDL_gsevents.c368 cmdline = open(path, O_RDONLY, 0); in gpm_available()
501 mouse_fd = open(GPM_NODE_FIFO, O_RDONLY, 0); in GS_OpenMouse()
514 mouse_fd = open(ps2mice[i], O_RDONLY, 0); in GS_OpenMouse()
536 mouse_fd = open("/dev/adbmouse", O_RDONLY, 0); in GS_OpenMouse()
550 mouse_fd = open(mousedev, O_RDONLY, 0); in GS_OpenMouse()
/external/e2fsprogs/include/nonunix/
Dunistd.h12 #define O_RDONLY _O_RDONLY macro
/external/tesseract/image/
Dimgio.cpp128 if ((fd = open (name, O_RDONLY)) < 0) in read_header()
131 if ((fd = open (name, O_RDONLY | O_BINARY)) < 0) in read_header()
/external/dbus/bus/
Ddir-watch-dnotify.c53 fd = open (dir, O_RDONLY); in bus_watch_directory()

123456789