/external/aac/libSYS/include/ |
H A D | wav_file.h | 158 FDKFILE *fp; member in struct:WAV
|
/external/aac/libSYS/src/ |
H A D | genericStds.cpp | 376 INT FDKfclose(FDKFILE *fp) { return fclose((FILE*)fp);} argument 379 INT FDKfseek(FDKFILE *fp, LONG OFFSET, int WHENCE) { return fseek((FILE*)fp, OFFSET, WHENCE);} argument 382 INT FDKftell(FDKFILE *fp) { return ftell((FILE*)fp); } argument 385 INT FDKfflush(FDKFILE *fp) { return fflush((FILE*)fp); } argument 392 UINT FDKfwrite(void *ptrf, INT size, UINT nmemb, FDKFILE *fp) { return fwrite(ptrf, size, nmemb, (FILE*)fp); } argument 395 FDKfread(void *dst, INT size, UINT nmemb, FDKFILE *fp) argument 398 FDKfgets(void *dst, INT size, FDKFILE *fp) argument 401 FDKrewind(FDKFILE *fp) argument 405 FDKfwrite_EL(void *ptrf, INT size, UINT nmemb, FDKFILE *fp) argument 427 FDKfread_EL(void *dst, INT size, UINT nmemb, FDKFILE *fp) argument 471 FDKfeof(FDKFILE *fp) argument [all...] |
/external/bison/lib/ |
H A D | fopen-safer.c | 33 FILE *fp = fopen (file, mode); local 35 if (fp) 37 int fd = fileno (fp); 46 fclose (fp); 51 if (fclose (fp) != 0 52 || ! (fp = fdopen (f, mode))) 62 return fp;
|
H A D | fopen.c | 78 FILE *fp; local 97 fp = fdopen (fd, mode); 98 if (fp == NULL) 104 return fp;
|
H A D | fpending.c | 27 __fpending (FILE *fp) argument
|
H A D | fprintf.c | 36 fprintf (FILE *fp, const char *format, ...) argument 51 fseterr (fp); 55 if (fwrite (output, 1, len, fp) < len) 72 fseterr (fp);
|
H A D | fseterr.c | 27 fseterr (FILE *fp) argument 33 fp->_flags |= _IO_ERR_SEEN; 37 fp->_flags |= _IOERR; 39 fp->_flags |= _IOERR; 43 fp->__modeflags |= __FLAG_ERROR; 45 fp->_Mode |= 0x200 /* _MERR */; 47 fp->__error = 1; 49 if (fp->state != 0 /* CLOSED */) 50 fp->state = 5 /* ERR */; 62 fflush (fp); [all...] |
H A D | getdelim.c | 23 optimizes away the lineptr == NULL || n == NULL || fp == NULL tests below. */ 39 # define getc_maybe_unlocked(fp) getc(fp) 45 # define getc_maybe_unlocked(fp) getc(fp) 47 # define getc_maybe_unlocked(fp) getc_unlocked(fp) 57 getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) argument 62 if (lineptr == NULL || n == NULL || fp == NULL) 68 flockfile (fp); [all...] |
H A D | getopt.c | 547 FILE *fp = open_memstream (&buf, &buflen); 548 if (fp != NULL) 550 fprintf (fp, 556 fprintf (fp, " '--%s'", ambig_list->p->name); 561 fputc_unlocked ('\n', fp); 563 if (__builtin_expect (fclose (fp) != EOF, 1)) 543 FILE *fp = open_memstream (&buf, &buflen); local
|
H A D | localcharset.c | 172 FILE *fp; local 174 fp = fdopen (fd, "r"); 175 if (fp == NULL) 195 c = getc (fp); 204 c = getc (fp); 210 ungetc (c, fp); 211 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) 236 fclose (fp);
|
H A D | vfprintf.c | 36 vfprintf (FILE *fp, const char *format, va_list args) argument 48 fseterr (fp); 52 if (fwrite (output, 1, len, fp) < len) 69 fseterr (fp);
|
/external/bison/src/ |
H A D | scan-gram.c | 3528 no_cr_read (FILE *fp, char *buf, size_t size) argument 3530 size_t bytes_read = fread (buf, 1, size, fp); 3546 int ch = getc (fp); 3547 if (ch != '\n' && ungetc (ch, fp) != ch)
|
/external/blktrace/ |
H A D | blkiomon.c | 69 FILE *fp; member in struct:output 113 fprintf(debug.fp, "--- %s ---\n", descr); 114 fprintf(debug.fp, "magic %16d\n", bit->magic); 115 fprintf(debug.fp, "sequence %16d\n", bit->sequence); 116 fprintf(debug.fp, "time %16ld\n", (unsigned long)bit->time); 117 fprintf(debug.fp, "sector %16ld\n", (unsigned long)bit->sector); 118 fprintf(debug.fp, "bytes %16d\n", bit->bytes); 119 fprintf(debug.fp, "action %16x\n", bit->action); 120 fprintf(debug.fp, "pid %16d\n", bit->pid); 121 fprintf(debug.fp, "devic [all...] |
H A D | blkiomon.h | 99 static inline void blkiomon_stat_print(FILE *fp, struct blkiomon_stat *p) argument 101 if (!fp) 104 fprintf(fp, "\ntime: %s", ctime((void *)&p->time)); 105 fprintf(fp, "device: %d,%d\n", MAJOR(p->device), MINOR(p->device)); 106 minmax_print(fp, "sizes read (bytes)", &p->size_r); 107 minmax_print(fp, "sizes write (bytes)", &p->size_w); 108 minmax_print(fp, "d2c read (usec)", &p->d2c_r); 109 minmax_print(fp, "d2c write (usec)", &p->d2c_w); 110 minmax_print(fp, "throughput read (bytes/msec)", &p->thrput_r); 111 minmax_print(fp, "throughpu [all...] |
H A D | blkrawverify.c | 121 static int process(FILE **fp, char *devname, char *file, unsigned int cpu) argument 161 if (!*fp) { 162 *fp = fopen(ofname, "w"); 163 if (*fp == NULL) { 169 fprintf(*fp, "\n---------------\n" ); 170 fprintf(*fp, "Verifying %s\n", devname); 173 ofp = *fp;
|
H A D | blktrace.c | 667 FILE *fp; local 670 fp = fopen(path, mode); 671 } while (fp == NULL && handle_open_failure()); 673 return fp;
|
/external/blktrace/btreplay/ |
H A D | btreplay.c | 629 FILE *fp; local 632 fp = fopen(file_name, "r"); 633 if (!fp) { 638 while (fscanf(fp, "%as %as", &from_dev, &to_dev) == 2) { 646 fclose(fp);
|
/external/blktrace/btt/ |
H A D | aqd.c | 28 FILE *fp; member in struct:aqd_info 44 if ((ap->fp = my_fopen(oname, "w")) == NULL) { 48 add_file(ap->fp, oname); 64 fprintf(ap->fp, "%lf %d\n%lf %d\n", ts, ap->na, ts, ap->na + 1); 75 fprintf(ap->fp, "%lf %d\n%lf %d\n",
|
H A D | args.c | 269 FILE *fp; local 273 fp = my_fopen(fname, "w"); 274 if (fp == NULL) { 281 return fp;
|
H A D | bno_dump.c | 29 FILE *fp; local 38 if ((fp = my_fopen(oname, "w")) == NULL) 41 add_file(fp, oname); 42 return fp; 45 static inline void bno_dump_write(FILE *fp, struct io *iop) argument 47 fprintf(fp, "%15.9lf %lld %lld\n", BIT_TIME(iop->t.time), 75 FILE *fp = IOP_READ(iop) ? bdp->rfp : bdp->wfp; local 77 if (fp) 78 bno_dump_write(fp, iop);
|
H A D | devmap.c | 67 FILE *fp = my_fopen(fname, "r"); local 69 if (!fp) { 74 while (fscanf(fp, "%255[a-zA-Z0-9 :.,/_-]\n", line) == 1) {
|
H A D | devs.c | 117 FILE *fp = my_fopen(str, "w"); local 119 if (fp == NULL) 122 return fp;
|
H A D | latency.c | 31 FILE *fp = NULL; local 41 if ((fp = my_fopen(oname, "w")) == NULL) 44 add_file(fp, strdup(oname)); 47 return fp;
|
H A D | misc.c | 118 void add_file(FILE *fp, char *oname) argument 122 fip->ofp = fp; 157 FILE *fp; local 160 fp = fopen(path, mode); 161 } while (fp == NULL && handle_open_failure()); 163 return fp;
|
H A D | plat.c | 26 FILE *fp; member in struct:plat_info 43 if ((pp->fp = my_fopen(oname, "w")) == NULL) { 47 add_file(pp->fp, oname); 61 fprintf(pp->fp, "%lf %lf\n", 82 fprintf(pp->fp, "%lf %lf\n",
|