Lines Matching refs:patternlen
50 const char *pattern, size_t patternlen) in pmatch() argument
52 if(hostlen != patternlen) in pmatch()
84 size_t patternlen) in hostmatch() argument
89 DEBUGASSERT(patternlen); in hostmatch()
96 if(pattern[patternlen-1]=='.') in hostmatch()
97 patternlen--; in hostmatch()
100 return pmatch(hostname, hostlen, pattern, patternlen); in hostmatch()
108 pattern_label_end = memchr(pattern, '.', patternlen); in hostmatch()
110 (memrchr(pattern, '.', patternlen) == pattern_label_end)) in hostmatch()
111 return pmatch(hostname, hostlen, pattern, patternlen); in hostmatch()
118 pattern_label_end, patternlen - skiplen); in hostmatch()