MCPcopy Create free account
hub / github.com/apache/brpc / StringPrintf

Function StringPrintf

src/butil/strings/stringprintf.cc:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115} // namespace
116
117std::string StringPrintf(const char* format, ...) {
118 va_list ap;
119 va_start(ap, format);
120 std::string result;
121 StringAppendV(&result, format, ap);
122 va_end(ap);
123 return result;
124}
125
126#if !defined(OS_ANDROID)
127std::wstring StringPrintf(const wchar_t* format, ...) {

Callers 15

TESTFunction · 0.85
AMethod · 0.85
~AMethod · 0.85
UseMethod · 0.85
BMethod · 0.85
~BMethod · 0.85
BClass · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
GetUniquePathNumberFunction · 0.85
RandomDataToGUIDStringFunction · 0.85

Calls 1

StringAppendVFunction · 0.85

Tested by 8

TESTFunction · 0.68
AMethod · 0.68
~AMethod · 0.68
UseMethod · 0.68
BMethod · 0.68
~BMethod · 0.68
TESTFunction · 0.68
TESTFunction · 0.68