/external/ppp/pppd/plugins/radius/ |
H A D | radattr.c | 69 FILE *fp; local 76 fp = fopen(fname, "w"); 77 if (!fp) { 86 fprintf(fp, "%s %s\n", name, value); 89 fclose(fp);
|
/external/srec/srec/include/ |
H A D | portable.h | 57 PFile* fp; local 60 fp = pfopen ( name, mode ); 62 if (fp == NULL) 72 fp = NULL; 74 return fp;
|
/external/dhcpcd/ |
H A D | platform-linux.c | 78 FILE *fp; local 86 fp = fopen("/proc/cpuinfo", "r"); 87 if (fp == NULL) 91 while ((buf = get_line(fp))) { 101 fclose(fp); 111 FILE *fp; local 114 fp = fopen(path, "r"); 115 if (fp == NULL) 117 buf = get_line(fp); 118 fclose(fp); [all...] |
/external/libselinux/src/ |
H A D | init.c | 30 FILE *fp=NULL; local 52 fp = fopen("/proc/filesystems", "r"); 53 if (!fp) 56 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 66 fclose(fp); 70 fp = fopen("/proc/mounts", "r"); 71 if (!fp) 74 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 94 if (fp) 95 fclose(fp); [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | plainrsa-gen.c | 119 gen_rsa_key(FILE *fp, size_t bits, unsigned long exp) argument 136 fprintf(fp, "# : PUB 0s%s\n", pubkey64->v); 137 fprintf(fp, ": RSA\t{\n"); 138 fprintf(fp, "\t# RSA %zu bits\n", bits); 139 fprintf(fp, "\t# pubkey=0s%s\n", pubkey64->v); 140 fprintf(fp, "\tModulus: 0x%s\n", lowercase(BN_bn2hex(key->n))); 141 fprintf(fp, "\tPublicExponent: 0x%s\n", lowercase(BN_bn2hex(key->e))); 142 fprintf(fp, "\tPrivateExponent: 0x%s\n", lowercase(BN_bn2hex(key->d))); 143 fprintf(fp, "\tPrime1: 0x%s\n", lowercase(BN_bn2hex(key->p))); 144 fprintf(fp, "\tPrime 158 FILE *fp = stdout; local [all...] |
/external/iproute2/ip/ |
H A D | ipntable.c | 354 FILE *fp = (FILE*)arg; local 400 fprintf(fp, "inet "); 402 fprintf(fp, "inet6 "); 404 fprintf(fp, "dnet "); 406 fprintf(fp, "(%d) ", ndtm->ndtm_family); 410 fprintf(fp, "%s ", name); 413 fprintf(fp, "%s", _SL_); 418 fprintf(fp, " "); 422 fprintf(fp, "thresh1 %u ", thresh1); 426 fprintf(fp, "thresh [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/srec/srec/clib/ |
H A D | srec_arb.c | 79 void read_questions(srec_question** pquestions, asr_int16_t num_questions, char **buffer, PFile *fp) argument 88 pfread(&(q->qtype), sizeof(asr_uint16_t), 1, fp); 89 pfread(&(q->membership_bits), sizeof(asr_uint16_t), PSET_BIT_ARRAY_SIZE, fp); 178 tree_node* read_tree_node_f(char **buffer, PFile *fp) argument 181 pfread(&(tnode->node.quest_index), sizeof(asr_int16_t), 1, fp); 182 pfread(&(tnode->term.pelid), sizeof(asr_int16_t), 1, fp); 183 pfread(&(tnode->node.fail), sizeof(tree_branch_info*), 1, fp); 184 pfread(&(tnode->node.pass), sizeof(tree_branch_info*), 1, fp); 192 tnode->node.fail = (struct tree_branch_info*)read_tree_node_f(buffer, fp); 193 tnode->node.pass = (struct tree_branch_info*)read_tree_node_f(buffer, fp); 198 read_phoneme_data(phoneme_data** pdata, asr_int16_t num_phonemes, char **buffer, PFile *fp) argument 236 read_hmminfos(srec_arbdata* allotree, char** buffer, PFile *fp) argument 289 PFile* fp; local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/ |
H A D | UnresolvedPrincipalTest.java | 56 FakePrincipal fp = new FakePrincipal(name); 59 .equals(fp)); 61 .equals(fp)); 63 UnresolvedPrincipal.WILDCARD).equals(fp)); 66 "sdkljfgbkwe").equals(fp)); 86 FakePrincipal fp = new FakePrincipal(name); 88 .implies(fp)); 90 .implies(fp)); 92 UnresolvedPrincipal.WILDCARD).implies(fp)); 94 UnresolvedPrincipal.WILDCARD).implies(fp)); [all...] |
/external/iproute2/genl/ |
H A D | ctrl.c | 115 void print_ctrl_cmd_flags(FILE *fp, __u32 fl) argument 117 fprintf(fp, "\n\t\tCapabilities (0x%x):\n ", fl); 119 fprintf(fp, "\n"); 122 fprintf(fp, "\t\t "); 125 fprintf(fp, " requires admin permission;"); 127 fprintf(fp, " can doit;"); 129 fprintf(fp, " can dumpit;"); 131 fprintf(fp, " has policy"); 133 fprintf(fp, "\n"); 136 static int print_ctrl_cmds(FILE *fp, struc argument 157 print_ctrl_grp(FILE *fp, struct rtattr *arg, __u32 ctrl_ver) argument 187 FILE *fp = (FILE *) arg; local [all...] |
/external/libxml2/ |
H A D | xmlmemory.c | 577 * @fp: a FILE descriptor used as the output file 584 xmlMemContentShow(FILE *fp, MEMHDR *p) argument 590 fprintf(fp, " NULL"); 614 fprintf(fp, " pointer to #%lu at index %d", 621 fprintf(fp," null"); 623 if (buf[i] == 0) fprintf(fp," \"%.25s\"", buf); 625 fprintf(fp," ["); 627 fprintf(fp,"%c", buf[j]); 628 fprintf(fp,"]"); 636 * @fp 645 xmlMemDisplayLast(FILE *fp, long nbBytes) argument 716 xmlMemDisplay(FILE *fp) argument 846 xmlMemShow(FILE *fp, int nr ATTRIBUTE_UNUSED) argument [all...] |
/external/libsepol/src/ |
H A D | write.c | 49 struct policy_file *fp; member in struct:policy_data 53 static int avrule_write_list(avrule_t * avrules, struct policy_file *fp); 55 static int ebitmap_write(ebitmap_t * e, struct policy_file *fp) argument 70 items = put_entry(buf, sizeof(uint32_t), 3, fp); 76 items = put_entry(&bit, sizeof(uint32_t), 1, fp); 80 items = put_entry(&map, sizeof(uint64_t), 1, fp); 100 avtab_ptr_t cur, struct policy_file *fp, 153 ERR(fp->handle, "null entry"); 157 ERR(fp->handle, "entry has both access " 183 ERR(fp 99 avtab_write_item(policydb_t * p, avtab_ptr_t cur, struct policy_file *fp, unsigned merge, unsigned commit, uint32_t * nel) argument 240 avtab_write(struct policydb *p, avtab_t * a, struct policy_file *fp) argument 315 mls_write_semantic_level_helper(mls_semantic_level_t * l, struct policy_file *fp) argument 346 mls_write_semantic_range_helper(mls_semantic_range_t * r, struct policy_file *fp) argument 364 mls_write_level(mls_level_t * l, struct policy_file *fp) argument 384 mls_write_range_helper(mls_range_t * r, struct policy_file *fp) argument 417 struct policy_file *fp = pd->fp; local 445 struct policy_file *fp = pd->fp; local 465 role_trans_write(policydb_t *p, struct policy_file *fp) argument 510 role_allow_write(role_allow_t * r, struct policy_file *fp) argument 533 filename_trans_write(filename_trans_t * r, struct policy_file *fp) argument 569 role_set_write(role_set_t * x, struct policy_file *fp) argument 585 type_set_write(type_set_t * x, struct policy_file *fp) argument 609 struct policy_file *fp = pd->fp; local 646 cond_write_av_list(policydb_t * p, cond_av_list_t * list, struct policy_file *fp) argument 697 cond_write_node(policydb_t * p, cond_node_t * node, struct policy_file *fp) argument 751 cond_write_list(policydb_t * p, cond_list_t * list, struct policy_file *fp) argument 777 context_write(struct policydb *p, context_struct_t * c, struct policy_file *fp) argument 812 struct policy_file *fp = pd->fp; local 837 struct policy_file *fp = pd->fp; local 861 write_cons_helper(policydb_t * p, constraint_node_t * node, int allowxtarget, struct policy_file *fp) argument 917 struct policy_file *fp = pd->fp; local 988 struct policy_file *fp = pd->fp; local 1050 struct policy_file *fp = pd->fp; local 1128 struct policy_file *fp = pd->fp; local 1185 ocontext_write_xen(struct policydb_compat_info *info, policydb_t *p, struct policy_file *fp) argument 1254 ocontext_write_selinux(struct policydb_compat_info *info, policydb_t *p, struct policy_file *fp) argument 1346 ocontext_write(struct policydb_compat_info *info, policydb_t * p, struct policy_file *fp) argument 1361 genfs_write(policydb_t * p, struct policy_file *fp) argument 1410 range_write(policydb_t * p, struct policy_file *fp) argument 1459 avrule_write(avrule_t * avrule, struct policy_file *fp) argument 1504 avrule_write_list(avrule_t * avrules, struct policy_file *fp) argument 1542 role_trans_rule_write(policydb_t *p, role_trans_rule_t * t, struct policy_file *fp) argument 1584 role_allow_rule_write(role_allow_rule_t * r, struct policy_file *fp) argument 1606 filename_trans_rule_write(filename_trans_rule_t * t, struct policy_file *fp) argument 1647 range_trans_rule_write(range_trans_rule_t * t, struct policy_file *fp) argument 1674 scope_index_write(scope_index_t * scope_index, unsigned int num_scope_syms, struct policy_file *fp) argument 1697 avrule_decl_write(avrule_decl_t * decl, int num_scope_syms, policydb_t * p, struct policy_file *fp) argument 1742 avrule_block_write(avrule_block_t * block, int num_scope_syms, policydb_t * p, struct policy_file *fp) argument 1782 struct policy_file *fp = pd->fp; local 1847 policydb_write(policydb_t * p, struct policy_file *fp) argument [all...] |
/external/aac/libSYS/src/ |
H A D | wav_file.cpp | 102 * \wav->fp filepointer of type FILE*. 117 wav->fp = FDKfopen(filename, "rb"); 118 if (wav->fp == NULL) { 124 if (FDKfread(&(wav->header.riffType), 1, 4, wav->fp) != 4) { 134 FDKfread_EL(&(wav->header.riffSize), 4, 1, wav->fp); 137 if (FDKfread(&wav->header.waveType, 1, 4, wav->fp) !=4) { 147 if (FDKfread(&(wav->header.formatType), 1, 4, wav->fp) != 4) { 157 FDKfread_EL(&wav->header.formatSize, 4, 1, wav->fp); /* should be 16 for PCM-format (uncompressed) */ 161 FDKfread_EL(&(wav->header.compressionCode), 2, 1, wav->fp); 162 FDKfread_EL(&(wav->header.numChannels), 2, 1, wav->fp); [all...] |
/external/srec/srec/ca/ |
H A D | syn_srec.c | 104 PFile* fp = NULL; local 116 fp = pfopen ( filename, L("rb") ); 117 /* CHKLOG(rc, PFileSystemCreatePFile(filename, isLittleEndian, &fp)); 118 CHKLOG(rc, PFileOpen(fp, L("rb")));*/ 120 if ( fp == NULL ) 123 result = FST_LoadContextFromImage(&hSyntax->synx, fp); 124 pfclose(fp); 127 if (fp) 128 pfclose (fp); 135 PFile* fp; local 184 PFile* fp; local [all...] |
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
H A D | p13.cpp | 60 typedef void (*fp)(); typedef in namespace:rdar8018262 63 typedef void (*fp)(); typedef in namespace:rdar8018262::N 66 using N::fp; 68 fp fp_1;
|
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
H A D | p9-linkage.cpp | 54 void test_f0(int *ip, float *fp) { argument 58 f0(fp); 61 void test_f1(int *ip, float *fp) { argument 65 f1(fp);
|
H A D | p9.cpp | 51 void test_f0(int *ip, float *fp) { argument 53 f0(fp); // expected-note{{instantiation}} 56 void test_f1(int *ip, float *fp) { argument 58 f1(fp); // expected-note{{instantiation}}
|
/external/clang/test/CodeGenCXX/ |
H A D | mangle-unnameable-conversions.cpp | 13 char (S::*fp)() = S(); // CHECK: @_ZNK1ScvMT0_FT_vEIcS_EEv(
|
/external/dhcpcd/compat/ |
H A D | getline.h | 35 FILE * __restrict fp);
|
/external/icu4c/extra/uconv/unicode/ |
H A D | uwmsg.h | 24 U_CFUNC int u_wmsg(FILE *fp, const char *tag, ... );
|
/external/srec/srec/crec/ |
H A D | comp_stats.c | 68 void dump_comp_stats(COMP_STATS *cs, PFile* fp) argument 75 pfprintf(fp, "***WARNING: clock overrun!\n"); 81 pfprintf(fp, "Total Time %5.2f Seconds\n", cs->total_time); 83 print_cs_clock(&cs->front_end, cs->total_time, fp, "Front end", "Frames"); 84 print_cs_clock(&cs->overall_search, cs->total_time, fp, "Total Search", "Frames"); 85 print_cs_clock(&cs->models, cs->total_time, fp, " Models", "Models"); 86 print_cs_clock(&cs->internal_hmm, cs->total_time, fp, " Internal HMM", "HMMs"); 87 print_cs_clock(&cs->fsm_to_hmm, cs->total_time, fp, " FSM to HMM", "FSM_Nodes"); 88 print_cs_clock(&cs->prune, cs->total_time, fp, " Prune", "HMM States"); 89 print_cs_clock(&cs->hmm_to_fsm, cs->total_time, fp, " HM 98 print_cs_clock(CS_CLOCK *c, float num_seconds, PFile* fp, char *prompt, char *item_name) argument [all...] |
/external/webrtc/src/system_wrappers/source/ |
H A D | cpu_linux.cc | 113 FILE* fp = fopen("/proc/stat", "r"); local 114 if (!fp) 120 if (fgets(line, 100, fp) == NULL) { 121 fclose(fp); 126 fclose(fp); 130 fclose(fp); 139 fclose(fp); 151 if (fgets(line, 100, fp) == NULL) { 152 fclose(fp); 157 fclose(fp); 173 FILE* fp = fopen("/proc/stat", "r"); local [all...] |
/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); 62 void test_pair_deduction(int *ip, float *fp, double *dp) { argument 64 int *ip2 = first_arg_pair(make_pair(ip, 17), make_pair(fp, 17)); 65 int *ip3 = first_arg_pair(make_pair(ip, 17), make_pair(fp, 17), 67 float *fp1 = second_arg_pair(make_pair(ip, 17), make_pair(fp, 1 [all...] |
/external/clang/test/CXX/except/except.spec/ |
H A D | p2-places.cpp | 13 void (*fp)() throw (int); member in namespace:dyn 48 void (*fp)() noexcept(false);
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
H A D | p1inst.cpp | 14 void test_f(X0<float, int> xfi, X0<void, int> xvi, float *fp, void *vp, int i) { argument 15 xfi.f(fp, i);
|