/external/blktrace/btt/ |
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) 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);
|
/external/dropbear/ |
netbsd_getpass.c | 66 FILE *fp, *outfp; local 79 if ((outfp = fp = fopen(_PATH_TTY, "w+")) == NULL) { 81 fp = stdin; 93 (void)tcgetattr(fileno(fp), &term); 96 (void)tcsetattr(fileno(fp), TCSAFLUSH /*|TCSASOFT*/, &term); 101 for (p = buf; (ch = getc(fp)) != EOF && ch != '\n';) 108 (void)tcsetattr(fileno(fp), TCSAFLUSH/*|TCSASOFT*/, &term); 111 if (fp != stdin) 112 (void)fclose(fp);
|
/external/iproute2/netem/ |
stats.c | 18 stats(FILE *fp) 27 fstat(fileno(fp), &info); 36 fscanf(fp, "%lf", &x[i]); 37 if (feof(fp)) 64 FILE *fp; local 67 fp = fopen(argv[1], "r"); 68 if (!fp) { 73 fp = stdin; 75 stats(fp);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
keyword.py | 62 fp = open(iptfile) 65 for line in fp: 70 fp.close() 74 fp = open(optfile) 75 format = fp.readlines() 76 fp.close() 88 fp = open(optfile, 'w') 89 fp.write(''.join(format)) 90 fp.close()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
keyword.py | 62 fp = open(iptfile) 65 for line in fp: 70 fp.close() 74 fp = open(optfile) 75 format = fp.readlines() 76 fp.close() 88 fp = open(optfile, 'w') 89 fp.write(''.join(format)) 90 fp.close()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_univnewlines.py | 50 with self.open(support.TESTFN, self.WRITEMODE) as fp: 51 fp.write(data) 60 with self.open(support.TESTFN, self.READMODE) as fp: 61 data = fp.read() 63 self.assertEqual(set(fp.newlines), set(self.NEWLINE)) 66 with self.open(support.TESTFN, self.READMODE) as fp: 67 data = fp.readlines() 69 self.assertEqual(set(fp.newlines), set(self.NEWLINE)) 72 with self.open(support.TESTFN, self.READMODE) as fp: 74 d = fp.readline( [all...] |
test_univnewlines2k.py | 40 with open(test_support.TESTFN, self.WRITEMODE) as fp: 41 fp.write(self.DATA) 50 with open(test_support.TESTFN, self.READMODE) as fp: 51 data = fp.read() 53 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 56 with open(test_support.TESTFN, self.READMODE) as fp: 57 data = fp.readlines() 59 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 62 with open(test_support.TESTFN, self.READMODE) as fp: 64 d = fp.readline( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_univnewlines.py | 50 with self.open(support.TESTFN, self.WRITEMODE) as fp: 51 fp.write(data) 60 with self.open(support.TESTFN, self.READMODE) as fp: 61 data = fp.read() 63 self.assertEqual(set(fp.newlines), set(self.NEWLINE)) 66 with self.open(support.TESTFN, self.READMODE) as fp: 67 data = fp.readlines() 69 self.assertEqual(set(fp.newlines), set(self.NEWLINE)) 72 with self.open(support.TESTFN, self.READMODE) as fp: 74 d = fp.readline( [all...] |
test_univnewlines2k.py | 40 with open(test_support.TESTFN, self.WRITEMODE) as fp: 41 fp.write(self.DATA) 50 with open(test_support.TESTFN, self.READMODE) as fp: 51 data = fp.read() 53 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 56 with open(test_support.TESTFN, self.READMODE) as fp: 57 data = fp.readlines() 59 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)) 62 with open(test_support.TESTFN, self.READMODE) as fp: 64 d = fp.readline( [all...] |
/external/iproute2/ip/ |
ipxfrm.c | 285 FILE *fp, const char *prefix, const char *title) 290 fputs(title, fp); 293 fprintf(fp, "src %s ", rt_addr_n2a(family, sizeof(*saddr), 296 fprintf(fp, "dst %s", rt_addr_n2a(family, sizeof(id->daddr), 298 fprintf(fp, "%s", _SL_); 301 fputs(prefix, fp); 302 fprintf(fp, "\t"); 304 fprintf(fp, "proto %s ", strxf_xfrmproto(id->proto)); 308 fprintf(fp, "spi 0x%08x", spi); 310 fprintf(fp, "(%u)", spi) [all...] |
ipprefix.c | 38 FILE *fp = (FILE*)arg; local 72 fprintf(fp, "prefix "); 81 fprintf(fp, "%s", rt_addr_n2a(family, sizeof(*pfx), pfx, 84 fprintf(fp, "/%u ", prefix->prefix_len); 86 fprintf(fp, "dev %s ", ll_index_to_name(prefix->prefix_ifindex)); 89 fprintf(fp, "onlink "); 91 fprintf(fp, "autoconf "); 97 fprintf(fp, "valid %u ", pc->valid_time); 98 fprintf(fp, "preferred %u ", pc->preferred_time); 101 fprintf(fp, "\n") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.pass.cpp | 53 void (*fp)(int) = f_void_1; 54 std::function<void (int)> r1(fp); 71 void (A_void_1::*fp)() = &A_void_1::mem1; 72 std::function<void (A_void_1)> r1(fp); 78 std::function<void (A_void_1*)> r2 = fp; 85 void (A_void_1::*fp)() const = &A_void_1::mem2; 86 std::function<void (A_void_1)> r1(fp); 91 std::function<void (A_void_1*)> r2(fp); 130 int (*fp)(int) = f_int_1; 131 std::function<int (int)> r1(fp); 164 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1 [all...] |
/external/checkpolicy/test/ |
dispol.c | 47 FILE * fp) 50 fprintf(fp, "{"); 53 fprintf(fp, "%s ", perm); 54 fprintf(fp, "}"); 58 int render_type(uint32_t type, policydb_t * p, FILE * fp) 60 fprintf(fp, "%s", p->p_type_val_to_name[type - 1]); 64 int render_key(avtab_key_t * key, policydb_t * p, FILE * fp) 71 fprintf(fp, "%s %s : %s ", stype, ttype, tclass); 73 fprintf(fp, "%s %u : %s ", stype, key->target_type, tclass); 75 fprintf(fp, "%u %s : %s ", key->source_type, ttype, tclass) [all...] |
dismod.c | 75 FILE * fp) 78 fprintf(fp, "{"); 81 fprintf(fp, "%s ", perm); 82 fprintf(fp, "}"); 86 policydb_t * p, FILE * fp) 90 fprintf(fp, "{"); 95 fprintf(fp, " %s", perm); 98 fprintf(fp, " }"); 101 static void display_id(policydb_t * p, FILE * fp, uint32_t symbol_type, 109 fprintf(fp, " [%s%s]", prefix, id) 295 FILE *fp; local 500 FILE *fp; local [all...] |
/bionic/libc/stdio/ |
vfscanf.c | 101 VFSCANF(FILE *fp, const char *fmt0, __va_list ap) 111 int nread; /* number of characters consumed from fp */ 120 FLOCKFILE(fp); 121 _SET_ORIENTATION(fp, -1); 129 FUNLOCKFILE(fp); 133 while ((fp->_r > 0 || __srefill(fp) == 0) && 134 isspace(*fp->_p)) 135 nread++, fp->_r--, fp->_p++ [all...] |
fprintf.c | 38 fprintf(FILE *fp, const char *fmt, ...) 44 ret = vfprintf(fp, fmt, ap);
|
fscanf.c | 38 fscanf(FILE *fp, const char *fmt, ...) 44 ret = vfscanf(fp, fmt, ap);
|
/external/e2fsprogs/ext2ed/ |
disk.c | 145 FILE *fp; local 147 if ((fp=fopen (LogFile,"a+"))==NULL) { 154 fprintf (fp,"\n----- EXT2ED log begin -----\n\n"); 155 fprintf (fp,"Time: %s\nDevice: %s\n",ctime ((time_t *) ¤t_time),device_name); 156 fprintf (fp,"Offset: %lu\nLength: %lu\n",offset,length); 162 refresh_command_win ();fclose (fp);return (0); 166 fclose (fp);return (0); 169 fprintf (fp,"\nOriginal data:\n\n"); 172 if (i%16==0 && i!=0) fprintf (fp,"\n"); 173 fprintf (fp,"%02x ",original [i]) [all...] |
/external/bison/lib/ |
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) 50 /* Read up to (and including) a DELIMITER from FP into *LINEPTR (and 57 getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) 62 if (lineptr == NULL || n == NULL || fp == NULL [all...] |
/external/libpcap/ |
etherent.c | 90 pcap_next_etherent(FILE *fp) 99 c = skip_space(fp); 106 c = skip_line(fp); 113 c = getc(fp); 117 c = getc(fp); 122 c = getc(fp); 129 c = skip_line(fp); 132 c = skip_space(fp); 139 c = skip_line(fp); 149 c = getc(fp); [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
getdelim.c | 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) 50 /* Read up to (and including) a DELIMITER from FP into *LINEPTR (and 57 getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) 62 if (lineptr == NULL || n == NULL || fp == NULL) 68 flockfile (fp); [all...] |
/external/icu4c/i18n/ |
rematch.cpp | 2802 REStackFrame *fp = resetStack(); local [all...] |
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
setbuf.c | 43 setbuf(FILE * __restrict fp, char * __restrict buf) 45 (void) setvbuf(fp, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
|
/bionic/libc/upstream-netbsd/libc/stdio/ |
getline.c | 42 getline(char **__restrict buf, size_t *__restrict buflen, FILE *__restrict fp) 44 return getdelim(buf, buflen, '\n', fp);
|
/build/core/ |
filter_symbols.sh | 15 $NM -g -fp $1 | while read -a line
|