Lines Matching refs:k
1422 hpctx.k = lsx.buf+lsx.name_offset; in h2_parse_headers_frame()
1432 (int)hpctx.klen, hpctx.k, (int)hpctx.vlen, hpctx.v); in h2_parse_headers_frame()
2222 const char * const restrict k = ds->key.ptr; in h2_send_headers() local
2223 if ((k[0] & 0xdf) == 'X' && http_response_omit_header(r, ds)) { in h2_send_headers()
2228 v[j] = !light_isupper(k[j]) ? k[j] : (k[j] | 0x20); in h2_send_headers()
2396 const char *k = hdrs + ((i > 1) ? hoff[i] : 0); in h2_send_headers_block() local
2398 const char *v = memchr(k, ':', end-k); in h2_send_headers_block()
2402 if (NULL == v || k == v) continue; in h2_send_headers_block()
2403 uint32_t klen = v - k; in h2_send_headers_block()
2408 force_assert(end >= k + 2); in h2_send_headers_block()
2417 lsx.name_offset = k - hdrs; in h2_send_headers_block()
2509 char *k = ptr + ((i > 1) ? hoff[i] : 0); in h2_send_end_stream_trailers() local
2510 if (*k == ':') { in h2_send_end_stream_trailers()
2515 const char * const colon = memchr(k, ':', ptr+hoff[i+1]-k); in h2_send_end_stream_trailers()
2518 if (light_isupper(*k)) *k |= 0x20; in h2_send_end_stream_trailers()
2519 } while (++k != colon); in h2_send_end_stream_trailers()