Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 25 of 111) sorted by relevance

12345

/external/dropbear/
Dsshpty.c77 slave = _getpty(ptyfd, O_RDWR, 0622, 0); in pty_allocate()
85 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); in pty_allocate()
104 ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY); in pty_allocate()
129 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); in pty_allocate()
162 *ptyfd = open("/dev/ptc", O_RDWR | O_NOCTTY); in pty_allocate()
173 *ttyfd = open(name, O_RDWR | O_NOCTTY); in pty_allocate()
199 *ptyfd = open(buf, O_RDWR | O_NOCTTY); in pty_allocate()
204 *ptyfd = open(buf, O_RDWR | O_NOCTTY); in pty_allocate()
211 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); in pty_allocate()
278 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
[all …]
/external/yaffs2/yaffs2/direct/
Ddtest.c23 outh = yaffs_open(yaffsName, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in copy_in_a_file()
45 outh = yaffs_open(yaffsName, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in make_a_file()
68 outh = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in make_pattern_file()
90 h = yaffs_open(fn, O_RDWR,0); in check_pattern_file()
121 h = yaffs_open(fn, O_RDWR,0); in dump_file_data()
173 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in create_file_of_size()
221 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in create_resized_file_of_size()
302 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IWRITE | S_IREAD); in yaffs_device_flush_test()
378 h = yaffs_open(str, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in fill_disk()
423 h = yaffs_open(str, O_CREAT | O_TRUNC | O_RDWR,S_IREAD | S_IWRITE); in fill_files()
[all …]
Dyaffsfs.h31 #ifndef O_RDWR
32 #define O_RDWR 02 macro
/external/qemu/
Darm-semi.c92 O_RDWR,
93 O_RDWR | O_BINARY,
96 O_RDWR | O_CREAT | O_TRUNC,
97 O_RDWR | O_CREAT | O_TRUNC | O_BINARY,
100 O_RDWR | O_CREAT | O_APPEND,
101 O_RDWR | O_CREAT | O_APPEND | O_BINARY
/external/bluez/utils/input/
Dfakehid.c305 fake->uinput = open("/dev/input/uinput", O_RDWR); in ps3remote_setup_uinput()
307 fake->uinput = open("/dev/uinput", O_RDWR); in ps3remote_setup_uinput()
309 fake->uinput = open("/dev/misc/uinput", O_RDWR); in ps3remote_setup_uinput()
/external/bluez/utils/tools/
Dhid2hci.c168 fd = open(devname, O_RDWR); in switch_logitech()
171 fd = open(devname, O_RDWR); in switch_logitech()
174 fd = open(devname, O_RDWR); in switch_logitech()
/external/e2fsprogs/misc/
Duuidd.c71 open("/dev/null", O_RDWR); in create_daemon()
72 open("/dev/null", O_RDWR); in create_daemon()
73 open("/dev/null", O_RDWR); in create_daemon()
211 fd_pidfile = open(pidfile_path, O_CREAT | O_RDWR, 0664); in server_loop()
De2label.c92 fd = open_e2fs(dev, O_RDWR); in change_label()
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/
DSDL_ipodvideo.c190 tty0_fd = open("/dev/tty", O_RDWR, 0); in iPod_VideoInit()
201 kbfd = open(vtpath, O_RDWR); in iPod_VideoInit()
256 if ((fbfd = open ("/dev/fb0", O_RDWR)) < 0) { in iPod_VideoInit()
288 fcntl (kbfd, F_SETFL, O_RDWR | O_NONBLOCK); in iPod_VideoInit()
316 if ((fd = open ("/dev/fb0", O_RDWR)) < 0) { in iPod_ListModes()
/external/dhcpcd/
Dbpf.c64 fd = open(_PATH_BPF, O_RDWR | O_NONBLOCK); in open_socket()
72 fd = open(device, O_RDWR | O_NONBLOCK); in open_socket()
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
DSDL_gsvideo.c63 console = open(PS2_DEV_GS, O_RDWR, 0); in GS_Available()
67 memory = open(PS2_DEV_MEM, O_RDWR, 0); in GS_Available()
288 console_fd = open(PS2_DEV_GS, O_RDWR, 0); in GS_VideoInit()
293 memory_fd = open(PS2_DEV_MEM, O_RDWR, 0); in GS_VideoInit()
DSDL_gsevents.c258 keyboard_fd = open(vtpath, O_RDWR, 0); in GS_OpenKeyboard()
268 tty0_fd = open("/dev/tty", O_RDWR, 0); in GS_OpenKeyboard()
279 keyboard_fd = open("/dev/tty", O_RDWR); in GS_OpenKeyboard()
512 mouse_fd = open(ps2mice[i], O_RDWR, 0); in GS_OpenMouse()
/external/e2fsprogs/include/nonunix/
Dunistd.h13 #define O_RDWR _O_RDWR macro
/external/clearsilver/util/
Dmissing.c89 return open(mktemp(path),O_RDWR); in mkstemp()
/external/e2fsprogs/lib/ext2fs/
Dtdbtool.c191 O_RDWR | O_CREAT | O_TRUNC, 0600); in create_tdb()
200 tdb = tdb_open(tdbname, 0, 0, O_RDWR, 0600); in open_tdb()
320 dst_tdb = tdb_open(tdbname, 0, 0, O_RDWR, 0600); in move_rec()
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
Dout20 keyboard_fd = open("/dev/tty", O_RDWR);
DSDL_fbevents.c268 keyboard_fd = open(vtpath, O_RDWR, 0); in FB_OpenKeyboard()
278 tty0_fd = open("/dev/tty", O_RDWR, 0); in FB_OpenKeyboard()
290 keyboard_fd = open("/dev/tty", O_RDWR); in FB_OpenKeyboard()
574 mouse_fd = open(mousedev, O_RDWR); in FB_OpenMouse()
633 mouse_fd = open(ps2mice[i], O_RDWR, 0); in FB_OpenMouse()
/external/ppp/pppd/
Dsys-solaris.c588 ipfd = open(mux_dev_name, O_RDWR, 0); in sys_init()
593 ip6fd = open(UDP6_DEV_NAME, O_RDWR, 0); in sys_init()
601 pppfd = open(PPP_DEV_NAME, O_RDWR | O_NONBLOCK, 0); in sys_init()
627 ifd = open(PPP_DEV_NAME, O_RDWR, 0); in sys_init()
636 i6fd = open(PPP_DEV_NAME, O_RDWR, 0); in sys_init()
2246 iffd = open(ifdev, O_RDWR);
2541 while ((fd = open(lock_file, O_EXCL | O_CREAT | O_RDWR, 0644)) < 0) {
2649 fd = open(mux_dev_name, O_RDWR);
2744 mfd = open("/dev/ptmx", O_RDWR);
2763 sfd = open(pty_name, O_RDWR);
Dsys-linux.c464 fd = open("/dev/ppp", O_RDWR); in generic_establish_ppp()
624 ppp_dev_fd = open("/dev/ppp", O_RDWR); in make_ppp_unit()
698 master_fd = open("/dev/ppp", O_RDWR); in bundle_attach()
2022 fd = open("/dev/ppp", O_RDWR); in ppp_available()
2028 fd = open("/dev/ppp", O_RDWR); in ppp_available()
2034 fd = open("/dev/ppp", O_RDWR); in ppp_available()
2560 mfd = open("/dev/ptmx", O_RDWR);
2571 if ((sfd = open(pty_name, O_RDWR | O_NOCTTY)) < 0)
2582 mfd = open(pty_name, O_RDWR, 0);
2585 sfd = open(pty_name, O_RDWR | O_NOCTTY, 0);
/external/e2fsprogs/e2fsck/
Dextend.c55 fd = open(filename, O_RDWR); in main()
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/
DSDL_dmaaudio.c60 #define OPEN_FLAGS (O_RDWR|O_NONBLOCK)
258 audio_fd = open(audiodev, O_RDWR, 0); in DMA_ReopenAudio()
/external/elfutils/tests/
Darextract.c94 outfd = open (argv[3], O_CREAT | O_TRUNC | O_RDWR, 0666); in main()
Dupdate1.c36 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666); in main()
/external/bluez/utils/hidd/
Dfakehid.c84 fd = open("/dev/uinput", O_RDWR); in uinput_create()
86 fd = open("/dev/input/uinput", O_RDWR); in uinput_create()
88 fd = open("/dev/misc/uinput", O_RDWR); in uinput_create()
/external/e2fsprogs/resize/
Dmain.c248 fd = open64(device_name, O_RDWR); in main()
250 fd = open(device_name, O_RDWR); in main()

12345