/device/moto/wingray/taudio/ |
tplay.c | 20 int ifd, ofd, ofd_c; local 46 ifd = open(name, O_RDONLY); 47 FAILIF(ifd < 0, "could not open %s: %s\n", name, strerror(errno)); 70 nr = read(ifd, buffer, len);
|
twav.c | 80 int ifd, ofd; local 130 ifd = open(input, O_RDONLY); 131 FAILIF(ifd < 0, "could not open %s: %s\n", input, strerror(errno)); 136 nr = read(ifd, buffer, sizeof(buffer));
|
trec.c | 80 int ifd, ifd_c, ofd, opt, cfd; local 128 ifd = open("/dev/audio1_in", O_RDWR); 129 FAILIF(ifd < 0, "could not open input: %s\n", strerror(errno)); 132 FAILIF(ifd < 0, "could not open input: %s\n", strerror(errno)); 170 nr = read(ifd, buffer, sizeof(buffer));
|
resample.c | 114 int opt, ifd, ofd; local 187 ifd = open(input, O_RDONLY); 188 FAILIF(ifd < 0, "Could not open %s: %s\n", input, strerror(errno)); 193 FAILIF(read(ifd, &src_hdr, sizeof(src_hdr)) != sizeof(src_hdr), 212 nr = read(ifd, buf + consumed, sizeof(buf) - consumed); 251 close(ifd);
|
/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);
|
/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);
|
/frameworks/base/cmds/dumpstate/ |
utils.c | 375 int ifd = inotify_init(); local 376 if (ifd < 0) { 381 int wfd = inotify_add_watch(ifd, traces_path, IN_CLOSE_WRITE); 413 struct pollfd pfd = { ifd, POLLIN, 0 }; 421 read(ifd, &ie, sizeof(ie)); 425 close(ifd);
|
/external/blktrace/btreplay/ |
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);
|
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...] |
/external/ppp/pppd/ |
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/ |
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/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/include/ |
bfd.h | 4830 int ifd; member in struct:bfd [all...] |
/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/include/ |
bfd.h | 4830 int ifd; member in struct:bfd [all...] |
/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/include/ |
bfd.h | 4507 int ifd; member in struct:bfd [all...] |