/external/linux-tools-perf/util/ |
values.c | 129 static void perf_read_values__display_pretty(FILE *fp, 159 fprintf(fp, "# %*s %*s", pidwidth, "PID", tidwidth, "TID"); 161 fprintf(fp, " %*s", counterwidth[j], values->countername[j]); 162 fprintf(fp, "\n"); 165 fprintf(fp, " %*d %*d", pidwidth, values->pid[i], 168 fprintf(fp, " %*" PRIu64, 170 fprintf(fp, "\n"); 175 static void perf_read_values__display_raw(FILE *fp, 211 fprintf(fp, "# %*s %*s %*s %*s %*s\n", 217 fprintf(fp, " %*d %*d %*s %*" PRIx64 " %*" PRIu64 [all...] |
/external/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/srec/seti/sltsEngine/src/ |
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) 174 PORT_FREAD_INT16((uint16 *)&v, sizeof(int), 1, fp); 839 PORT_FILE *fp; local [all...] |
/hardware/qcom/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...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/ |
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, 0)), int>::value), "") [all...] |
/external/libpng/ |
example.c | 58 int check_if_png(char *file_name, FILE **fp) 63 if ((*fp = fopen(file_name, "rb")) == NULL) 67 if (fread(buf, 1, PNG_BYTES_TO_CHECK, *fp) != PNG_BYTES_TO_CHECK) 90 FILE *fp; 92 if ((fp = fopen(file_name, "rb")) == NULL) 96 void read_png(FILE *fp, unsigned int sig_read) /* File is already open */ 115 fclose(fp); 123 fclose(fp); 137 fclose(fp); 145 png_init_io(png_ptr, fp); [all...] |
/frameworks/base/core/jni/ |
android_os_Debug.cpp | 218 static void read_mapinfo(FILE *fp, stats_t* stats) 243 if(fgets(line, sizeof(line), fp) == 0) return; 350 if (fgets(line, 1024, fp) == 0) { 414 FILE *fp; local 417 fp = fopen(tmp, "r"); 418 if (fp == 0) return; 420 read_mapinfo(fp, stats); 421 fclose(fp); 497 FILE *fp; local 505 fp = fopen(tmp, "r") 665 FILE* fp = fopen(BINDER_STATS, "r"); local 873 FILE* fp = fdopen(fd, "w"); local [all...] |
/external/iproute2/ip/ |
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, "from 0/%u ", r->rtm_src_len) [all...] |
/build/tools/zipalign/ |
ZipEntry.cpp | 39 status_t ZipEntry::initFromCDE(FILE* fp) 48 result = mCDE.read(fp); 57 posn = ftell(fp); 58 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { 64 result = mLFH.read(fp); 70 if (fseek(fp, posn, SEEK_SET) != 0) 399 * On entry, "fp" points to the signature at the start of the header. 400 * On exit, "fp" points to the start of data. 402 status_t ZipEntry::LocalFileHeader::read(FILE* fp) 410 if (fread(buf, 1, kLFHLen, fp) != kLFHLen) [all...] |
/dalvik/vm/mterp/armv5te/ |
OP_MUL_LONG.S | 24 add r2, rFP, r2, lsl #2 @ r2<- &fp[BB] 25 add r3, rFP, r3, lsl #2 @ r3<- &fp[CC] 33 add r0, rFP, r0, lsl #2 @ r0<- &fp[AA]
|
/dalvik/vm/mterp/armv6t2/ |
OP_IGET_WIDE.S | 14 GET_VREG(r9, r0) @ r9<- fp[B], the object pointer 39 add r3, rFP, r2, lsl #2 @ r3<- &fp[A] 41 stmia r3, {r0-r1} @ fp[A]<- r0/r1
|
/dalvik/vm/mterp/mips/ |
OP_MUL_LONG.S | 17 EAS2(t0, rFP, t0) # t0 <- &fp[BB] 20 EAS2(t1, rFP, t1) # t0 <- &fp[CC] 32 EAS2(a0, rFP, a0) # a0 <- &fp[A]
|
binflopWide.S | 20 EAS2(rOBJ, rFP, rOBJ) # s5 <- &fp[AA] 21 EAS2(a2, rFP, a2) # a2 <- &fp[BB] 22 EAS2(t1, rFP, a3) # a3 <- &fp[CC]
|
/external/chromium_org/build/android/pylib/ |
ports.py | 32 with open(constants.TEST_SERVER_PORT_FILE, 'w') as fp: 33 fp.write('%d' % constants.TEST_SERVER_PORT_FIRST) 57 with open(constants.TEST_SERVER_PORT_FILE, 'r+') as fp: 58 port = int(fp.read()) 67 fp.seek(0, os.SEEK_SET) 68 fp.write('%d' % (port + 1))
|
/external/chromium_org/chrome/test/pyautolib/chromeos/ |
suid_actions.py | 124 with open('/sys/class/net/%s/operstate' % iface, 'r') as fp: 125 if 'up' in fp.read(): 134 with open('/sys/class/net/%s/address' % eth_iface) as fp: 135 mac_address = fp.read().strip() 145 with open(TEMP_BACKCHANNEL_FILE, 'r') as fp: 146 eth_iface, mac_address = fp.read().split(',')
|
/external/chromium_org/third_party/openssl/openssl/crypto/bio/ |
b_dump.c | 161 static int write_fp(const void *data, size_t len, void *fp) 163 return UP_fwrite(data, len, 1, fp); 165 int BIO_dump_fp(FILE *fp, const char *s, int len) 167 return BIO_dump_cb(write_fp, fp, s, len); 169 int BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent) 171 return BIO_dump_indent_cb(write_fp, fp, s, len, indent);
|
/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
pem.h | 223 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\ 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 229 int PEM_write_##name(FILE *fp, type *x) \ 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 235 int PEM_write_##name(FILE *fp, const type *x) \ 237 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \ 241 int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \ 245 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 249 int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \ 253 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); [all...] |
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
pem.h | 223 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\ 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 229 int PEM_write_##name(FILE *fp, type *x) \ 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 235 int PEM_write_##name(FILE *fp, const type *x) \ 237 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \ 241 int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \ 245 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 249 int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \ 253 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); [all...] |
/external/clang/test/Sema/ |
format-strings-scanf.c | 91 void test_alloc_extension(char **sp, wchar_t **lsp, float *fp) { 109 scanf("%ms", fp); // expected-warning{{format specifies type 'char **' but the argument has type 'float *'}} 110 scanf("%mS", fp); // expected-warning-re{{format specifies type 'wchar_t \*\*' \(aka '[^']+'\) but the argument has type 'float \*'}} 111 scanf("%mc", fp); // expected-warning{{format specifies type 'char **' but the argument has type 'float *'}} 112 scanf("%mC", fp); // expected-warning-re{{format specifies type 'wchar_t \*\*' \(aka '[^']+'\) but the argument has type 'float \*'}} 113 scanf("%m[abc]", fp); // expected-warning{{format specifies type 'char **' but the argument has type 'float *'}}
|
/external/clang/test/SemaCXX/ |
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/ |
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);
|
/external/openssh/ |
auth2-hostbased.c | 147 char *fp; local 199 fp = key_fingerprint(key->cert->signature_key, 203 key_type(key->cert->signature_key), fp, 206 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); 208 key_type(key), fp, cuser, lookup); 210 xfree(fp);
|
/external/openssl/crypto/bio/ |
b_dump.c | 161 static int write_fp(const void *data, size_t len, void *fp) 163 return UP_fwrite(data, len, 1, fp); 165 int BIO_dump_fp(FILE *fp, const char *s, int len) 167 return BIO_dump_cb(write_fp, fp, s, len); 169 int BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent) 171 return BIO_dump_indent_cb(write_fp, fp, s, len, indent);
|
/external/openssl/crypto/pem/ |
pem.h | 223 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\ 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 229 int PEM_write_##name(FILE *fp, type *x) \ 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 235 int PEM_write_##name(FILE *fp, const type *x) \ 237 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \ 241 int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \ 245 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 249 int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \ 253 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); [all...] |
/external/openssl/include/openssl/ |
pem.h | 223 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\ 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 229 int PEM_write_##name(FILE *fp, type *x) \ 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 235 int PEM_write_##name(FILE *fp, const type *x) \ 237 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \ 241 int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \ 245 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 249 int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \ 253 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); [all...] |