Searched defs:fp (Results 1 - 25 of 704) sorted by path

1234567891011>>

/external/aac/libSYS/include/
H A Dwav_file.h158 FDKFILE *fp; member in struct:WAV
/external/aac/libSYS/src/
H A DgenericStds.cpp376 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 Dfopen-safer.c33 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 Dfopen.c78 FILE *fp; local
97 fp = fdopen (fd, mode);
98 if (fp == NULL)
104 return fp;
H A Dfpending.c27 __fpending (FILE *fp) argument
H A Dfprintf.c36 fprintf (FILE *fp, const char *format, ...) argument
51 fseterr (fp);
55 if (fwrite (output, 1, len, fp) < len)
72 fseterr (fp);
H A Dfseterr.c27 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 Dgetdelim.c23 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 Dgetopt.c547 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 Dlocalcharset.c172 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 Dvfprintf.c36 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 Dscan-gram.c3528 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 Dblkiomon.c69 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 Dblkiomon.h99 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 Dblkrawverify.c121 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 Dblktrace.c667 FILE *fp; local
670 fp = fopen(path, mode);
671 } while (fp == NULL && handle_open_failure());
673 return fp;
/external/blktrace/btreplay/
H A Dbtreplay.c629 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 Daqd.c28 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 Dargs.c269 FILE *fp; local
273 fp = my_fopen(fname, "w");
274 if (fp == NULL) {
281 return fp;
H A Dbno_dump.c29 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 Ddevmap.c67 FILE *fp = my_fopen(fname, "r"); local
69 if (!fp) {
74 while (fscanf(fp, "%255[a-zA-Z0-9 :.,/_-]\n", line) == 1) {
H A Ddevs.c117 FILE *fp = my_fopen(str, "w"); local
119 if (fp == NULL)
122 return fp;
H A Dlatency.c31 FILE *fp = NULL; local
41 if ((fp = my_fopen(oname, "w")) == NULL)
44 add_file(fp, strdup(oname));
47 return fp;
H A Dmisc.c118 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 Dplat.c26 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",

Completed in 479 milliseconds

1234567891011>>