Lines Matching refs:args

315 args_vector_t* ResolveArgs(args_vector_t* to_populate, std::string args,  in ResolveArgs()  argument
320 if (args_shorthand.count(args)) { in ResolveArgs()
321 return &args_shorthand[args]; in ResolveArgs()
324 if (android::base::StartsWith(args, kOnebufManualStr)) { in ResolveArgs()
325 if (!ParseOnebufManualStr(args, to_populate)) { in ResolveArgs()
327 args.c_str()); in ResolveArgs()
330 } else if (android::base::StartsWith(args, kTwobufManualStr)) { in ResolveArgs()
331 if (!ParseTwobufManualStr(args, to_populate)) { in ResolveArgs()
334 args.c_str()); in ResolveArgs()
340 std::stringstream sstream(args); in ResolveArgs()
346 errx(1, "ERROR: Args str %s contains an invalid macro or int.", args.c_str()); in ResolveArgs()
369 for (const std::vector<int64_t>& args : (*run_args)) { in RegisterGoogleBenchmarks()
372 cpu_to_use)->Args(args); in RegisterGoogleBenchmarks()
462 static void SetArgs(const std::vector<int>& sizes, args_vector_t* args) { in SetArgs() argument
464 args->push_back({size}); in SetArgs()
468 static void SetArgs(const std::vector<int>& sizes, int align, args_vector_t* args) { in SetArgs() argument
470 args->push_back({size, align}); in SetArgs()
475 static void SetArgs(const std::vector<int>& sizes, int align1, int align2, args_vector_t* args) { in SetArgs() argument
477 args->push_back({size, align1, align2}); in SetArgs()
482 args_vector_t args; in GetArgs() local
483 SetArgs(sizes, &args); in GetArgs()
484 return args; in GetArgs()
488 args_vector_t args; in GetArgs() local
489 SetArgs(sizes, align, &args); in GetArgs()
490 return args; in GetArgs()
494 args_vector_t args; in GetArgs() local
495 SetArgs(sizes, align1, align2, &args); in GetArgs()
496 return args; in GetArgs()