/external/chromium_org/v8/src/ |
H A D | frames.cc | 31 : limit_(frame->fp()), handler_(handler) { 196 Address fp, Address sp, Address js_entry_sp) 208 } else if (IsValidStackAddress(fp)) { 209 DCHECK(fp != NULL); 210 state.fp = fp; 213 reinterpret_cast<Address*>(StandardFrame::ComputePCAddress(fp))); 220 Address frame_marker = fp + StandardFrameConstants::kMarkerOffset; 242 external_callback_scope_->scope_address() < frame_->fp()) { function 264 Address last_sp = last_frame->sp(), last_fp = last_frame->fp(); 194 SafeStackFrameIterator( Isolate* isolate, Address fp, Address sp, Address js_entry_sp) argument 484 Address fp = Memory::Address_at(this->fp() + offset); local 539 GetStateForFramePointer(Address fp, State* state) argument 548 ComputeStackPointer(Address fp) argument 553 FillState(Address fp, Address sp, State* state) argument 569 GetExpression(Address fp, int index) argument 574 GetExpressionAddress(Address fp, int n) argument 725 Address fp = caller_fp(); local 1550 Rewind(Isolate* isolate, FixedArray* array, int offset, Address fp) argument 1572 SetFp(address() + StackHandlerConstants::kFPOffset, fp); local [all...] |
/external/blktrace/ |
H A D | stats.h | 88 static inline int minmax_print(FILE *fp, const char *s, struct minmax *mm) argument 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[], argument 144 fprintf(fp, "%s:\n", s); 146 fprintf(fp, " %10ld:%6d", 149 fprintf(fp, "\n"); 151 fprintf(fp, " >%8ld:%6d\n",
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/ |
H A D | opus_fec_test.cc | 75 FILE* fp = fopen(in_filename_.c_str(), "rb"); local 76 ASSERT_FALSE(fp == NULL); 79 fseek(fp, 0, SEEK_END); 80 loop_length_samples_ = ftell(fp) / sizeof(int16_t); 81 rewind(fp); 88 ASSERT_EQ(fread(&in_data_[0], sizeof(int16_t), loop_length_samples_, fp), 90 fclose(fp);
|
/external/clang/test/Analysis/ |
H A D | 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/ |
H A D | timevar.c | 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", 521 putc ('\n', fp); [all...] |
/external/iproute2/misc/ |
H A D | nstat.c | 114 void load_good_table(FILE *fp) argument 120 while (fgets(buf, sizeof(buf), fp) != NULL) { 160 void load_ugly_table(FILE *fp) argument 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 local 251 FILE *fp = fdopen(net_netstat_open(), "r"); local 258 dump_kern_db(FILE *fp, int to_hist) argument 283 dump_incr_db(FILE *fp) argument 407 FILE *fp = fdopen(clnt, "w"); local [all...] |
H A D | 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...] |
H A D | 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 91 print_line(FILE *of, const struct lnstat_file *lnstat_files, const struct field_params *fp) argument [all...] |
/external/libsepol/src/ |
H A D | avtab.c | 369 int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a, argument 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 490 avtab_read(avtab_t * a, struct policy_file *fp, uint32_t vers) argument [all...] |
/external/tinyxml2/ |
H A D | tinyxml2.cpp | 1517 FILE* fp = fopen( filename, "rb" );
local 1521 if ( !fp ) {
1525 LoadFile( fp );
1526 fclose( fp );
1531 int XMLDocument::LoadFile( FILE* fp )
1536 fseek( fp, 0, SEEK_END );
1537 unsigned size = ftell( fp );
1538 fseek( fp, 0, SEEK_SET );
1545 size_t read = fread( charBuffer, 1, size, fp );
1573 FILE* fp local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
H A D | umutex.h | 204 template<class T> void umtx_initOnce(UInitOnce &uio, T *obj, void (T::*fp)()) { 209 (obj->*fp)(); 217 inline void umtx_initOnce(UInitOnce &uio, void (*fp)()) { argument 222 (*fp)(); 229 inline void umtx_initOnce(UInitOnce &uio, void (*fp)(UErrorCode &), UErrorCode &errCode) { 235 (*fp)(errCode); 248 template<class T> void umtx_initOnce(UInitOnce &uio, void (*fp)(T), T context) { argument 253 (*fp)(context); 260 template<class T> void umtx_initOnce(UInitOnce &uio, void (*fp)(T, UErrorCode &), T context, UErrorCode &errCode) { argument 266 (*fp)(contex [all...] |
/external/icu/icu4c/source/common/ |
H A D | umutex.h | 202 template<class T> void umtx_initOnce(UInitOnce &uio, T *obj, void (T::*fp)()) { 207 (obj->*fp)(); 215 inline void umtx_initOnce(UInitOnce &uio, void (*fp)()) { argument 220 (*fp)(); 227 inline void umtx_initOnce(UInitOnce &uio, void (*fp)(UErrorCode &), UErrorCode &errCode) { 233 (*fp)(errCode); 246 template<class T> void umtx_initOnce(UInitOnce &uio, void (*fp)(T), T context) { argument 251 (*fp)(context); 258 template<class T> void umtx_initOnce(UInitOnce &uio, void (*fp)(T, UErrorCode &), T context, UErrorCode &errCode) { argument 264 (*fp)(contex [all...] |
/external/libcxx/test/depr/depr.c.headers/ |
H A D | wchar_h.pass.cpp | 37 ::FILE* fp = 0; local 45 static_assert((std::is_same<decltype(fwprintf(fp, L"")), int>::value), ""); 46 static_assert((std::is_same<decltype(fwscanf(fp, L"")), int>::value), ""); 49 static_assert((std::is_same<decltype(vfwprintf(fp, L"", va)), int>::value), ""); 50 static_assert((std::is_same<decltype(vfwscanf(fp, L"", va)), int>::value), ""); 57 static_assert((std::is_same<decltype(fgetwc(fp)), wint_t>::value), ""); 58 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), ""); 59 static_assert((std::is_same<decltype(fputwc(L' ', fp)), wint_t>::value), ""); 60 static_assert((std::is_same<decltype(fputws(L"", fp)), int>::value), ""); 61 static_assert((std::is_same<decltype(fwide(fp, [all...] |
/external/libcxx/test/strings/c.strings/ |
H A D | cwchar.pass.cpp | 37 ::FILE* fp = 0; local 45 static_assert((std::is_same<decltype(std::fwprintf(fp, L"")), int>::value), ""); 46 static_assert((std::is_same<decltype(std::fwscanf(fp, L"")), int>::value), ""); 49 static_assert((std::is_same<decltype(std::vfwprintf(fp, L"", va)), int>::value), ""); 50 static_assert((std::is_same<decltype(std::vfwscanf(fp, L"", va)), int>::value), ""); 57 static_assert((std::is_same<decltype(std::fgetwc(fp)), std::wint_t>::value), ""); 58 static_assert((std::is_same<decltype(std::fgetws(ws, 0, fp)), wchar_t*>::value), ""); 59 static_assert((std::is_same<decltype(std::fputwc(L' ', fp)), std::wint_t>::value), ""); 60 static_assert((std::is_same<decltype(std::fputws(L"", fp)), int>::value), ""); 61 static_assert((std::is_same<decltype(std::fwide(fp, [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | values.c | 130 static void perf_read_values__display_pretty(FILE *fp, argument 160 fprintf(fp, "# %*s %*s", pidwidth, "PID", tidwidth, "TID"); 162 fprintf(fp, " %*s", counterwidth[j], values->countername[j]); 163 fprintf(fp, "\n"); 166 fprintf(fp, " %*d %*d", pidwidth, values->pid[i], 169 fprintf(fp, " %*" PRIu64, 171 fprintf(fp, "\n"); 176 static void perf_read_values__display_raw(FILE *fp, argument 212 fprintf(fp, "# %*s %*s %*s %*s %*s\n", 218 fprintf(fp, " 226 perf_read_values_display(FILE *fp, struct perf_read_values *values, int raw) argument [all...] |
/external/openssl/crypto/ec/ |
H A D | eck_prn.c | 71 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off) argument 81 BIO_set_fp(b, fp, BIO_NOCLOSE); 87 int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off) argument 97 BIO_set_fp(b, fp, BIO_NOCLOSE); 103 int ECParameters_print_fp(FILE *fp, const EC_KEY *x) argument 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, argument 369 if (BIO_write(fp, str, off) <= 0) 373 if (BIO_printf(fp," [all...] |
/external/srec/seti/sltsEngine/src/ |
H A D | run_seq_lts.c | 65 static int load_int(PORT_FILE *fp); 66 static SWIsltsResult load_lquestions(LQUESTION ***pquestions, int *pnum_questions, PORT_FILE *fp); 68 static SWIsltsResult load_letter_mapping(PORT_FILE *fp, LM **ppLetterMap); 70 static SWIsltsResult load_phone_mapping(PORT_FILE *fp, PM **ppPhoneMap); 72 static SWIsltsResult load_outputs(char ***poutputs, char ***pinputs, int *pnum, PORT_FILE *fp); 75 LQUESTION ***pquestions, int *num_questions, LM **plm, PORT_FILE *fp); 77 static SWIsltsResult load_allowable_cons_comb(LTS *lts, PORT_FILE *fp); 79 static SWIsltsResult load_question_strings(LTS* lts, PORT_FILE* fp); 170 static int load_int(PORT_FILE *fp) argument 174 PORT_FREAD_INT16((uint16 *)&v, sizeof(int), 1, fp); 179 load_lquestions(LQUESTION ***pquestions, int *pnum_questions, PORT_FILE *fp) argument 253 load_letter_mapping(PORT_FILE *fp, LM **ppLetterMap) argument 325 load_phone_mapping(PORT_FILE *fp, PM **ppPhoneMap) argument 403 load_outputs(char ***poutputs, char ***pinputs, int *pnum, PORT_FILE *fp) argument 498 load_trees(RT_LTREE ***ptrees, int *num_letters, LQUESTION ***pquestions, int *num_questions, LM **plm, PORT_FILE *fp) argument 653 load_allowable_cons_comb(LTS *lts, PORT_FILE *fp) argument 757 load_question_strings(LTS* lts, PORT_FILE* fp) argument 839 PORT_FILE *fp; local [all...] |
/external/iproute2/ip/ |
H A D | iproute.c | 282 FILE *fp = (FILE*)arg; local 331 fprintf(fp, "Deleted "); 333 fprintf(fp, "%s ", rtnl_rtntype_n2a(r->rtm_type, b1, sizeof(b1))); 337 fprintf(fp, "%s/%u ", rt_addr_n2a(r->rtm_family, 344 fprintf(fp, "%s ", format_host(r->rtm_family, 351 fprintf(fp, "0/%d ", r->rtm_dst_len); 353 fprintf(fp, "default "); 357 fprintf(fp, "from %s/%u ", rt_addr_n2a(r->rtm_family, 364 fprintf(fp, "from %s ", format_host(r->rtm_family, 371 fprintf(fp, "fro [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | safe_browsing_store_file.cc | 113 bool FileRewind(FILE* fp) { argument 114 int rv = fseek(fp, 0, SEEK_SET); 119 // Read from |fp| into |item|, and fold the input data into the 122 bool ReadItem(T* item, FILE* fp, base::MD5Context* context) { argument 123 const size_t ret = fread(item, sizeof(T), 1, fp); 135 // Write |item| to |fp|, and fold the output data into the checksum in 138 bool WriteItem(const T& item, FILE* fp, base::MD5Context* context) { argument 139 const size_t ret = fwrite(&item, sizeof(T), 1, fp); 152 // Read |count| items into |values| from |fp|, and fold them into the 155 bool ReadToContainer(CT* values, size_t count, FILE* fp, argument 176 WriteRange(const CTI& beg, const CTI& end, FILE* fp, base::MD5Context* context) argument 188 WriteContainer(const CT& values, FILE* fp, base::MD5Context* context) argument 204 ReadAndVerifyChecksum(FILE* fp, base::MD5Context* context) argument 218 ReadAndVerifyHeader(const base::FilePath& filename, FileHeader* header, std::set<int32>* add_chunks, std::set<int32>* sub_chunks, FILE* fp, base::MD5Context* context) argument 261 WriteHeader(uint32 out_stride, const std::set<int32>& add_chunks, const std::set<int32>& sub_chunks, FILE* fp, base::MD5Context* context) argument 376 AppendData(size_t add_prefix_count, size_t sub_prefix_count, size_t add_hash_count, size_t sub_hash_count, FILE* fp, base::MD5Context* context) argument 466 WriteShard(const StateInternalPos& beg, const StateInternalPos& end, FILE* fp, base::MD5Context* context) argument [all...] |
/external/libpng/ |
H A D | example.c | 245 int check_if_png(char *file_name, FILE **fp) 250 if ((*fp = fopen(file_name, "rb")) == NULL) 254 if (fread(buf, 1, PNG_BYTES_TO_CHECK, *fp) != PNG_BYTES_TO_CHECK) 277 FILE *fp; 279 if ((fp = fopen(file_name, "rb")) == NULL) 283 void read_png(FILE *fp, unsigned int sig_read) /* File is already open */ 302 fclose(fp); 310 fclose(fp); 324 fclose(fp); 332 png_init_io(png_ptr, fp); [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/pem/ |
H A D | pem_all.c | 166 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, argument 170 pktmp = PEM_read_PrivateKey(fp, NULL, cb, u); 212 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, 216 pktmp = PEM_read_PrivateKey(fp, NULL, cb, u); 263 EC_KEY *PEM_read_ECPrivateKey(FILE *fp, EC_KEY **eckey, pem_password_cb *cb, 267 pktmp = PEM_read_PrivateKey(fp, NULL, cb, u);
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
H A D | pem.h | 218 OPENSSL_EXPORT type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\ 220 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 224 OPENSSL_EXPORT int PEM_write_##name(FILE *fp, type *x) \ 226 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 230 OPENSSL_EXPORT int PEM_write_##name(FILE *fp, const type *x) \ 232 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \ 236 OPENSSL_EXPORT int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \ 240 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 244 OPENSSL_EXPORT int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \ 248 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp, [all...] |
/external/clang/test/Sema/ |
H A D | format-strings-scanf.c | 96 void test_alloc_extension(char **sp, wchar_t **lsp, float *fp) { argument 114 scanf("%ms", fp); // expected-warning{{format specifies type 'char **' but the argument has type 'float *'}} 115 scanf("%mS", fp); // expected-warning-re{{format specifies type 'wchar_t **' (aka '{{[^']+}}') but the argument has type 'float *'}} 116 scanf("%mc", fp); // expected-warning{{format specifies type 'char **' but the argument has type 'float *'}} 117 scanf("%mC", fp); // expected-warning-re{{format specifies type 'wchar_t **' (aka '{{[^']+}}') but the argument has type 'float *'}} 118 scanf("%m[abc]", fp); // expected-warning{{format specifies type 'char **' but the argument has type 'float *'}}
|
/external/clang/test/SemaCXX/ |
H A D | addr-of-overloaded-function.cpp | 16 void g(int (*fp)(int)); // expected-note{{candidate function}} 17 void g(int (*fp)(float)); 18 void g(int (*fp)(double)); // expected-note{{candidate function}} 40 void ha(int (*fp)(int)); 41 void hb(int (*fp)(double)); 71 int (&fp)() = f; // expected-error{{address of overloaded function 'f' does not match required type 'int ()'}}
|
/external/iproute2/tc/ |
H A D | tc_core.c | 186 FILE *fp; local 191 fp = fopen("/proc/net/psched", "r"); 192 if (fp == NULL) 195 if (fscanf(fp, "%08x%08x%08x", &t2us, &us2t, &clock_res) != 3) { 196 fclose(fp); 199 fclose(fp);
|