/external/chromium/base/ |
file_descriptor_posix.h | 23 FileDescriptor(int ifd, bool iauto_close) 24 : fd(ifd),
|
/external/ppp/pppd/ |
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_SETFL, flags | O_NONBLOCK) == -1 [all...] |
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...] |
/frameworks/base/cmds/dumpstate/ |
utils.c | 365 int ifd = inotify_init(); local 366 if (ifd < 0) { 371 int wfd = inotify_add_watch(ifd, traces_path, IN_CLOSE_WRITE); 403 struct pollfd pfd = { ifd, POLLIN, 0 }; 411 read(ifd, &ie, sizeof(ie)); 415 close(ifd);
|
/device/samsung/crespo/alsa-lib/src/pcm/ |
pcm_file.c | 62 int ifd; member in struct:__anon1441 228 close(file->ifd); 357 if (file->ifd >= 0) { 358 n = read(file->ifd, buffer, n * pcm->frame_bits / 8); 374 if (file->ifd >= 0) { 514 * \param ifname Input filename (or NULL if file descriptor ifd is available) 515 * \param ifd Input file descriptor (if (ifd < 0) && (ifname == NULL), no input 528 const char *fname, int fd, const char *ifname, int ifd, 586 ifd = open(ifname, O_RDONLY); /* TODO: mind blocking mode * 693 long fd = -1, ifd = -1, trunc = 1; local [all...] |
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 200 int ifd, ofd, rc; local 230 ifd = open(infile, O_RDONLY); 231 FAILIF(ifd < 0, "open(%s) failed: %s (%d)\n", 240 in = mmap(0, width * height * 3 / 2, PROT_READ, MAP_PRIVATE, ifd, 0);
|
/external/blktrace/btreplay/ |
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, &bunch->pkts, count) [all...] |
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/ |
minigzip.c | 206 int ifd = fileno(in); local 212 if (fstat(ifd, &sb) < 0) return Z_ERRNO; 217 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
|
/external/blktrace/ |
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); [all...] |
/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/include/ |
bfd.h | 4507 int ifd; member in struct:bfd [all...] |