Lines Matching refs:copy
6 * You may obtain a copy of the License at
72 std::string copy(in);
76 copy = RTrimAll(copy, "_");
77 while(!copy.empty()) {
78 copy = LTrimAll(copy, "_");
79 if (std::regex_search(copy, match, kStartLowercase))
81 if (std::regex_search(copy, match, kStartCapcase))
83 if (std::regex_search(copy, match, kStartUppercase))
91 copy = copy.substr(maxmatch.length());
97 vec->push_back(copy);
191 std::string copy(in);
192 while (EndsWith(copy, suffix)) {
193 copy = copy.substr(0, copy.size() - suffix.size());
196 return copy;
204 std::string copy(in);
205 while (StartsWith(copy, prefix)) {
206 copy = copy.substr(prefix.size());
209 return copy;