Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cc155 int needed_length = VSNPrintf(buffer.data(), kLen, format, args); in Printf() local
157 RAW_CHECK_MSG(needed_length < kLen, "Buffer in Printf is too short!\n"); in Printf()
170 int needed_length = VSNPrintf(buffer, length, format, args); in internal_snprintf() local
172 return needed_length; in internal_snprintf()
179 int needed_length = internal_snprintf(buffer.data(), in Report() local
181 RAW_CHECK_MSG(needed_length < kLen, "Buffer in Report is too short!\n"); in Report()
184 needed_length += VSNPrintf(buffer.data() + needed_length, in Report()
185 kLen - needed_length, format, args); in Report()
187 RAW_CHECK_MSG(needed_length < kLen, "Buffer in Report is too short!\n"); in Report()
/external/chromium/third_party/libjingle/source/talk/base/
Durlencode.cc156 size_t needed_length = encoded.length() + 1; in InternalUrlDecodeString() local
157 char* buf = STACK_ARRAY(char, needed_length); in InternalUrlDecodeString()
176 size_t needed_length = 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()