Searched refs:ifd (Results 1 - 7 of 7) sorted by relevance
/external/chromium/base/ |
H A D | file_descriptor_posix.h | 24 FileDescriptor(int ifd, bool iauto_close) argument 25 : fd(ifd),
|
/external/ppp/pppd/ |
H A D | tty.c | 922 start_charshunt(ifd, ofd) 923 int ifd, ofd; 927 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2)); 972 * (We assume ofd >= ifd which is true the way this gets called. :-). 975 charshunt(ifd, ofd, record_file) 976 int ifd, ofd; 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_SETF [all...] |
H A D | sys-solaris.c | 575 int ifd, x; local 627 ifd = open(PPP_DEV_NAME, O_RDWR, 0); 628 if (ifd < 0) 632 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0); 638 close(ifd); 648 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) { 649 close(ifd); 660 if (sifppa(ifd, ifunit) < 0) { 661 close (ifd); 675 close(ifd); [all...] |
/external/blktrace/btreplay/ |
H A D | btreplay.c | 99 * @ifd: Input file descriptor 113 int cpu, ifd, ofd, iterations; member in struct:thr_info 870 tip->ifd = open(file_name, O_RDONLY); 871 if (tip->ifd < 0) { 875 if (fstat(tip->ifd, &buf) < 0) { 885 if (read(tip->ifd, &hdr, sizeof(hdr)) != sizeof(hdr)) { 904 close(tip->ifd); 938 close(tip->ifd); 1122 result = read(tip->ifd, &bunch->hdr, sizeof(bunch->hdr)); 1134 result = read(tip->ifd, [all...] |
H A D | btrecord.c | 51 * @ifd: Input file descriptor (when opened) 57 int cpu, ifd; member in struct:ifile_info 295 close(iip->ifd); 316 iip->ifd = open(file_name, O_RDONLY); 317 if (iip->ifd < 0) { 494 ret = read(iip->ifd, &t, sizeof(t)); 530 ret = read(iip->ifd, buf, pdu_len);
|
/external/zlib/src/test/ |
H A 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/blktrace/ |
H A D | blktrace.c | 240 * ifn & ifd represent input information 264 int ifd, ofd; member in struct:io_info 1443 ret = sendfile(iop->ofd, iop->ifd, NULL, iop->ready); 1579 if (iop->ifd >= 0) 1580 close(iop->ifd); 1619 iop->ifd = my_open(iop->ifn, O_RDONLY | O_NONBLOCK); 1620 if (iop->ifd < 0) { 1628 pfd->fd = iop->ifd; 1657 close(iop->ifd); /* tp->nios _not_ bumped */ 1679 ret = read(iop->ifd, mi [all...] |
Completed in 882 milliseconds