Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dstring_util.cc788 size_t final_length = str_length; in DoReplaceSubstringsAfterOffset() local
792 final_length += expansion; in DoReplaceSubstringsAfterOffset()
800 str->resize(final_length); in DoReplaceSubstringsAfterOffset()
803 for (size_t prev_match = str_length, write_offset = final_length; ; in DoReplaceSubstringsAfterOffset()
/external/python/cpython2/Parser/
Dtokenizer.c627 int skip_next_lf = 0, needed_length = strlen(s) + 2, final_length; in translate_newlines() local
658 final_length = current - buf + 1; in translate_newlines()
659 if (final_length < needed_length && final_length) in translate_newlines()
661 buf = PyMem_REALLOC(buf, final_length); in translate_newlines()
/external/python/cpython3/Parser/
Dtokenizer.c707 size_t needed_length = strlen(s) + 2, final_length; in translate_newlines() local
738 final_length = current - buf + 1; in translate_newlines()
739 if (final_length < needed_length && final_length) in translate_newlines()
741 buf = PyMem_REALLOC(buf, final_length); in translate_newlines()