/external/bison/lib/ |
fseterr.c | 27 fseterr (FILE *fp) 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 */; 54 Not activated on any system, because there is no way to repair FP whe [all...] |
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
fgetpos.c | 42 fgetpos(FILE * __restrict fp, fpos_t * __restrict pos) 45 * ftello is thread-safe; no need to lock fp. 47 if ((*pos = ftello(fp)) == (fpos_t)-1)
|
putw.c | 46 putw(int w, FILE *fp) 56 FLOCKFILE(fp); 57 retval = __sfvwrite(fp, &uio); 58 FUNLOCKFILE(fp);
|
fputs.c | 51 fputs(const char * __restrict s, FILE * __restrict fp) 61 FLOCKFILE(fp); 62 ORIENT(fp, -1); 63 retval = __sfvwrite(fp, &uio); 64 FUNLOCKFILE(fp);
|
fwrite.c | 53 fwrite(const void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) 74 fp->_flags |= __SERR; 85 FLOCKFILE(fp); 86 ORIENT(fp, -1); 92 if (__sfvwrite(fp, &uio) != 0) 94 FUNLOCKFILE(fp);
|
/frameworks/wilhelm/tools/mphtogen/ |
mphtogen.c | 27 FILE *fp = fopen(filename, "w"); local 28 assert(NULL != fp); 29 fputs("// This file is automagically generated by mphtogen, do not edit\n", fp); 34 fputc(',', fp); 38 fputc('\n', fp); 41 fprintf(fp, "%3d", MPH_to[i]); 45 fputc('\n', fp); 47 fclose(fp);
|
/external/libsepol/tests/ |
debug.h | 26 extern void print_ebitmap(ebitmap_t * bitmap, FILE * fp); 27 extern void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp);
|
/external/chromium/testing/gmock/scripts/generator/cpp/ |
utils.py | 33 fp = open(filename) 35 return fp.read() 37 fp.close()
|
/external/clang/test/SemaCXX/ |
format-strings-0x.cpp | 8 void f(char **sp, float *fp) { 12 scanf("%afoobar", fp); 29 printf("void: %d", f(sp, fp)); // expected-error {{cannot pass expression of type 'void' to variadic function; expected type from format string was 'int'}}
|
/hardware/akm/AK8975_FS/akmdfs/ |
AKFS_FileIO.c | 47 FILE *fp = NULL; local 50 if ((fp = fopen(path, "r")) == NULL) { 58 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.x) != 2) { 65 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.y) != 2) { 72 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.z) != 2) { 80 if (fclose(fp) != 0) { 106 FILE *fp; local 109 if ((fp = fopen(path, "w")) == NULL) { 115 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.x", prms->mfv_ho.u.x) < 0) { ret = 0; } 116 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.y", prms->mfv_ho.u.y) < 0) { ret = 0; [all...] |
/system/core/sh/ |
show.c | 73 shtree(union node *n, int ind, char *pfx, FILE *fp) 81 indent(ind, pfx, fp); 92 shtree(n->nbinary.ch1, ind, NULL, fp); 94 fputs(s, fp); 95 shtree(n->nbinary.ch2, ind, NULL, fp); 98 shcmd(n, fp); 100 putc('\n', fp); 104 shcmd(lp->n, fp); 106 fputs(" | ", fp); 109 fputs(" &", fp); [all...] |
/device/asus/flo/conn_init/ |
conn_init.c | 31 FILE *fp = NULL; local 33 fp = fopen("/persist/wifi/.macaddr", "r"); 34 if ( fp == NULL ) 41 n = fread(macAddress, 12, 1, fp); 42 fclose(fp);
|
/device/lge/mako/conn_init/ |
conn_init.c | 31 FILE *fp = NULL; local 33 fp = fopen("/persist/wifi/.macaddr", "r"); 34 if ( fp == NULL ) 41 n = fread(macAddress, 12, 1, fp); 42 fclose(fp);
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
p19.cpp | 20 void test(X<int> xi, X<long> xl, float *fp) { 22 xii.member = fp; 25 xi.f(17, fp); // expected-note{{instantiation}} 28 xli.member = fp; // expected-error{{no member}} 29 xl.f(17, fp); // okay
|
/external/tcpdump/ |
print-ap1394.c | 59 register const struct firewire_header *fp; local 60 fp = (const struct firewire_header *)bp; 63 linkaddr_string(fp->firewire_dhost, FIREWIRE_EUI64_LEN), 64 linkaddr_string(fp->firewire_shost, FIREWIRE_EUI64_LEN)); 68 tok2str(ethertype_values,"Unknown", ntohs(fp->firewire_type)), 69 ntohs(fp->firewire_type)); 71 (void)printf(", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", ntohs(fp->firewire_type))); 88 struct firewire_header *fp; local 102 fp = (struct firewire_header *)p; 105 ether_type = ntohs(fp->firewire_type) [all...] |
/external/chromium_org/third_party/opus/src/silk/ |
debug.c | 85 FILE *fp; local 106 fp = fopen(file_name, "w"); 107 fprintf(fp, " min avg %% max count\n"); 110 fprintf(fp, "%-28s", silk_Timer_tags[k]); 112 fprintf(fp, " %-27s", silk_Timer_tags[k]); 114 fprintf(fp, " %-26s", silk_Timer_tags[k]); 116 fprintf(fp, " %-25s", silk_Timer_tags[k]); 118 fprintf(fp, " %-24s", silk_Timer_tags[k]); 121 fprintf(fp, "%8.2f", (1e6 * (silk_max_64(silk_Timer_min[k] - del, 0))) / lpFrequency.QuadPart); 122 fprintf(fp, "%12.2f %6.2f", avg, 100.0 * avg / sum_avg * silk_Timer_cnt[k]) 136 FILE *fp; local [all...] |
/external/e2fsprogs/lib/e2p/ |
pf.c | 57 struct flags_name *fp; local 60 for (fp = flags_array; fp->flag != 0; fp++) { 61 if (flags & fp->flag) { 67 fputs(fp->long_name, f); 69 fputs(fp->short_name, f);
|
/external/iproute2/ip/ |
xfrm_monitor.c | 48 FILE *fp = (FILE*)arg; local 68 fprintf(fp, "acquire "); 70 fprintf(fp, "proto %s ", strxf_xfrmproto(xacq->id.proto)); 73 fprintf(fp, "spi 0x%08x", spi); 75 fprintf(fp, "(%u)", spi); 76 fprintf(fp, " "); 78 fprintf(fp, "%s", _SL_); 80 xfrm_selector_print(&xacq->sel, family, fp, " sel "); 82 xfrm_policy_info_print(&xacq->policy, tb, fp, " ", " policy "); 85 fprintf(fp, " seq 0x%08u ", xacq->seq) 109 FILE *fp = (FILE*)arg; local 140 FILE *fp = (FILE*)arg; local 177 FILE *fp = (FILE*)arg; local 212 FILE *fp = (FILE*)arg; local 242 FILE *fp = (FILE*)arg; local 273 FILE *fp = (FILE*)arg; local 295 FILE *fp = (FILE*)arg; local 403 FILE *fp; local [all...] |
/bionic/libc/upstream-netbsd/libc/stdio/ |
getdelim.c | 58 int sep, FILE *__restrict fp) 64 _DIAGASSERT(fp != NULL); 75 _SET_ORIENTATION(fp, -1); 79 if (fp->_r <= 0 && __srefill(fp)) { 80 if (__sferror(fp)) 87 p = memchr(fp->_p, sep, (size_t)fp->_r); 89 len = fp->_r; 91 len = (p - fp->_p) + 1 [all...] |
/external/libffi/src/frv/ |
eabi.S | 46 sti fp, @(sp, #24) 47 addi sp, #24, fp 51 /* subi sp, fp, gr10 */ 54 sti gr5, @(fp, #8) 55 sti gr8, @(fp, #-4) 56 sti gr9, @(fp, #-8) 57 sti gr10, @(fp, #-12) 58 sti gr11, @(fp, #-16) 59 sti gr12, @(fp, #-20) 60 sti gr13, @(fp, #-24 [all...] |
/external/iproute2/misc/ |
ifstat.c | 149 void load_raw_table(FILE *fp) 155 while (fgets(buf, sizeof(buf), fp) != NULL) { 212 void dump_raw_db(FILE *fp, int to_hist) 216 fprintf(fp, "#%s\n", info_source); 235 fprintf(fp, "%d %s ", n->ifindex, n->name); 237 fprintf(fp, "%llu %u ", vals[i], (unsigned)rates[i]); 238 fprintf(fp, "\n"); 247 void format_rate(FILE *fp, unsigned long long *vals, double *rates, int i) 251 fprintf(fp, "%7lluM ", vals[i]/mega); 253 fprintf(fp, "%7lluK ", vals[i]/kilo) 522 FILE *fp = fdopen(clnt, "w"); local [all...] |
/dalvik/vm/mterp/cstubs/ |
enddefs.cpp | 5 #undef fp macro
|
/dalvik/vm/mterp/x86/ |
OP_MOVE_FROM16.S | 6 GET_VREG_R rINST rINST # rINST- fp[BBBB] 9 SET_VREG rINST %eax # fp[AA]<- ecx]
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/ |
p3.cpp | 15 void mem8(int (*fp)(int) = (int (*)(int = 17))0); // expected-error{{default arguments can only be specified for parameters in a function declaration}}
|
/external/oprofile/libutil/ |
op_cpufreq.c | 23 FILE * fp = op_try_open_file("/proc/cpuinfo", "r"); local 24 if (!fp) 28 line = op_get_line(fp); 66 op_close_file(fp);
|