Lines Matching refs:len
95 http_cgi_encode_varname (buffer * const b, const char * const restrict s, const size_t len, const i… in http_cgi_encode_varname() argument
97 char * const restrict p = buffer_string_prepare_copy(b, len + 5); in http_cgi_encode_varname()
102 if (len == 12 && buffer_eq_icase_ssn(s, "Content-Type", 12)) { in http_cgi_encode_varname()
111 for (i = 0; i < len; ++i) {/* uppercase alpha, pass numeric, map rest '_' */ in http_cgi_encode_varname()
127 uint32_t len; in http_cgi_headers() local
144 len = opts->strip_request_uri ? buffer_clen(opts->strip_request_uri) : 0; in http_cgi_headers()
145 if (len) { in http_cgi_headers()
149 if (n < len || 0 != memcmp(s, opts->strip_request_uri->ptr, len) in http_cgi_headers()
150 || s[len] != '/') in http_cgi_headers()
151 len = 0; in http_cgi_headers()
153 rc |= cb(vdata, CONST_STR_LEN("REQUEST_URI"), s+len, n-len); in http_cgi_headers()