Searched refs:pattern (Results 1 – 6 of 6) sorted by relevance
| /libevent-2.1.12/sample/ |
| H A D | hostcheck.c | 163 static int hostmatch(const char *hostname, const char *pattern) in hostmatch() argument 168 pattern_wildcard = strchr(pattern, '*'); in hostmatch() 170 return Curl_raw_equal(pattern, hostname) ? in hostmatch() 176 pattern_label_end = strchr(pattern, '.'); in hostmatch() 179 Curl_raw_nequal(pattern, "xn--", 4)) { in hostmatch() 183 return Curl_raw_equal(pattern, hostname) ? in hostmatch() 194 if(hostname_label_end - hostname < pattern_label_end - pattern) in hostmatch() 197 prefixlen = pattern_wildcard - pattern; in hostmatch() 199 return Curl_raw_nequal(pattern, hostname, prefixlen) && in hostmatch()
|
| H A D | http-server.c | 245 char *pattern; in send_document_cb() local 258 pattern = malloc(dirlen+3); in send_document_cb() 259 memcpy(pattern, whole_path, dirlen); in send_document_cb() 260 pattern[dirlen] = '\\'; in send_document_cb() 261 pattern[dirlen+1] = '*'; in send_document_cb() 262 pattern[dirlen+2] = '\0'; in send_document_cb() 263 d = FindFirstFileA(pattern, &ent); in send_document_cb() 264 free(pattern); in send_document_cb()
|
| /libevent-2.1.12/include/event2/ |
| H A D | http.h | 324 int evhttp_add_virtual_host(struct evhttp* http, const char *pattern,
|
| /libevent-2.1.12/ |
| H A D | http.c | 3363 prefix_suffix_match(const char *pattern, const char *name, int ignorecase) in prefix_suffix_match() argument 3368 switch (c = *pattern++) { in prefix_suffix_match() 3374 if (prefix_suffix_match(pattern, name, in prefix_suffix_match() 3778 evhttp_add_virtual_host(struct evhttp* http, const char *pattern, in evhttp_add_virtual_host() argument 3786 vhost->vhost_pattern = mm_strdup(pattern); in evhttp_add_virtual_host()
|
| H A D | whatsnew-2.1.txt | 228 pattern, but rather to use one of the finalization functions below to 526 It's a common pattern in older code to use event_base_once() with a 530 timeout pool. (People who are using this pattern should also consider
|
| H A D | whatsnew-2.0.txt | 427 a pattern inside an evbuffer.
|