Searched refs:replace_length (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/base/strings/ |
D | string_util.cc | 744 const size_t replace_length = replace_with.length(); in DoReplaceMatchesAfterOffset() local 746 str->replace(first_match, find_length, replace_with.data(), replace_length); in DoReplaceMatchesAfterOffset() 752 if (find_length == replace_length) { in DoReplaceMatchesAfterOffset() 755 offset = matcher.Find(*str, offset + replace_length)) { in DoReplaceMatchesAfterOffset() 756 CharTraits::copy(buffer + offset, replace_with.data(), 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() 801 str->append(replace_with.data(), replace_length); in DoReplaceMatchesAfterOffset() 845 if (replace_length) { in DoReplaceMatchesAfterOffset() 847 replace_length); in DoReplaceMatchesAfterOffset() [all …]
|
/external/google-breakpad/src/common/windows/ |
D | pdb_source_line_writer.cc | 957 const size_t replace_length = wcslen(replace_string); in GetSymbolFunctionName() local 960 if (length >= replace_length) { in GetSymbolFunctionName() 961 wchar_t *name_end = *name + length - replace_length; in GetSymbolFunctionName() 963 WindowsStringUtils::safe_wcscpy(name_end, replace_length, in GetSymbolFunctionName()
|
/external/v8/src/builtins/ |
D | builtins-regexp-gen.cc | 2899 TNode<Smi> const replace_length = LoadStringLengthAsSmi(replace_string); in ReplaceSimpleStringFastPath() local 2909 GotoIf(SmiEqual(replace_length, SmiZero()), &loop_end); in ReplaceSimpleStringFastPath()
|