• Home
  • Raw
  • Download

Lines Matching refs:nodelen

40 static size_t ksl_blklen(size_t nodelen) {  in ksl_blklen()  argument
41 return sizeof(nghttp2_ksl_blk) + nodelen * NGHTTP2_KSL_MAX_NBLK - in ksl_blklen()
55 size_t nodelen = ksl_nodelen(keylen); in nghttp2_ksl_init() local
56 size_t blklen = ksl_blklen(nodelen); in nghttp2_ksl_init()
66 ksl->nodelen = nodelen; in nghttp2_ksl_init()
112 rblk = nghttp2_mem_malloc(ksl->mem, ksl_blklen(ksl->nodelen)); in ksl_split_blk()
129 memcpy(rblk->nodes, blk->nodes + ksl->nodelen * (blk->n - rblk->n), in ksl_split_blk()
130 ksl->nodelen * rblk->n); in ksl_split_blk()
160 memmove(blk->nodes + (i + 2) * ksl->nodelen, in ksl_split_node()
161 blk->nodes + (i + 1) * ksl->nodelen, in ksl_split_node()
162 ksl->nodelen * (blk->n - (i + 1))); in ksl_split_node()
198 nhead = nghttp2_mem_malloc(ksl->mem, ksl_blklen(ksl->nodelen)); in ksl_split_head()
234 memmove(blk->nodes + (i + 1) * ksl->nodelen, blk->nodes + i * ksl->nodelen, in ksl_insert_node()
235 ksl->nodelen * (blk->n - i)); in ksl_insert_node()
343 memmove(blk->nodes + i * ksl->nodelen, blk->nodes + (i + 1) * ksl->nodelen, in ksl_remove_node()
344 ksl->nodelen * (blk->n - (i + 1))); in ksl_remove_node()
370 memcpy(lblk->nodes + ksl->nodelen * lblk->n, rblk->nodes, in ksl_merge_node()
371 ksl->nodelen * rblk->n); in ksl_merge_node()
413 memcpy(dest, src, ksl->nodelen); in ksl_shift_left()
418 memmove(rnode->blk->nodes, rnode->blk->nodes + ksl->nodelen, in ksl_shift_left()
419 ksl->nodelen * rnode->blk->n); in ksl_shift_left()
437 memmove(rnode->blk->nodes + ksl->nodelen, rnode->blk->nodes, in ksl_shift_right()
438 ksl->nodelen * rnode->blk->n); in ksl_shift_right()
444 memcpy(dest, src, ksl->nodelen); in ksl_shift_right()