Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dstring_util.cc240 size_t replace_length = replace_with.length(); in ReplaceCharsT() local
248 found = output->find_first_of(replace_chars, found + replace_length); in ReplaceCharsT()
724 size_t replace_length = replace_with.length(); in DoReplaceSubstringsAfterOffset() local
725 if (find_length == replace_length) { in DoReplaceSubstringsAfterOffset()
729 offset = str->find(find_this.data(), offset + replace_length, in DoReplaceSubstringsAfterOffset()
743 if (find_length > replace_length) { in DoReplaceSubstringsAfterOffset()
746 if (replace_length) { in DoReplaceSubstringsAfterOffset()
747 str->replace(write_offset, replace_length, in DoReplaceSubstringsAfterOffset()
749 write_offset += replace_length; in DoReplaceSubstringsAfterOffset()
775 size_t expansion = replace_length - find_length; in DoReplaceSubstringsAfterOffset()
[all …]
/external/libweave/third_party/chromium/base/strings/
Dstring_util.cc111 size_t replace_length = replace_with.length(); in ReplaceCharsT() local
119 found = output->find_first_of(replace_chars, found + replace_length); in ReplaceCharsT()
/external/google-breakpad/src/common/windows/
Dpdb_source_line_writer.cc957 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()