Home
last modified time | relevance | path

Searched refs:StringPrintF (Results 1 – 8 of 8) sorted by relevance

/external/libcxx/utils/google-benchmark/src/
Djson_reporter.cc33 return StringPrintF("\"%s\": \"%s\"", key.c_str(), value.c_str()); in FormatKV()
37 return StringPrintF("\"%s\": \"%s\"", key.c_str(), value); in FormatKV()
41 return StringPrintF("\"%s\": %s", key.c_str(), value ? "true" : "false"); in FormatKV()
51 return StringPrintF("\"%s\": %.2f", key.c_str(), value); in FormatKV()
Dbenchmark_register.cc162 StringPrintF("%s:", family->arg_names_[arg_i].c_str()); in FindBenchmarks()
171 instance.name += StringPrintF("/min_time:%0.3f", family->min_time_); in FindBenchmarks()
174 instance.name += StringPrintF("/repeats:%d", family->repetitions_); in FindBenchmarks()
184 instance.name += StringPrintF("/threads:%d", instance.threads); in FindBenchmarks()
Dstring_util.h15 std::string StringPrintF(const char* format, ...);
Dstring_util.cc151 std::string StringPrintF(const char* format, ...) { in StringPrintF() function
/external/google-benchmark/src/
Djson_reporter.cc33 return StringPrintF("\"%s\": \"%s\"", key.c_str(), value.c_str()); in FormatKV()
37 return StringPrintF("\"%s\": \"%s\"", key.c_str(), value); in FormatKV()
41 return StringPrintF("\"%s\": %s", key.c_str(), value ? "true" : "false"); in FormatKV()
51 return StringPrintF("\"%s\": %.2f", key.c_str(), value); in FormatKV()
Dbenchmark_register.cc173 StringPrintF("%s:", family->arg_names_[arg_i].c_str()); in FindBenchmarks()
177 instance.name += StringPrintF("%d", arg); in FindBenchmarks()
182 instance.name += StringPrintF("/min_time:%0.3f", family->min_time_); in FindBenchmarks()
184 instance.name += StringPrintF("/iterations:%d", family->iterations_); in FindBenchmarks()
186 instance.name += StringPrintF("/repeats:%d", family->repetitions_); in FindBenchmarks()
196 instance.name += StringPrintF("/threads:%d", instance.threads); in FindBenchmarks()
Dstring_util.h15 std::string StringPrintF(const char* format, ...);
Dstring_util.cc155 std::string StringPrintF(const char* format, ...) { in StringPrintF() function