Home
last modified time | relevance | path

Searched refs:raw_option (Results 1 – 7 of 7) sorted by relevance

/art/tools/art_verifier/
Dart_verifier.cc95 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/profman/
Dprofman.cc252 static void ParseUintOption(const char* raw_option, in ParseUintOption() argument
258 DCHECK(StartsWith(raw_option, option_prefix)) << raw_option << " " << option_prefix; in ParseUintOption()
260 const char* value_string = raw_option + option_prefix.size(); in ParseUintOption()
265 static void ParseBoolOption(const char* raw_option, in ParseBoolOption() argument
269 DCHECK(StartsWith(raw_option, option_prefix)) << raw_option << " " << option_prefix; in ParseBoolOption()
270 const char* value_string = raw_option + option_prefix.size(); in ParseBoolOption()
286 static void ParseOutputProfileType(const char* raw_option, in ParseOutputProfileType() argument
290 DCHECK(StartsWith(raw_option, option_prefix)) << raw_option << " " << option_prefix; in ParseOutputProfileType()
291 const char* value_string = raw_option + option_prefix.size(); in ParseOutputProfileType()
343 const char* raw_option = argv[i]; in ParseArgs() local
[all …]
/art/cmdline/
Dcmdline.h155 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/dexoptanalyzer/
Ddexoptanalyzer.cc170 const char* raw_option = argv[i]; in ParseArgs() local
171 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()
242 Usage("Unknown argument '%s'", raw_option); in ParseArgs()
/art/tools/hiddenapi/
Dhiddenapi.cc914 const char* raw_option = argv[i]; in ParseArgs() local
915 const std::string_view option(raw_option); in ParseArgs()
927 Usage("Unknown argument '%s'", raw_option); in ParseArgs()
933 const char* raw_option = argv[i]; in ParseArgs() local
934 const std::string_view option(raw_option); in ParseArgs()
965 Usage("Unknown argument '%s'", raw_option); in ParseArgs()
/art/oatdump/
Doatdump.cc3056 ParseStatus ParseCustom(const char* raw_option, in ParseCustom()
3059 DCHECK_EQ(strlen(raw_option), raw_option_length); in ParseCustom()
3061 ParseStatus base_parse = Base::ParseCustom(raw_option, raw_option_length, error_msg); in ParseCustom()
3067 std::string_view option(raw_option, raw_option_length); in ParseCustom()
3069 oat_filename_ = raw_option + strlen("--oat-file="); in ParseCustom()
3071 dex_filename_ = raw_option + strlen("--dex-file="); in ParseCustom()
3073 image_location_ = raw_option + strlen("--image="); in ParseCustom()
3083 oat_filename_ = raw_option + strlen("--symbolize="); in ParseCustom()
3088 class_filter_ = raw_option + strlen("--class-filter="); in ParseCustom()
3090 method_filter_ = raw_option + strlen("--method-filter="); in ParseCustom()
[all …]
/art/imgdiag/
Dimgdiag.cc1861 ParseStatus ParseCustom(const char* raw_option, in ParseCustom()
1864 DCHECK_EQ(strlen(raw_option), raw_option_length); in ParseCustom()
1866 ParseStatus base_parse = Base::ParseCustom(raw_option, raw_option_length, error_msg); in ParseCustom()
1872 std::string_view option(raw_option, raw_option_length); in ParseCustom()
1874 const char* image_diff_pid = raw_option + strlen("--image-diff-pid="); in ParseCustom()
1881 const char* zygote_diff_pid = raw_option + strlen("--zygote-diff-pid="); in ParseCustom()