Lines Matching refs:klen

369 … const enum http_header_e id, const char * const restrict k, const size_t klen, const char * const…  in http_request_parse_duplicate()  argument
373 const buffer * const vb = http_header_request_get(r, id, k, klen); in http_request_parse_duplicate()
408 … const enum http_header_e id, const char * const restrict k, const size_t klen, const char * const… in http_request_parse_single_header() argument
445 return http_request_parse_duplicate(r, id, k, klen, v, vlen); in http_request_parse_single_header()
497 http_header_request_append(r, id, k, klen, v, vlen); in http_request_parse_single_header()
562 …r(request_st * const restrict r, const char * const restrict k, const int klen, const unsigned int…
639 const uint32_t klen = hpctx->klen; in http_request_parse_header() local
642 if (0 == klen) in http_request_parse_header()
646 if ((hpctx->hlen += klen + vlen + 4) > hpctx->max_request_field_size) { in http_request_parse_header()
675 switch (klen-1) { in http_request_parse_header()
798 while (j < klen && (light_islower(k[j]) || k[j] == '-')) in http_request_parse_header()
801 if (__builtin_expect( (j != klen), 0)) { in http_request_parse_header()
804 if (0 != http_request_parse_header_other(r, k+j, klen-j, in http_request_parse_header()
809 hpctx->id = http_header_hkey_get_lc(k, klen); in http_request_parse_header()
819 return http_request_parse_single_header(r, id, k, klen, v, vlen); in http_request_parse_header()
1061 …r(request_st * const restrict r, const char * const restrict k, const int klen, const unsigned int… in http_request_parse_header_other() argument
1062 for (int i = 0; i < klen; ++i) { in http_request_parse_header_other()
1148 const int klen = (int)(colon - k); in http_request_parse_headers() local
1149 if (0 == klen) in http_request_parse_headers()
1151 const enum http_header_e id = http_header_hkey_get(k, klen); in http_request_parse_headers()
1154 for (int j = 0; j < klen; ++j) { in http_request_parse_headers()
1156 if (0 != http_request_parse_header_other(r, k+j, klen-j, http_header_strict)) in http_request_parse_headers()
1204 int status = http_request_parse_single_header(r, id, k, (size_t)klen, v, (size_t)vlen); in http_request_parse_headers()