Lines Matching refs:replace_length
240 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()
799 write_offset -= replace_length; in DoReplaceSubstringsAfterOffset()
800 str->replace(write_offset, replace_length, in DoReplaceSubstringsAfterOffset()