/external/openssh/openbsd-compat/ |
D | bsd-openpty.c | 83 if ((slave = _getpty(amaster, O_RDWR, 0622, 0)) == NULL) in openpty() 87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty() 102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in openpty() 119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty() 142 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) in openpty() 146 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty() 166 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) in openpty() 169 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { in openpty() 194 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() 198 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty() [all …]
|
D | port-tun.c | 64 if ((fd = open("/dev/net/tun", O_RDWR)) == -1) { in sys_tun_open() 137 fd = open(name, O_RDWR); in sys_tun_open() 142 if ((fd = open(name, O_RDWR)) >= 0) in sys_tun_open()
|
D | daemon.c | 71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { in daemon()
|
/external/dropbear/ |
D | sshpty.c | 77 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/ |
D | dtest.c | 23 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 …]
|
D | yaffsfs.h | 31 #ifndef O_RDWR 32 #define O_RDWR 02 macro
|
/external/openssh/ |
D | sshpty.c | 115 fd = open(tty, O_RDWR|O_NOCTTY); in pty_make_controlling_tty() 128 fd = open("/dev/tty", O_RDWR); in pty_make_controlling_tty() 137 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 150 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 170 fd = open(tty, O_RDWR); in pty_make_controlling_tty()
|
/external/dnsmasq/contrib/dynamic-dnsmasq/ |
D | dynamic-dnsmasq.pl | 64 my $X = tie my %h, "DB_File", $accountdb, O_RDWR|O_CREAT, 0600, $DB_HASH; 143 my $X = tie my %h, "DB_File", $accountdb, O_RDWR|O_CREAT, 0600, $DB_HASH; 151 my $X = tie my %h, "DB_File", $accountdb, O_RDWR|O_CREAT, 0600, $DB_HASH; 163 my $X = tie my %h, "DB_File", $accountdb, O_RDWR|O_CREAT, 0600, $DB_HASH;
|
/external/stlport/src/details/ |
D | fstream_unistd.cpp | 53 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) 89 case O_RDWR: in flag_to_openmode() 180 flags = O_RDWR; in _M_open() 183 flags = O_RDWR | O_CREAT | O_TRUNC; in _M_open() 187 flags = O_RDWR | O_CREAT | O_APPEND; in _M_open()
|
D | fstream_win32io.cpp | 40 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) 54 case O_RDWR: in flag_to_openmode() 151 mode |= O_RDWR; 186 mode |= O_RDWR;
|
/external/qemu/ |
D | arm-semi.c | 90 O_RDWR, 91 O_RDWR | O_BINARY, 94 O_RDWR | O_CREAT | O_TRUNC, 95 O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 98 O_RDWR | O_CREAT | O_APPEND, 99 O_RDWR | O_CREAT | O_APPEND | O_BINARY
|
D | bt-vhci.c | 144 fd = open(VHCI_DEV, O_RDWR); in bt_vhci_init() 147 fd = open(VHCI_UDEV, O_RDWR); in bt_vhci_init()
|
/external/qemu/target-i386/ |
D | hax-darwin.c | 24 int fd = open("/dev/HAX", O_RDWR); in hax_mod_open() 178 fd = open(vm_name, O_RDWR); in hax_host_open_vm() 229 fd = open(devfs_path, O_RDWR); in hax_host_open_vcpu()
|
/external/iproute2/ip/ |
D | iptuntap.c | 50 int fd = open(TUNDEV, O_RDWR); in tap_add_ioctl() 57 fd = open(TUNDEV, O_RDWR); in tap_add_ioctl() 86 int fd = open(TUNDEV, O_RDWR); in tap_del_ioctl()
|
/external/valgrind/main/none/tests/ |
D | fdleak_cmsg.c | 41 fd1 = DO( open(filea, O_RDWR | O_CREAT | O_TRUNC, 0750) ); in server() 42 fd2 = DO( open(fileb, O_RDWR | O_CREAT | O_TRUNC, 0750) ); in server()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/ |
D | SDL_ipodvideo.c | 190 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/libselinux/src/ |
D | check_context.c | 23 fd = open(path, O_RDWR); in security_check_context()
|
D | load_policy.c | 30 fd = open(path, O_RDWR); in security_load_policy()
|
D | setenforce.c | 24 fd = open(path, O_RDWR); in security_setenforce()
|
/external/dhcpcd/ |
D | bpf.c | 64 fd = open(_PATH_BPF, O_RDWR | O_NONBLOCK); in open_socket() 72 fd = open(device, O_RDWR | O_NONBLOCK); in open_socket()
|
/external/webkit/Source/WebKit2/Platform/unix/ |
D | SharedMemoryUnix.cpp | 196 return O_RDWR; in accessModeFile() 200 return O_RDWR; in accessModeFile()
|
/external/elfutils/tests/ |
D | rdwrmmap.c | 11 int fd = open (argv[1], O_RDWR); in main()
|
/external/e2fsprogs/misc/ |
D | uuidd.c | 77 open("/dev/null", O_RDWR); in create_daemon() 78 open("/dev/null", O_RDWR); in create_daemon() 79 open("/dev/null", O_RDWR); in create_daemon() 242 fd_pidfile = open(pidfile_path, O_CREAT | O_RDWR, 0664); in server_loop()
|
/external/qemu/android/utils/ |
D | mapfile.c | 42 if ((oflag & O_RDWR) == O_RDWR) { in mapfile_open()
|
/external/e2fsprogs/include/nonunix/ |
D | unistd.h | 13 #define O_RDWR _O_RDWR macro
|