Home
last modified time | relevance | path

Searched refs:val_offset (Results 1 – 3 of 3) sorted by relevance

/lighttpd1.4/src/ls-hpack/
H A Dlsxpack_header.h53 lsxpack_strlen_t val_offset; /* the offset for value in the buffer */ member
105 hdr->val_offset = (lsxpack_strlen_t)(name_offset + name_len + 2); in lsxpack_header_set_offset()
114 size_t val_offset, size_t val_len) in lsxpack_header_set_offset2() argument
121 assert(val_offset <= LSXPACK_MAX_STRLEN); in lsxpack_header_set_offset2()
122 hdr->val_offset = (lsxpack_strlen_t)val_offset; in lsxpack_header_set_offset2()
152 { return hdr->buf + hdr->val_offset; } in lsxpack_header_get_value()
H A Dlshpack.c485 input->nameval_hash = XXH32(input->buf + input->val_offset, in update_hash()
488 assert(input->nameval_hash == XXH32(input->buf + input->val_offset, in update_hash()
510 && memcmp(input->buf + input->val_offset, static_table[i].val, in lshpack_enc_get_stx_tab_id()
550 const char *val_ptr = input->buf + input->val_offset; in henc_find_table_id()
1019 memcpy(ETE_VALUE(entry), input->buf + input->val_offset, input->val_len); in lshpack_enc_push_entry()
1182 (const unsigned char *)input->buf + input->val_offset, in lshpack_enc_encode()
1567 output->val_offset = output->name_offset + output->name_len in lshpack_dec_copy_value()
1570 assert(dest == output->buf + output->val_offset); in lshpack_dec_copy_value()
1834 output->val_offset = output->name_offset + output->name_len in lshpack_dec_decode()
/lighttpd1.4/src/
H A Dh2.c1423 hpctx.v = lsx.buf+lsx.val_offset; in h2_parse_headers_frame()
2108 (int)lsx->val_len, lsx->buf + lsx->val_offset); in h2_log_response_header_lsx()
2155 lsx.val_offset = 9; in h2_send_headers()
2244 lsx.val_offset = voff; in h2_send_headers()
2251 lsx.val_len = voff - 2 - lsx.val_offset; /*(-2 for "\r\n")*/ in h2_send_headers()
2277 lsx.val_offset = 6; in h2_send_headers()
2309 lsx.val_offset = 0; in h2_send_headers()
2382 lsx.val_offset = lsx.name_len + 2; in h2_send_headers_block()
2419 lsx.val_offset = v - hdrs; in h2_send_headers_block()