Searched refs:predicted_length (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/test/logging/ |
D | log_writer.h | 28 const int predicted_length = std::vsnprintf(nullptr, 0, fmt, copy); in LogWriteFormat() local 31 RTC_DCHECK_GE(predicted_length, 0); in LogWriteFormat() 32 std::string out_str(predicted_length, '\0'); in LogWriteFormat() 33 if (predicted_length > 0) { in LogWriteFormat() 36 std::vsnprintf(&out_str.front(), predicted_length + 1, fmt, args); in LogWriteFormat()
|
/external/webrtc/rtc_base/strings/ |
D | string_builder.cc | 125 const int predicted_length = std::vsnprintf(nullptr, 0, fmt, copy); in AppendFormat() local 128 RTC_DCHECK_GE(predicted_length, 0); in AppendFormat() 129 if (predicted_length > 0) { in AppendFormat() 131 str_.resize(size + predicted_length); in AppendFormat() 134 std::vsnprintf(&str_[size], predicted_length + 1, fmt, args); in AppendFormat()
|
/external/webrtc/rtc_base/ |
D | checks.cc | 46 const int predicted_length = std::vsnprintf(nullptr, 0, fmt, copy); in AppendFormat() local 49 if (predicted_length > 0) { in AppendFormat() 51 s->resize(size + predicted_length); in AppendFormat() 53 std::vsnprintf(&((*s)[size]), predicted_length + 1, fmt, args); in AppendFormat()
|