Home
last modified time | relevance | path

Searched refs:consumed_tokens (Results 1 – 2 of 2) sorted by relevance

/art/cmdline/detail/
Dcmdline_parse_argument_detail.h62 virtual CmdlineResult ParseArgument(const TokenRange& arguments, size_t* consumed_tokens) = 0;
368 virtual CmdlineResult ParseArgument(const TokenRange& arguments, size_t* consumed_tokens) { in ParseArgument()
370 assert(consumed_tokens != nullptr); in ParseArgument()
383 *consumed_tokens = best_match_arg_def->Size(); in ParseArgument()
/art/cmdline/
Dcmdline_parser.h691 size_t consumed_tokens = 1; // At least 1 if we ever want to try to resume parsing on error in Parse() local
692 CmdlineResult parse_attempt = arg->ParseArgument(exact_range, &consumed_tokens); in Parse()
699 assert(consumed_tokens > 0); // Don't hang in an infinite loop trying to parse in Parse()
700 i += consumed_tokens; in Parse()