Home
last modified time | relevance | path

Searched refs:Usage (Results 1 – 14 of 14) sorted by relevance

/art/compiler/driver/
Dcompiler_options.cc105 void CompilerOptions::ParseHugeMethodMax(const StringPiece& option, UsageFn Usage) { in ParseHugeMethodMax() argument
106 ParseUintOption(option, "--huge-method-max", &huge_method_threshold_, Usage); in ParseHugeMethodMax()
109 void CompilerOptions::ParseLargeMethodMax(const StringPiece& option, UsageFn Usage) { in ParseLargeMethodMax() argument
110 ParseUintOption(option, "--large-method-max", &large_method_threshold_, Usage); in ParseLargeMethodMax()
113 void CompilerOptions::ParseSmallMethodMax(const StringPiece& option, UsageFn Usage) { in ParseSmallMethodMax() argument
114 ParseUintOption(option, "--small-method-max", &small_method_threshold_, Usage); in ParseSmallMethodMax()
117 void CompilerOptions::ParseTinyMethodMax(const StringPiece& option, UsageFn Usage) { in ParseTinyMethodMax() argument
118 ParseUintOption(option, "--tiny-method-max", &tiny_method_threshold_, Usage); in ParseTinyMethodMax()
121 void CompilerOptions::ParseNumDexMethods(const StringPiece& option, UsageFn Usage) { in ParseNumDexMethods() argument
122 ParseUintOption(option, "--num-dex-methods", &num_dex_methods_threshold_, Usage); in ParseNumDexMethods()
[all …]
Dcompiler_options.h234 bool ParseCompilerOption(const StringPiece& option, UsageFn Usage);
249 void ParseDumpInitFailures(const StringPiece& option, UsageFn Usage);
250 void ParseDumpCfgPasses(const StringPiece& option, UsageFn Usage);
251 void ParseInlineMaxCodeUnits(const StringPiece& option, UsageFn Usage);
252 void ParseInlineDepthLimit(const StringPiece& option, UsageFn Usage);
253 void ParseNumDexMethods(const StringPiece& option, UsageFn Usage);
254 void ParseTinyMethodMax(const StringPiece& option, UsageFn Usage);
255 void ParseSmallMethodMax(const StringPiece& option, UsageFn Usage);
256 void ParseLargeMethodMax(const StringPiece& option, UsageFn Usage);
257 void ParseHugeMethodMax(const StringPiece& option, UsageFn Usage);
/art/profman/
Dprofman.cc72 NO_RETURN static void Usage(const char *fmt, ...) { in Usage() function
137 Usage("No arguments specified"); in ParseArgs()
149 ParseUintOption(option, "--dump-output-to-fd", &dump_output_to_fd_, Usage); in ParseArgs()
157 ParseUintOption(option, "--reference-profile-file-fd", &reference_profile_file_fd_, Usage); in ParseArgs()
163 Usage("Unknown argument '%s'", option.data()); in ParseArgs()
173 Usage("No profile files specified."); in ParseArgs()
176 Usage("Profile files should not be specified with both --profile-file-fd and --profile-file"); in ParseArgs()
179 Usage("No reference profile file specified."); in ParseArgs()
182 Usage("Reference profile should not be specified with both " in ParseArgs()
187 Usage("Options --profile-file-fd and --reference-profile-file-fd " in ParseArgs()
[all …]
/art/dex2oat/
Ddex2oat.cc171 NO_RETURN static void Usage(const char* fmt, ...) { in Usage() function
578 ParseUintOption(option, "--zip-fd", &zip_fd_, Usage); in ParseZipFd()
582 ParseUintOption(option, "--oat-fd", &oat_fd_, Usage); in ParseOatFd()
589 ParseUintOption(option, arg_name, &fd, Usage); in ParseFdForCollection()
594 ParseUintOption(option, "-j", &thread_count_, Usage, /* is_long_option */ false); in ParseJ()
603 Usage("Failed to parse hexadecimal value for option %s", option.data()); in ParseBase()
628 Usage("%s", parser_options->error_msg.c_str()); in ParseInstructionSetVariant()
640 Usage("Problem initializing default instruction set features variant: %s", in ParseInstructionSetFeatures()
648 Usage("Error parsing '%s': %s", option.data(), parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
661 Usage("Unknown compiler backend: %s", backend_str.data()); in ParseCompilerBackend()
[all …]
/art/patchoat/
Dpatchoat.cc893 NO_RETURN static void Usage(const char *fmt, ...) { in Usage() function
984 Usage("Image patching requires --output-image-file"); in patchoat_image()
988 Usage("Must supply a desired new offset or delta."); in patchoat_image()
992 Usage("Base offset/delta must be aligned to a pagesize (0x%08x) boundary.", kPageSize); in patchoat_image()
1033 Usage("Only one of --base-offset-delta or --patched-image-location may be used."); in patchoat_oat()
1035 Usage("Must specify --base-offset-delta or --patched-image-location."); in patchoat_oat()
1040 Usage("Both input and output oat must be supplied to patch an app odex."); in patchoat_oat()
1045 Usage("Unable to find filename for input oat location %s", input_oat_location.c_str()); in patchoat_oat()
1064 Usage("Unable to determine image file for location %s", patched_image_location.c_str()); in patchoat_oat()
1074 Usage("Unable to determine image file for location %s", patched_image_location.c_str()); in patchoat_oat()
[all …]
/art/runtime/
Dparsed_options.cc346 Usage("%s is not a valid instruction set.", isa_str); in ProcessSpecialOptions()
362 Usage("vfprintf argument was nullptr"); in ProcessSpecialOptions()
375 Usage("exit argument was nullptr"); in ProcessSpecialOptions()
386 Usage("abort was nullptr\n"); in ProcessSpecialOptions()
453 Usage("%s\n", parse_result.GetMessage().c_str()); in DoParse()
456 Usage("%s\n", parse_result.GetMessage().c_str()); in DoParse()
468 Usage(nullptr); in DoParse()
478 Usage("-Xusejit:true and -Xint cannot be specified together"); in DoParse()
569 Usage("The number of boot class path files does not match" in DoParse()
621 void ParsedOptions::Usage(const char* fmt, ...) { in Usage() function in art::ParsedOptions
Dutils.h350 UsageFn Usage,
357 Usage("Failed to parse %s '%s' as an integer", option_name.c_str(), value_string);
360 Usage("%s passed a negative value %d", option_name.c_str(), parsed_integer_value);
370 UsageFn Usage);
Dparsed_options.h69 void Usage(const char* fmt, ...);
Dutils.cc1848 UsageFn Usage) { in ParseStringAfterChar() argument
1851 Usage("Missing char %c in option %s\n", c, s.c_str()); in ParseStringAfterChar()
1862 UsageFn Usage) { in ParseDouble() argument
1864 ParseStringAfterChar(option, after_char, &substring, Usage); in ParseDouble()
1879 Usage("Invalid double value %s for option %s\n", substring.c_str(), option.c_str()); in ParseDouble()
/art/compiler/jit/
Djit_compiler.cc79 NO_RETURN static void Usage(const char* fmt, ...) { in Usage() function
115 compiler_options_->ParseCompilerOption(argument, Usage); in JitCompiler()
/art/cmdline/
Dcmdline_parse_result.h34 static CmdlineParseResult Usage(const std::string& message) { in Usage() function
Dcmdline_types.h82 return Result::Usage(
524 return Result::Usage(std::string("Unknown -Xgc option ") + gc_option);
626 return Result::Usage(std::string("Unknown -verbose option ") + verbose_options[j]);
748 return StringResult::Usage(std::string() + "Missing char " + c + " in option " + s);
/art/tools/ahat/
DREADME.txt3 Usage:
/art/compiler/
Doat_test.cc45 NO_RETURN static void Usage(const char* fmt, ...) { in Usage() function
99 compiler_options_->ParseCompilerOption(option, Usage); in SetupCompiler()