Lines Matching refs:format
24 const char* format,
26 return base::vsnprintf(buffer, buf_size, format, argptr);
31 const wchar_t* format,
33 return base::vswprintf(buffer, buf_size, format, argptr);
40 const typename StringType::value_type* format,
53 int result = vsnprintfT(stack_buf, arraysize(stack_buf), format, ap_copy);
97 result = vsnprintfT(&mem_buf[0], mem_length, format, ap_copy);
110 std::string StringPrintf(const char* format, ...) {
112 va_start(ap, format);
114 StringAppendV(&result, format, ap);
119 std::wstring StringPrintf(const wchar_t* format, ...) {
121 va_start(ap, format);
123 StringAppendV(&result, format, ap);
128 std::string StringPrintV(const char* format, va_list ap) {
130 StringAppendV(&result, format, ap);
134 const std::string& SStringPrintf(std::string* dst, const char* format, ...) {
136 va_start(ap, format);
138 StringAppendV(dst, format, ap);
144 const wchar_t* format, ...) {
146 va_start(ap, format);
148 StringAppendV(dst, format, ap);
153 void StringAppendF(std::string* dst, const char* format, ...) {
155 va_start(ap, format);
156 StringAppendV(dst, format, ap);
160 void StringAppendF(std::wstring* dst, const wchar_t* format, ...) {
162 va_start(ap, format);
163 StringAppendV(dst, format, ap);
167 void StringAppendV(std::string* dst, const char* format, va_list ap) {
168 StringAppendVT(dst, format, ap);
171 void StringAppendV(std::wstring* dst, const wchar_t* format, va_list ap) {
172 StringAppendVT(dst, format, ap);