Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 23 of 23) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/sed/
Dutils.c54 FILE *fp; member
61 static void do_ck_fclose P_((FILE *fp));
89 fclose (open_files->fp); in panic()
104 static const char *utils_fp_name P_((FILE *fp));
106 utils_fp_name(fp) in utils_fp_name() argument
107 FILE *fp; in utils_fp_name()
112 if (p->fp == fp)
114 if (fp == stdin)
116 else if (fp == stdout)
118 else if (fp == stderr)
[all …]
Dexecute.c145 FILE *fp; member
528 long result = ck_getline (&b, &blen, input->fp);
550 ck_fwrite("\n", 1, 1, outf->fp);
557 flush_output(fp) in flush_output() argument
558 FILE *fp; in flush_output()
560 if (fp != stdout || unbuffered_output)
561 ck_fflush(fp);
577 ck_fwrite(text, 1, length, outf->fp);
579 ck_fwrite("\n", 1, 1, outf->fp);
583 flush_output(outf->fp);
[all …]
Dcompile.c404 special->outf.fp = *special->pfp;
414 p->fp = ck_fopen(p->name, mode, fail);
1257 cur_cmd->x.fp = get_openfile(&file_read, read_mode, false)->fp;
1702 if (p->fp) in rewind_read_files()
1703 rewind(p->fp); in rewind_read_files()
1717 if (p->fp)
1718 ck_fclose(p->fp);
1728 if (p->fp)
1729 ck_fclose(p->fp);
Dsed.h47 FILE *fp; member
180 FILE *fp; member
/ndk/sources/host-tools/sed-4.2.1/lib/
Dgetdelim.c39 # define getc_maybe_unlocked(fp) getc(fp) argument
45 # define getc_maybe_unlocked(fp) getc(fp) argument
47 # define getc_maybe_unlocked(fp) getc_unlocked(fp) argument
57 getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) in getdelim() argument
62 if (lineptr == NULL || n == NULL || fp == NULL) in getdelim()
68 flockfile (fp); in getdelim()
87 i = getc_maybe_unlocked (fp); in getdelim()
132 funlockfile (fp); /* doesn't set errno */ in getdelim()
Dstdio.in.h77 extern int fprintf (FILE *fp, const char *format, ...)
82 extern int fprintf (FILE *fp, const char *format, ...)
96 extern int vfprintf (FILE *fp, const char *format, va_list args)
101 extern int vfprintf (FILE *fp, const char *format, va_list args)
323 extern int fseeko (FILE *fp, off_t offset, int whence);
324 # define fseek(fp, offset, whence) fseeko (fp, (off_t)(offset), whence)
335 extern int rpl_fseek (FILE *fp, long offset, int whence);
359 extern off_t ftello (FILE *fp);
360 # define ftell(fp) ftello (fp)
371 extern long rpl_ftell (FILE *fp);
Dlocalcharset.c122 FILE *fp; in get_charset_aliases() local
148 if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL) in get_charset_aliases()
165 c = getc (fp); in get_charset_aliases()
174 c = getc (fp); in get_charset_aliases()
180 ungetc (c, fp); in get_charset_aliases()
181 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) in get_charset_aliases()
207 fclose (fp); in get_charset_aliases()
Derror.c82 # define putc(c, fp) INTUSE(_IO_putc) (c, fp) argument
/ndk/sources/host-tools/nawk-20071023/
Drun.c219 struct Frame *fp = NULL; /* frame pointer. bottom level unused */ variable
236 fp = frame = (struct Frame *) calloc(nframe += 100, sizeof(struct Frame)); in call()
243 dprintf( ("calling %s, %d args (%d in defn), fp=%d\n", s, ncall, ndef, (int) (fp-frame)) ); in call()
250 dprintf( ("evaluate args[%d], fp=%d:\n", i, (int) (fp-frame)) ); in call()
267 fp++; /* now ok to up frame */ in call()
268 if (fp >= frame + nframe) { in call()
269 int dfp = fp - frame; /* old index */ in call()
274 fp = frame + dfp; in call()
276 fp->fcncell = fcn; in call()
277 fp->args = args; in call()
[all …]
Dmaketab.c118 FILE *fp; in main() local
135 fp = stdin; in main()
137 if ((fp = fopen(input, "rt")) == NULL) { in main()
144 while (fgets(buf, sizeof buf, fp) != NULL) { in main()
/ndk/tests/build/ssax-instructions/jni/
Dtest.S40 sadd16 r3, r7, fp
41 ssub16 lr, r7, fp
46 sasx fp, r1, lr
/ndk/sources/host-tools/sed-4.2.1/
Dconfigure.ac31 FILE *fp;
34 fp = fopen ("conftest.c", "r");
35 if (!fp) return 0; /* error, assume not needed */
36 result = fflush (fp) == EOF && errno == 0;
37 fclose (fp);
Dautoboot377 cp -fp "$src" "$dst"
Dconfigure23992 FILE *fp;
23995 fp = fopen ("conftest.c", "r");
23996 if (!fp) return 0; /* error, assume not needed */
23997 result = fflush (fp) == EOF && errno == 0;
23998 fclose (fp);
DChangeLog731 to access the fp field, call output_missing_newline before, and
966 * src/sed.h: rfile --> fname, wfile --> fp
/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_win32io.cpp177 for (FILE *fp = &_iob[0]; fp < &_iob[_NFILE]; fp++) {
178 if ((fileno(fp) == fd) && (fp->_flag & (_IOREAD | _IOWRT | _IORW))) {
179 const int osflags = fp->_flag;
/ndk/sources/host-tools/make-3.81/
Dmisc.c40 # define VA_PRINTF(fp, lastarg, args) vfprintf((fp), (lastarg), (args)) argument
42 # define VA_PRINTF(fp, lastarg, args) _doprnt((lastarg), (args), (fp)) argument
50 # define VA_PRINTF(fp, lastarg, args) fprintf((fp), (lastarg), va_alist) argument
Dgetloadavg.c622 FILE *fp; in getloadavg() local
624 fp = fopen (NETBSD_LDAV_FILE, "r"); in getloadavg()
625 if (fp == NULL) in getloadavg()
627 count = fscanf (fp, "%lu %lu %lu %lu\n", in getloadavg()
630 (void) fclose (fp); in getloadavg()
Dfile.c1009 struct file **fp = (struct file **) files.ht_vec; in build_target_list() local
1010 struct file **end = &fp[files.ht_size]; in build_target_list()
1017 for (; fp < end; ++fp) in build_target_list()
1018 if (!HASH_VACANT (*fp) && (*fp)->is_target) in build_target_list()
1020 struct file *f = *fp; in build_target_list()
Dread.c55 FILE *fp; /* File, or NULL if this is an internal buffer. */ member
338 ebuf.fp = fopen (filename, "r"); in eval_makefile()
345 if (ebuf.fp == 0 && (flags & RM_INCLUDED) && *filename != '/') in eval_makefile()
351 ebuf.fp = fopen (included, "r"); in eval_makefile()
352 if (ebuf.fp) in eval_makefile()
383 if (ebuf.fp == 0) in eval_makefile()
408 fclose (ebuf.fp); in eval_makefile()
428 ebuf.fp = NULL; in eval_buffer()
2550 if (!ebuf->fp) in readline()
2560 while (fgets (p, end - p, ebuf->fp) != 0) in readline()
[all …]
/ndk/build/tools/
Dbuild-ndk-sysroot.sh150 cp -fp $1 $2/$1
/ndk/build/core/
Ddefinitions.mk1406 $$(hide) cp -fp $$(subst /,\,$1 $2)
/ndk/sources/host-tools/make-3.81/autom4te.cache/
Doutput.0960 # Obsolete; use --without-fp.