Home
last modified time | relevance | path

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

/external/libevent/sample/
Dhostcheck.c165 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()
/external/curl/lib/
Dhostcheck.c67 const char *pattern_label_end, *pattern_wildcard, *hostname_label_end; in hostmatch() local
99 pattern_label_end = strchr(pattern, '.'); in hostmatch()
100 if(pattern_label_end == NULL || strchr(pattern_label_end + 1, '.') == NULL || in hostmatch()
101 pattern_wildcard > pattern_label_end || in hostmatch()
111 !strcasecompare(pattern_label_end, hostname_label_end)) in hostmatch()
117 if(hostname_label_end - hostname < pattern_label_end - pattern) in hostmatch()
121 suffixlen = pattern_label_end - (pattern_wildcard + 1); in hostmatch()