Searched refs:hostname_label_end (Results 1 - 2 of 2) sorted by relevance

/external/libevent/sample/
H A Dhostcheck.c165 const char *pattern_label_end, *pattern_wildcard, *hostname_label_end; local
186 hostname_label_end = strchr(hostname, '.');
187 if(hostname_label_end == NULL ||
188 !Curl_raw_equal(pattern_label_end, hostname_label_end))
194 if(hostname_label_end - hostname < pattern_label_end - pattern)
200 Curl_raw_nequal(pattern_wildcard+1, hostname_label_end - suffixlen,
/external/curl/lib/
H A Dhostcheck.c68 const char *pattern_label_end, *pattern_wildcard, *hostname_label_end; local
110 hostname_label_end = strchr(hostname, '.');
111 if(hostname_label_end == NULL ||
112 !strcasecompare(pattern_label_end, hostname_label_end))
118 if(hostname_label_end - hostname < pattern_label_end - pattern)
124 strncasecompare(pattern_wildcard + 1, hostname_label_end - suffixlen,

Completed in 129 milliseconds