Home
last modified time | relevance | path

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

12345678

/external/bluez/utils/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)
Dfsetflags.c45 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
47 #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)
/external/qemu/
Dloader.c34 fd = open(filename, O_RDONLY | O_BINARY); in get_image_size()
47 fd = open(filename, O_RDONLY | O_BINARY); in load_image()
194 fd = open(filename, O_RDONLY | O_BINARY); in load_aout()
292 fd = open(filename, O_RDONLY | O_BINARY); in load_elf()
359 fd = open(filename, O_RDONLY | O_BINARY); in load_uboot()
/external/netcat/data/
Dxor.c71 x = open (argv[1], O_RDONLY | O_BINARY);
73 x = open (argv[1], O_RDONLY);
/external/oprofile/opcontrol/
Dopcontrol.cpp142 fd = open(OP_DATA_DIR, O_RDONLY); in setup_session_dir()
281 int fd = open(file, O_RDONLY); in read_num()
322 fd = open(fullname, O_RDONLY); in do_status()
355 fd = open(OP_DATA_DIR"/samples/current", O_RDONLY); in do_reset()
/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/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/e2fsprogs/misc/
Dfilefrag.c122 fd = open64(filename, O_RDONLY);
124 fd = open(filename, O_RDONLY);
/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/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/dbus/bus/
Ddir-watch-dnotify.c53 fd = open (dir, O_RDONLY); in bus_watch_directory()
/external/expat/xmlwf/
Dunixfilemap.c30 fd = open(name, O_RDONLY); in filemap()
/external/libffi/testsuite/libffi.call/
Dffitest.h58 dev_zero_fd = open ("/dev/zero", O_RDONLY); in allocate_mmap()

12345678