Searched refs:needed_length (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_printf.cc | 240 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() 315 int needed_length = VSNPrintf(buffer, length, format, args); in internal_snprintf() local [all …]
|
/external/webrtc/webrtc/base/ |
D | urlencode.cc | 139 size_t needed_length = encoded.length() + 1; in InternalUrlDecodeString() local 140 char* buf = STACK_ARRAY(char, needed_length); in InternalUrlDecodeString() 159 int needed_length = static_cast<int>(decoded.length()) * 3 + 1; in InternalUrlEncodeString() local 160 char* buf = STACK_ARRAY(char, needed_length); in InternalUrlEncodeString() 161 InternalUrlEncode(decoded.c_str(), buf, needed_length, in InternalUrlEncodeString()
|