/art/cmdline/ |
D | cmdline_types.h | 62 Result Parse(const std::string& args) { 72 Result Parse(const std::string& args) { 92 Result Parse(const std::string& option) { 116 Result Parse(const std::string& arg) { 207 Result Parse(const std::string& str) { 252 Result Parse(const std::string& str) { 262 Result Parse(const std::string& str) { 310 Result Parse(const std::string& str) { 312 CmdlineParseResult<unsigned int> res = uint_parser.Parse(str); 327 Result Parse(const std::string& args) { [all …]
|
D | cmdline_parser_test.cc | 174 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \ 189 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \ 208 EXPECT_TRUE(IsResultFailure(parser_->Parse(argv), failure_status));\ 220 EXPECT_TRUE(IsResultSuccessful(parser.Parse(""))); in TEST_F() 567 EXPECT_TRUE(IsResultSuccessful(parser_->Parse( in TEST_F() 584 EXPECT_EQ(success0, ct.Parse("1,2,3,4")); in TEST_F() 587 EXPECT_EQ(success1, ct.Parse("1")); in TEST_F() 589 EXPECT_FALSE(ct.Parse("").IsSuccess()); in TEST_F() 590 EXPECT_FALSE(ct.Parse(",").IsSuccess()); in TEST_F() 591 EXPECT_FALSE(ct.Parse("1,").IsSuccess()); in TEST_F() [all …]
|
D | cmdline_parser.h | 547 CmdlineResult Parse(const std::string& argv) { in Parse() function 551 return Parse(TokenRange(std::move(tokenized))); in Parse() 555 CmdlineResult Parse(const char* argv) { in Parse() function 556 return Parse(std::string(argv)); in Parse() 561 CmdlineResult Parse(const std::vector<const char*>& argv) { in Parse() function 562 return Parse(TokenRange(argv.begin(), argv.end())); in Parse() 567 CmdlineResult Parse(const std::vector<std::string>& argv) { in Parse() function 568 return Parse(TokenRange(argv.begin(), argv.end())); in Parse() 573 CmdlineResult Parse(const char* argv[], int argc) { in Parse() function 574 return Parse(TokenRange(&argv[1], argc - 1)); // ignore argv[0] because it's the program name in Parse() [all …]
|
D | cmdline_type_parser.h | 37 Result Parse(const std::string& args ATTRIBUTE_UNUSED) { in Parse() function
|
D | cmdline.h | 142 bool Parse(int argc, char** argv) { in Parse() function 345 if (args_ == nullptr || !args_->Parse(argc, argv)) { in Main()
|
D | README.md | 183 The `Parse` method should be implemented for most types. Some types will allow appending (such as an 191 Result Parse(const std::string& str) {
|
/art/runtime/ |
D | parsed_options_test.cc | 76 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F() 126 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F() 143 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F() 162 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F() 179 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
|
D | parsed_options.h | 54 static bool Parse(const RuntimeOptions& options,
|
D | backtrace_helper.cc | 60 CHECK(maps_.Parse()); in UnwindHelper()
|
D | class_loader_context.h | 283 bool Parse(const std::string& spec, bool parse_checksums = false);
|
D | parsed_options.cc | 53 bool ParsedOptions::Parse(const RuntimeOptions& options, in Parse() function in art::ParsedOptions 658 CmdlineResult parse_result = parser->Parse(argv_list); in DoParse()
|
D | class_loader_context.cc | 111 if (result->Parse(spec)) { in Create() 330 bool ClassLoaderContext::Parse(const std::string& spec, bool parse_checksums) { in Parse() function in art::ClassLoaderContext 1290 if (!expected_context.Parse(context_spec, verify_checksums)) { in VerifyClassLoaderContextMatch()
|
/art/dex2oat/ |
D | dex2oat_options.h | 62 static std::unique_ptr<Dex2oatArgumentMap> Parse(int argc,
|
D | dex2oat_options.cc | 28 Result Parse(const std::string& option) { in Parse() function 478 std::unique_ptr<Dex2oatArgumentMap> Dex2oatArgumentMap::Parse(int argc, in Parse() function in art::Dex2oatArgumentMap 482 CmdlineResult parse_result = parser.Parse(argv, argc); in Parse()
|
D | dex2oat_options.def | 36 // Parse-able keys from the command line.
|
/art/tools/dexanalyze/ |
D | dexanalyze.cc | 68 int Parse(int argc, char** argv) { in Parse() function 195 int result = options.Parse(argc, argv); in Run()
|
/art/odrefresh/ |
D | TODO.md | 12 2. Parse apex-info-list.xml into an apex_info (to make version and location available).
|
/art/runtime/metrics/ |
D | reporter.h | 55 static std::optional<ReportingPeriodSpec> Parse(
|
D | reporter.cc | 272 period_spec = ReportingPeriodSpec::Parse(spec_str.value(), &error); in FromFlags() 305 std::optional<ReportingPeriodSpec> ReportingPeriodSpec::Parse( in Parse() function in art::metrics::ReportingPeriodSpec
|
D | reporter_test.cc | 115 config.period_spec = ReportingPeriodSpec::Parse(period_spec, &error); in SetupReporter() 422 std::optional<ReportingPeriodSpec> spec = ReportingPeriodSpec::Parse(spec_str, &error_msg); in Verify()
|
/art/compiler/driver/ |
D | compiler_options.cc | 136 CmdlineResult parse_result = parser.Parse(options); in ParseCompilerOptions()
|
D | compiler_options_map.def | 36 // Parse-able keys from the command line.
|
D | compiler_options_map-inl.h | 36 Result Parse(const std::string& option) {
|
/art/openjdkjvmti/ |
D | ti_logging.cc | 84 art::CmdlineType<art::LogVerbosity>::Result result = cmdline_parser.Parse(parse_data); in SetVerboseFlagExt()
|
/art/cmdline/detail/ |
D | cmdline_parse_argument_detail.h | 511 CmdlineParseResult<TArg> result = type_parser.Parse(argument); in ParseArgumentSingle()
|