• Home
  • Raw
  • Download

Lines Matching refs:chunk_length

91 static int buf_chain_new(nghttp2_buf_chain **chain, size_t chunk_length,  in buf_chain_new()  argument
102 rv = nghttp2_buf_init2(&(*chain)->buf, chunk_length, mem); in buf_chain_new()
116 int nghttp2_bufs_init(nghttp2_bufs *bufs, size_t chunk_length, size_t max_chunk, in nghttp2_bufs_init() argument
118 return nghttp2_bufs_init2(bufs, chunk_length, max_chunk, 0, mem); in nghttp2_bufs_init()
121 int nghttp2_bufs_init2(nghttp2_bufs *bufs, size_t chunk_length, in nghttp2_bufs_init2() argument
123 return nghttp2_bufs_init3(bufs, chunk_length, max_chunk, max_chunk, offset, in nghttp2_bufs_init2()
127 int nghttp2_bufs_init3(nghttp2_bufs *bufs, size_t chunk_length, in nghttp2_bufs_init3() argument
133 if (chunk_keep == 0 || max_chunk < chunk_keep || chunk_length < offset) { in nghttp2_bufs_init3()
137 rv = buf_chain_new(&chain, chunk_length, mem); in nghttp2_bufs_init3()
150 bufs->chunk_length = chunk_length; in nghttp2_bufs_init3()
158 int nghttp2_bufs_realloc(nghttp2_bufs *bufs, size_t chunk_length) { in nghttp2_bufs_realloc() argument
162 if (chunk_length < bufs->offset) { in nghttp2_bufs_realloc()
166 rv = buf_chain_new(&chain, chunk_length, bufs->mem); in nghttp2_bufs_realloc()
178 bufs->chunk_length = chunk_length; in nghttp2_bufs_realloc()
221 bufs->chunk_length = len; in nghttp2_bufs_wrap_init()
261 bufs->chunk_length = 0; in nghttp2_bufs_wrap_init2()
317 rv = buf_chain_new(&chain, bufs->chunk_length, bufs->mem); in bufs_alloc_chain()
323 bufs->chunk_length, bufs, bufs->chunk_used); in bufs_alloc_chain()