Searched refs:first_match (Results 1 – 6 of 6) sorted by relevance
186 first_match = None209 if n >= 0 and (first_match is None or n < first_match):210 first_match = n212 if first_match is None:215 self.start = first_match285 first_match = None297 if first_match is None or n < first_match:298 first_match = n301 if first_match is None:303 self.start = first_match
53 first_match = matches[0]54 return (first_match[0], first_match[1])
738 size_t first_match = matcher.Find(*str, initial_offset); in DoReplaceMatchesAfterOffset() local739 if (first_match == StringType::npos) in DoReplaceMatchesAfterOffset()746 str->replace(first_match, find_length, replace_with.data(), replace_length); in DoReplaceMatchesAfterOffset()754 for (size_t offset = first_match; offset != StringType::npos; in DoReplaceMatchesAfterOffset()784 for (size_t match = first_match; match != StringType::npos; in DoReplaceMatchesAfterOffset()799 for (size_t match = first_match;; match = matcher.Find(src, pos)) { in DoReplaceMatchesAfterOffset()818 size_t shift_src = first_match + find_length; in DoReplaceMatchesAfterOffset()842 size_t write_offset = first_match; in DoReplaceMatchesAfterOffset()843 size_t read_offset = first_match + expansion; in DoReplaceMatchesAfterOffset()
1652 first_match = absurd_match1675 if n >= 0 and n < first_match:1676 first_match = n1678 if first_match == absurd_match:1681 self.start = first_match1749 first_match = absurd_match1761 if n < first_match:1762 first_match = n1765 if first_match == absurd_match:1767 self.start = first_match
357 bool first_match = true; in FindMatchingFlags() local363 if (first_match) { in FindMatchingFlags()364 first_match = false; in FindMatchingFlags()