Searched refs:raw_option (Results 1 – 7 of 7) sorted by relevance
/art/tools/art_verifier/ |
D | art_verifier.cc | 95 ParseStatus ParseCustom(const char* raw_option, in ParseCustom() 98 DCHECK_EQ(strlen(raw_option), raw_option_length); in ParseCustom() 100 ParseStatus base_parse = Base::ParseCustom(raw_option, raw_option_length, error_msg); in ParseCustom() 106 std::string_view option(raw_option, raw_option_length); in ParseCustom() 108 dex_filename_ = raw_option + strlen("--dex-file="); in ParseCustom() 117 repetitions_ = strtoul(raw_option + strlen("--repetitions="), &end, 10); in ParseCustom() 120 api_level_ = strtoul(raw_option + strlen("--api-level="), &end, 10); in ParseCustom()
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 178 const char* raw_option = argv[i]; in ParseArgs() local 179 const std::string_view option(raw_option); in ParseArgs() 185 const char* filter_str = raw_option + strlen("--compiler-filter="); in ParseArgs() 187 Usage("Invalid compiler filter '%s'", raw_option); in ParseArgs() 190 const char* isa_str = raw_option + strlen("--isa="); in ParseArgs() 193 Usage("Invalid isa '%s'", raw_option); in ParseArgs() 206 const char* new_android_data = raw_option + strlen("--android-data="); in ParseArgs() 240 Usage("Unknown argument '%s'", raw_option); in ParseArgs()
|
/art/profman/ |
D | profman.cc | 239 static void ParseUintOption(const char* raw_option, in ParseUintOption() argument 245 DCHECK(StartsWith(raw_option, option_prefix)) << raw_option << " " << option_prefix; in ParseUintOption() 247 const char* value_string = raw_option + option_prefix.size(); in ParseUintOption() 252 static void ParseBoolOption(const char* raw_option, in ParseBoolOption() argument 256 DCHECK(StartsWith(raw_option, option_prefix)) << raw_option << " " << option_prefix; in ParseBoolOption() 257 const char* value_string = raw_option + option_prefix.size(); in ParseBoolOption() 306 const char* raw_option = argv[i]; in ParseArgs() local 307 const std::string_view option(raw_option); in ParseArgs() 319 ParseUintOption(raw_option, "--dump-output-to-fd=", &dump_output_to_fd_); in ParseArgs() 325 ParseUintOption(raw_option, in ParseArgs() [all …]
|
/art/cmdline/ |
D | cmdline.h | 155 const char* const raw_option = argv[i]; in Parse() local 156 const std::string_view option(raw_option); in Parse() 158 boot_image_location_ = raw_option + strlen("--boot-image="); in Parse() 160 const char* const instruction_set_str = raw_option + strlen("--instruction-set="); in Parse() 186 ParseStatus parse_status = ParseCustom(raw_option, option.length(), &error_msg); in Parse() 324 virtual ParseStatus ParseCustom(const char* raw_option ATTRIBUTE_UNUSED, in ParseCustom()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 891 const char* raw_option = argv[i]; in ParseArgs() local 892 const std::string_view option(raw_option); in ParseArgs() 902 Usage("Unknown argument '%s'", raw_option); in ParseArgs() 908 const char* raw_option = argv[i]; in ParseArgs() local 909 const std::string_view option(raw_option); in ParseArgs() 931 Usage("Unknown argument '%s'", raw_option); in ParseArgs()
|
/art/oatdump/ |
D | oatdump.cc | 3422 ParseStatus ParseCustom(const char* raw_option, in ParseCustom() 3425 DCHECK_EQ(strlen(raw_option), raw_option_length); in ParseCustom() 3427 ParseStatus base_parse = Base::ParseCustom(raw_option, raw_option_length, error_msg); in ParseCustom() 3433 std::string_view option(raw_option, raw_option_length); in ParseCustom() 3435 oat_filename_ = raw_option + strlen("--oat-file="); in ParseCustom() 3437 dex_filename_ = raw_option + strlen("--dex-file="); in ParseCustom() 3439 image_location_ = raw_option + strlen("--image="); in ParseCustom() 3449 oat_filename_ = raw_option + strlen("--symbolize="); in ParseCustom() 3454 class_filter_ = raw_option + strlen("--class-filter="); in ParseCustom() 3456 method_filter_ = raw_option + strlen("--method-filter="); in ParseCustom() [all …]
|
/art/imgdiag/ |
D | imgdiag.cc | 1860 ParseStatus ParseCustom(const char* raw_option, in ParseCustom() 1863 DCHECK_EQ(strlen(raw_option), raw_option_length); in ParseCustom() 1865 ParseStatus base_parse = Base::ParseCustom(raw_option, raw_option_length, error_msg); in ParseCustom() 1871 std::string_view option(raw_option, raw_option_length); in ParseCustom() 1873 const char* image_diff_pid = raw_option + strlen("--image-diff-pid="); in ParseCustom() 1880 const char* zygote_diff_pid = raw_option + strlen("--zygote-diff-pid="); in ParseCustom()
|