/system/extras/ANRdaemon/ |
ANRdaemon.cpp | 129 FILE *fp = NULL; local 132 if ((fp = fopen("/proc/stat", "r")) == NULL) { 136 if (fscanf(fp, params, &cpu->utime, &cpu->ntime, 150 fclose(fp);
|
/system/vold/ |
Utils.cpp | 295 FILE* fp = popen(cmd.c_str(), "r"); local 301 if (!fp) { 306 while (fgets(line, sizeof(line), fp) != nullptr) { 310 if (pclose(fp) != 0) {
|
/toolchain/binutils/binutils-2.25/binutils/ |
windmc.c | 354 write_dbg_define (FILE *fp, const unichar *sym_name, const unichar *typecast) 361 fprintf (fp, " {("); 363 unicode_print (fp, typecast, unichar_len (typecast)); 365 fprintf (fp, "DWORD"); 366 fprintf (fp, ") %s, \"%s\" },\n", sym, sym); 370 write_header_define (FILE *fp, const unichar *sym_name, rc_uint_type vid, const unichar *typecast, mc_node_lang *nl) 380 fprintf (fp, "//\n// MessageId: 0x%lu\n//\n", (unsigned long) vid); 382 fprintf (fp, "//\n// MessageId: 0x%lx\n//\n", (unsigned long) vid); 389 fprintf (fp, "//\n// MessageId: %s\n//\n", sym); 391 fprintf (fp, "#define %s %s%s%s 0x%lx\n\n", sym 1112 FILE *fp = fopen (input_filename, "rb"); local [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
tic6x-dis.c | 189 /* FP points to a fetch packet. Return whether it is header-based; if 193 tic6x_check_fetch_packet_header (unsigned char *fp, 199 header->header = tic6x_extract_32 (fp + 28, info); 242 unsigned char fp[32]; local 252 status = info->read_memory_func (fp_addr, fp, 32, info); 260 = tic6x_check_fetch_packet_header (fp, &header, info); 287 info->fprintf_func (info->stream, ".byte 0x%.2x", fp[fp_offset]); 299 opcode = tic6x_extract_16 (fp + fp_offset, &header, info); 301 opcode = tic6x_extract_16 (fp + (fp_offset ^ 2), &header, info); 304 opcode = tic6x_extract_32 (fp + fp_offset, info) [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
ImapService.java | 258 FetchProfile fp = new FetchProfile(); local 259 fp.add(FetchProfile.Item.STRUCTURE); 260 remoteFolder.fetch(messages.toArray(new Message[messages.size()]), fp, null); local 271 fp.clear(); 272 fp.add(part); 273 remoteFolder.fetch(oneMessageArray, fp, null); 285 FetchProfile fp = new FetchProfile(); local 286 fp.add(FetchProfile.Item.FLAGS); 287 fp.add(FetchProfile.Item.ENVELOPE); 296 remoteFolder.fetch(unsyncedMessages.toArray(new Message[unsyncedMessages.size()]), fp, local 629 FetchProfile fp = new FetchProfile(); local 1372 FetchProfile fp = new FetchProfile(); local 1523 final FetchProfile fp = new FetchProfile(); local [all...] |
/bionic/tests/ |
gtest_main.cpp | 251 FILE* fp = popen(command.c_str(), "r"); local 252 if (fp == NULL) { 258 while (fgets(buf, sizeof(buf), fp) != NULL) { 286 int result = pclose(fp); 489 FILE* fp = fopen(xml_output_filename.c_str(), "w"); local 490 if (fp == NULL) { 517 fputs("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n", fp); 518 fprintf(fp, "<testsuites tests=\"%zu\" failures=\"%zu\" disabled=\"0\" errors=\"0\"", 520 fprintf(fp, " timestamp=\"%s\" time=\"%.3lf\" name=\"AllTests\">\n", timestamp, elapsed_time_ns / 1e9); 523 fprintf(fp, " <testsuite name=\"%s\" tests=\"%zu\" failures=\"%zu\" disabled=\"0\" errors=\"0\"" [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 2199 FILE *fp = NULL; local [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 2199 FILE *fp = NULL; local [all...] |
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
QualcommUsbCamera.cpp | 2272 FILE *fp = NULL; local 2382 FILE *fp = NULL; local 2767 FILE *fp; local [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 2065 FILE *fp = NULL; local [all...] |
/external/c-ares/ |
ares_init.c | 973 FILE *fp; local 981 fp = fopen(PATH_RESOLV_CONF, "r"); 982 if (fp) { 983 while ((status = ares__read_line(fp, &line, &linesize)) == ARES_SUCCESS) 1004 fclose(fp); 1023 fp = fopen("/etc/nsswitch.conf", "r"); 1024 if (fp) { 1025 while ((status = ares__read_line(fp, &line, &linesize)) == ARES_SUCCESS) 1031 fclose(fp); 1051 fp = fopen("/etc/host.conf", "r") [all...] |
/external/clang/test/SemaCXX/ |
functional-cast.cpp | 68 f fp = 0; local 71 f *fpp = fp_t(&fp); 279 fnptr fp = 0; local 280 (void)fnptr2(fp); 282 void *vp = voidp(fp);
|
overload-call.cpp | 10 float* fp = f(fv); local 149 float* fp = bitfields(bits.uint_bitfield, 0u); local
|
/external/dhcpcd-6.8.2/ |
if-linux.c | 151 FILE *fp; local 159 fp = fopen("/proc/cpuinfo", "r"); 160 if (fp == NULL) 163 while (fscanf(fp, "%255s : ", buf) != EOF) { 165 fscanf(fp, "%255s", buf) == 1) 167 fclose(fp); 171 fclose(fp); 179 FILE *fp; local 182 fp = fopen(path, "r"); 183 if (fp == NULL 194 FILE *fp; local 1626 FILE *fp; local [all...] |
if-options.c | 639 char *p = NULL, *fp, *np, **nconf; local 1077 fp = np = strwhite(p); 1097 *fp = ' '; 1104 *fp = ' '; 1108 *fp = ' '; 1223 fp = strwhite(arg); 1224 if (fp) 1225 *fp++ = '\0'; 1236 arg = strskipwhite(fp); 2090 FILE *fp; local [all...] |
ipv6.c | 213 FILE *fp; local 220 if ((fp = fopen(SECRET, "r"))) { 222 while (fgets(line, sizeof(line), fp)) { 236 fclose(fp); 262 if ((fp = fopen(SECRET, "w")) == NULL || 265 x = fprintf(fp, "%s\n", 267 fclose(fp); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
TimeZoneFormatTest.java | 1044 FieldPosition fp = new FieldPosition(DateFormat.Field.TIME_ZONE); local [all...] |
/external/icu/icu4c/source/extra/uconv/ |
uconv.cpp | 1066 FILE *fp = ecode ? stderr : stdout; local [all...] |
/external/icu/icu4c/source/i18n/ |
rematch.cpp | 2786 REStackFrame *fp = resetStack(); local [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
zdump.c | 244 static time_t huntICU(char * name, time_t lot, time_t hit, FILE *fp); 245 static void dumptimeICU(FILE * fp, time_t t); 246 static void showICU(FILE * fp, char * zone, time_t t1, time_t t2); 358 FILE * fp = stdout; local 550 fp = NULL; 571 if ((fp = fopen(path, "w")) == NULL) { 616 newt = huntICU(argv[i], t, newt, fp); 662 if (fp != NULL) { 663 fclose(fp); 927 huntICU(char *name, time_t lot, time_t hit, FILE * fp) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
TimeZoneFormatTest.java | 1040 FieldPosition fp = new FieldPosition(DateFormat.Field.TIME_ZONE); local [all...] |
/external/iproute2/ip/ |
ipaddress.c | 96 static void print_link_flags(FILE *fp, unsigned flags, unsigned mdown) 98 fprintf(fp, "<"); 100 fprintf(fp, "NO-CARRIER%s", flags ? "," : ""); 104 fprintf(fp, #f "%s", flags ? "," : ""); } 125 fprintf(fp, "%x", flags); 127 fprintf(fp, ",M-DOWN"); 128 fprintf(fp, "> "); 223 static void print_linktype(FILE *fp, struct rtattr *tb) 236 fprintf(fp, "%s", _SL_); 237 fprintf(fp, " %s ", kind) 615 FILE *fp = (FILE*)arg; local 716 FILE *fp = (FILE*)arg; local 944 FILE *fp = arg; local [all...] |
iproute.c | 295 static void print_rtax_features(FILE *fp, unsigned int features) 300 fprintf(fp, " ecn"); 305 fprintf(fp, " 0x%x", of); 310 FILE *fp = (FILE*)arg; local 359 fprintf(fp, "Deleted "); 361 fprintf(fp, "%s ", rtnl_rtntype_n2a(r->rtm_type, b1, sizeof(b1))); 365 fprintf(fp, "%s/%u ", rt_addr_n2a(r->rtm_family, 372 fprintf(fp, "%s ", format_host(r->rtm_family, 379 fprintf(fp, "0/%d ", r->rtm_dst_len); 381 fprintf(fp, "default ") [all...] |
/external/libnl/lib/netfilter/ |
ct_obj.c | 202 int fp = 0; local 223 { nl_dump(p, "%s%s", fp++ ? "," : "", (str)); }
|
/external/libpcap/ |
optimize.c | 2180 struct bpf_insn *fp; local [all...] |