Lines Matching refs:needed_length
241 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
311 return needed_length; in internal_snprintf()