Lines Matching refs:matchend
207 int matchend = start + 1; // advance one character. in GlobalReplace() local
213 if (matchend < static_cast<int>(str->length()) && in GlobalReplace()
214 (*str)[start] == '\r' && (*str)[matchend] == '\n' && in GlobalReplace()
216 matchend++; in GlobalReplace()
221 while (matchend < static_cast<int>(str->length()) && in GlobalReplace()
222 ((*str)[matchend] & 0xc0) == 0x80) in GlobalReplace()
223 matchend++; in GlobalReplace()
227 out.append(*str, start, matchend - start); in GlobalReplace()
228 start = matchend; in GlobalReplace()
238 int matchstart = vec[0], matchend = vec[1]; in GlobalReplace() local
240 assert(matchend >= matchstart); in GlobalReplace()
243 start = matchend; in GlobalReplace()
245 last_match_was_empty_string = (matchstart == matchend); in GlobalReplace()