Searched refs:match_pos (Results 1 – 1 of 1) sorted by relevance
1613 for (int match_pos = s->find(substring.data(), pos, substring.length()); in GlobalReplaceSubstring() local1614 match_pos != string::npos; in GlobalReplaceSubstring()1615 pos = match_pos + substring.length(), in GlobalReplaceSubstring()1616 match_pos = s->find(substring.data(), pos, substring.length())) { in GlobalReplaceSubstring()1619 tmp.append(*s, pos, match_pos - pos); in GlobalReplaceSubstring()