/gem5/tests/ |
H A D | run.py | 186 code = compile(open(abs_path, 'r').read(), abs_path, 'exec') 213 open(joinpath(tests_root, 'configs', test_filename + '.py')).read(), \ 223 open(joinpath(tests_root, category, mode, name, 'test.py')).read(), \
|
H A D | diff-out | 49 open(REF, "<$ARGV[0]") or die "Error: can't open $ARGV[0].\n"; 50 open(NEW, "<$ARGV[1]") or die "Error: can't open $ARGV[1].\n"; 78 open(OUTPUT, ">$outname") or die "Error: can't open $outname.\n"; 112 # This function takes an open filehandle and returns a reference to
|
/gem5/src/dev/storage/ |
H A D | disk_image.hh | 88 void open(const std::string &filename, bool rd_only = false); 131 bool open(const std::string &file);
|
H A D | disk_image.cc | 62 { open(p->image_file, p->read_only); } 75 open(p->image_file, p->read_only); 79 RawDiskImage::open(const string &filename, bool rd_only) function in class:RawDiskImage 89 stream.open(file.c_str(), mode); 106 panic("file not open!\n"); 121 panic("file not open!\n"); 146 panic("file not open!\n"); 189 if (!open(filename)) { 191 fatal("could not open read-only file"); 226 panic("file not open"); 251 CowDiskImage::open(const string &file) function in class:CowDiskImage [all...] |
/gem5/util/ |
H A D | encode_inst_dep_trace.py | 120 proto_out = open(sys.argv[2], 'wb') 124 ascii_in = open(sys.argv[1], 'r') 126 print "Failed to open ", sys.argv[1], " for reading"
|
H A D | decode_packet_trace.py | 62 ascii_out = open(sys.argv[2], 'w') 64 print "Failed to open ", sys.argv[2], " for writing"
|
H A D | decode_inst_trace.py | 82 ascii_out = open(sys.argv[2], 'w') 84 print "Failed to open ", sys.argv[2], " for writing"
|
H A D | oprofile-top.py | 65 f = open(files.pop())
|
H A D | rundiff | 37 # take advantage of the power of Perl's open function, which will 90 open($fh1, $file1) or die "Can't open $file1"; 91 open($fh2, $file2) or die "Can't open $file2";
|
H A D | decode_inst_dep_trace.py | 121 ascii_out = open(sys.argv[2], 'w') 123 print "Failed to open ", sys.argv[2], " for writing"
|
/gem5/ext/dsent/libutil/ |
H A D | Log.cc | 99 ofs.open(log_file_name_.c_str());
|
/gem5/ext/ply/example/BASIC/ |
H A D | basiclog.py | 26 data = open(sys.argv[1]).read()
|
/gem5/src/base/ |
H A D | output.cc | 91 _fstream->open(dir.resolve(_name).c_str(), _mode); 109 _fstream->open(dir.resolve(_name).c_str(), _mode); 216 return open(name, mode, recreateable, no_gz); 220 OutputDirectory::open(const std::string &name, function in class:OutputDirectory 300 // close and release file if we have it open
|
H A D | output.hh | 209 * Will open a file as a compressed stream if filename ends in .gz, unless 231 * Will open a file as a compressed stream if filename ends in .gz, unless 234 * @param filename file to open 235 * @param mode attributes to open file with 242 OutputStream *open(const std::string &name, 259 * Finds stream associated with an open file or stdout/stderr.
|
/gem5/src/python/ |
H A D | importer.py | 73 src = open(abspath, 'r').read()
|
/gem5/tests/legacy-configs/ |
H A D | run.py | 88 exec(compile(open(config).read(), config, 'exec'))
|
/gem5/util/plot_dram/ |
H A D | dram_sweep_plot.py | 73 stats = open(sys.argv[2] + '/stats.txt', 'r') 75 print "Failed to open ", sys.argv[2] + '/stats.txt', " for reading" 79 simout = open(sys.argv[2] + '/simout', 'r') 81 print "Failed to open ", sys.argv[2] + '/simout', " for reading"
|
H A D | lowp_dram_sweep_plot.py | 87 outfile = open(texfile_s, 'w') 116 call(["open", texfile_s.split('.')[0] + '.pdf'])
|
/gem5/ext/drampower/src/ |
H A D | TraceParser.cc | 89 pwr_trace.open("commands.trace", ifstream::in);
|
/gem5/ext/pybind11/docs/ |
H A D | benchmark.py | 78 with open("test.cpp", "w") as f:
|
/gem5/tests/test-progs/asmtest/src/riscv/ |
H A D | run-tests.py | 126 file = open(test_summary_out, "w")
|
/gem5/ext/testlib/ |
H A D | result.py | 162 with open(path, 'w') as f: 167 with open(path, 'r') as f: 280 with open(self.filename, 'r') as f: 301 with open(path, 'w') as f:
|
H A D | helper.py | 377 with open(fname, "r") as file_: 400 with open(tfname, 'w') as tempfile_: 422 with open(tfname, 'r+') as tempfile_: 428 with open(out_file, 'r') as outf, open(ref_file, 'r') as reff:
|
/gem5/util/style/ |
H A D | verifiers.py | 149 def open(self, filename, mode): member in class:Verifier 153 print 'could not open file %s: %s' % (filename, msg) 200 maybe others, the argument fobj should be a file object open and reset 233 fobj = self.open(filename, 'r') 257 f = self.open(filename, 'r+') 351 fobj = self.open(filename, 'r') 380 f = self.open(filename, 'r+')
|
/gem5/configs/example/ |
H A D | ruby_random_test.py | 64 open(os.path.join(config_root, "common", "Options.py")).read(), \
|