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.h57 virtual CmdlineResult ParseArgument(const TokenRange& arguments, size_t* consumed_tokens) = 0;
313 virtual CmdlineResult ParseArgument(const TokenRange& arguments, size_t* consumed_tokens) { in ParseArgument()
315 assert(consumed_tokens != nullptr); in ParseArgument()
328 *consumed_tokens = best_match_arg_def->Size(); in ParseArgument()
/art/cmdline/
Dcmdline_parser.h588 size_t consumed_tokens = 1; // At least 1 if we ever want to try to resume parsing on error in Parse() local
589 CmdlineResult parse_attempt = arg->ParseArgument(exact_range, &consumed_tokens); in Parse()
596 assert(consumed_tokens > 0); // Don't hang in an infinite loop trying to parse in Parse()
597 i += consumed_tokens; in Parse()