Lines Matching refs:nghttp2_hd_entry
35 /* Make scalar initialization form of nghttp2_hd_entry */
487 void nghttp2_hd_entry_init(nghttp2_hd_entry *ent, nghttp2_hd_nv *nv) {
501 void nghttp2_hd_entry_free(nghttp2_hd_entry *ent) {
533 static void hd_map_insert(nghttp2_hd_map *map, nghttp2_hd_entry *ent) {
534 nghttp2_hd_entry **bucket;
548 static nghttp2_hd_entry *hd_map_find(nghttp2_hd_map *map, int *exact_match,
551 nghttp2_hd_entry *p;
552 nghttp2_hd_entry *res = NULL;
577 static void hd_map_remove(nghttp2_hd_map *map, nghttp2_hd_entry *ent) {
578 nghttp2_hd_entry **dst;
598 ringbuf->buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size);
608 static nghttp2_hd_entry *hd_ringbuf_get(nghttp2_hd_ringbuf *ringbuf,
618 nghttp2_hd_entry **buffer;
625 buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size);
645 nghttp2_hd_entry *ent = hd_ringbuf_get(ringbuf, i);
654 nghttp2_hd_entry *ent, nghttp2_mem *mem) {
1104 nghttp2_hd_entry *new_ent;
1115 nghttp2_hd_entry *ent = hd_ringbuf_get(&context->hd_table, idx);
1138 new_ent = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry));
1201 const nghttp2_hd_entry *ent;
1232 nghttp2_hd_entry *ent = hd_ringbuf_get(&context->hd_table, idx);