Home
last modified time | relevance | path

Searched refs:Parse (Results 1 – 12 of 12) sorted by relevance

/art/cmdline/
Dcmdline_types.h51 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 …]
Dcmdline_parser.h446 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 …]
Dcmdline_type_parser.h37 Result Parse(const std::string& args ATTRIBUTE_UNUSED) { in Parse() function
Dcmdline_parser_test.cc166 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()
Dcmdline.h128 bool Parse(int argc, char** argv) { in Parse() function
302 if (args_ == nullptr || !args_->Parse(argc, argv)) { in Main()
DREADME.md183 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/
Dparsed_options_test.cc75 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()
Dparsed_options.h53 static bool Parse(const RuntimeOptions& options,
Dparsed_options.cc44 bool ParsedOptions::Parse(const RuntimeOptions& options, in Parse() function in art::ParsedOptions
445 CmdlineResult parse_result = parser->Parse(argv_list); in DoParse()
Druntime_options.def36 // Parse-able keys from the command line.
Druntime.cc453 bool parsed = ParsedOptions::Parse(raw_options, ignore_unrecognized, runtime_options); in ParseOptions()
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h447 CmdlineParseResult<TArg> result = type_parser.Parse(argument); in ParseArgumentSingle()