Searched refs:Parse (Results 1 – 12 of 12) sorted by relevance
/art/cmdline/ |
D | cmdline_types.h | 51 Result Parse(const std::string& args) { 78 Result Parse(const std::string& options) { 183 Result Parse(const std::string arg) { 267 Result Parse(const std::string& str) { 288 Result Parse(const std::string& str) { 351 Result Parse(const std::string& str) { 353 CmdlineParseResult<unsigned int> res = uint_parser.Parse(str); 367 Result Parse(const std::string& args) { 385 Result Parse(const std::string& args) { 437 Result Parse(const std::string& args) { [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_parser_test.cc | 166 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \ 181 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \ 200 EXPECT_TRUE(IsResultFailure(parser_->Parse(argv), failure_status));\ 212 EXPECT_TRUE(IsResultSuccessful(parser.Parse(""))); in TEST_F() 606 EXPECT_TRUE(IsResultSuccessful(parser_->Parse( in TEST_F()
|
D | cmdline.h | 128 bool Parse(int argc, char** argv) { in Parse() function 302 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 | 75 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F() 119 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F() 138 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F() 157 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
|
D | parsed_options.h | 53 static bool Parse(const RuntimeOptions& options,
|
D | parsed_options.cc | 44 bool ParsedOptions::Parse(const RuntimeOptions& options, in Parse() function in art::ParsedOptions 445 CmdlineResult parse_result = parser->Parse(argv_list); in DoParse()
|
D | runtime_options.def | 36 // Parse-able keys from the command line.
|
D | runtime.cc | 453 bool parsed = ParsedOptions::Parse(raw_options, ignore_unrecognized, runtime_options); in ParseOptions()
|
/art/cmdline/detail/ |
D | cmdline_parse_argument_detail.h | 447 CmdlineParseResult<TArg> result = type_parser.Parse(argument); in ParseArgumentSingle()
|