Lines Matching refs:end
37 const StringPiece::const_iterator end = std::end(str); in splitAndTransform() local
41 current = std::find(start, end, sep); in splitAndTransform()
45 std::transform(part.begin(), part.end(), part.begin(), f); in splitAndTransform()
48 } while (current != end); in splitAndTransform()
66 const char16_t* end = str.data() + str.length(); in trimWhitespace() local
68 while (start != end && util::isspace16(*start)) { in trimWhitespace()
72 while (end != start && util::isspace16(*(end - 1))) { in trimWhitespace()
73 end--; in trimWhitespace()
76 return StringPiece16(start, end - start); in trimWhitespace()
81 const auto endIter = str.end(); in findNonAlphaNumericAndNotInSet()
118 if (findNonAlphaNumericAndNotInSet(piece, u"$_") != piece.end()) { in isJavaClassName()
150 static Maybe<char16_t> parseUnicodeCodepoint(const char16_t** start, const char16_t* end) { in parseUnicodeCodepoint() argument
152 for (size_t i = 0; i < 4 && *start != end; i++, (*start)++) { in parseUnicodeCodepoint()
174 const char16_t* const end = str.end(); in append() local
177 while (current != end) { in append()
213 if (current != end) { in append()
241 Maybe<char16_t> c = parseUnicodeCodepoint(¤t, end); in append()
282 mStr.append(start, end - start); in append()