Searched refs:pattern_label_end (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | hostcheck.c | 165 const char *pattern_label_end, *pattern_wildcard, *hostname_label_end; in hostmatch() local 176 pattern_label_end = strchr(pattern, '.'); in hostmatch() 177 if(pattern_label_end == NULL || strchr(pattern_label_end+1, '.') == NULL || in hostmatch() 178 pattern_wildcard > pattern_label_end || in hostmatch() 188 !Curl_raw_equal(pattern_label_end, hostname_label_end)) in hostmatch() 194 if(hostname_label_end - hostname < pattern_label_end - pattern) in hostmatch() 198 suffixlen = pattern_label_end - (pattern_wildcard+1); in hostmatch()
|
/freebsd/contrib/libevent/sample/ |
H A D | hostcheck.c | 165 const char *pattern_label_end, *pattern_wildcard, *hostname_label_end; in hostmatch() local 176 pattern_label_end = strchr(pattern, '.'); in hostmatch() 177 if(pattern_label_end == NULL || strchr(pattern_label_end+1, '.') == NULL || in hostmatch() 178 pattern_wildcard > pattern_label_end || in hostmatch() 188 !Curl_raw_equal(pattern_label_end, hostname_label_end)) in hostmatch() 194 if(hostname_label_end - hostname < pattern_label_end - pattern) in hostmatch() 198 suffixlen = pattern_label_end - (pattern_wildcard+1); in hostmatch()
|