Searched refs:needed_length (Results 1 – 3 of 3) 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 needed_length += internal_snprintf(buffer, buffer_size, "==%d==", pid); in SharedPrintfCode() 256 if (needed_length >= buffer_size) { in SharedPrintfCode() 260 RAW_CHECK_MSG(needed_length < kLen, "Buffer in Report is too short!\n"); in SharedPrintfCode() 263 needed_length += VSNPrintf(buffer + needed_length, in SharedPrintfCode() 264 buffer_size - needed_length, format, args); in SharedPrintfCode() 265 if (needed_length >= buffer_size) { in SharedPrintfCode() 269 RAW_CHECK_MSG(needed_length < kLen, "Buffer in Report is too short!\n"); in SharedPrintfCode() 308 int needed_length = VSNPrintf(buffer, length, format, args); in internal_snprintf() local [all …]
|
/external/chromium_org/third_party/webrtc/base/ |
D | urlencode.cc | 141 size_t needed_length = encoded.length() + 1; in InternalUrlDecodeString() local 142 char* buf = STACK_ARRAY(char, needed_length); in InternalUrlDecodeString() 161 int needed_length = static_cast<int>(decoded.length()) * 3 + 1; in InternalUrlEncodeString() local 162 char* buf = STACK_ARRAY(char, needed_length); in InternalUrlEncodeString() 163 InternalUrlEncode(decoded.c_str(), buf, needed_length, in InternalUrlEncodeString()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | urlencode.cc | 156 size_t needed_length = encoded.length() + 1; in InternalUrlDecodeString() local 157 char* buf = STACK_ARRAY(char, needed_length); in InternalUrlDecodeString() 176 int needed_length = static_cast<int>(decoded.length()) * 3 + 1; in InternalUrlEncodeString() local 177 char* buf = STACK_ARRAY(char, needed_length); in InternalUrlEncodeString() 178 InternalUrlEncode(decoded.c_str(), buf, needed_length, in InternalUrlEncodeString()
|