Lines Matching refs:colon
111 const char * const colon = memchr(h, ':', len); in request_check_hostname() local
112 uint32_t hlen = colon ? (uint32_t)(colon - h) : len; in request_check_hostname()
120 if (NULL != colon) in request_check_hostname()
121 memmove(host->ptr+hlen, colon, len - hlen); in request_check_hostname()
205 char * const colon = (char *)memchr(p, ':', blen); in http_request_host_normalize() local
206 if (colon) { in http_request_host_normalize()
208 if (colon[1] != '\0') { in http_request_host_normalize()
210 port = strtol(colon+1, &e, 0); /*(allow decimal, octal, hex)*/ in http_request_host_normalize()
217 buffer_truncate(b, (size_t)(colon - p)); /*(remove port str)*/ in http_request_host_normalize()
224 size_t n = colon ? (size_t)(colon - p) : blen; in http_request_host_normalize()
1118 const char *colon = memchr(k, ':', end - k); in http_request_parse_headers() local
1119 if (NULL == colon) in http_request_parse_headers()
1122 const char *v = colon + 1; in http_request_parse_headers()
1138 if (colon[-1] == ' ' || colon[-1] == '\t') { in http_request_parse_headers()
1144 do { --colon; } while (colon[-1] == ' ' || colon[-1] == '\t'); in http_request_parse_headers()
1148 const int klen = (int)(colon - k); in http_request_parse_headers()