/ndk/sources/host-tools/sed-4.2.1/sed/ |
execute.c | 133 /* Function to read one line. If FP is NULL, read_fn better not 134 be one which uses fp; in particular, read_always_fail() is 146 FILE *fp; 531 long result = ck_getline (&b, &blen, input->fp); 554 ck_fwrite("\n", 1, 1, outf->fp); 561 flush_output(fp) 562 FILE *fp; 564 if (fp != stdout || unbuffered_output) 565 ck_fflush(fp); 581 ck_fwrite(text, 1, length, outf->fp); 145 FILE *fp; member in struct:input 638 FILE *fp; local 1073 FILE *fp = output_file.fp; local [all...] |
/dalvik/vm/alloc/ |
Visit.cpp | 89 for (u4 *fp = (u4 *)thread->interpSave.curFrame; 90 fp != NULL; 91 fp = (u4 *)saveArea->prevFrame) { 93 saveArea = SAVEAREA_FROM_FP(fp); 110 if (dvmIsValidObject((Object *)fp[i])) { 111 (*visitor)(&fp[i], threadId, ROOT_JAVA_FRAME, arg); 135 if (fp[i] != 0 && !dvmIsValidObject((Object *)fp[i])) { 138 method->registersSize - 1 - i, fp[i]); 145 (*visitor)(&fp[i], threadId, ROOT_JAVA_FRAME, arg) [all...] |
/dalvik/vm/arch/arm/ |
CallEABI.S | 59 r11 (fp) is used by gcc (unless -fomit-frame-pointer is set) 104 * R - return-type enumeration, really only important for "hard" FP ABI 119 * The stack unwinder in debuggerd *does* pay attention to fp if we set it 133 * points fp at the first saved argument, so our "full descending" 140 * lr <-- fp 141 * fp 149 FP_STACK_OFFSET = (SAVED_REG_COUNT-1) * 4 @ offset between fp and post-save sp 150 FP_ADJ = 4 @ fp is initial sp +4 152 .save {r6, r7, r8, r9, fp, lr} 153 stmfd sp!, {r6, r7, r8, r9, fp, lr [all...] |
/external/chromium_org/v8/src/ |
frames-inl.h | 183 return Memory::Object_at(fp() + offset); 188 return Memory::Address_at(fp() + StandardFrameConstants::kCallerFPOffset); 193 return Memory::Address_at(ComputePCAddress(fp())); 197 inline Address StandardFrame::ComputePCAddress(Address fp) { 198 return fp + StandardFrameConstants::kCallerPCOffset; 202 inline bool StandardFrame::IsArgumentsAdaptorFrame(Address fp) { 204 Memory::Object_at(fp + StandardFrameConstants::kContextOffset); 209 inline bool StandardFrame::IsConstructFrame(Address fp) { 211 Memory::Object_at(fp + StandardFrameConstants::kMarkerOffset); 235 Address base = fp() + JavaScriptFrameConstants::kLocal0Offset [all...] |
frames.cc | 54 : limit_(frame->fp()), handler_(handler) { 219 Address fp, Address sp, Address js_entry_sp) 231 } else if (IsValidStackAddress(fp)) { 232 ASSERT(fp != NULL); 233 state.fp = fp; 236 reinterpret_cast<Address*>(StandardFrame::ComputePCAddress(fp))); 243 Address frame_marker = fp + StandardFrameConstants::kMarkerOffset; 265 external_callback_scope_->scope_address() < frame_->fp()) { function 287 Address last_sp = last_frame->sp(), last_fp = last_frame->fp(); 507 Address fp = Memory::Address_at(this->fp() + offset); local 737 Address fp = caller_fp(); local 1573 SetFp(address() + StackHandlerConstants::kFPOffset, fp); local [all...] |
/external/blktrace/ |
stats.h | 88 static inline int minmax_print(FILE *fp, const char *s, struct minmax *mm) 90 return fprintf(fp, "%s: num %Ld, min %Ld, max %Ld, sum %Ld, squ %Ld, " 139 static inline void histlog2_print(FILE *fp, const char *s, __u32 a[], 144 fprintf(fp, "%s:\n", s); 146 fprintf(fp, " %10ld:%6d", 149 fprintf(fp, "\n"); 151 fprintf(fp, " >%8ld:%6d\n",
|
/external/clang/test/Analysis/ |
taint-tester.c | 87 FILE *fp; local 97 if((fp=fopen("test", "w")) == 0) // expected-warning + {{tainted}} 99 fprintf(fp, "%s %d", s, t); // expected-warning + {{tainted}} 100 fclose(fp); // expected-warning + {{tainted}} 103 if((fp=fopen("test","r")) == 0) // expected-warning + {{tainted}} 105 fscanf(fp, "%s%d", s, &t); // expected-warning + {{tainted}} 161 FILE *fp; local
|
/external/bison/lib/ |
timevar.c | 441 /* Summarize timing variables to FP. The timing variable TV_TOTAL has 446 timevar_print (fp) 447 FILE *fp; 460 if (fp == 0) 461 fp = stderr; 475 fputs (_("\nExecution times (seconds)\n"), fp); 498 fprintf (fp, " %-22s:", tv->name); 502 fprintf (fp, "%7.2f (%2.0f%%) usr", 509 fprintf (fp, "%7.2f (%2.0f%%) sys", 516 fprintf (fp, "%7.2f (%2.0f%%) wall" [all...] |
/external/libffi/src/mips/ |
n32.S | 50 .frame $fp, SIZEOF_FRAME, ra 57 REG_S $fp, SIZEOF_FRAME - 2*FFI_SIZEOF_ARG($sp) # Save frame pointer 60 move $fp, $sp 63 REG_S bytes, 2*FFI_SIZEOF_ARG($fp) # bytes 64 REG_S flags, 3*FFI_SIZEOF_ARG($fp) # flags 65 REG_S raddr, 4*FFI_SIZEOF_ARG($fp) # raddr 66 REG_S fn, 5*FFI_SIZEOF_ARG($fp) # fn 83 ADDU a3, $fp, 3 * FFI_SIZEOF_ARG 95 REG_L t6, 2*FFI_SIZEOF_ARG($fp) 105 REG_L t6, 3*FFI_SIZEOF_ARG($fp) # load the flags word into t6 [all...] |
/external/linux-tools-perf/util/ |
map.c | 197 size_t map__fprintf(struct map *self, FILE *fp) 199 return fprintf(fp, " %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s\n", 327 enum map_type type, int verbose, FILE *fp) 329 size_t printed = fprintf(fp, "%s:\n", map_type__name[type]); 334 printed += fprintf(fp, "Map:"); 335 printed += map__fprintf(pos, fp); 337 printed += dso__fprintf(pos->dso, type, fp); 338 printed += fprintf(fp, "--\n"); 345 size_t map_groups__fprintf_maps(struct map_groups *self, int verbose, FILE *fp) 349 printed += __map_groups__fprintf_maps(self, i, verbose, fp); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urllib.py | 186 fp = open(filename, 'rb') 187 return addinfourl(fp, headers, fullurl) 234 fp = self.open_local_file(url1) 235 hdrs = fp.info() 236 fp.close() 240 fp = self.open(url, data) 242 headers = fp.info() 268 block = fp.read(bs) 279 fp.close() 347 fp = h.getfile( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urllib.py | 186 fp = open(filename, 'rb') 187 return addinfourl(fp, headers, fullurl) 234 fp = self.open_local_file(url1) 235 hdrs = fp.info() 236 fp.close() 240 fp = self.open(url, data) 242 headers = fp.info() 268 block = fp.read(bs) 279 fp.close() 347 fp = h.getfile( [all...] |
/external/libppp/src/ |
ipcp.c | 286 FILE *fp; local 301 if ((fp = ID0fopen(_PATH_RESCONF, "w")) != NULL) { 304 fputs(ipcp->ns.resolv_nons, fp); 307 fprintf(fp, "\nnameserver %s\n", paddr); 313 fprintf(fp, "nameserver %s\n", paddr); 315 if (fclose(fp) == EOF) { 732 IpcpInitRestartCounter(struct fsm *fp, int what) 735 struct ipcp *ipcp = fsm2ipcp(fp); 737 fp->FsmTimer.load = ipcp->cfg.fsm.timeout * SECTICKS; 740 fp->restart = ipcp->cfg.fsm.maxreq [all...] |
/external/iproute2/misc/ |
nstat.c | 114 void load_good_table(FILE *fp) 120 while (fgets(buf, sizeof(buf), fp) != NULL) { 160 void load_ugly_table(FILE *fp) 166 while (fgets(buf, sizeof(buf), fp) != NULL) { 200 if (fgets(buf, sizeof(buf), fp) == NULL) 233 FILE *fp = fdopen(net_snmp_open(), "r"); local 234 if (fp) { 235 load_ugly_table(fp); 236 fclose(fp); 242 FILE *fp = fdopen(net_snmp6_open(), "r") local 251 FILE *fp = fdopen(net_netstat_open(), "r"); local 407 FILE *fp = fdopen(clnt, "w"); local [all...] |
lnstat_util.c | 46 while(!feof(lf->fp)) { 52 fgets(buf, sizeof(buf)-1, lf->fp); 94 rewind(lf->fp); 97 fgets(buf, sizeof(buf)-1, lf->fp); 110 rewind(lf->fp); 111 fgets(buf, sizeof(buf)-1, lf->fp); 144 rewind(lf->fp); 145 fgets(buf, sizeof(buf)-1, lf->fp); 194 lf->fp = fopen(lf->path, "r"); 195 if (!lf->fp) { [all...] |
lnstat.c | 92 const struct field_params *fp) 96 for (i = 0; i < fp->num; i++) { 97 struct lnstat_field *lf = fp->params[i].lf; 101 fp->params[i].print.width); 230 static struct field_params fp; local 280 if (fp.num >= MAX_FIELDS) { 287 fp.params[fp.num++].name = tok; 304 fp.params[i].print.width = len; 309 fp.params[i].print.width = len [all...] |
/external/libsepol/src/ |
avtab.c | 369 int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a, 385 rc = next_entry(buf32, fp, sizeof(uint32_t)); 387 ERR(fp->handle, "truncated entry"); 393 ERR(fp->handle, "invalid item count"); 397 rc = next_entry(buf32, fp, sizeof(uint32_t) * items2); 399 ERR(fp->handle, "truncated entry"); 407 ERR(fp->handle, "truncated source type"); 413 ERR(fp->handle, "truncated target type"); 419 ERR(fp->handle, "truncated target class"); 427 ERR(fp->handle, "null entry") [all...] |
/external/chromium_org/v8/test/cctest/ |
test-log-stack-tracer.cc | 69 static void DoTrace(Address fp) { 71 regs.fp = fp; 81 static void DoTraceHideCEntryFPAddress(Address fp) { 86 DoTrace(fp); 137 Address fp = *reinterpret_cast<Address*>(*args[0]); local 141 Address fp = reinterpret_cast<Address>(high_bits | low_bits); local 145 printf("Trace: %p\n", fp); 146 return fp; 216 int32_t low_bits = reinterpret_cast<int32_t>(calling_frame->fp()); 219 uint64_t fp = reinterpret_cast<uint64_t>(calling_frame->fp()); local 364 Address fp; local [all...] |
/external/tinyxml2/ |
tinyxml2.cpp | 1517 FILE* fp = fopen( filename, "rb" ); local 1573 FILE* fp = fdopen(fd, "w"); local [all...] |
/dalvik/vm/hprof/ |
HprofOutput.cpp | 75 FILE* fp = open_memstream(&ctx->fileDataPtr, &ctx->fileDataSize); local 76 if (fp == NULL) { 84 ctx->memFp = fp; 101 fwrite(magic, 1, sizeof(magic), fp); 107 fwrite(buf, 1, sizeof(u4), fp); 120 fwrite(buf, 1, sizeof(u4), fp); 125 fwrite(buf, 1, sizeof(u4), fp); //xxx fix the time 129 int hprofFlushRecord(hprof_record_t *rec, FILE *fp) 139 nb = fwrite(headBuf, 1, sizeof(headBuf), fp); 143 nb = fwrite(rec->body, 1, rec->length, fp); [all...] |
/external/openssh/openbsd-compat/ |
port-linux.c | 266 FILE *fp; local 272 if ((fp = fopen(oom_adj_path, "r+")) != NULL) { 273 if (fscanf(fp, "%d", &oom_adj_save) != 1) 277 rewind(fp); 278 if (fprintf(fp, "%d\n", value) <= 0) 285 fclose(fp); 296 FILE *fp; local 300 (fp = fopen(oom_adj_path, "w")) == NULL) 303 if (fprintf(fp, "%d\n", oom_adj_save) <= 0) 308 fclose(fp); [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
inv_sysfs_utils.c | 28 FILE *fp; local 33 fp = fopen(filename, "w"); 34 if (!fp) 36 count = fprintf(fp, "%ld", data); 37 fclose(fp); 50 FILE *fp; local 55 fp = fopen(filename, "r"); 56 if (!fp) 58 count = fread(data, 1, num_bytes, fp); 59 fclose(fp); [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_test.c | 43 FILE *fp = fopen(filename, "w+"); \ 44 if (fp) { \ 45 rc = fwrite(p_addr, 1, len, fp); \ 46 fclose(fp); \ 143 FILE *fp = NULL; local 145 fp = fopen(p_obj->filename, "rb"); 146 if (!fp) { 150 fseek(fp, 0, SEEK_END); 151 file_size = ftell(fp); 152 fseek(fp, 0, SEEK_SET) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
eck_prn.c | 71 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off) 81 BIO_set_fp(b, fp, BIO_NOCLOSE); 87 int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off) 97 BIO_set_fp(b, fp, BIO_NOCLOSE); 103 int ECParameters_print_fp(FILE *fp, const EC_KEY *x) 113 BIO_set_fp(b, fp, BIO_NOCLOSE); 144 static int print_bin(BIO *fp, const char *str, const unsigned char *num, 356 static int print_bin(BIO *fp, const char *name, const unsigned char *buf, 369 if (BIO_write(fp, str, off) <= 0) 373 if (BIO_printf(fp,"%s", name) <= 0 [all...] |
/external/libffi/src/sparc/ |
v8.S | 131 st %i0, [%fp+68+0] 132 st %i1, [%fp+68+4] 133 st %i2, [%fp+68+8] 134 st %i3, [%fp+68+12] 135 st %i4, [%fp+68+16] 136 st %i5, [%fp+68+20] 140 add %fp, -8, %o1 141 add %fp, 64, %o2 143 add %fp, -16, %o3 155 ld [%fp-8], %f [all...] |