/external/chromium/base/ |
process_util_linux.cc | 208 FILE *fp = fopen(buf, "r"); local 209 if (!fp) 211 const char* result = fgets(buf, sizeof(buf), fp); 212 fclose(fp);
|
process_util_unittest.cc | 67 FILE *fp; local 70 fp = fopen(filename, "r"); 71 } while (!fp); 72 fclose(fp); 77 FILE *fp = fopen(filename, "w"); local 78 fclose(fp);
|
/external/chromium/testing/gmock/test/ |
gmock-generated-actions_test.cc | 659 function_type* fp = &Dummy; local 660 return (*fp)(true); [all...] |
/external/icu4c/test/cintltst/ |
cdattst.c | 422 UFieldPosition fp; local 484 fp.field = UDAT_MINUTE_FIELD; 488 udat_format(fmtRelDateTime, dateToUse, strDateTime, kDateAndTimeOutMax, &fp, &status); 512 if ( fp.beginIndex != beginIndex ) { 513 log_err("UFieldPosition beginIndex %d, expected %d, in udat_format timeStyle SHORT dateStyle (%d | UDAT_RELATIVE)\n", fp.beginIndex, beginIndex, *stylePtr ); [all...] |
/external/iproute2/ip/ |
ipaddress.c | 85 void print_link_flags(FILE *fp, unsigned flags, unsigned mdown) 87 fprintf(fp, "<"); 89 fprintf(fp, "NO-CARRIER%s", flags ? "," : ""); 93 fprintf(fp, #f "%s", flags ? "," : ""); } 114 fprintf(fp, "%x", flags); 116 fprintf(fp, ",M-DOWN"); 117 fprintf(fp, "> "); 155 static void print_linktype(FILE *fp, struct rtattr *tb) 167 fprintf(fp, "%s", _SL_); 168 fprintf(fp, " %s ", kind) 223 FILE *fp = (FILE*)arg; local 452 FILE *fp = (FILE*)arg; local [all...] |
iproute.c | 120 FILE *fp = (FILE*)arg; local 295 fprintf(fp, "Deleted "); 297 fprintf(fp, "%s ", rtnl_rtntype_n2a(r->rtm_type, b1, sizeof(b1))); 301 fprintf(fp, "%s/%u ", rt_addr_n2a(r->rtm_family, 308 fprintf(fp, "%s ", format_host(r->rtm_family, 315 fprintf(fp, "0/%d ", r->rtm_dst_len); 317 fprintf(fp, "default "); 321 fprintf(fp, "from %s/%u ", rt_addr_n2a(r->rtm_family, 328 fprintf(fp, "from %s ", format_host(r->rtm_family, 335 fprintf(fp, "from 0/%u ", r->rtm_src_len) [all...] |
/external/iproute2/misc/ |
arpd.c | 125 FILE *fp; local 129 if ((fp = fopen(buf, "w")) != NULL) { 134 fputs(buf, fp); 135 fclose(fp); 140 if ((fp = fopen(buf, "w")) != NULL) { 142 fputs(buf, fp); 143 fclose(fp); 158 FILE *fp; local 162 if ((fp = fopen(buf, "w")) != NULL) { 164 fputs(buf, fp); 678 FILE *fp; local [all...] |
/external/iptables/iptables/ |
xtoptions.c | 1063 FILE *fp; local 1067 fp = fopen(file, "re"); 1068 if (fp == NULL) 1071 while (fgets(buf, sizeof(buf), fp) != NULL) { 1123 fclose(fp);
|
/external/libppp/src/ |
ip.c | 226 const struct filterent *fp = filter->rule; local 232 if (fp->f_action == A_NONE) 283 if (fp->f_action == A_NONE) { 285 fp++; 296 if ((ncprange_family(&fp->f_src) == AF_UNSPEC || 297 ncprange_contains(&fp->f_src, &srcaddr)) && 298 (ncprange_family(&fp->f_dst) == AF_UNSPEC || 299 ncprange_contains(&fp->f_dst, &dstaddr))) { 300 if (fp->f_proto != 0) { 410 if (fp->f_srcop != OP_NONE) [all...] |
ipcp.c | 286 FILE *fp; local 301 if ((fp = ID0fopen(_PATH_RESCONF, "w")) != NULL) { 304 fputs(ipcp->ns.resolv_nons, fp); 307 fprintf(fp, "\nnameserver %s\n", paddr); 313 fprintf(fp, "nameserver %s\n", paddr); 315 if (fclose(fp) == EOF) { 732 IpcpInitRestartCounter(struct fsm *fp, int what) 735 struct ipcp *ipcp = fsm2ipcp(fp); 737 fp->FsmTimer.load = ipcp->cfg.fsm.timeout * SECTICKS; 740 fp->restart = ipcp->cfg.fsm.maxreq [all...] |
/external/linux-tools-perf/ |
builtin-kmem.c | 67 FILE *fp; local 70 fp = fopen("/sys/devices/system/cpu/kernel_max", "r"); 71 if (!fp) { 76 if (fscanf(fp, "%d", &max_cpu_num) < 1) 85 fclose(fp);
|
/external/openssh/ |
ssh-keyscan.c | 616 FILE *fp; local 722 fp = stdin; 723 else if ((fp = fopen(argv[j], "r")) == NULL) 728 while (read_keyfile_line(fp, 749 if (ferror(fp)) 753 fclose(fp);
|
sshconnect.c | 701 char hostline[1000], *hostp, *fp, *ra; local 808 fp = key_fingerprint(host_key, SSH_FP_MD5, SSH_FP_HEX); 811 logit("Host key fingerprint is %s\n%s\n", fp, ra); 813 xfree(fp); 849 fp = key_fingerprint(host_key, SSH_FP_MD5, SSH_FP_HEX); 869 host, ip, msg1, type, fp, 874 xfree(fp); 1112 char *fp; local 1114 fp = key_fingerprint(host_key, SSH_FP_MD5, SSH_FP_HEX); 1115 debug("Server host key: %s %s", key_type(host_key), fp); 1208 char *fp, *ra; local 1236 char *fp; local [all...] |
/external/oprofile/daemon/ |
opd_ibs.c | 174 FILE * fp = NULL; local 181 fp = fopen(buf, "r"); 182 if (!fp) 185 while (fgets(buf, PATH_MAX, fp) != NULL) 188 fclose(fp);
|
/external/oprofile/libop/ |
op_events.c | 224 FILE * fp = fopen(file, "r"); local 226 if (!fp) { 235 line = op_get_line(fp); 256 line = op_get_line(fp); 260 fclose(fp); 431 FILE * fp = fopen(file, "r"); local 434 if (!fp) { 442 line = op_get_line(fp); 528 line = op_get_line(fp); 532 fclose(fp); 817 FILE * fp = open_event_mapping_file(cpu_name); local [all...] |
/external/srec/srec/Semproc/src/ |
SemanticGraphImpl.c | 88 ESR_ReturnCode sr_semanticgraph_loadV2(SR_SemanticGraphImpl* impl, wordmap* ilabels, PFile* fp); 95 PFile* fp = NULL; local 114 fp = pfopen ( g2g, L("rb")); 115 /* CHKLOG(rc, PFileSystemCreatePFile(g2g, isLittleEndian, &fp)); 116 CHKLOG(rc, PFileOpen(fp, L("rb")));*/ 118 if ( fp == NULL ) 122 if (pfread(&header, 4, 2, fp) != 2) 129 if (pfseek(fp, header.rec_context_image_size, SEEK_SET)) 138 rc = sr_semanticgraph_loadV2(impl, ilabels, fp); 148 if (fp) 682 PFile* fp; local [all...] |
/external/srec/srec/crec/ |
astar.c | 1001 int astar_draw_arc_as_dotty(FILE* fp, partial_path* parp, int src_node, int *nodes_used, srec* rec) 1009 fprintf(fp, "%d [label = \"%d\", shape = circle, style = solid]\n", 1040 FILE* fp = fopen(file, "w"); local [all...] |
/external/tcpdump/ |
addrtoname.c | 822 register FILE *fp; local 825 fp = fopen(PCAP_ETHERS_FILE, "r"); 826 if (fp != NULL) { 827 while ((ep = pcap_next_etherent(fp)) != NULL) { 831 (void)fclose(fp);
|
/external/v8/src/ |
ic.h | 138 Address fp() const { return fp_; } function in class:v8::internal::IC
|
platform.h | 684 fp(NULL), 691 Address fp; // Frame pointer. member in class:v8::internal::TickSample
|
/frameworks/base/core/jni/ |
android_os_Debug.cpp | 120 static void read_mapinfo(FILE *fp, stats_t* stats) 141 if(fgets(line, sizeof(line), fp) == 0) return; 194 if (fgets(line, 1024, fp) == 0) { 233 FILE *fp; local 236 fp = fopen(tmp, "r"); 237 if (fp == 0) return; 239 read_mapinfo(fp, stats); 240 fclose(fp); 292 FILE *fp; local 295 fp = fopen(tmp, "r") 320 FILE* fp = fopen(BINDER_STATS, "r"); local 528 FILE* fp = fdopen(fd, "w"); local [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/ |
G729DecTest.c | 374 FILE *fp; variable 497 fp =fopen(argv[1], "r"); 651 fp= fopen(argv[1], "r"); [all...] |
/ndk/sources/host-tools/sed-4.2.1/sed/ |
sed.h | 47 FILE *fp; member in struct:output 180 FILE *fp; member in union:sed_cmd::__anon21391
|
/packages/apps/Email/src/com/android/email/activity/ |
AccountSelectorAdapter.java | 559 final FolderProperties fp = FolderProperties.getInstance(context); local 560 mMailboxDisplayName = fp.getDisplayName(mailboxCursor); 561 mMailboxMessageCount = fp.getMessageCount(mailboxCursor);
|
MailboxFragmentAdapter.java | 296 FolderProperties fp = FolderProperties.getInstance(context); local 297 return fp.getDisplayName(getType(cursor), getId(cursor), name); 383 FolderProperties fp = FolderProperties.getInstance(context); local 384 count = fp.getMessageCount(type, getUnreadCount(cursor), getMessageCount(cursor));
|