/external/libpcap/ |
H A D | pcap-septel.c | 49 static int septel_setfilter(pcap_t *p, struct bpf_program *fp); 277 static int septel_setfilter(pcap_t *p, struct bpf_program *fp) { argument 280 if (!fp) { 288 if (install_bpf_program(p, fp) < 0) {
|
/external/libpng/contrib/libtests/ |
H A D | timepng.c | 38 static int read_png(FILE *fp) argument 55 png_init_io(png_ptr, fp); 111 static int perform_one_test(FILE *fp, int nfiles) argument 117 rewind(fp); 123 if (read_png(fp)) 125 if (ferror(fp)) 181 static int add_one_file(FILE *fp, char *name) argument 192 putc(ch, fp); 204 if (ferror(fp)) 225 FILE *fp local [all...] |
/external/libsepol/src/ |
H A D | genusers.c | 37 FILE *fp; local 46 fp = fopen(path, "r"); 47 if (fp == NULL) 56 while(fgets(buffer, 255, fp) != NULL) { 58 __fsetlocking(fp, FSETLOCKING_BYCALLER); 59 while ((nread = getline(&buffer, &len, fp)) > 0) { 98 fclose(fp); 108 fclose(fp); 121 fclose(fp); 177 fclose(fp); [all...] |
H A D | policydb_public.c | 32 void sepol_policy_file_set_fp(sepol_policy_file_t * spf, FILE * fp) argument 36 pf->fp = fp;
|
/external/libvpx/libvpx/ |
H A D | args.c | 103 void arg_show_usage(FILE *fp, const struct arg_def *const *defs) { argument 124 fprintf(fp, " %-37s\t%s\n", option_text, def->desc); 129 fprintf(fp, " %-37s\t ", ""); 132 fprintf(fp, "%s%s", listptr->name,
|
/external/libvpx/libvpx/third_party/nestegg/test/ |
H A D | test.c | 21 FILE * fp = file; local 23 r = fread(p, length, 1, fp); 24 if (r == 0 && feof(fp)) 32 FILE * fp = file; local 33 return fseek(fp, offset, whence); 37 stdio_tell(void * fp) argument 39 return ftell(fp); 79 FILE * fp; local 100 fp = fopen(argv[1], "rb"); 101 if (!fp) [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/ |
H A D | scripts.c | 114 FILE *fp; local 151 fp = popen(cmd, "r"); 152 if (!fp) 155 while ((retlen = getline(&line, &len, fp)) != -1) { 178 pclose(fp);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | cgroup.c | 13 FILE *fp; local 18 fp = fopen("/proc/mounts", "r"); 19 if (!fp) 27 while (fscanf(fp, "%*s %"STR(PATH_MAX)"s %"STR(PATH_MAX)"s %" 46 fclose(fp);
|
H A D | strlist.c | 71 FILE *fp = fopen(filename, "r"); local 73 if (fp == NULL) 76 while (fgets(entry, sizeof(entry), fp) != NULL) { 90 fclose(fp);
|
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/lldb/source/Plugins/Process/Utility/ |
H A D | UnwindMacOSXFrameBackchain.cpp | 64 if (m_cursors[idx].fp == LLDB_INVALID_ADDRESS) 68 cfa = m_cursors[idx].fp; 101 uint32_t fp; member in struct:Frame_i386 110 cursor.fp = reg_ctx->GetFP (0); 112 Frame_i386 frame = { static_cast<uint32_t>(cursor.fp), static_cast<uint32_t>(cursor.pc) }; 118 while (frame.fp != 0 && frame.pc != 0 && ((frame.fp & 7) == 0)) 121 if (process->ReadMemory (frame.fp, &frame.fp, k_frame_size, error) != k_frame_size) 126 cursor.fp 200 uint64_t fp; member in struct:Frame_x86_64 [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_test_main.c | 47 dump_type(FILE *fp, argument 50 fprintf(fp, "%s%s%u%sx%u", 284 dump_vec(FILE *fp, struct lp_type type, const void *src) argument 289 fprintf(fp, " "); 303 fprintf(fp, "%f", value); 331 fprintf(fp, format, value); 358 fprintf(fp, format, value); 368 FILE *fp = NULL; local 380 fp = fopen(argv[++i], "wt"); 396 if(fp) { [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
H A D | nvc0_program.h | 48 } fp; member in struct:nvc0_program
|
/external/mesa3d/src/glsl/ |
H A D | main.cpp | 70 FILE *fp = fopen(file_name, "rb"); local 72 if (!fp) { 76 fseek(fp, 0L, SEEK_END); 77 size = ftell(fp); 78 fseek(fp, 0L, SEEK_SET); 84 1, size - total_read, fp); 101 fclose(fp);
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_pixeltransfer.c | 146 struct gl_fragment_program *fp; local 150 fp = (struct gl_fragment_program *) 152 if (!fp) 170 fp->Base.InputsRead = BITFIELD64_BIT(FRAG_ATTRIB_TEX0); 171 fp->Base.OutputsWritten = BITFIELD64_BIT(FRAG_RESULT_COLOR); 172 fp->Base.SamplersUsed = 0x1; /* sampler 0 (bit 0) is used */ 248 fp->Base.SamplersUsed |= (1 << 1); /* sampler 1 is used */ 266 fp->Base.Instructions = _mesa_alloc_instructions(ic); 267 if (!fp->Base.Instructions) { 274 _mesa_copy_instructions(fp 297 struct gl_fragment_program *fp; local [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_fragprog.c | 43 struct gl_fragment_program *fp = ctx->FragmentProgram._Current; local 44 return fp && !(fp == ctx->FragmentProgram._TexEnvProgram 45 && fp->Base.NumInstructions == 0);
|
/external/openssl/crypto/bio/ |
H A D | bf_buff.c | 71 static long buffer_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp); 442 static long buffer_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) argument 450 ret=BIO_callback_ctrl(b->next_bio,cmd,fp);
|
H A D | bf_lbuf.c | 72 static long linebuffer_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp); 373 static long linebuffer_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) argument 381 ret=BIO_callback_ctrl(b->next_bio,cmd,fp);
|
H A D | bf_nbio.c | 75 static long nbiof_callback_ctrl(BIO *h,int cmd,bio_info_cb *fp); 226 static long nbiof_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) argument 234 ret=BIO_callback_ctrl(b->next_bio,cmd,fp);
|
/external/openssl/crypto/bn/ |
H A D | bn_print.c | 320 int BN_print_fp(FILE *fp, const BIGNUM *a) argument 327 BIO_set_fp(b,fp,BIO_NOCLOSE);
|
/external/openssl/crypto/conf/ |
H A D | conf_lib.c | 114 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, 119 if(!(btmp = BIO_new_fp(fp, BIO_NOCLOSE))) { 277 int NCONF_load_fp(CONF *conf, FILE *fp,long *eline) argument 281 if(!(btmp = BIO_new_fp(fp, BIO_NOCLOSE)))
|
/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/openssl/crypto/evp/ |
H A D | bio_md.c | 75 static long md_callback_ctrl(BIO *h,int cmd,bio_info_cb *fp); 238 static long md_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) argument 246 ret=BIO_callback_ctrl(b->next_bio,cmd,fp);
|
/external/openssl/crypto/pem/ |
H A D | pem_all.c | 186 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, argument 190 pktmp = PEM_read_PrivateKey(fp, NULL, cb, u); 221 int PEM_write_RSAPrivateKey(FILE *fp, RSA *x, const EVP_CIPHER *enc, argument 235 ret = PEM_write_PrivateKey(fp, k, enc, kstr, klen, cb, u); 241 PEM_STRING_RSA,fp,x,enc,kstr,klen,cb,u); 305 int PEM_write_DSAPrivateKey(FILE *fp, DSA *x, const EVP_CIPHER *enc, argument 317 ret = PEM_write_PrivateKey(fp, k, enc, kstr, klen, cb, u); 323 PEM_STRING_DSA,fp,x,enc,kstr,klen,cb,u); 337 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, 341 pktmp = PEM_read_PrivateKey(fp, NUL 406 PEM_write_ECPrivateKey(FILE *fp, EC_KEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument [all...] |
/external/openssl/crypto/x509v3/ |
H A D | v3_addr.c | 1273 IPAddressFamily *fp = sk_IPAddressFamily_value(x->rfc3779_addr, k); local 1274 if (fp == NULL) { 1281 if (fp->ipAddressChoice->type == IPAddressChoice_addressesOrRanges) { 1283 addr_contains(fp->ipAddressChoice->u.addressesOrRanges, 1286 sk_IPAddressFamily_set(child, j, fp); 1299 IPAddressFamily *fp = sk_IPAddressFamily_value(x->rfc3779_addr, j); local 1300 if (fp->ipAddressChoice->type == IPAddressChoice_inherit && 1301 sk_IPAddressFamily_find(child, fp) >= 0)
|