Searched refs:open (Results 26 - 50 of 114) sorted by relevance

12345

/gem5/tests/
H A Drun.py186 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 Ddiff-out49 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 Ddisk_image.hh88 void open(const std::string &filename, bool rd_only = false);
131 bool open(const std::string &file);
H A Ddisk_image.cc62 { 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 Dencode_inst_dep_trace.py120 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 Ddecode_packet_trace.py62 ascii_out = open(sys.argv[2], 'w')
64 print "Failed to open ", sys.argv[2], " for writing"
H A Ddecode_inst_trace.py82 ascii_out = open(sys.argv[2], 'w')
84 print "Failed to open ", sys.argv[2], " for writing"
H A Doprofile-top.py65 f = open(files.pop())
H A Drundiff37 # 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 Ddecode_inst_dep_trace.py121 ascii_out = open(sys.argv[2], 'w')
123 print "Failed to open ", sys.argv[2], " for writing"
/gem5/ext/dsent/libutil/
H A DLog.cc99 ofs.open(log_file_name_.c_str());
/gem5/ext/ply/example/BASIC/
H A Dbasiclog.py26 data = open(sys.argv[1]).read()
/gem5/src/base/
H A Doutput.cc91 _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 Doutput.hh209 * 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 Dimporter.py73 src = open(abspath, 'r').read()
/gem5/tests/legacy-configs/
H A Drun.py88 exec(compile(open(config).read(), config, 'exec'))
/gem5/util/plot_dram/
H A Ddram_sweep_plot.py73 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 Dlowp_dram_sweep_plot.py87 outfile = open(texfile_s, 'w')
116 call(["open", texfile_s.split('.')[0] + '.pdf'])
/gem5/ext/drampower/src/
H A DTraceParser.cc89 pwr_trace.open("commands.trace", ifstream::in);
/gem5/ext/pybind11/docs/
H A Dbenchmark.py78 with open("test.cpp", "w") as f:
/gem5/tests/test-progs/asmtest/src/riscv/
H A Drun-tests.py126 file = open(test_summary_out, "w")
/gem5/ext/testlib/
H A Dresult.py162 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 Dhelper.py377 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 Dverifiers.py149 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 Druby_random_test.py64 open(os.path.join(config_root, "common", "Options.py")).read(), \

Completed in 29 milliseconds

12345