Searched refs:std (Results 1 - 25 of 1914) sorted by relevance

1234567891011>>

/gem5/src/sim/
H A Dcxx_config.cc42 const std::string CxxConfigParams::invalidName = "<invalid>";
45 std::map<std::string, CxxConfigDirectoryEntry *> cxx_config_directory;
H A Dcxx_config_ini.hh63 bool getParam(const std::string &object_name,
64 const std::string &param_name,
65 std::string &value) const;
67 bool getParamVector(const std::string &object_name,
68 const std::string &param_name,
69 std::vector<std::string> &values) const;
71 bool getPortPeers(const std::string &object_name,
72 const std::string &port_name,
73 std
[all...]
H A Dredirect_path.hh50 const std::string& appPath() { return _appPath; };
51 const std::vector<std::string>& hostPaths() { return _hostPaths; };
60 std::string _appPath;
62 std::vector<std::string> _hostPaths;
H A Dcxx_config.hh76 const std::string name;
85 ParamDesc(const std::string &name_,
95 const std::string name;
103 PortDesc(const std::string &name_,
110 std::map<std::string, ParamDesc *> parameters;
113 std::map<std::string, PortDesc *> ports;
128 static const std::string invalidName;
141 virtual void setName(const std
[all...]
H A Dcxx_config_ini.cc45 CxxIniFile::getParam(const std::string &object_name,
46 const std::string &param_name,
47 std::string &value) const
53 CxxIniFile::getParamVector(const std::string &object_name,
54 const std::string &param_name,
55 std::vector<std::string> &values) const
57 std::string value;
61 std::vector<std
[all...]
H A Dfd_array.hh56 FDArray(std::string const& input, std::string const& output,
57 std::string const& errout);
77 void setFDEntry(int tgt_fd, std::shared_ptr<FDEntry> fdep);
84 std::shared_ptr<FDEntry>
105 int allocFD(std::shared_ptr<FDEntry> fdp);
121 int openFile(std::string const& file_name, int flags, mode_t mode) const;
122 int openInputFile(std::string const& file_name) const;
123 int openOutputFile(std::string const& file_name) const;
131 std
[all...]
/gem5/src/systemc/ext/
H A Dsystemc.h41 // Include some system header files, and import some symbols from std into
60 using std::ios;
61 using std::streambuf;
62 using std::streampos;
63 using std::streamsize;
64 using std::iostream;
65 using std::istream;
66 using std::ostream;
67 using std::cin;
68 using std
[all...]
/gem5/ext/mcpat/cacti/
H A Darea.cc44 using namespace std;
/gem5/src/arch/riscv/
H A Dlocked_mem.cc9 std::unordered_map<int, std::stack<Addr>> locked_addrs;
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxdefs.cpp60 const std::string
66 return std::string( "SC_TC_" );
68 return std::string( "SC_US_" );
70 return std::string( "unknown" );
81 const std::string
87 return std::string( "SC_RND" );
89 return std::string( "SC_RND_ZERO" );
91 return std::string( "SC_RND_MIN_INF" );
93 return std::string( "SC_RND_INF" );
95 return std
[all...]
H A Dsc_fxcast_switch.cpp63 const std::string
71 sc_fxcast_switch::print( ::std::ostream& os ) const
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 Dsc_fxdefs.cc59 const std::string
64 return std::string("SC_TC_");
66 return std::string("SC_US_");
68 return std::string("unknown");
78 const std::string
83 return std::string("SC_RND");
85 return std::string("SC_RND_ZERO");
87 return std::string("SC_RND_MIN_INF");
89 return std::string("SC_RND_INF");
91 return std
[all...]
H A Dsc_fxcast_switch.cc65 const std::string
72 sc_fxcast_switch::print(::std::ostream &os) const
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 Dsc_fxtype_params.cc64 const std::string
67 std::stringstream ss;
73 sc_fxtype_params::print(::std::ostream &os) const
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
[all...]
/gem5/src/mem/ruby/common/
H A DBoolVec.hh46 typedef std::vector<bool> BoolVec;
48 std::ostream& operator<<(std::ostream& os, const std::vector<bool>& myvector);
H A DIntVec.hh42 typedef std::vector<int> IntVec;
44 std::ostream& operator<<(std::ostream& os, const std::vector<int>& myvector);
/gem5/src/base/
H A Dstr.hh49 eat_lead_white(std::string &s)
51 std::string::size_type off = s.find_first_not_of(' ');
52 if (off != std::string::npos) {
53 std::string::iterator begin = s.begin();
59 eat_end_white(std::string &s)
61 std::string::size_type off = s.find_last_not_of(' ');
62 if (off != std::string::npos)
67 eat_white(std::string &s)
73 inline std::string
74 to_lower(const std
[all...]
H A Dinifile.hh63 std::string value; ///< The entry value.
68 Entry(const std::string &v)
77 const std::string &getValue() const;
80 void setValue(const std::string &v) { value = v; }
87 void appendValue(const std::string &v) { value += " "; value += v; }
96 typedef std::unordered_map<std::string, Entry *> EntryTable;
115 void addEntry(const std::string &entryName, const std::string &value,
123 bool add(const std
[all...]
H A Dmatch.hh44 std::vector<std::vector<std::string> > tokens;
45 bool domatch(const std::string &name) const;
49 ObjectMatch(const std::string &expression);
51 void setExpression(const std::string &expression);
52 void setExpression(const std::vector<std::string> &expression);
53 bool match(const std::string &name) const
/gem5/src/gpu-compute/
H A Dhsa_object.hh54 HsaObject(const std::string &fileName);
56 static HsaObject* createHsaObject(const std::string &fname);
57 static std::vector<std::function<HsaObject*(const std::string&, int,
60 virtual HsaCode* getKernel(const std::string &name) const = 0;
62 virtual HsaCode* getFunction(const std::string &name) const = 0;
65 const std::string& name() const { return filename; }
71 const std::string filename;
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_length_param.cpp63 const std::string
66 std::string s;
71 std::sprintf( buf, "%d", m_len );
80 sc_length_param::print( ::std::ostream& os ) const
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;
/gem5/util/systemc/gem5_within_systemc/
H A Dsc_logger.hh63 std::streambuf *cuttingStreambuf;
64 std::ostream stream;
72 void logMessage(Tick when, const std::string &name,
73 const std::string &message);
75 std::ostream &getOstream();
/gem5/tests/test-progs/pthread/src/
H A Dtest_std_condition_variable.cpp45 // Test std::condition_variable
53 std::mutex mtx;
54 std::condition_variable cv;
59 std::unique_lock<std::mutex> lck(mtx);
63 std::cout << "thread " << id << '\n';
68 std::unique_lock<std::mutex> lck(mtx);
77 std::vector< std
[all...]
/gem5/ext/pybind11/tests/
H A Dtest_iostream.cpp16 void noisy_function(std::string msg, bool flush) {
18 std::cout << msg;
20 std::cout << std::flush;
23 void noisy_funct_dual(std::string msg, std::string emsg) {
24 std::cout << msg;
25 std::cerr << emsg;
34 m.def("captured_output_default", [](std::string msg) {
36 std
[all...]
/gem5/ext/drampower/src/
H A DUtils.h47 T fromString(const std::string& s, argument
48 std::ios_base& (*f)(std::ios_base &) = std::dec)
50 std::istringstream is(s);
54 throw std::runtime_error("Cannot convert string");

Completed in 18 milliseconds

1234567891011>>