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