Lines Matching refs:std

40 static const std::vector<int> kCommonSizes{
54 static const std::vector<int> kSmallSizes{
63 static const std::vector<int> kMediumSizes{
73 static const std::vector<int> kLargeSizes{
80 static std::map<std::string, const std::vector<int> &> kSizes{
86 std::map<std::string, std::pair<benchmark_func_t, std::string>> g_str_to_func;
88 std::mutex g_map_lock;
100 typedef std::vector<std::vector<int64_t>> args_vector_t;
121 void SanitizeOpts(int argc, char** argv, std::vector<char*>* new_argv) { in SanitizeOpts()
227 static bool ParseOnebufManualStr(std::string& arg, args_vector_t* to_populate) { in ParseOnebufManualStr()
269 static bool ParseTwobufManualStr(std::string& arg, args_vector_t* to_populate) { in ParseTwobufManualStr()
315 args_vector_t* ResolveArgs(args_vector_t* to_populate, std::string args, in ResolveArgs()
316 std::map<std::string, args_vector_t>& args_shorthand) { in ResolveArgs()
339 to_populate->push_back(std::vector<int64_t>()); in ResolveArgs()
340 std::stringstream sstream(args); in ResolveArgs()
341 std::string argstr; in ResolveArgs()
354 const std::string& fn_name, args_vector_t* run_args) { in RegisterGoogleBenchmarks()
369 for (const std::vector<int64_t>& args : (*run_args)) { in RegisterGoogleBenchmarks()
380 std::map<std::string, args_vector_t>& args_shorthand) { in RegisterCliBenchmarks()
384 for (const std::string& extra_fn : cmdline_opts.extra_benchmarks) { in RegisterCliBenchmarks()
387 std::string fn_name = extra_fn.substr(0, first_space_pos); in RegisterCliBenchmarks()
388 std::string cmd_args; in RegisterCliBenchmarks()
389 if (first_space_pos != std::string::npos) { in RegisterCliBenchmarks()
403 std::map<std::string, args_vector_t>& args_shorthand) { in RegisterXmlBenchmarks()
430 std::string fn_name = fn_elem->GetText(); in RegisterXmlBenchmarks()
462 static void SetArgs(const std::vector<int>& sizes, args_vector_t* args) { in SetArgs()
468 static void SetArgs(const std::vector<int>& sizes, int align, args_vector_t* args) { in SetArgs()
475 static void SetArgs(const std::vector<int>& sizes, int align1, int align2, args_vector_t* args) { in SetArgs()
481 static args_vector_t GetArgs(const std::vector<int>& sizes) { in GetArgs()
487 static args_vector_t GetArgs(const std::vector<int>& sizes, int align) { in GetArgs()
493 static args_vector_t GetArgs(const std::vector<int>& sizes, int align1, int align2) { in GetArgs()
499 std::map<std::string, args_vector_t> GetShorthand() { in GetShorthand()
500 std::vector<int> all_sizes(kSmallSizes); in GetShorthand()
504 std::map<std::string, args_vector_t> args_shorthand { in GetShorthand()
553 static bool FileExists(const std::string& file) { in FileExists()
559 std::map<std::string, args_vector_t>& args_shorthand) { in RegisterAllBenchmarks()
570 std::map<std::string, args_vector_t> args_shorthand = GetShorthand(); in main()
572 std::vector<char*> new_argv(argc); in main()
582 std::string file(android::base::GetExecutableDirectory() + "/suites/" + opts.xmlpath); in main()