Lines Matching refs:format
53 void StringAppendV(string* dst, const char* format, va_list ap) {
62 int result = vsnprintf(space, sizeof(space), format, backup_ap);
76 result = vsnprintf(NULL, 0, format, backup_ap);
93 result = vsnprintf(buf, length, format, backup_ap);
104 string StringPrintf(const char* format, ...) {
106 va_start(ap, format);
108 StringAppendV(&result, format, ap);
113 const string& SStringPrintf(string* dst, const char* format, ...) {
115 va_start(ap, format);
117 StringAppendV(dst, format, ap);
122 void StringAppendF(string* dst, const char* format, ...) {
124 va_start(ap, format);
125 StringAppendV(dst, format, ap);