Home
last modified time | relevance | path

Searched refs:find_length (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/base/strings/
Dstring_util.cc733 const size_t find_length = matcher.MatchSize(); in DoReplaceMatchesAfterOffset() local
734 if (!find_length) in DoReplaceMatchesAfterOffset()
746 str->replace(first_match, find_length, replace_with.data(), replace_length); in DoReplaceMatchesAfterOffset()
752 if (find_length == replace_length) { in DoReplaceMatchesAfterOffset()
779 if (replace_length > find_length) { in DoReplaceMatchesAfterOffset()
782 const size_t expansion_per_match = (replace_length - find_length); in DoReplaceMatchesAfterOffset()
785 match = matcher.Find(*str, match + find_length)) { in DoReplaceMatchesAfterOffset()
802 pos = match + find_length; in DoReplaceMatchesAfterOffset()
818 size_t shift_src = first_match + find_length; in DoReplaceMatchesAfterOffset()
850 read_offset += find_length; in DoReplaceMatchesAfterOffset()