/external/mesa3d/src/glsl/glcpp/ |
H A D | glcpp.c | 41 /* Read from fp until EOF and return a string of everything read. 44 load_text_fp (void *ctx, FILE *fp) argument 61 bytes = fread (text + total_read, 1, CHUNK, fp); 78 FILE *fp; local 83 fp = fopen (filename, "r"); 84 if (fp == NULL) { 90 text = load_text_fp (ctx, fp); 92 fclose(fp);
|
/external/selinux/policycoreutils/semodule_package/ |
H A D | semodule_unpackage.c | 45 FILE *fp; local 88 fp = fopen(fcfile, "w"); 89 if (!fp) { 94 if (fwrite(fcdata, 1, len, fp) != len) { 98 fclose(fp);
|
/external/tcpdump/ |
H A D | print-ap1394.c | 54 register const struct firewire_header *fp; local 57 fp = (const struct firewire_header *)bp; 60 linkaddr_string(ndo, fp->firewire_dhost, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN), 61 linkaddr_string(ndo, fp->firewire_shost, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN))); 63 firewire_type = EXTRACT_16BITS(&fp->firewire_type); 86 struct firewire_header *fp; local 99 fp = (struct firewire_header *)p; 102 ether_type = EXTRACT_16BITS(&fp->firewire_type); 106 ap1394_hdr_print(ndo, (u_char *)fp, length + FIREWIRE_HDRLEN);
|
/external/toybox/toys/other/ |
H A D | xxd.c | 76 FILE *fp = xfdopen(fd, "r"); local 78 while (!feof(fp)) { 86 if (fscanf(fp, "%llx: ", &pos) == 1) { 101 if ((n1 = n2 = dehex(fgetc(fp))) < 0 || (n2 = dehex(fgetc(fp))) < 0) { 112 tmp = fgetc(fp); 113 if (tmp != ' ') ungetc(tmp, fp); 117 while ((tmp = fgetc(fp)) != EOF && tmp != '\n') 120 if (ferror(fp)) perror_msg_raw(name); 122 fclose(fp); [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
H A D | NETEQTEST_DummyRTPpacket.cc | 23 int NETEQTEST_DummyRTPpacket::readFromFile(FILE *fp) argument 25 if (!fp) 37 if (fread(&length, 2, 1, fp) == 0) 44 if (fread(&plen, 2, 1, fp) == 0) 51 if (fread(&offset, 4, 1, fp) == 0) 84 if (fread((unsigned short *) _datagram, 1, _kBasicHeaderLen, fp) 106 if (fread(&_datagram[_kBasicHeaderLen], 1, readLen, fp) != readLen) 120 if (fread(&_datagram[newLen], 1, readLen, fp) != readLen) 143 int NETEQTEST_DummyRTPpacket::writeToFile(FILE *fp) argument 145 if (!fp) [all...] |
/external/blktrace/ |
H A D | blkiomon.h | 99 static inline void blkiomon_stat_print(FILE *fp, struct blkiomon_stat *p) argument 101 if (!fp) 104 fprintf(fp, "\ntime: %s", ctime((void *)&p->time)); 105 fprintf(fp, "device: %d,%d\n", MAJOR(p->device), MINOR(p->device)); 106 minmax_print(fp, "sizes read (bytes)", &p->size_r); 107 minmax_print(fp, "sizes write (bytes)", &p->size_w); 108 minmax_print(fp, "d2c read (usec)", &p->d2c_r); 109 minmax_print(fp, "d2c write (usec)", &p->d2c_w); 110 minmax_print(fp, "throughput read (bytes/msec)", &p->thrput_r); 111 minmax_print(fp, "throughpu [all...] |
/external/blktrace/btt/ |
H A D | q2d.c | 69 void q2d_display_header(FILE *fp) argument 71 fprintf(fp, "%5s ", "<.005"); 72 fprintf(fp, "%5s ", "<.010"); 73 fprintf(fp, "%5s ", "<.025"); 74 fprintf(fp, "%5s ", "<.050"); 75 fprintf(fp, "%5s ", "<.075"); 76 fprintf(fp, "%5s ", "<.100"); 77 fprintf(fp, "%5s ", "<.250"); 78 fprintf(fp, "%5s ", "<.500"); 79 fprintf(fp, " 83 q2d_display_dashes(FILE *fp) argument 92 q2d_display(FILE *fp, void *priv) argument [all...] |
H A D | unplug_hist.c | 67 FILE *fp; local 74 if ((fp = my_fopen(oname, "w")) != NULL) { 78 fprintf(fp, "%d %d\n", i, hbp->hist[i]); 79 fclose(fp);
|
/external/boringssl/src/crypto/pem/ |
H A D | pem_pk8.c | 185 int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, argument 189 return do_pk8pkey_fp(fp, x, 1, -1, enc, kstr, klen, cb, u); 192 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, argument 196 return do_pk8pkey_fp(fp, x, 1, nid, NULL, kstr, klen, cb, u); 199 int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, argument 203 return do_pk8pkey_fp(fp, x, 0, nid, NULL, kstr, klen, cb, u); 206 int PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, argument 209 return do_pk8pkey_fp(fp, x, 0, -1, enc, kstr, klen, cb, u); 212 static int do_pk8pkey_fp(FILE *fp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, argument 218 if(!(bp = BIO_new_fp(fp, BIO_NOCLOS 227 d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument [all...] |
/external/boringssl/src/crypto/x509/ |
H A D | t_req.c | 67 int X509_REQ_print_fp(FILE *fp, X509_REQ *x) { argument 74 BIO_set_fp(bio, fp, BIO_NOCLOSE);
|
/external/boringssl/src/crypto/x509v3/ |
H A D | v3_prn.c | 198 int X509V3_EXT_print_fp(FILE *fp, X509_EXTENSION *ext, int flag, int indent) argument 202 if(!(bio_tmp = BIO_new_fp(fp, BIO_NOCLOSE))) return 0;
|
/external/bsdiff/ |
H A D | test_utils.cc | 55 FILE* fp = fopen(path.c_str(), "r"); local 56 if (!fp) 62 size_t bytes_read = fread(buf, 1, sizeof(buf), fp); 67 bool result = !ferror(fp); 68 fclose(fp); 73 FILE* fp = fopen(path.c_str(), "r"); local 74 if (!fp) 76 size_t written = fwrite(contents.data(), 1, contents.size(), fp); 77 bool result = written == contents.size() && !ferror(fp); 78 fclose(fp); [all...] |
/external/clang/test/Analysis/ |
H A D | stream.c | 10 extern int fclose(FILE *fp); 77 void pr7831(FILE *fp) { argument 78 fclose(fp); // no-warning
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
H A D | p1-0x.cpp | 35 void test_simple_deduction(int *ip, float *fp, double *dp) { argument 37 int *ip2 = first_arg(ip, fp); 38 int *ip3 = first_arg(ip, fp, dp); 48 void test_simple_ref_deduction(int *ip, float *fp, double *dp) { argument 50 int *ip2 = first_arg_ref(ip, fp); 51 int *ip3 = first_arg_ref(ip, fp, dp); 63 void test_pair_deduction(int *ip, float *fp, double *dp) { argument 65 int *ip2 = first_arg_pair(make_pair(ip, 17), make_pair(fp, 17)); 66 int *ip3 = first_arg_pair(make_pair(ip, 17), make_pair(fp, 17), 68 float *fp1 = second_arg_pair(make_pair(ip, 17), make_pair(fp, 1 [all...] |
/external/clang/test/Modules/ |
H A D | macros.c | 127 TOP_RIGHT_REDEF *fp = &f; // ok, right's definition overrides top's definition local
|
/external/clang/test/SemaCXX/ |
H A D | copy-initialization.cpp | 14 void f(Y y, int *ip, float *fp) { argument 18 X x4 = fp; // expected-error{{no viable conversion}} 21 X x4a(fp);
|
/external/clang/test/SemaTemplate/ |
H A D | temp_func_order.cpp | 49 void test_f3(int i, int *ip, float *fp) { argument 51 float &fr = f3(i, fp);
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
H A D | LMpar.h | 37 Scalar fp; local 75 fp = dxnorm - m_delta; 76 if (fp <= Scalar(0.1) * m_delta) { 89 parl = fp / m_delta / temp / temp; 122 temp = fp; 123 fp = dxnorm - m_delta; 128 if (abs(fp) <= Scalar(0.1) * m_delta || (parl == 0. && fp <= temp && temp < 0.) || iter == 10) 141 parc = fp / m_delta / temp / temp; 144 if (fp > [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
H A D | gtest-filepath_test.cc | 612 FilePath fp; local 613 EXPECT_STREQ("", fp.c_str()); 617 const FilePath fp("spicy"); 618 EXPECT_STREQ("spicy", fp.c_str()); 620 const FilePath fp_copy(fp); 625 const FilePath fp(String("cider")); 626 EXPECT_STREQ("cider", fp.c_str());
|
/external/icu/icu4c/source/i18n/unicode/ |
H A D | dtptngen.h | 505 FormatParser *fp; member in class:DateTimePatternGenerator
|
/external/iproute2/ip/ |
H A D | ipnetconf.c | 46 FILE *fp = (FILE*)arg; local 73 fprintf(fp, "ipv4 "); 76 fprintf(fp, "ipv6 "); 79 fprintf(fp, "unknown "); 88 fprintf(fp, "all "); 91 fprintf(fp, "default "); 94 fprintf(fp, "dev %s ", ll_index_to_name(*ifindex)); 100 fprintf(fp, "forwarding %s ", 106 fprintf(fp, "rp_filter off "); 108 fprintf(fp, "rp_filte [all...] |
H A D | iptoken.c | 33 FILE *fp; member in struct:rtnl_dump_args 48 FILE *fp = args->fp; local 82 fprintf(fp, "token %s ", 87 fprintf(fp, "dev %s ", ll_index_to_name(ifi->ifi_index)); 88 fprintf(fp, "\n"); 89 fflush(fp); 100 da.fp = stdout;
|
H A D | rtmon.c | 31 static void write_stamp(FILE *fp) argument 45 fwrite((void*)n1, 1, NLMSG_ALIGN(n1->nlmsg_len), fp); 51 FILE *fp = (FILE*)arg; local 53 write_stamp(fp); 54 fwrite((void*)n, 1, NLMSG_ALIGN(n->nlmsg_len), fp); 55 fflush(fp); 75 FILE *fp; local 156 fp = fopen(file, "w"); 157 if (fp == NULL) { 170 write_stamp(fp); [all...] |
/external/iproute2/lib/ |
H A D | names.c | 22 static int read_id_name(FILE *fp, int *id, char *name) argument 27 while (fgets(buf, sizeof(buf), fp)) { 73 FILE *fp; local 78 fp = fopen(path, "r"); 79 if (!fp) 82 while ((ret = read_id_name(fp, &id, &namebuf[0]))) { 110 fclose(fp);
|
/external/iproute2/misc/ |
H A D | lnstat.h | 32 FILE *fp; member in struct:lnstat_file
|