Searched refs:ifd (Results 1 – 8 of 8) sorted by relevance
/external/ppp/pppd/ |
D | tty.c | 922 start_charshunt(ifd, ofd) in start_charshunt() argument 923 int ifd, ofd; in start_charshunt() 927 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2)); 975 charshunt(ifd, ofd, record_file) in charshunt() argument 976 int ifd, ofd; in charshunt() 1038 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE) 1040 ifd, ofd, pty_master); 1056 flags = fcntl(ifd, F_GETFL); 1058 || fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1) 1059 warn("couldn't set %s to nonblock: %m", (ifd==0? "stdin": "tty")); [all …]
|
D | sys-solaris.c | 575 int ifd, x; in sys_init() local 627 ifd = open(PPP_DEV_NAME, O_RDWR, 0); in sys_init() 628 if (ifd < 0) in sys_init() 632 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0); in sys_init() 638 close(ifd); in sys_init() 648 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) { in sys_init() 649 close(ifd); in sys_init() 660 if (sifppa(ifd, ifunit) < 0) { in sys_init() 661 close (ifd); in sys_init() 675 close(ifd); in sys_init() [all …]
|
/external/chromium/base/ |
D | file_descriptor_posix.h | 24 FileDescriptor(int ifd, bool iauto_close) in FileDescriptor() 25 : fd(ifd), in FileDescriptor()
|
/external/blktrace/btreplay/ |
D | btreplay.c | 113 int cpu, ifd, ofd, iterations; member 870 tip->ifd = open(file_name, O_RDONLY); in add_input_file() 871 if (tip->ifd < 0) { in add_input_file() 875 if (fstat(tip->ifd, &buf) < 0) { in add_input_file() 885 if (read(tip->ifd, &hdr, sizeof(hdr)) != sizeof(hdr)) { in add_input_file() 904 close(tip->ifd); in add_input_file() 938 close(tip->ifd); in rem_input_file() 1122 result = read(tip->ifd, &bunch->hdr, sizeof(bunch->hdr)); in next_bunch() 1134 result = read(tip->ifd, &bunch->pkts, count); in next_bunch() 1304 lseek(tip->ifd, 0, 0); in reset_input_file() [all …]
|
D | btrecord.c | 57 int cpu, ifd; member 295 close(iip->ifd); in rem_input_file() 316 iip->ifd = open(file_name, O_RDONLY); in __add_input_file() 317 if (iip->ifd < 0) { in __add_input_file() 494 ret = read(iip->ifd, &t, sizeof(t)); in next_io() 530 ret = read(iip->ifd, buf, pdu_len); in next_io()
|
/external/blktrace/ |
D | blktrace.c | 264 int ifd, ofd; member 1443 ret = sendfile(iop->ofd, iop->ifd, NULL, iop->ready); in net_sendfile() 1579 if (iop->ifd >= 0) in close_ios() 1580 close(iop->ifd); in close_ios() 1619 iop->ifd = my_open(iop->ifn, O_RDONLY | O_NONBLOCK); in open_ios() 1620 if (iop->ifd < 0) { in open_ios() 1628 pfd->fd = iop->ifd; in open_ios() 1657 close(iop->ifd); /* tp->nios _not_ bumped */ in open_ios() 1679 ret = read(iop->ifd, mip->fs_buf + mip->fs_off, in handle_pfds_file() 1715 if (fstat(iop->ifd, &sb) < 0) { in handle_pfds_netclient() [all …]
|
/external/zlib/src/test/ |
D | minigzip.c | 397 int ifd = fileno(in); local 403 if (fstat(ifd, &sb) < 0) return Z_ERRNO; 408 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
|
/external/webkit/PerformanceTests/Parser/resources/ |
D | final-url-en | 72042 http://www.state.gov/e/eb/ifd/2005/42035.htm
|