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.h589 size_t consumed_tokens = 1; // At least 1 if we ever want to try to resume parsing on error in Parse() local
590 CmdlineResult parse_attempt = arg->ParseArgument(exact_range, &consumed_tokens); in Parse()
597 assert(consumed_tokens > 0); // Don't hang in an infinite loop trying to parse in Parse()
598 i += consumed_tokens; in Parse()