Searched refs:NGHTTP2_FRAME_HDLEN (Results 1 – 11 of 11) sorted by relevance
/third_party/nghttp2/tests/ |
D | nghttp2_frame_test.c | 107 check_frame_header(nghttp2_bufs_len(&bufs) - NGHTTP2_FRAME_HDLEN, in test_nghttp2_frame_pack_headers() 114 hdblocklen = nghttp2_bufs_len(&bufs) - NGHTTP2_FRAME_HDLEN; in test_nghttp2_frame_pack_headers() 116 inflate_hd(&inflater, &out, &bufs, NGHTTP2_FRAME_HDLEN, mem)); in test_nghttp2_frame_pack_headers() 137 check_frame_header(nghttp2_bufs_len(&bufs) - NGHTTP2_FRAME_HDLEN, in test_nghttp2_frame_pack_headers() 147 hdblocklen = nghttp2_bufs_len(&bufs) - NGHTTP2_FRAME_HDLEN - in test_nghttp2_frame_pack_headers() 151 NGHTTP2_FRAME_HDLEN + in test_nghttp2_frame_pack_headers() 222 CU_ASSERT(NGHTTP2_FRAME_HDLEN + 5 == nghttp2_bufs_len(&bufs)); in test_nghttp2_frame_pack_priority() 247 CU_ASSERT(NGHTTP2_FRAME_HDLEN + 4 == nghttp2_bufs_len(&bufs)); in test_nghttp2_frame_pack_rst_stream() 292 CU_ASSERT(NGHTTP2_FRAME_HDLEN + 3 * NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH == in test_nghttp2_frame_pack_settings() 338 check_frame_header(nghttp2_bufs_len(&bufs) - NGHTTP2_FRAME_HDLEN, in test_nghttp2_frame_pack_push_promise() [all …]
|
D | nghttp2_session_test.c | 431 memcpy(acc->buf + acc->length, framehd, NGHTTP2_FRAME_HDLEN); in send_data_callback() 432 acc->length += NGHTTP2_FRAME_HDLEN; in send_data_callback() 932 rv = nghttp2_session_mem_recv(session, data, NGHTTP2_FRAME_HDLEN + 4096); in test_nghttp2_session_recv_data() 933 CU_ASSERT(NGHTTP2_FRAME_HDLEN + 4096 == rv); in test_nghttp2_session_recv_data() 953 rv = nghttp2_session_mem_recv(session, data, NGHTTP2_FRAME_HDLEN + 4096); in test_nghttp2_session_recv_data() 954 CU_ASSERT(NGHTTP2_FRAME_HDLEN + 4096 == rv); in test_nghttp2_session_recv_data() 966 rv = nghttp2_session_mem_recv(session, data, NGHTTP2_FRAME_HDLEN + 4096); in test_nghttp2_session_recv_data() 967 CU_ASSERT(NGHTTP2_FRAME_HDLEN + 4096 == rv); in test_nghttp2_session_recv_data() 976 rv = nghttp2_session_mem_recv(session, data, NGHTTP2_FRAME_HDLEN + 4096); in test_nghttp2_session_recv_data() 977 CU_ASSERT(NGHTTP2_FRAME_HDLEN + 4096 == rv); in test_nghttp2_session_recv_data() [all …]
|
D | nghttp2_test_helper.c | 46 const uint8_t *payload = in + NGHTTP2_FRAME_HDLEN; in unpack_frame() 47 size_t payloadlen = len - NGHTTP2_FRAME_HDLEN; in unpack_frame() 255 return nghttp2_bufs_init2(bufs, 4096, 16, NGHTTP2_FRAME_HDLEN + 1, in frame_pack_bufs_init() 261 nghttp2_bufs_init2(bufs, chunk_size, 16, NGHTTP2_FRAME_HDLEN + 1, in bufs_large_init()
|
D | failmalloc_test.c | 481 &oframe.settings.iv, &oframe.settings.niv, buf->pos + NGHTTP2_FRAME_HDLEN, in run_nghttp2_frame_pack_settings() 482 nghttp2_buf_len(buf) - NGHTTP2_FRAME_HDLEN, nghttp2_mem_fm()); in run_nghttp2_frame_pack_settings()
|
/third_party/nghttp2/lib/ |
D | nghttp2_frame.c | 325 buf->pos -= NGHTTP2_FRAME_HDLEN; in frame_pack_headers_shared() 343 buf->pos -= NGHTTP2_FRAME_HDLEN; in frame_pack_headers_shared() 354 buf->pos -= NGHTTP2_FRAME_HDLEN; in frame_pack_headers_shared() 442 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_priority() 466 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_rst_stream() 490 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_settings() 606 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_ping() 627 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_goaway() 701 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_window_update() 730 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_altsvc() [all …]
|
D | nghttp2_frame.h | 43 #define NGHTTP2_FRAME_HDLEN 9 macro 53 (NGHTTP2_FRAME_HDLEN + 1 + NGHTTP2_MAX_PAYLOADLEN)
|
D | nghttp2_session.c | 385 iframe->sbuf.mark += NGHTTP2_FRAME_HDLEN; in session_inbound_frame_reset() 615 NGHTTP2_FRAME_HDLEN + 1, mem); in session_new() 2291 buf->pos -= NGHTTP2_FRAME_HDLEN; in session_pack_extension() 6769 inbound_frame_set_mark(iframe, NGHTTP2_FRAME_HDLEN); in nghttp2_session_mem_recv() 7687 (size_t)(NGHTTP2_FRAME_HDLEN + 1 + payloadlen)); in nghttp2_session_pack_data() 7728 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_session_pack_data()
|
/third_party/node/deps/nghttp2/lib/ |
D | nghttp2_frame.c | 325 buf->pos -= NGHTTP2_FRAME_HDLEN; in frame_pack_headers_shared() 343 buf->pos -= NGHTTP2_FRAME_HDLEN; in frame_pack_headers_shared() 354 buf->pos -= NGHTTP2_FRAME_HDLEN; in frame_pack_headers_shared() 442 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_priority() 466 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_rst_stream() 490 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_settings() 606 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_ping() 627 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_goaway() 701 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_window_update() 730 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_frame_pack_altsvc() [all …]
|
D | nghttp2_frame.h | 43 #define NGHTTP2_FRAME_HDLEN 9 macro 53 (NGHTTP2_FRAME_HDLEN + 1 + NGHTTP2_MAX_PAYLOADLEN)
|
D | nghttp2_session.c | 385 iframe->sbuf.mark += NGHTTP2_FRAME_HDLEN; in session_inbound_frame_reset() 610 NGHTTP2_FRAME_HDLEN + 1, mem); in session_new() 2286 buf->pos -= NGHTTP2_FRAME_HDLEN; in session_pack_extension() 6764 inbound_frame_set_mark(iframe, NGHTTP2_FRAME_HDLEN); in nghttp2_session_mem_recv() 7676 (size_t)(NGHTTP2_FRAME_HDLEN + 1 + payloadlen)); in nghttp2_session_pack_data() 7717 buf->pos -= NGHTTP2_FRAME_HDLEN; in nghttp2_session_pack_data()
|
/third_party/nghttp2/fuzz/ |
D | fuzz_frames.cc | 73 inflate_hd(&inflater, &out, &bufs, NGHTTP2_FRAME_HDLEN, mem); in check_frame_pack_headers()
|