Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
Dstring_buffer.c92 uint32_t needed_length = str->length + len + 1; in _mesa_string_buffer_append_len() local
95 if (needed_length < str->length) in _mesa_string_buffer_append_len()
98 if (!ensure_capacity(str, needed_length)) in _mesa_string_buffer_append_len()
/third_party/python/Parser/
Dtokenizer.c597 size_t needed_length = strlen(s) + 2, final_length; in translate_newlines() local
600 buf = PyMem_Malloc(needed_length); in translate_newlines()
629 if (final_length < needed_length && final_length) { in translate_newlines()