Searched refs:unkopt (Results 1 – 2 of 2) sorted by relevance
/third_party/nghttp2/src/ |
D | util.cc | 559 void show_candidates(const char *unkopt, const option *options) { in show_candidates() argument 560 for (; *unkopt == '-'; ++unkopt) in show_candidates() 562 if (*unkopt == '\0') { in show_candidates() 565 auto unkoptend = unkopt; in show_candidates() 568 auto unkoptlen = unkoptend - unkopt; in show_candidates() 577 if (istarts_with(options[i].name, options[i].name + optnamelen, unkopt, in show_candidates() 578 unkopt + unkoptlen)) { in show_candidates() 589 iends_with(options[i].name, options[i].name + optnamelen, unkopt, in show_candidates() 590 unkopt + unkoptlen)) { in show_candidates() 596 levenshtein(unkopt, unkoptlen, options[i].name, optnamelen, 0, 2, 1, 3); in show_candidates()
|
D | util.h | 523 void show_candidates(const char *unkopt, const option *options);
|