Searched refs:open (Results 1 - 25 of 114) sorted by relevance

12345

/gem5/ext/iostream3/
H A Dtest.cc17 outf.open("test1.txt.gz");
26 inf.open("test1.txt.gz");
33 outf.open("test2.txt.gz");
42 inf.open("test2.txt.gz");
H A Dzfstream.cc33 // (i.e. attached streams should be left open at this stage)
51 gzfilebuf::open(const char *name, function in class:gzfilebuf
54 // Fail if file already open
66 // Attempt to open file
82 // Fail if file already open
109 // Fail immediately if no file is open
129 // Convert int open mode to mode string
378 // Initialize stream buffer and open file
384 this->open(name, mode);
398 gzifstream::open(cons function in class:gzifstream
453 gzofstream::open(const char* name, function in class:gzofstream
[all...]
H A Dzfstream.h53 * @brief Check if file is open.
54 * @return True if file is open.
66 open(const char* name,
70 * @brief Attach to already open gzipped file.
88 * @brief Convert ios open mode int to mode string used by zlib.
250 * @brief Construct stream on already open gzipped file.
266 * @brief Check if file is open.
267 * @return True if file is open.
285 open(const char* name,
289 * @brief Attach to already open gzippe
[all...]
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dutils.py33 fp = open(filename)
/gem5/ext/googletest/googletest/xcode/Scripts/
H A Dversiongenerate.py64 config_file = open("%s/configure.ac" % input_dir, 'r')
98 version_file = open("%s/Version.h" % output_dir, 'w')
/gem5/ext/ply/example/yply/
H A Dyply.py45 yacc.parse(open(filename).read())
/gem5/ext/pybind11/tools/
H A Dlibsize.py24 with open(save) as sf:
36 with open(save, 'w') as sf:
/gem5/util/m5/
H A Dm5_mmap.c60 fd = open("/dev/mem", O_RDWR | O_SYNC);
62 perror("Can't open /dev/mem");
/gem5/site_scons/site_tools/
H A Dmercurial.py108 old, new = open(hgrc_old.abspath, 'r'), open(hgrc.abspath, 'w')
136 with open(hgrc_path, 'a') as f:
/gem5/util/
H A Dcheckpoint-tester.py88 cmd_echo = open(os.path.join(top_dir, 'command'), 'w')
125 diffout = open(diff_name, 'w')
131 diffout = open(diff_name)
H A Dencode_packet_trace.py89 ascii_in = open(sys.argv[1], 'r')
91 print "Failed to open ", sys.argv[1], " for reading"
95 proto_out = open(sys.argv[2], 'wb')
97 print "Failed to open ", sys.argv[2], " for writing"
H A Dprotolib.py87 proto_in = gzip.open(in_file, 'rb')
95 proto_in = open(in_file, 'rb')
97 print "Failed to open ", in_file, " for reading"
H A Dcheckpoint_aggregator.py52 agg_mem_file = open(output_path + "/system.physmem.store0.pmem", "wb+")
53 agg_config_file = open(output_path + "/m5.cpt", "wb+")
65 config.readfp(open(cpts[i] + "/m5.cpt"))
102 f = open(cpts[i] + "/system.physmem.store0.pmem", "rb")
H A Dgen_arm_fs_files.py137 rev_file = open(revisions_dir + "/gem5", "w+")
150 rev_file = open(revisions_dir + "/linux", "w+")
186 rev_file = open(revisions_dir + "/linux-arm64-legacy", "w+")
213 rev_file = open(revisions_dir + "/linux-arm-legacy", "w+")
/gem5/src/gpu-compute/
H A Dcl_driver.hh56 int open(ThreadContext *tc, int mode, int flags);
/gem5/src/sim/
H A Demul_driver.hh49 * Currently only open(), ioctl(), and mmap() calls are supported, but other
72 * Abstract method, invoked when the user program calls open() on
77 virtual int open(ThreadContext *tc, int mode, int flags) = 0;
81 * the file descriptor returned by a previous open(). The parameters
90 * the file descriptor returned by a previous open(). The parameters
/gem5/src/base/stats/
H A Dtext.hh77 void open(std::ostream &stream);
78 void open(const std::string &file);
/gem5/ext/ply/example/BASIC/
H A Dbasic.py18 data = open(sys.argv[1]).read()
/gem5/ext/googletest/googletest/scripts/
H A Dfuse_gtest_files.py152 output_file = open(os.path.join(output_dir, GTEST_H_OUTPUT), 'w')
165 for line in open(os.path.join(gtest_root, gtest_header_path), 'r'):
193 for line in open(os.path.join(gtest_root, gtest_source_file), 'r'):
224 output_file = open(os.path.join(output_dir, GTEST_ALL_CC_OUTPUT), 'w')
/gem5/ext/googletest/googletest/test/
H A Dgtest_output_test.py282 golden_file = open(GOLDEN_PATH, 'r')
311 open(os.path.join(
315 open(os.path.join(
327 golden_file = open(GOLDEN_PATH, 'wb')
/gem5/tests/gem5/fs/linux/arm/
H A Drun.py70 exec(compile(open(config).read(), config, 'exec'))
/gem5/ext/googletest/googlemock/test/
H A Dgmock_output_test.py159 golden_file = open(GOLDEN_PATH, 'rb')
176 golden_file = open(GOLDEN_PATH, 'wb')
/gem5/util/plot_dram/
H A Ddram_lat_mem_rd_plot.py61 stats = open(sys.argv[1] + '/stats.txt', 'r')
63 print "Failed to open ", sys.argv[1] + '/stats.txt', " for reading"
67 simout = open(sys.argv[1] + '/simout', 'r')
69 print "Failed to open ", sys.argv[1] + '/simout', " for reading"
/gem5/ext/ply/doc/
H A Dmakedoc.py68 data = open(filename).read() # Read data
69 open(filename+".bak","w").write(data) # Make backup
192 open(filename,"w").write(data)
/gem5/src/systemc/tests/
H A Dverify.py181 with open(test.returncode_file(), 'w') as rc:
202 with open(self.test) as test_f, open(self.ref) as ref_f:
230 with open(diff_path, 'w') as diff_f:
278 with open(self.test) as test_f, open(self.ref) as ref_f:
286 with open (self.test) as test_f, open(self.ref) as ref_f:
379 with open(path, 'w') as rf:
426 with open(tes
[all...]

Completed in 240 milliseconds

12345