Lines Matching refs:copy
112 std::string copy(in); in Tokenize() local
115 while (!copy.empty()) { in Tokenize()
116 if (std::regex_search(copy, match, kStartLowercase)) matches.push_back(match.str(0)); in Tokenize()
117 if (std::regex_search(copy, match, kStartCapcase)) matches.push_back(match.str(0)); in Tokenize()
118 if (std::regex_search(copy, match, kStartUppercase)) matches.push_back(match.str(0)); in Tokenize()
119 if (std::regex_search(copy, match, kStartNumcase)) matches.push_back(match.str(0)); in Tokenize()
126 copy = copy.substr(maxmatch.length()); in Tokenize()
131 tmpVec.push_back(copy); in Tokenize()
228 std::string copy(in); in RTrimAll() local
229 while (EndsWith(copy, suffix)) { in RTrimAll()
230 copy = copy.substr(0, copy.size() - suffix.size()); in RTrimAll()
233 return copy; in RTrimAll()
241 std::string copy(in); in LTrimAll() local
242 while (StartsWith(copy, prefix)) { in LTrimAll()
243 copy = copy.substr(prefix.size()); in LTrimAll()
246 return copy; in LTrimAll()