Searched refs:open (Results 51 - 75 of 114) sorted by relevance

12345

/gem5/src/arch/arm/tracers/
H A Dtarmac_parser.hh228 trace.open(p->path_to_trace.c_str());
/gem5/src/python/m5/
H A Dmain.py166 exec(compile(open(options_file).read(), options_file, 'exec'), scope)
262 redir_fd = os.open(stdout_file, os. O_WRONLY | os.O_CREAT | os.O_TRUNC)
268 redir_fd = os.open(stderr_file, os. O_WRONLY | os.O_CREAT | os.O_TRUNC)
428 filedata = open(filename, 'r').read()
H A Dsimulate.py96 ini_file = open(os.path.join(options.outdir, options.dump_config), 'w')
105 json_file = open(
/gem5/util/m5/
H A Dm5.c145 int src_fid = open(filename, O_RDONLY);
243 int fid = open(destname, O_WRONLY, 0777);
/gem5/configs/dram/
H A Dlat_mem_rd.py138 cfg_file = open(cfg_file_name, 'w')
175 proto_out = gzip.open(filename, 'wb')
177 print("Failed to open ", filename, " for writing")
H A Dlow_power_sweep.py139 cfg_file = open(cfg_file_name, 'w')
/gem5/src/arch/arm/
H A Dsemihosting.hh103 * Internal state for open files
152 virtual int64_t open() { return 0; } function in class:ArmSemihosting::FileBase
231 int64_t open() override { return openImpl(false); }
/gem5/tests/testing/
H A Dunits.py107 with open(self.out_file(fname), "r") as f:
233 with open(fname, "r") as f:
/gem5/src/python/m5/util/
H A Dfdthelper.py257 with open(filename, 'wb') as f:
261 raise RuntimeError("Failed to open DTB output file")
267 with open(filename, 'w') as f:
271 raise RuntimeError("Failed to open DTS output file")
H A Dgrammar.py119 f = open(f, 'r')
/gem5/ext/googletest/googlemock/scripts/
H A Dupload.py31 # This code is derived from appcfg.py in the App Engine SDK (open source),
78 last_email_file = open(last_email_file_name, "r")
87 last_email_file = open(last_email_file_name, "w")
201 response = self.opener.open(req)
230 response = self.opener.open(req)
326 f = self.opener.open(req)
381 fd = os.open(self.cookie_file, os.O_CREAT, 0600)
846 file = open(filename, 'rb')
1129 new_content = open(relpath, "rb").read()
1319 file = open(option
[all...]
/gem5/ext/googletest/googletest/scripts/
H A Dupload.py31 # This code is derived from appcfg.py in the App Engine SDK (open source),
78 last_email_file = open(last_email_file_name, "r")
87 last_email_file = open(last_email_file_name, "w")
201 response = self.opener.open(req)
230 response = self.opener.open(req)
326 f = self.opener.open(req)
381 fd = os.open(self.cookie_file, os.O_CREAT, 0600)
846 file = open(filename, 'rb')
1129 new_content = open(relpath, "rb").read()
1319 file = open(option
[all...]
/gem5/tests/test-progs/insttest/src/riscv/
H A Drv64i.cpp243 int fd = open(fname, O_CREAT | O_WRONLY | O_TRUNC, 0644);
250 }, "open, write");
275 int fd = open(fname, O_RDONLY);
294 }, "open, stat");
296 int fd = open(fname, O_RDONLY);
307 }, "open, read, unlink");
/gem5/util/
H A Don-chip-network-power-area.py152 stats_handle = open(stats_file, 'r')
155 print("Failed to open ", stats_file, " for reading")
H A Do3-pipeview.py364 with open(args[0], 'r') as trace:
365 with open(options.outfile, 'w') as out:
/gem5/configs/example/
H A Druby_mem_test.py70 open(os.path.join(config_root, "common", "Options.py")).read(), \
H A Druby_gpu_random_test.py81 open(os.path.join(config_root, "common", "Options.py")).read(), \
/gem5/tests/gem5/
H A Dverifier.py186 with open(fname, 'r') as file_:
/gem5/configs/common/
H A DFileSystemConfig.py47 with open(joinpath(*path), 'a') as f:
/gem5/src/base/loader/
H A Dobject_file.cc192 // open the file
193 int fd = open(fname.c_str(), O_RDONLY);
/gem5/util/streamline/
H A Dm5stats2streamline.py585 process_file = gzip.open(task_file, 'rb')
587 process_file = open(task_file, 'rb')
708 f = open(filename, "w")
884 f = gzip.open(gem5_stats_file, "r")
886 f = open(gem5_stats_file, "r")
1158 bytes_read = open(frame_path + "/" + fn, "rb").read()
1161 bytes_read = gzip.open(frame_path + "/" + fn, "rb").read()
1175 blob = open(output_path + "/0000000000", "wb")
/gem5/src/base/stats/
H A Dtext.cc107 open(stream);
113 open(file);
126 Text::open(std::ostream &_stream) function in class:Stats::Text
134 fatal("Unable to open output stream for writing\n");
138 Text::open(const std::string &file) function in class:Stats::Text
146 fatal("Unable to open statistics file for writing\n");
784 text.open(*simout.findOrCreate(filename)->stream());
/gem5/ext/testlib/
H A Dhandlers.py83 self.stdout = open(stdout, 'w')
84 self.stderr = open(stderr, 'w')
/gem5/util/minorview/
H A Dmodel.py757 print 'Can\'t open file', file
762 f = open(file)
1061 print 'Can\'t open file', filename
1066 f = open(filename)
/gem5/util/plot_dram/
H A DPlotPowerStates.py127 stats_file = open(stats_fname, 'r')

Completed in 56 milliseconds

12345