Lines Matching refs:str
28 void StringOperation::SplitString(const std::string& str, std::vector<std::string>& ret, const std:… in SplitString() argument
30 ClearAllSpace(str); in SplitString()
31 if (str.empty()) { in SplitString()
36 std::string::size_type begin = str.find_first_not_of(sep); in SplitString()
38 std::string::size_type pos = str.find(sep, begin); in SplitString()
40 temp = str.substr(begin, pos - begin); in SplitString()
43 temp = str.substr(begin); in SplitString()
82 bool StringOperation::StrToUint(const std::string& str, uint32_t& value) in StrToUint() argument
84 if (str.empty() || (!isdigit(str.front()) && (str.front() != '-'))) { in StrToUint()
90 auto addr = str.c_str(); in StrToUint()
99 bool StringOperation::StrToDouble(const std::string& str, double& value) in StrToDouble() argument
101 if (str.empty()) { in StrToDouble()
107 auto addr = str.c_str(); in StrToDouble()