Home
last modified time | relevance | path

Searched refs:ofp (Results 1 – 20 of 20) sorted by relevance

/external/blktrace/btt/
Doutput.c54 void output_section_hdr(FILE *ofp, char *hdr) in output_section_hdr() argument
56 fprintf(ofp, "==================== "); in output_section_hdr()
57 fprintf(ofp, "%s", hdr); in output_section_hdr()
58 fprintf(ofp, " ====================\n\n"); in output_section_hdr()
61 void output_hdr(FILE *ofp, char *hdr) in output_hdr() argument
63 fprintf(ofp, "%15s %13s %13s %13s %11s\n", in output_hdr()
65 fprintf(ofp, "--------------- ------------- ------------- ------------- -----------\n"); in output_hdr()
68 void __output_avg(FILE *ofp, char *hdr, struct avg_info *ap, int do_easy) in __output_avg() argument
72 fprintf(ofp, "%-15s %13.9f %13.9f %13.9f %11d\n", hdr, in __output_avg()
94 FILE *ofp; member
[all …]
Dtrace_complete.c23 static inline void __out(FILE *ofp, __u64 tm, enum iop_type type, in __out() argument
28 fprintf(ofp, " "); in __out()
29 fprintf(ofp, "%5d.%09lu %c %10llu+%-4u\n", in __out()
35 static void display_io_track(FILE *ofp, struct io *iop) in display_io_track() argument
37 fprintf(ofp, "%3d,%-3d: ", MAJOR(iop->t.device), MINOR(iop->t.device)); in display_io_track()
38 __out(ofp, iop->t.time, IOP_Q, iop->t.sector, t_sec(&iop->t), 0); in display_io_track()
41 __out(ofp, iop->g_time, IOP_G, iop->t.sector, t_sec(&iop->t),1); in display_io_track()
43 __out(ofp, iop->i_time, IOP_I, iop->t.sector, t_sec(&iop->t),1); in display_io_track()
45 __out(ofp, iop->m_time, IOP_M, iop->t.sector, t_sec(&iop->t),1); in display_io_track()
47 __out(ofp, iop->d_time, IOP_D, iop->d_sec, iop->d_nsec, 1); in display_io_track()
[all …]
Dlatency.c23 static inline void latency_out(FILE *ofp, __u64 tstamp, __u64 latency) in latency_out() argument
25 if (ofp) in latency_out()
26 fprintf(ofp, "%lf %lf\n", TO_SEC(tstamp), TO_SEC(latency)); in latency_out()
Dargs.c248 FILE *ofp = my_fopen(fname, "w"); in setup_ofile() local
250 if (!ofp) { in setup_ofile()
256 setbuffer(ofp, buf, SETBUFFER_SIZE); in setup_ofile()
258 add_file(ofp, fname); in setup_ofile()
261 return ofp; in setup_ofile()
Dmisc.c36 FILE *ofp; member
56 fclose(fip->ofp); in clean_files()
122 fip->ofp = fp; in add_file()
Dinlines.h364 static inline void __dump_iop(FILE *ofp, struct io *iop, int extra_nl) in __dump_iop() argument
366 fprintf(ofp, "%5d.%09lu %3d,%-3d %c %10llu+%-4u\n", in __dump_iop()
371 if (extra_nl) fprintf(ofp, "\n"); in __dump_iop()
374 static inline void __dump_iop2(FILE *ofp, struct io *a_iop, struct io *l_iop) in __dump_iop2() argument
376 fprintf(ofp, "%5d.%09lu %3d,%-3d %c %10llu+%-4u <- (%3d,%-3d) %10llu\n", in __dump_iop2()
Dglobals.h261 int output_avgs(FILE *ofp);
262 int output_ranges(FILE *ofp);
/external/blktrace/
Dblkparse_fmt.c179 fprintf(ofp, strcat(format, "s"), act); in print_field()
182 fprintf(ofp, strcat(format, "d"), pci->cpu); in print_field()
187 fprintf(ofp, strcat(format, "s"), name); in print_field()
194 fprintf(ofp, strcat(format, "s"), rwbs); in print_field()
198 fprintf(ofp,"%3d,%-3d", MAJOR(t->device), MINOR(t->device)); in print_field()
201 fprintf(ofp, strcat(format, "d"), t->error); in print_field()
204 fprintf(ofp, strcat(format, "d"), MAJOR(t->device)); in print_field()
207 fprintf(ofp, strcat(format, "d"), MINOR(t->device)); in print_field()
210 fprintf(ofp, strcat(format, "u"), t_sec(t)); in print_field()
213 fprintf(ofp, strcat(format, "u"), t->bytes); in print_field()
[all …]
Dblkrawverify.c104 static void dump_trace(FILE *ofp, char *prefix, struct blk_io_trace *bit) in dump_trace() argument
106 fprintf(ofp, " Dump %s\n", prefix); in dump_trace()
107 fprintf(ofp, " %8s: %08x\n", "magic", bit->magic); in dump_trace()
108 fprintf(ofp, " %8s: %u\n", "sequence", bit->sequence); in dump_trace()
109 fprintf(ofp, " %8s: %llu\n", "time", (unsigned long long) bit->time); in dump_trace()
110 fprintf(ofp, " %8s: %llu\n", "sector", (unsigned long long) bit->sector); in dump_trace()
111 fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes); in dump_trace()
112 fprintf(ofp, " %8s: %s\n", "action", act_to_str(bit->action)); in dump_trace()
113 fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes); in dump_trace()
114 fprintf(ofp, " %8s: %u\n", "cpu", bit->cpu); in dump_trace()
[all …]
Dblkparse.c261 FILE *ofp = NULL; variable
608 fprintf(ofp, in handle_notify()
1653 fprintf(ofp, "%s\n", msg); in dump_io_stats()
1655 …fprintf(ofp, " Reads Queued: %s, %siB\t", size_cnv(x, ios->qreads, 0), size_cnv(y, ios->qread_k… in dump_io_stats()
1656 …fprintf(ofp, " Writes Queued: %s, %siB\n", size_cnv(x, ios->qwrites, 0), size_cnv(y, ios->qwrit… in dump_io_stats()
1657 …fprintf(ofp, " Read Dispatches: %s, %siB\t", size_cnv(x, ios->ireads, 0), size_cnv(y, ios->iread_k… in dump_io_stats()
1658 …fprintf(ofp, " Write Dispatches: %s, %siB\n", size_cnv(x, ios->iwrites, 0), size_cnv(y, ios->iwrit… in dump_io_stats()
1659 fprintf(ofp, " Reads Requeued: %s\t\t", size_cnv(x, ios->rrqueue, 0)); in dump_io_stats()
1660 fprintf(ofp, " Writes Requeued: %s\n", size_cnv(x, ios->wrqueue, 0)); in dump_io_stats()
1661 …fprintf(ofp, " Reads Completed: %s, %siB\t", size_cnv(x, ios->creads, 0), size_cnv(y, ios->cread_k… in dump_io_stats()
[all …]
Dblktrace.c246 FILE *ofp; member
1517 if (setvbuf(iop->ofp, iop->obuf, mode, size) < 0) { in set_vbuf()
1534 iop->ofp = my_fopen(iop->ofn, "w+"); in iop_open()
1535 if (iop->ofp == NULL) { in iop_open()
1544 fclose(iop->ofp); in iop_open()
1548 iop->ofd = fileno(iop->ofp); in iop_open()
1560 if (ftruncate(fileno(iop->ofp), mip->fs_size) < 0) { in close_iop()
1567 if (iop->ofp) in close_iop()
1568 fclose(iop->ofp); in close_iop()
1582 if (iop->ofp) in close_ios()
[all …]
Dblktrace.h60 extern FILE *ofp;
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/scripting-engines/
Dtrace-event-perl.c464 FILE *ofp; in perl_generate_script() local
467 ofp = fopen(fname, "w"); in perl_generate_script()
468 if (ofp == NULL) { in perl_generate_script()
473 fprintf(ofp, "# perf script event handlers, " in perl_generate_script()
476 fprintf(ofp, "# Licensed under the terms of the GNU GPL" in perl_generate_script()
479 fprintf(ofp, "# The common_* event handler fields are the most useful " in perl_generate_script()
482 fprintf(ofp, "# all events. They don't necessarily correspond to " in perl_generate_script()
485 fprintf(ofp, "# in the format files. Those fields not available as " in perl_generate_script()
488 fprintf(ofp, "# be retrieved using Perl functions of the form " in perl_generate_script()
491 fprintf(ofp, "# See Context.pm for the list of available " in perl_generate_script()
[all …]
Dtrace-event-python.c549 FILE *ofp; in python_generate_script() local
552 ofp = fopen(fname, "w"); in python_generate_script()
553 if (ofp == NULL) { in python_generate_script()
557 fprintf(ofp, "# perf script event handlers, " in python_generate_script()
560 fprintf(ofp, "# Licensed under the terms of the GNU GPL" in python_generate_script()
563 fprintf(ofp, "# The common_* event handler fields are the most useful " in python_generate_script()
566 fprintf(ofp, "# all events. They don't necessarily correspond to " in python_generate_script()
569 fprintf(ofp, "# in the format files. Those fields not available as " in python_generate_script()
572 fprintf(ofp, "# be retrieved using Python functions of the form " in python_generate_script()
575 fprintf(ofp, "# See the perf-trace-python Documentation for the list " in python_generate_script()
[all …]
/external/iproute2/ip/
Dipmroute.c80 static void read_mroute_list(FILE *ofp) in read_mroute_list() argument
122 fprintf(ofp, "%-32s Iif: ", obuf); in read_mroute_list()
125 fprintf(ofp, "unresolved "); in read_mroute_list()
127 fprintf(ofp, "%-10s ", viftable[vifi]); in read_mroute_list()
134 fprintf(ofp, "Oifs: "); in read_mroute_list()
148 fprintf(ofp, "%s", viftable[ovifi]); in read_mroute_list()
150 fprintf(ofp, "(ttl %d) ", ovifi); in read_mroute_list()
152 fprintf(ofp, " "); in read_mroute_list()
157 fprintf(ofp, "%s %u packets, %u bytes", _SL_, pkts, b); in read_mroute_list()
159 fprintf(ofp, ", %u arrived on wrong iif.", w); in read_mroute_list()
[all …]
/external/chromium_org/chrome/tools/build/
Dappid.py26 ofp = open(opts.output_file, 'r')
30 current_contents = ofp.read()
/external/blktrace/btreplay/
Dbtrecord.c91 FILE *ofp, *vfp; member
238 fseek(stream->ofp, 0, SEEK_SET); in write_file_hdr()
239 if (fwrite(hdr, sizeof(*hdr), 1, stream->ofp) != 1) { in write_file_hdr()
576 if (fwrite(hdrp, sizeof(struct io_bunch_hdr), 1, stream->ofp) != 1) { in bunch_output_hdr()
603 if (fwrite(p, sizeof(struct io_pkt), npkts, stream->ofp) != npkts) { in bunch_output_pkts()
692 stream->ofp = fopen(ofile_name, "w"); in stream_open()
693 if (!stream->ofp) { in stream_open()
738 fclose(stream->ofp); in stream_close()
/external/strace/
Dstrace.c198 usage(FILE *ofp, int exitval) in usage() argument
200 fprintf(ofp, "\ in usage()
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/
Ddojo-1.6.1.js4657 var ofp = fp;
4662 return ofp.call(this, e);
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/en-GB/
Den-GB_kh0_kpdf_mgc.pkb1295 ?�@,?-:=CkjX{y���Zep��Zck,WO')2?<?;@IHNV\`ofp��Yg)T[^++263902:89;>EEMO[_y�p� `�=#����6…