Searched refs:out_file (Results 1 - 4 of 4) sorted by relevance
/gem5/util/ |
H A D | protolib.py | 146 def _EncodeVarint32(out_file, value): 155 out_file.write(struct.pack('<B', 0x80 | bits)) 158 out_file.write(struct.pack('<B', bits)) 160 def encodeMessage(out_file, message): 165 _EncodeVarint32(out_file, len(out)) 166 out_file.write(out)
|
/gem5/tests/testing/ |
H A D | units.py | 102 def out_file(self, fname): member in class:TestUnit 107 with open(self.out_file(fname), "r") as f: 242 out = self.out_file(fname) 281 self.ref_file(stats), self.out_file(stats),
|
/gem5/ext/testlib/ |
H A D | helper.py | 408 def diff_out_file(ref_file, out_file, logger, ignore_regexes=tuple()): 414 if not os.path.exists(out_file): 415 raise OSError("%s doesn't exist in output directory" % out_file) 417 _filter_file_inplace(out_file, ignore_regexes) 424 log_call(logger, ['diff', out_file, ref_file], stdout=tempfile_) 428 with open(out_file, 'r') as outf, open(ref_file, 'r') as reff: 432 tofile=out_file)
|
/gem5/ext/pybind11/tools/ |
H A D | mkdoc.py | 297 def write_header(comments, out_file=sys.stdout): 321 ''', file=out_file) 334 (name, '\n' if '\n' in comment else ' ', comment), file=out_file) 340 ''', file=out_file) 360 with open(out_path, 'w') as out_file: 361 write_header(comments, out_file)
|
Completed in 8 milliseconds