Home
last modified time | relevance | path

Searched refs:NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH (Results 1 - 10 of 10) sorted by relevance

/third_party/nghttp2/lib/
H A Dnghttp2_frame.c103 nghttp2_frame_hd_init(&frame->hd, niv * NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH, in nghttp2_frame_settings_init()
504 for (i = 0; i < niv; ++i, buf += NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH) { in nghttp2_frame_pack_settings_payload()
508 return NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH * niv; in nghttp2_frame_pack_settings_payload()
531 *niv_ptr = payloadlen / NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH; in nghttp2_frame_unpack_settings_payload2()
547 size_t off = i * NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH; in nghttp2_frame_unpack_settings_payload2()
H A Dnghttp2_frame.h64 #define NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH 6 macro
H A Dnghttp2_submit.c858 if (buflen < (niv * NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH)) { in nghttp2_pack_settings_payload()
H A Dnghttp2_session.c6114 if ((iframe->frame.hd.length % NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH) || in nghttp2_session_mem_recv()
6136 iframe->frame.hd.length / NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH + 1; in nghttp2_session_mem_recv()
6160 inbound_frame_set_mark(iframe, NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH); in nghttp2_session_mem_recv()
6848 inbound_frame_set_mark(iframe, NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH); in nghttp2_session_mem_recv()
8005 if (settings_payloadlen % NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH) { in nghttp2_session_upgrade_internal()
8009 if (settings_payloadlen / NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH > in nghttp2_session_upgrade_internal()
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_frame.c103 nghttp2_frame_hd_init(&frame->hd, niv * NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH, in nghttp2_frame_settings_init()
504 for (i = 0; i < niv; ++i, buf += NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH) { in nghttp2_frame_pack_settings_payload()
508 return NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH * niv; in nghttp2_frame_pack_settings_payload()
531 *niv_ptr = payloadlen / NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH; in nghttp2_frame_unpack_settings_payload2()
547 size_t off = i * NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH; in nghttp2_frame_unpack_settings_payload2()
H A Dnghttp2_frame.h64 #define NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH 6 macro
H A Dnghttp2_submit.c858 if (buflen < (niv * NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH)) { in nghttp2_pack_settings_payload()
H A Dnghttp2_session.c6109 if ((iframe->frame.hd.length % NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH) || in nghttp2_session_mem_recv()
6131 iframe->frame.hd.length / NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH + 1; in nghttp2_session_mem_recv()
6155 inbound_frame_set_mark(iframe, NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH); in nghttp2_session_mem_recv()
6841 inbound_frame_set_mark(iframe, NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH); in nghttp2_session_mem_recv()
7994 if (settings_payloadlen % NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH) { in nghttp2_session_upgrade_internal()
7998 if (settings_payloadlen / NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH > in nghttp2_session_upgrade_internal()
/third_party/nghttp2/tests/
H A Dnghttp2_frame_test.c292 CU_ASSERT(NGHTTP2_FRAME_HDLEN + 3 * NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH == in test_nghttp2_frame_pack_settings()
296 check_frame_header(3 * NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH, NGHTTP2_SETTINGS, in test_nghttp2_frame_pack_settings()
H A Dnghttp2_session_test.c8243 CU_ASSERT(2 * NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH == len); in test_nghttp2_pack_settings_payload()

Completed in 37 milliseconds