Home
last modified time | relevance | path

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

/art/cmdline/
Dtoken_range.h40 explicit TokenRange(const TokenList& token_list) in TokenRange()
41 : token_list_(new TokenList(token_list)), in TokenRange()
56 TokenRange(const TokenList& token_list ATTRIBUTE_UNUSED,
62 assert(it_begin >= token_list.begin());
63 assert(it_end <= token_list.end());
68 TokenRange(const char* token_list[], size_t length) in TokenRange()
69 : token_list_(new TokenList(&token_list[0], &token_list[length])), in TokenRange()
75 explicit TokenRange(TokenList&& token_list) in TokenRange()
76 : token_list_(new TokenList(std::forward<TokenList>(token_list))), in TokenRange()
82 TokenRange(std::shared_ptr<TokenList> token_list, in TokenRange()
[all …]
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h111 size_t MaybeMatches(TokenRange token_list) const { in MaybeMatches()
112 auto best_match = FindClosestMatch(token_list); in MaybeMatches()
121 std::pair<const TokenRange*, size_t> FindClosestMatch(TokenRange token_list) const { in FindClosestMatch()
126 size_t this_match = token_range.MaybeMatches(token_list, std::string("_")); in FindClosestMatch()