Searched refs:os (Results 151 - 175 of 356) sorted by relevance

1234567891011>>

/gem5/tests/gem5/test_build/
H A Dtest_build.py33 import os
/gem5/ext/googletest/googletest/test/
H A Dgtest_help_test.py42 import os
47 IS_LINUX = os.name == 'posix' and os.uname()[0] == 'Linux'
48 IS_WINDOWS = os.name == 'nt'
H A Dgtest_list_tests_unittest_.cc90 void PrintTo(const MyType& x, std::ostream* os) { argument
91 *os << x.value();
/gem5/src/cpu/minor/
H A Ddyn_inst.hh143 std::ostream &operator <<(std::ostream &os, const InstId &id);
151 std::ostream &operator <<(std::ostream &os, const MinorDynInst &inst);
277 void reportData(std::ostream &os) const;
291 std::ostream &operator <<(std::ostream &os, const MinorDynInst &inst);
/gem5/tests/gem5/hello_se/
H A Dtest_hello_se.py42 import os
/gem5/util/statetrace/arch/arm/
H A Dtracechild.cc162 ARMTraceChild::outputStartState(ostream & os) argument
169 os << obuf;
171 os << obuf;
176 os << obuf;
189 os << obuf;
200 os << obuf;
211 os << obuf;
227 os << obuf;
235 return os;
/gem5/src/arch/arm/insts/
H A Dmem.hh194 printOffset(std::ostream &os) const
198 printDest(std::ostream &os) const
200 printIntReg(os, dest);
203 void printInst(std::ostream &os, AddrMode addrMode) const;
218 printOffset(std::ostream &os) const
223 ccprintf(os, "#%d", pImm);
240 printDest(std::ostream &os) const
242 printIntReg(os, result);
243 os << ", ";
244 MemoryImm::printDest(os);
[all...]
H A Dstatic_inst.hh159 void printIntReg(std::ostream &os, RegIndex reg_idx,
161 void printFloatReg(std::ostream &os, RegIndex reg_idx) const;
162 void printVecReg(std::ostream &os, RegIndex reg_idx,
164 void printVecPredReg(std::ostream &os, RegIndex reg_idx) const;
165 void printCCReg(std::ostream &os, RegIndex reg_idx) const;
166 void printMiscReg(std::ostream &os, RegIndex reg_idx) const;
167 void printMnemonic(std::ostream &os,
172 void printTarget(std::ostream &os, Addr target,
174 void printCondition(std::ostream &os, unsigned code,
176 void printMemSymbol(std::ostream &os, cons
[all...]
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_fifo.h310 sc_fifo<T>::print( ::std::ostream& os ) const
315 os << m_buf[i] << ::std::endl;
324 sc_fifo<T>::dump( ::std::ostream& os ) const
326 os << "name = " << name() << ::std::endl;
331 os << "value[" << i << "] = " << m_buf[i] << ::std::endl;
426 operator << ( ::std::ostream& os, const sc_fifo<T>& a ) argument
428 a.print( os );
429 return os;
/gem5/tests/test-progs/insttest/src/riscv/
H A Dinsttest.h54 operator<<(std::ostream& os, const std::pair<A, B>& p) argument
56 return os << '(' << p.first << ", " << p.second << ')';
/gem5/src/arch/sparc/insts/
H A Dinteger.hh57 virtual bool printPseudoOps(std::ostream &os, Addr pc,
78 bool printPseudoOps(std::ostream &os, Addr pc,
/gem5/src/base/
H A Doutput.cc225 OutputStream *os; local
232 os = new OutputFile<gzofstream>(*this, name, mode, recreateable);
234 os = new OutputFile<ofstream>(*this, name, mode, recreateable);
237 files[name] = os;
239 return os;
260 OutputStream *os(find(name));
261 if (os)
262 return os;
/gem5/tests/configs/
H A Dcheckpoint.py42 import os
95 cpt_name = os.path.join(m5.options.outdir, "test.cpt")
/gem5/src/systemc/tests/systemc/datatypes/fx/fast_limits/
H A Dfx_fix_limits.cpp55 #define SHOW(a) os << #a << " : " << a.to_string(SC_HEX) << "\n"
56 #define SHOW_EXP(a) { res = a; os << #a << " : " << res.to_string(SC_HEX) << "\n"; }
/gem5/src/systemc/tests/systemc/datatypes/fx/limits/
H A Dfx_fix_limits.cpp53 #define SHOW(a) os << #a << " : " << a.to_string(SC_HEX) << "\n"
54 #define SHOW_EXP(a) { res = a; os << #a << " : " << res.to_string(SC_HEX) << "\n"; }
/gem5/ext/googletest/googletest/src/
H A Dgtest-test-part.cc58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { argument
59 return os
/gem5/src/arch/generic/
H A Dvec_pred_reg.hh159 operator<<(std::ostream& os, const MyClass& p) argument
162 os << '[' << p.container[0];
164 os << " " << (p.container[i] ? 1 : 0);
166 os << ']';
167 return os;
338 operator<<(std::ostream& os, const MyClass& v) argument
341 os << csprintf("%d", b);
343 return os;
/gem5/src/mem/slicc/
H A Dutil.py30 import os
64 return '%s:%d' % (os.path.basename(self.filename), self.lineno)
/gem5/tests/
H A Dtests.py44 import os
179 if not os.path.isfile(args.gem5) or not os.access(args.gem5, os.X_OK):
186 out_base = os.path.abspath(args.directory)
187 if not os.path.exists(out_base):
188 os.mkdir(out_base)
192 out_dir = os.path.join(out_base, "/".join(config))
/gem5/tests/testing/
H A Dunits.py44 import os
53 _test_base = os.path.join(os.path.dirname(__file__), "..")
100 return os.path.join(self.ref_dir, fname)
103 return os.path.join(self.test_dir, fname)
244 if not os.path.exists(ref):
248 if not os.path.exists(out):
270 self.stat_diff = os.path.join(_test_base, "diff-out")
/gem5/util/pbs/
H A Dsend.py31 import os, os.path, re, socket, sys
32 from os import environ as env, listdir
33 from os.path import basename, isdir, isfile, islink, join as joinpath, normpath
50 for root, dirs, files in os.walk(srcdir):
52 prefix = os.path.commonprefix([root, srcdir])
62 os.mkdir(newdir)
164 os.mkdir(conf.basedir)
/gem5/src/mem/cache/
H A Dwrite_queue_entry.hh86 void print(std::ostream &os, int verbosity,
172 void print(std::ostream &os,
/gem5/util/
H A Don-chip-network-power-area.py29 import string, sys, subprocess, os
39 if not os.path.exists(build_dir):
40 os.makedirs(build_dir)
41 os.chdir(build_dir)
54 os.chdir("../../../")
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_string.h69 friend systemc_ostream& operator << (systemc_ostream& os, const sc_string_old& a);
214 void print( systemc_ostream& os = ::std::cout ) const;
231 operator << ( systemc_ostream& os, const sc_string_old& a ) argument
233 a.print( os );
234 return os;
/gem5/configs/common/
H A DFileSystemConfig.py35 import operator, os, platform, getpass
36 from os import mkdir, makedirs, getpid, listdir, stat, access
38 from os.path import join as joinpath
39 from os.path import isdir
139 chroot = os.path.expanduser(options.chroot)

Completed in 30 milliseconds

1234567891011>>