gem5
v20.0.0.0
|
Go to the source code of this file.
Functions | |
bool | split_first (const string &s, string &lhs, string &rhs, char c) |
bool | split_last (const string &s, string &lhs, string &rhs, char c) |
void | tokenize (vector< string > &v, const string &s, char token, bool ignore) |
bool split_first | ( | const string & | s, |
string & | lhs, | ||
string & | rhs, | ||
char | c | ||
) |
Definition at line 37 of file str.cc.
References ArmISA::offset, and ArmISA::s.
Referenced by TEST().
bool split_last | ( | const string & | s, |
string & | lhs, | ||
string & | rhs, | ||
char | c | ||
) |
Definition at line 52 of file str.cc.
References ArmISA::offset, and ArmISA::s.
Referenced by TEST().
void tokenize | ( | vector< string > & | v, |
const string & | s, | ||
char | token, | ||
bool | ignore | ||
) |
Definition at line 67 of file str.cc.
Referenced by ObjectMatch::add(), arrayParamIn(), ObjectMatch::domatch(), CxxIniFile::getParamVector(), Stats::Info::less(), IniFile::Section::printUnreferenced(), TEST(), and Stats::validateStatName().