Home
last modified time | relevance | path

Searched refs:ofp (Results 1 – 18 of 18) 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 …]
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()
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()
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/iproute2/ip/
Dipmroute.c78 static void read_mroute_list(FILE *ofp) in read_mroute_list() argument
117 fprintf(ofp, "%-32s Iif: ", obuf); in read_mroute_list()
120 fprintf(ofp, "unresolved "); in read_mroute_list()
122 fprintf(ofp, "%-10s ", viftable[vifi]); in read_mroute_list()
129 fprintf(ofp, "Oifs: "); in read_mroute_list()
143 fprintf(ofp, "%s", viftable[ovifi]); in read_mroute_list()
145 fprintf(ofp, "(ttl %d) ", ovifi); in read_mroute_list()
147 fprintf(ofp, " "); in read_mroute_list()
152 fprintf(ofp, "%s %u packets, %u bytes", _SL_, pkts, b); in read_mroute_list()
154 fprintf(ofp, ", %u arrived on wrong iif.", w); in read_mroute_list()
[all …]
/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/dropbear/libtommath/mtest/
Dmpi.h182 void mp_print(mp_int *mp, FILE *ofp);
Dmpi.c2234 void mp_print(mp_int *mp, FILE *ofp) in mp_print() argument
2238 if(mp == NULL || ofp == NULL) in mp_print()
2241 fputc((SIGN(mp) == MP_NEG) ? '-' : '+', ofp); in mp_print()
2244 fprintf(ofp, DIGIT_FMT, DIGIT(mp, ix)); in mp_print()
/external/strace/
Dstrace.c137 usage(ofp, exitval) in usage() argument
138 FILE *ofp; in usage()
141 fprintf(ofp, "\
/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…