/external/blktrace/btt/ |
output.c | 54 void output_section_hdr(FILE *ofp, char *hdr) 56 fprintf(ofp, "==================== "); 57 fprintf(ofp, "%s", hdr); 58 fprintf(ofp, " ====================\n\n"); 61 void output_hdr(FILE *ofp, char *hdr) 63 fprintf(ofp, "%15s %13s %13s %13s %11s\n", 65 fprintf(ofp, "--------------- ------------- ------------- ------------- -----------\n"); 68 void __output_avg(FILE *ofp, char *hdr, struct avg_info *ap, int do_easy) 72 fprintf(ofp, "%-15s %13.9f %13.9f %13.9f %11d\n", hdr, 94 FILE *ofp; member in struct:__oda 118 FILE *ofp; member in struct:__q2d 128 FILE *ofp = q2dp->ofp; local 250 FILE *ofp; member in struct:ohead_data 487 FILE *ofp; member in struct:__opa 523 FILE *ofp = arg; local 569 FILE *ofp = arg; local 678 FILE *ofp; local 830 FILE *ofp; member in struct:__od 858 FILE *ofp; member in struct:__op [all...] |
trace_complete.c | 23 static inline void __out(FILE *ofp, __u64 tm, enum iop_type type, 28 fprintf(ofp, " "); 29 fprintf(ofp, "%5d.%09lu %c %10llu+%-4u\n", 35 static void display_io_track(FILE *ofp, struct io *iop) 37 fprintf(ofp, "%3d,%-3d: ", MAJOR(iop->t.device), MINOR(iop->t.device)); 38 __out(ofp, iop->t.time, IOP_Q, iop->t.sector, t_sec(&iop->t), 0); 41 __out(ofp, iop->g_time, IOP_G, iop->t.sector, t_sec(&iop->t),1); 43 __out(ofp, iop->i_time, IOP_I, iop->t.sector, t_sec(&iop->t),1); 45 __out(ofp, iop->m_time, IOP_M, iop->t.sector, t_sec(&iop->t),1); 47 __out(ofp, iop->d_time, IOP_D, iop->d_sec, iop->d_nsec, 1) [all...] |
latency.c | 23 static inline void latency_out(FILE *ofp, __u64 tstamp, __u64 latency) 25 if (ofp) 26 fprintf(ofp, "%lf %lf\n", TO_SEC(tstamp), TO_SEC(latency));
|
misc.c | 36 FILE *ofp; member in struct:file_info 56 fclose(fip->ofp); 122 fip->ofp = fp;
|
/external/blktrace/ |
blkrawverify.c | 104 static void dump_trace(FILE *ofp, char *prefix, struct blk_io_trace *bit) 106 fprintf(ofp, " Dump %s\n", prefix); 107 fprintf(ofp, " %8s: %08x\n", "magic", bit->magic); 108 fprintf(ofp, " %8s: %u\n", "sequence", bit->sequence); 109 fprintf(ofp, " %8s: %llu\n", "time", (unsigned long long) bit->time); 110 fprintf(ofp, " %8s: %llu\n", "sector", (unsigned long long) bit->sector); 111 fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes); 112 fprintf(ofp, " %8s: %s\n", "action", act_to_str(bit->action)); 113 fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes); 114 fprintf(ofp, " %8s: %u\n", "cpu", bit->cpu) 144 FILE *ifp, *ofp; local 281 FILE *ofp; local [all...] |
blkparse_fmt.c | 179 fprintf(ofp, strcat(format, "s"), act); 182 fprintf(ofp, strcat(format, "d"), pci->cpu); 187 fprintf(ofp, strcat(format, "s"), name); 194 fprintf(ofp, strcat(format, "s"), rwbs); 198 fprintf(ofp,"%3d,%-3d", MAJOR(t->device), MINOR(t->device)); 201 fprintf(ofp, strcat(format, "d"), t->error); 204 fprintf(ofp, strcat(format, "d"), MAJOR(t->device)); 207 fprintf(ofp, strcat(format, "d"), MINOR(t->device)); 210 fprintf(ofp, strcat(format, "u"), t_sec(t)); 213 fprintf(ofp, strcat(format, "u"), t->bytes) [all...] |
/external/python/cpython2/Mac/Modules/qd/ |
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()
|
/toolchain/binutils/binutils-2.27/gprof/ |
gmon_io.c | 170 gmon_io_write_32 (FILE *ofp, unsigned int val) 175 if (fwrite (buf, 1, 4, ofp) != 4) 182 gmon_io_write_64 (FILE *ofp, BFD_HOST_U_64_BIT val) 187 if (fwrite (buf, 1, 8, ofp) != 8) 194 gmon_io_write_vma (FILE *ofp, bfd_vma val) 200 if (gmon_io_write_32 (ofp, (unsigned int) val)) 206 if (gmon_io_write_64 (ofp, (BFD_HOST_U_64_BIT) val)) 215 gmon_io_write_8 (FILE *ofp, unsigned int val) 220 if (fwrite (buf, 1, 1, ofp) != 1) 226 gmon_io_write (FILE *ofp, char *buf, size_t n 597 FILE *ofp; local [all...] |
source.c | 103 FILE *ifp, *ofp; 172 ofp = stdout; 215 ofp = fopen (fname, "w"); 217 if (!ofp) 226 if (ofp == stdout) 231 fputc ('\n', ofp); 236 fprintf (ofp, "\f\n"); 238 fprintf (ofp, _("*** File %s:\n"), sf->name); 252 fputs (annotation, ofp); 258 fputc (buf[i], ofp); 102 FILE *ifp, *ofp; local [all...] |
call_graph.c | 103 /* Write all the arcs in the call-graph to file OFP. FILENAME is 104 the name of OFP and is provided for formatting error-messages 108 cg_write_arcs (FILE *ofp, const char *filename) 117 if (gmon_io_write_8 (ofp, GMON_TAG_CG_ARC) 118 || gmon_io_write_vma (ofp, arc->parent->addr) 119 || gmon_io_write_vma (ofp, arc->child->addr) 120 || gmon_io_write_32 (ofp, arc->count))
|
basic_blocks.c | 205 /* Write all basic-blocks with non-zero counts to file OFP. FILENAME 206 is the name of OFP and is provided for producing error-messages 209 bb_write_blocks (FILE *ofp, const char *filename) 224 if (gmon_io_write_8 (ofp, GMON_TAG_BB_COUNT) 225 || gmon_io_write_32 (ofp, nblocks)) 236 if (gmon_io_write_vma (ofp, sym->bb_addr[i]) 237 || gmon_io_write_vma (ofp, (bfd_vma) sym->bb_calls[i])) 468 FILE *ofp; 538 ofp = annotate_source (sf, 16, annotate_with_count, sf); 539 if (!ofp) 467 FILE *ofp; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
binhex.py | 115 def __init__(self, ofp):
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):
155 self.ofp = ofp
[all...] |
/external/python/cpython2/Lib/ |
binhex.py | 115 def __init__(self, ofp): 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): 155 self.ofp = ofp [all...] |
/external/python/cpython3/Lib/ |
binhex.py | 82 def __init__(self, ofp): 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): 121 self.ofp = ofp [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
binhex.py | 114 def __init__(self, ofp):
115 self.ofp = ofp
135 self.ofp.write(self.hqxdata[first:last]+'\n')
140 self.ofp.write(self.hqxdata + ':\n')
147 self.ofp.close()
148 del self.ofp
153 def __init__(self, ofp):
154 self.ofp = ofp
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
binhex.py | 114 def __init__(self, ofp): 115 self.ofp = ofp 135 self.ofp.write(self.hqxdata[first:last]+'\n') 140 self.ofp.write(self.hqxdata + ':\n') 147 self.ofp.close() 148 del self.ofp 153 def __init__(self, ofp): 154 self.ofp = ofp [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
binhex.py | 114 def __init__(self, ofp): 115 self.ofp = ofp 135 self.ofp.write(self.hqxdata[first:last]+'\n') 140 self.ofp.write(self.hqxdata + ':\n') 147 self.ofp.close() 148 del self.ofp 153 def __init__(self, ofp): 154 self.ofp = ofp [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
binhex.py | 114 def __init__(self, ofp): 115 self.ofp = ofp 135 self.ofp.write(self.hqxdata[first:last]+'\n') 140 self.ofp.write(self.hqxdata + ':\n') 147 self.ofp.close() 148 del self.ofp 153 def __init__(self, ofp): 154 self.ofp = ofp [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
binhex.py | 114 def __init__(self, ofp): 115 self.ofp = ofp 135 self.ofp.write(self.hqxdata[first:last]+'\n') 140 self.ofp.write(self.hqxdata + ':\n') 147 self.ofp.close() 148 del self.ofp 153 def __init__(self, ofp): 154 self.ofp = ofp [all...] |
/external/vboot_reference/utility/ |
bmpblk_font.c | 124 FILE *ofp; local 156 ofp = fopen(outfile, "wb"); 157 if (!ofp) 162 if (1 != fwrite(&header, sizeof(header), 1, ofp)) { 204 if (1 != fwrite(&entry, sizeof(entry), 1, ofp)) { 208 if (1 != fwrite(imgdata, imgsize, 1, ofp)) { 212 if (diff && 1 != fwrite("\0\0\0\0\0\0\0\0", diff, 1, ofp)) { 221 fclose(ofp); 225 fclose(ofp);
|
/external/libdivsufsort/examples/ |
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); }
|
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); }
|
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); }
|
/external/python/cpython2/Lib/plat-mac/ |
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()
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
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()
|