Home
last modified time | relevance | path

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

/third_party/nghttp2/src/
Dutil.cc535 void show_candidates(const char *unkopt, const option *options) { in show_candidates() argument
536 for (; *unkopt == '-'; ++unkopt) in show_candidates()
538 if (*unkopt == '\0') { in show_candidates()
541 auto unkoptend = unkopt; in show_candidates()
544 auto unkoptlen = unkoptend - unkopt; in show_candidates()
553 if (istarts_with(options[i].name, options[i].name + optnamelen, unkopt, in show_candidates()
554 unkopt + unkoptlen)) { in show_candidates()
565 iends_with(options[i].name, options[i].name + optnamelen, unkopt, in show_candidates()
566 unkopt + unkoptlen)) { in show_candidates()
572 levenshtein(unkopt, unkoptlen, options[i].name, optnamelen, 0, 2, 1, 3); in show_candidates()
Dutil.h470 void show_candidates(const char *unkopt, const option *options);