/gem5/src/mem/ruby/common/ |
H A D | BoolVec.cc | 45 std::ostream& operator<<(std::ostream& os, const BoolVec& myvector) { argument 47 os << " " << it; 49 return os;
|
H A D | IntVec.cc | 41 std::ostream& operator<<(std::ostream& os, const IntVec& myvector) { argument 43 os << " " << it; 44 return os;
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_fxcast_switch.cpp | 71 sc_fxcast_switch::print( ::std::ostream& os ) const 73 os << sc_dt::to_string( m_sw ); 77 sc_fxcast_switch::dump( ::std::ostream& os ) const 79 os << "sc_fxcast_switch" << ::std::endl; 80 os << "(" << ::std::endl; 81 os << "sw = " << sc_dt::to_string( m_sw ) << ::std::endl; 82 os << ")" << ::std::endl;
|
/gem5/src/systemc/dt/fx/ |
H A D | sc_fxcast_switch.cc | 72 sc_fxcast_switch::print(::std::ostream &os) const 74 os << sc_dt::to_string(m_sw); 78 sc_fxcast_switch::dump(::std::ostream &os) const 80 os << "sc_fxcast_switch" << ::std::endl; 81 os << "(" << ::std::endl; 82 os << "sw = " << sc_dt::to_string(m_sw) << ::std::endl; 83 os << ")" << ::std::endl;
|
H A D | sc_fxtype_params.cc | 73 sc_fxtype_params::print(::std::ostream &os) const 75 os << "(" 85 sc_fxtype_params::dump(::std::ostream &os) const 87 os << "sc_fxtype_params" << ::std::endl; 88 os << "(" << ::std::endl; 89 os << "wl = " << m_wl << ::std::endl; 90 os << "iwl = " << m_iwl << ::std::endl; 91 os << "q_mode = " << m_q_mode << ::std::endl; 92 os << "o_mode = " << m_o_mode << ::std::endl; 93 os << "n_bit [all...] |
/gem5/tests/long/fs/10.linux-boot/ |
H A D | test.py | 29 root.system.readfile = os.path.join(tests_root, 'halt.sh')
|
/gem5/tests/long/fs/80.solaris-boot/ |
H A D | test.py | 29 root.system.readfile = os.path.join(tests_root, 'halt.sh')
|
/gem5/tests/quick/fs/10.linux-boot/ |
H A D | test.py | 29 root.system.readfile = os.path.join(tests_root, 'halt.sh')
|
/gem5/src/arch/power/insts/ |
H A D | static_inst.cc | 39 PowerStaticInst::printReg(std::ostream &os, RegId reg) const argument 42 ccprintf(os, "r%d", reg.index()); 44 ccprintf(os, "f%d", reg.index()); 47 case 0: ccprintf(os, "cr"); break; 48 case 1: ccprintf(os, "xer"); break; 49 case 2: ccprintf(os, "lr"); break; 50 case 3: ccprintf(os, "ctr"); break; 51 default: ccprintf(os, "unknown_reg");
|
/gem5/ext/systemc/src/sysc/datatypes/int/ |
H A D | sc_length_param.cpp | 80 sc_length_param::print( ::std::ostream& os ) const 82 os << to_string(); 86 sc_length_param::dump( ::std::ostream& os ) const 88 os << "sc_length_param" << ::std::endl; 89 os << "(" << ::std::endl; 90 os << "len = " << m_len << ::std::endl; 91 os << ")" << ::std::endl;
|
H A D | sc_int64_io.cpp | 64 write_uint64(::std::ostream& os, uint64 val, int sign) argument 72 fmtflags flags = os.flags(); 108 int w = os.width(0); 116 char fill_char = os.fill(); 122 if (! os.put(fill_char)) 127 if (! os.put(sign < 0 ? '-' : '+')) 131 if (! os.write(show_base, show_base_len)) 136 if (! os.put(fill_char)) 140 if (! os.write(buf_ptr, buf_len)) 144 if (! os 156 operator <<( ::std::ostream& os, int64 n ) argument 171 operator <<( ::std::ostream& os, uint64 n ) argument [all...] |
/gem5/src/systemc/dt/int/ |
H A D | sc_length_param.cc | 77 sc_length_param::print(::std::ostream &os) const 79 os << "(" << m_len << ")"; 83 sc_length_param::dump(::std::ostream &os) const 85 os << "sc_length_param" << ::std::endl; 86 os << "(" << ::std::endl; 87 os << "len = " << m_len << ::std::endl; 88 os << ")" << ::std::endl;
|
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-printers.cc | 64 size_t count, ostream* os) { 72 *os << ' '; 74 *os << '-'; 77 *os << text; 83 ostream* os) { 85 *os << count << "-byte object <"; 94 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); 96 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); 97 *os << " ... "; 100 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); 63 PrintByteSegmentInObjectTo(const unsigned char* obj_bytes, size_t start, size_t count, ostream* os) argument 82 PrintBytesInObjectToImpl(const unsigned char* obj_bytes, size_t count, ostream* os) argument 114 PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count, ostream* os) argument 146 PrintAsCharLiteralTo(Char c, ostream* os) argument 192 PrintAsStringLiteralTo(wchar_t c, ostream* os) argument 207 PrintAsStringLiteralTo(char c, ostream* os) argument 217 PrintCharAndCodeTo(Char c, ostream* os) argument 241 PrintTo(unsigned char c, ::std::ostream* os) argument 244 PrintTo(signed char c, ::std::ostream* os) argument 250 PrintTo(wchar_t wc, ostream* os) argument 262 PrintCharsAsStringTo( const CharType* begin, size_t len, ostream* os) argument 286 UniversalPrintCharArray( const CharType* begin, size_t len, ostream* os) argument 309 UniversalPrintArray(const char* begin, size_t len, ostream* os) argument 315 UniversalPrintArray(const wchar_t* begin, size_t len, ostream* os) argument 320 PrintTo(const char* s, ostream* os) argument 337 PrintTo(const wchar_t* s, ostream* os) argument 349 PrintStringTo(const ::string& s, ostream* os) argument 354 PrintStringTo(const ::std::string& s, ostream* os) argument 360 PrintWideStringTo(const ::wstring& s, ostream* os) argument 366 PrintWideStringTo(const ::std::wstring& s, ostream* os) argument [all...] |
/gem5/src/arch/x86/insts/ |
H A D | static_inst.cc | 48 void X86StaticInst::printMnemonic(std::ostream &os, argument 51 ccprintf(os, " %s ", mnemonic); 54 void X86StaticInst::printMnemonic(std::ostream &os, argument 57 ccprintf(os, " %s : %s ", instMnemonic, mnemonic); 60 void X86StaticInst::printSegment(std::ostream &os, int segment) const argument 65 ccprintf(os, "ES"); 68 ccprintf(os, "CS"); 71 ccprintf(os, "SS"); 74 ccprintf(os, "DS"); 77 ccprintf(os, "F 109 printSrcReg(std::ostream &os, int reg, int size) const argument 116 printDestReg(std::ostream &os, int reg, int size) const argument 123 printReg(std::ostream &os, RegId reg, int size) const argument 231 printMem(std::ostream &os, uint8_t segment, uint8_t scale, RegIndex index, RegIndex base, uint64_t disp, uint8_t addressSize, bool rip) const argument [all...] |
/gem5/src/arch/arm/insts/ |
H A D | mem.cc | 53 MemoryReg::printOffset(std::ostream &os) const 56 os << "-"; 57 printIntReg(os, index); 61 ccprintf(os, " LSL #%d", shiftAmt); 64 ccprintf(os, " LSR #%d", (shiftAmt == 0) ? 32 : shiftAmt); 67 ccprintf(os, " ASR #%d", (shiftAmt == 0) ? 32 : shiftAmt); 71 ccprintf(os, " RRX"); 73 ccprintf(os, " ROR #%d", shiftAmt); 164 Memory::printInst(std::ostream &os, AddrMode addrMode) const argument 166 printMnemonic(os); [all...] |
/gem5/src/arch/sparc/insts/ |
H A D | static_inst.cc | 58 SparcStaticInst::printMnemonic(std::ostream &os, const char *mnemonic) argument 60 ccprintf(os, "\t%s ", mnemonic); 64 SparcStaticInst::printRegArray(std::ostream &os, const RegId indexArray[], argument 69 printReg(os, indexArray[0]); 71 os << ", "; 72 printReg(os, indexArray[x]); 83 SparcStaticInst::printSrcReg(std::ostream &os, int reg) const argument 86 printReg(os, _srcRegIdx[reg]); 90 SparcStaticInst::printDestReg(std::ostream &os, int reg) const argument 93 printReg(os, _destRegId 97 printReg(std::ostream &os, RegId reg) argument [all...] |
/gem5/util/ |
H A D | cscope-index.py | 34 import os 49 cwd = os.getcwd() 51 for dirpath,subdirs,files in os.walk(os.path.join(cwd, 'src')): 67 '\n'.join([os.path.join(dirpath, f) for f in okfiles]) 72 os.system("cscope -b")
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock_test_utils.py | 36 import os 41 SCRIPT_DIR = os.path.dirname(__file__) or '.' 44 gtest_tests_util_dir = os.path.join(SCRIPT_DIR, '../gtest/test') 45 if os.path.isdir(gtest_tests_util_dir): 48 GTEST_TESTS_UTIL_DIR = os.path.join(SCRIPT_DIR, '../../gtest/test') 80 exit_code: the result value of os.system(command). 83 if os.name == 'nt': 84 # On Windows, os.WEXITSTATUS() doesn't work and os.system() returns 88 # On Unix, os [all...] |
/gem5/ext/pybind11/pybind11/ |
H A D | __init__.py | 6 import os 14 conda = os.path.exists(os.path.join(sys.prefix, 'conda-meta')) 17 return os.path.join(sys.prefix, 'include', 'site', 20 if os.name == 'nt': 21 return os.path.join(sys.prefix, 'Library', 'include') 23 return os.path.join(sys.prefix, 'include') 36 return os.path.dirname(dist_cobj.install_headers)
|
/gem5/src/python/m5/ |
H A D | config.py | 29 import os 30 from os.path import isdir, isfile, join as joinpath 33 confdir = os.environ.get('M5_CONFIG') 38 homedir = os.environ.get('HOME')
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_xml_outfiles_test.py | 36 import os 68 # We want the trailing '/' that the last "" provides in os.path.join, for 71 self.output_dir_ = os.path.join(gtest_test_utils.GetTempDir(), 80 os.remove(os.path.join(self.output_dir_, GTEST_OUTPUT_1_TEST + ".xml")) 81 except os.error: 84 os.remove(os.path.join(self.output_dir_, GTEST_OUTPUT_2_TEST + ".xml")) 85 except os.error: 88 os [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_eval.py | 1 import os 13 filename = os.path.join(os.path.dirname(__file__), "test_eval_call.py")
|
/gem5/tests/long/se/70.twolf/ |
H A D | test.py | 33 import os 40 sav_file = os.path.join(cwd, workload.input_set + '.sav') 41 sv2_file = os.path.join(cwd, workload.input_set + '.sv2') 43 os.unlink(sav_file) 47 os.unlink(sv2_file)
|
/gem5/tests/quick/se/70.twolf/ |
H A D | test.py | 34 import os 41 sav_file = os.path.join(cwd, workload.input_set + '.sav') 42 sv2_file = os.path.join(cwd, workload.input_set + '.sv2') 44 os.unlink(sav_file) 48 os.unlink(sv2_file)
|
/gem5/src/systemc/tests/systemc/communication/sc_signal/datatypes/test01/ |
H A D | test01.cpp | 60 void print( ostream& os ) const 61 { os << m_val; } 67 operator << ( ostream& os, const my_datatype& a ) argument 69 a.print( os ); 70 return os;
|