Lines Matching refs:start
38 StringPiece::const_iterator start = std::begin(str); in splitAndTransform() local
41 current = std::find(start, end, sep); in splitAndTransform()
42 parts.emplace_back(str.substr(start, current).toString()); in splitAndTransform()
47 start = current + 1; in splitAndTransform()
65 const char16_t* start = str.data(); in trimWhitespace() local
68 while (start != end && util::isspace16(*start)) { in trimWhitespace()
69 start++; in trimWhitespace()
72 while (end != start && util::isspace16(*(end - 1))) { in trimWhitespace()
76 return StringPiece16(start, end - start); in trimWhitespace()
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()
153 char16_t c = **start; in parseUnicodeCodepoint()
175 const char16_t* start = str.begin(); in append() local
176 const char16_t* current = start; in append()
193 mStr.append(start, current - start); in append()
194 start = current + 1; in append()
209 mStr.append(start, current - start); in append()
210 start = current + 1; in append()
255 start = current + 1; in append()
266 mStr.append(start, current - start); in append()
270 start = current + 1; in append()
282 mStr.append(start, end - start); in append()