Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cc241 int needed_length; in SharedPrintfCode() local
253 needed_length = 0; in SharedPrintfCode()
256 needed_length += internal_snprintf(buffer, buffer_size, "==%d==", pid); in SharedPrintfCode()
257 if (needed_length >= buffer_size) { in SharedPrintfCode()
261 RAW_CHECK_MSG(needed_length < kLen, "Buffer in Report is too short!\n"); in SharedPrintfCode()
264 needed_length += VSNPrintf(buffer + needed_length, in SharedPrintfCode()
265 buffer_size - needed_length, format, args); in SharedPrintfCode()
266 if (needed_length >= buffer_size) { in SharedPrintfCode()
270 RAW_CHECK_MSG(needed_length < kLen, "Buffer in Report is too short!\n"); in SharedPrintfCode()
309 int needed_length = VSNPrintf(buffer, length, format, args); in internal_snprintf() local
[all …]