/external/blktrace/btt/ |
D | output.c | 56 void output_section_hdr(FILE *ofp, char *hdr) in output_section_hdr() argument 58 fprintf(ofp, "==================== "); in output_section_hdr() 59 fprintf(ofp, "%s", hdr); in output_section_hdr() 60 fprintf(ofp, " ====================\n\n"); in output_section_hdr() 63 void output_hdr(FILE *ofp, char *hdr) in output_hdr() argument 65 fprintf(ofp, "%15s %13s %13s %13s %11s\n", in output_hdr() 67 fprintf(ofp, "--------------- ------------- ------------- ------------- -----------\n"); in output_hdr() 70 void __output_avg(FILE *ofp, char *hdr, struct avg_info *ap, int do_easy) in __output_avg() argument 74 fprintf(ofp, "%-15s %13.9f %13.9f %13.9f %11d\n", hdr, in __output_avg() 96 FILE *ofp; member [all …]
|
D | p_live.c | 35 FILE *ofp; member 45 FILE *ofp; in do_open() local 52 ofp = my_fopen(nm, "w"); in do_open() 53 if (ofp) in do_open() 54 add_file(ofp, nm); in do_open() 59 ofp = NULL; in do_open() 61 return ofp; in do_open() 132 if (gip->ofp) { in p_live_visit() 136 fprintf(gip->ofp, "%.9lf %.1f\n", gip->last_0, y0); in p_live_visit() 137 fprintf(gip->ofp, "%.9lf %.1f\n", BIT_TIME(plp->dt), y0); in p_live_visit() [all …]
|
D | trace_complete.c | 23 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 …]
|
D | args.c | 254 FILE *ofp = my_fopen(fname, "w"); in setup_ofile() local 256 if (!ofp) { in setup_ofile() 262 setbuffer(ofp, buf, SETBUFFER_SIZE); in setup_ofile() 264 add_file(ofp, fname); in setup_ofile() 267 return ofp; in setup_ofile()
|
D | latency.c | 23 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()
|
D | misc.c | 36 FILE *ofp; member 56 fclose(fip->ofp); in clean_files() 116 fip->ofp = fp; in add_file()
|
D | inlines.h | 364 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()
|
D | globals.h | 267 int output_avgs(FILE *ofp); 268 int output_ranges(FILE *ofp);
|
/external/blktrace/ |
D | blkparse_fmt.c | 184 fprintf(ofp, strcat(format, "s"), act); in print_field() 187 fprintf(ofp, strcat(format, "d"), pci->cpu); in print_field() 192 fprintf(ofp, strcat(format, "s"), name); in print_field() 199 fprintf(ofp, strcat(format, "s"), rwbs); in print_field() 203 fprintf(ofp,"%3d,%-3d", MAJOR(t->device), MINOR(t->device)); in print_field() 206 fprintf(ofp, strcat(format, "d"), t->error); in print_field() 209 fprintf(ofp, strcat(format, "d"), MAJOR(t->device)); in print_field() 212 fprintf(ofp, strcat(format, "d"), MINOR(t->device)); in print_field() 215 fprintf(ofp, strcat(format, "u"), t_sec(t)); in print_field() 218 fprintf(ofp, strcat(format, "u"), t->bytes); in print_field() [all …]
|
D | blkrawverify.c | 105 static void dump_trace(FILE *ofp, char *prefix, struct blk_io_trace *bit) in dump_trace() argument 107 fprintf(ofp, " Dump %s\n", prefix); in dump_trace() 108 fprintf(ofp, " %8s: %08x\n", "magic", bit->magic); in dump_trace() 109 fprintf(ofp, " %8s: %u\n", "sequence", bit->sequence); in dump_trace() 110 fprintf(ofp, " %8s: %llu\n", "time", (unsigned long long) bit->time); in dump_trace() 111 fprintf(ofp, " %8s: %llu\n", "sector", (unsigned long long) bit->sector); in dump_trace() 112 fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes); in dump_trace() 113 fprintf(ofp, " %8s: %s\n", "action", act_to_str(bit->action)); in dump_trace() 114 fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes); in dump_trace() 115 fprintf(ofp, " %8s: %u\n", "cpu", bit->cpu); in dump_trace() [all …]
|
D | blkparse.c | 261 FILE *ofp = NULL; variable 610 fprintf(ofp, in handle_notify() 1671 fprintf(ofp, "%s\n", msg); in dump_io_stats() 1673 fprintf(ofp, " Reads Queued: %s, %siB\t", in dump_io_stats() 1676 fprintf(ofp, " Writes Queued: %s, %siB\n", in dump_io_stats() 1679 fprintf(ofp, " Read Dispatches: %s, %siB\t", in dump_io_stats() 1682 fprintf(ofp, " Write Dispatches: %s, %siB\n", in dump_io_stats() 1685 fprintf(ofp, " Reads Requeued: %s\t\t", size_cnv(x, ios->rrqueue, 0)); in dump_io_stats() 1686 fprintf(ofp, " Writes Requeued: %s\n", size_cnv(x, ios->wrqueue, 0)); in dump_io_stats() 1687 fprintf(ofp, " Reads Completed: %s, %siB\t", in dump_io_stats() [all …]
|
D | blktrace.c | 246 FILE *ofp; member 1557 if (setvbuf(iop->ofp, iop->obuf, mode, size) < 0) { in set_vbuf() 1589 iop->ofp = my_fopen(iop->ofn, "w+"); in iop_open() 1590 if (iop->ofp == NULL) { in iop_open() 1599 fclose(iop->ofp); in iop_open() 1603 iop->ofd = fileno(iop->ofp); in iop_open() 1615 if (ftruncate(fileno(iop->ofp), mip->fs_size) < 0) { in close_iop() 1622 if (iop->ofp) in close_iop() 1623 fclose(iop->ofp); in close_iop() 1637 if (iop->ofp) in close_ios() [all …]
|
D | blktrace.h | 66 extern FILE *ofp;
|
/external/python/cpython3/Lib/ |
D | binhex.py | 82 def __init__(self, ofp): argument 83 self.ofp = ofp 103 self.ofp.write(self.hqxdata[first:last] + b'\n') 108 self.ofp.write(self.hqxdata + b':\n') 114 self.ofp.close() 115 del self.ofp 120 def __init__(self, ofp): argument 121 self.ofp = ofp 129 self.ofp.write(rledata) 135 self.ofp.write(rledata) [all …]
|
/external/python/cpython2/Lib/ |
D | binhex.py | 115 def __init__(self, ofp): argument 116 self.ofp = ofp 136 self.ofp.write(self.hqxdata[first:last]+'\n') 141 self.ofp.write(self.hqxdata + ':\n') 148 self.ofp.close() 149 del self.ofp 154 def __init__(self, ofp): argument 155 self.ofp = ofp 163 self.ofp.write(rledata) 169 self.ofp.write(rledata) [all …]
|
/external/vboot_reference/utility/ |
D | bmpblk_font.c | 124 FILE *ofp; in main() local 156 ofp = fopen(outfile, "wb"); in main() 157 if (!ofp) in main() 162 if (1 != fwrite(&header, sizeof(header), 1, ofp)) { in main() 204 if (1 != fwrite(&entry, sizeof(entry), 1, ofp)) { in main() 208 if (1 != fwrite(imgdata, imgsize, 1, ofp)) { in main() 212 if (diff && 1 != fwrite("\0\0\0\0\0\0\0\0", diff, 1, ofp)) { in main() 221 fclose(ofp); in main() 225 fclose(ofp); in main()
|
D | efidecompress.c | 1122 FILE *ofp = fopen(outfile, "wb"); in main() local 1123 if (!ofp) in main() 1132 if (1 != fwrite(obuf, osize, 1, ofp)) { in main() 1144 fclose(ofp); in main()
|
D | eficompress.c | 1695 FILE *ofp = fopen(outfile, "wb"); in main() local 1696 if (!ofp) in main() 1705 if (1 != fwrite(obuf, osize, 1, ofp)) { in main() 1717 fclose(ofp); in main()
|
/external/python/cpython2/Mac/Modules/qd/ |
D | qdscan.py | 32 ofp = open("qdgen.py", "a") 33 ofp.write(ifp.read()) 35 ofp.close() 37 ofp = open(TOOLBOXDIR + "QuickDraw.py", "a") 38 ofp.write(ifp.read()) 40 ofp.close()
|
/external/libdivsufsort/examples/ |
D | bwt.c | 80 FILE *fp, *ofp; local 133 if(fopen_s(&ofp, ofname = argv[i], "wb") != 0) { 135 if((ofp = LFS_FOPEN(ofname = argv[i], "wb")) == NULL) { 149 ofp = stdout; 176 if(write_int(ofp, blocksize) != 4) { 195 if((write_int(ofp, pidx) != 4) || 196 (fwrite(T, sizeof(sauchar_t), m, ofp) != m)) { 213 if(needclose & 2) { fclose(ofp); }
|
D | mksary.c | 70 FILE *fp, *ofp; local 111 if(fopen_s(&ofp, ofname = argv[2], "wb") != 0) { 113 if((ofp = LFS_FOPEN(ofname = argv[2], "wb")) == NULL) { 127 ofp = stdout; 181 if(fwrite(SA, sizeof(saidx_t), (size_t)n, ofp) != (size_t)n) { 186 if(needclose & 2) { fclose(ofp); }
|
D | unbwt.c | 82 FILE *fp, *ofp; local 125 if(fopen_s(&ofp, ofname = argv[2], "wb") != 0) { 127 if((ofp = LFS_FOPEN(ofname = argv[2], "wb")) == NULL) { 141 ofp = stdout; 183 if(fwrite(T, sizeof(sauchar_t), m, ofp) != m) { 200 if(needclose & 2) { fclose(ofp); }
|
/external/python/cpython2/Lib/plat-mac/ |
D | macostools.py | 98 ofp = open(dst, 'wb') 101 ofp.write(d) 104 ofp.close() 107 ofp = openrf(dst, '*wb') 110 ofp.write(d) 113 ofp.close()
|
/external/blktrace/btreplay/ |
D | btrecord.c | 89 FILE *ofp, *vfp; member 236 fseek(stream->ofp, 0, SEEK_SET); in write_file_hdr() 237 if (fwrite(hdr, sizeof(*hdr), 1, stream->ofp) != 1) { in write_file_hdr() 573 if (fwrite(hdrp, sizeof(struct io_bunch_hdr), 1, stream->ofp) != 1) { in bunch_output_hdr() 600 if (fwrite(p, sizeof(struct io_pkt), npkts, stream->ofp) != npkts) { in bunch_output_pkts() 689 stream->ofp = fopen(ofile_name, "w"); in stream_open() 690 if (!stream->ofp) { in stream_open() 735 fclose(stream->ofp); in stream_close()
|
/external/brotli/c/common/ |
D | dictionary.bin | 109 …unit ofmobile-Europe,is homerisk ofdesiredClintoncost ofage of become none ofp"Middle ead')[0…
|