Home
last modified time | relevance | path

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

/art/cmdline/
Dtoken_range.h42 explicit TokenRange(const TokenList& token_list) in TokenRange()
43 : token_list_(new TokenList(token_list)), in TokenRange()
58 TokenRange(const TokenList& token_list ATTRIBUTE_UNUSED,
64 assert(it_begin >= token_list.begin());
65 assert(it_end <= token_list.end());
70 TokenRange(const char* token_list[], size_t length) in TokenRange()
71 : token_list_(new TokenList(&token_list[0], &token_list[length])), in TokenRange()
77 explicit TokenRange(TokenList&& token_list) in TokenRange()
78 : token_list_(new TokenList(std::forward<TokenList>(token_list))), in TokenRange()
84 TokenRange(std::shared_ptr<TokenList> token_list, in TokenRange()
[all …]
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h120 size_t MaybeMatches(const TokenRange& token_list) const { in MaybeMatches()
121 auto best_match = FindClosestMatch(token_list); in MaybeMatches()
130 std::pair<const TokenRange*, size_t> FindClosestMatch(const TokenRange& token_list) const { in FindClosestMatch()
135 size_t this_match = token_range.MaybeMatches(token_list, std::string("_")); in FindClosestMatch()