/art/cmdline/ |
D | cmdline_types.h | 59 Result Parse(const std::string& args) { 73 Result Parse(const std::string& option) { 96 Result Parse(const std::string& arg) { 180 Result Parse(const std::string& str) { 224 Result Parse(const std::string& str) { 233 Result Parse(const std::string& str) { 280 Result Parse(const std::string& str) { 282 CmdlineParseResult<unsigned int> res = uint_parser.Parse(str); 296 Result Parse(const std::string& args) { 314 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() 565 EXPECT_TRUE(IsResultSuccessful(parser_->Parse( in TEST_F() 581 EXPECT_EQ(success0, ct.Parse("1,2,3,4")); in TEST_F() 583 EXPECT_EQ(success1, ct.Parse("1")); in TEST_F() 585 EXPECT_FALSE(ct.Parse("").IsSuccess()); in TEST_F() 586 EXPECT_FALSE(ct.Parse(",").IsSuccess()); in TEST_F() 587 EXPECT_FALSE(ct.Parse("1,").IsSuccess()); in TEST_F() [all …]
|
D | cmdline_parser.h | 446 CmdlineResult Parse(const std::string& argv) { in Parse() function 450 return Parse(TokenRange(std::move(tokenized))); in Parse() 454 CmdlineResult Parse(const char* argv) { in Parse() function 455 return Parse(std::string(argv)); in Parse() 460 CmdlineResult Parse(const std::vector<const char*>& argv) { in Parse() function 461 return Parse(TokenRange(argv.begin(), argv.end())); in Parse() 466 CmdlineResult Parse(const std::vector<std::string>& argv) { in Parse() function 467 return Parse(TokenRange(argv.begin(), argv.end())); in Parse() 472 CmdlineResult Parse(const char* argv[], int argc) { in Parse() function 473 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() 124 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F() 141 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F() 160 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F() 177 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 | 54 CHECK(maps_.Parse()); in UnwindHelper()
|
D | class_loader_context.h | 272 bool Parse(const std::string& spec, bool parse_checksums = false);
|
D | parsed_options.cc | 51 bool ParsedOptions::Parse(const RuntimeOptions& options, in Parse() function in art::ParsedOptions 544 CmdlineResult parse_result = parser->Parse(argv_list); in DoParse()
|
D | class_loader_context.cc | 114 if (result->Parse(spec)) { in Create() 312 bool ClassLoaderContext::Parse(const std::string& spec, bool parse_checksums) { in Parse() function in art::ClassLoaderContext 1239 if (!expected_context.Parse(context_spec, verify_checksums)) { in VerifyClassLoaderContextMatch()
|
D | runtime_options.def | 36 // Parse-able keys from the command line.
|
D | class_loader_context_test.cc | 185 if (!context->Parse(context_spec, /*parse_checksums=*/ true)) { in ParseContextWithChecksums()
|
D | runtime.cc | 730 bool parsed = ParsedOptions::Parse(raw_options, ignore_unrecognized, runtime_options); in ParseOptions()
|
/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 270 std::unique_ptr<Dex2oatArgumentMap> Dex2oatArgumentMap::Parse(int argc, in Parse() function in art::Dex2oatArgumentMap 274 CmdlineResult parse_result = parser.Parse(argv, argc); in Parse()
|
D | dex2oat_options.def | 36 // Parse-able keys from the command line.
|
D | dex2oat.cc | 1288 std::unique_ptr<M> args_uptr = M::Parse(argc, const_cast<const char**>(argv), &error_msg); in ParseArgs()
|
/art/tools/dexanalyze/ |
D | dexanalyze.cc | 67 int Parse(int argc, char** argv) { in Parse() function 194 int result = options.Parse(argc, argv); in Run()
|
/art/compiler/driver/ |
D | compiler_options.cc | 134 CmdlineResult parse_result = parser.Parse(options); in ParseCompilerOptions()
|
D | compiler_options_map.def | 36 // Parse-able keys from the command line.
|
/art/tools/ |
D | art | 87 # Parse a colon-separated list into an array (e.g. "foo.dex:bar.dex" -> (foo.dex bar.dex)) 139 # Parse -cp <CP>, -classpath <CP>, and $CLASSPATH to find the dex files. 318 # Parse arguments
|
/art/cmdline/detail/ |
D | cmdline_parse_argument_detail.h | 449 CmdlineParseResult<TArg> result = type_parser.Parse(argument); in ParseArgumentSingle()
|