Searched refs:nghttp2_buf_avail (Results 1 – 4 of 4) sorted by relevance
54 #define nghttp2_buf_avail(BUF) ((size_t)((BUF)->end - (BUF)->last)) macro404 #define nghttp2_bufs_cur_avail(BUFS) nghttp2_buf_avail(&(BUFS)->cur->buf)
430 assert(nghttp2_buf_avail(buf) >= NGHTTP2_PRIORITY_SPECLEN); in nghttp2_frame_pack_priority()457 assert(nghttp2_buf_avail(buf) >= 4); in nghttp2_frame_pack_rst_stream()483 if (nghttp2_buf_avail(buf) < frame->hd.length) { in nghttp2_frame_pack_settings()608 assert(nghttp2_buf_avail(buf) >= 8); in nghttp2_frame_pack_ping()713 assert(nghttp2_buf_avail(buf) >= 4); in nghttp2_frame_pack_window_update()745 assert(nghttp2_buf_avail(buf) >= in nghttp2_frame_pack_altsvc()1062 assert(nghttp2_buf_avail(buf) >= padlen - 1); in nghttp2_frame_add_pad()
364 nwrite = nghttp2_min(nghttp2_buf_avail(buf), len); in nghttp2_bufs_add()388 if (nghttp2_buf_avail(buf) > 0) { in bufs_ensure_addb()
1976 buflen = nghttp2_min(nghttp2_buf_avail(buf), NGHTTP2_MAX_PAYLOADLEN); in session_pack_extension()6433 assert(nghttp2_buf_avail(&iframe->lbuf) > 0); in nghttp2_session_mem_recv()6782 assert(nghttp2_buf_avail(&iframe->lbuf) > 0); in nghttp2_session_mem_recv()7163 if ((size_t)payloadlen > nghttp2_buf_avail(buf)) { in nghttp2_session_pack_data()7187 assert(nghttp2_buf_avail(buf) >= datamax); in nghttp2_session_pack_data()
Completed in 17 milliseconds