Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cc240 int needed_length; in SharedPrintfCode() local
252 needed_length = 0; in SharedPrintfCode()
255 if (needed_length >= buffer_size) { \ in SharedPrintfCode()
257 RAW_CHECK_MSG(needed_length < kLen, \ in SharedPrintfCode()
264 needed_length += internal_snprintf(buffer, buffer_size, in SharedPrintfCode()
268 needed_length += internal_snprintf(buffer + needed_length, in SharedPrintfCode()
269 buffer_size - needed_length, in SharedPrintfCode()
273 needed_length += VSNPrintf(buffer + needed_length, in SharedPrintfCode()
274 buffer_size - needed_length, format, args); in SharedPrintfCode()
318 int needed_length = VSNPrintf(buffer, length, format, args); in internal_snprintf() local
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cpp253 int needed_length; in SharedPrintfCodeNoBuffer() local
264 needed_length = 0; in SharedPrintfCodeNoBuffer()
267 if (needed_length >= buffer_size) { \ in SharedPrintfCodeNoBuffer()
269 RAW_CHECK_MSG(needed_length < kLen, \ in SharedPrintfCodeNoBuffer()
278 needed_length += internal_snprintf(buffer, buffer_size, in SharedPrintfCodeNoBuffer()
282 needed_length += internal_snprintf( in SharedPrintfCodeNoBuffer()
283 buffer + needed_length, buffer_size - needed_length, "==%d==", pid); in SharedPrintfCodeNoBuffer()
286 needed_length += VSNPrintf(buffer + needed_length, in SharedPrintfCodeNoBuffer()
287 buffer_size - needed_length, format, args); in SharedPrintfCodeNoBuffer()
342 int needed_length = VSNPrintf(buffer, length, format, args); in internal_snprintf() local
[all …]
/external/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()
/external/python/cpython2/Parser/
Dtokenizer.c627 int skip_next_lf = 0, needed_length = strlen(s) + 2, final_length; in translate_newlines() local
630 buf = PyMem_MALLOC(needed_length); in translate_newlines()
659 if (final_length < needed_length && final_length) in translate_newlines()
/external/python/cpython3/Parser/
Dtokenizer.c620 size_t needed_length = strlen(s) + 2, final_length; in translate_newlines() local
623 buf = PyMem_MALLOC(needed_length); in translate_newlines()
652 if (final_length < needed_length && final_length) { in translate_newlines()