Home
last modified time | relevance | path

Searched refs:nghttp2_mem_malloc (Results 1 - 18 of 18) sorted by relevance

/third_party/nghttp2/lib/
H A Dnghttp2_submit.c82 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in submit_headers_shared()
249 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_submit_priority()
343 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_submit_push_promise()
534 buf = nghttp2_mem_malloc(mem, origin_len + field_value_len + 2); in nghttp2_submit_altsvc()
553 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_submit_altsvc()
617 nghttp2_mem_malloc(mem, nov * sizeof(nghttp2_origin_entry) + len + nov); in nghttp2_submit_origin()
637 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_submit_origin()
697 buf = nghttp2_mem_malloc(mem, field_value_len + 1); in nghttp2_submit_priority_update()
708 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_submit_priority_update()
826 item = nghttp2_mem_malloc(me in nghttp2_submit_data()
[all...]
H A Dnghttp2_buf.c95 *chain = nghttp2_mem_malloc(mem, sizeof(nghttp2_buf_chain)); in buf_chain_new()
206 chain = nghttp2_mem_malloc(mem, sizeof(nghttp2_buf_chain)); in nghttp2_bufs_wrap_init()
240 head_chain = nghttp2_mem_malloc(mem, sizeof(nghttp2_buf_chain) * veclen); in nghttp2_bufs_wrap_init2()
451 res = nghttp2_mem_malloc(bufs->mem, len); in nghttp2_bufs_remove()
H A Dnghttp2_mem.h39 void *nghttp2_mem_malloc(nghttp2_mem *mem, size_t size);
H A Dnghttp2_rcbuf.c37 p = nghttp2_mem_malloc(mem, sizeof(nghttp2_rcbuf) + size); in nghttp2_rcbuf_new()
H A Dnghttp2_mem.c56 void *nghttp2_mem_malloc(nghttp2_mem *mem, size_t size) { in nghttp2_mem_malloc() function
H A Dnghttp2_frame.c540 nghttp2_mem_malloc(mem, (*niv_ptr) * sizeof(nghttp2_settings_entry)); in nghttp2_frame_unpack_settings_payload2()
676 var_gift_payload = nghttp2_mem_malloc(mem, var_gift_payloadlen); in nghttp2_frame_unpack_goaway_payload2()
777 buf = nghttp2_mem_malloc(mem, payloadlen - 2); in nghttp2_frame_unpack_altsvc_payload2()
863 ov = nghttp2_mem_malloc(mem, len); in nghttp2_frame_unpack_origin_payload()
949 iv_copy = nghttp2_mem_malloc(mem, len); in nghttp2_frame_iv_copy()
1060 *nva_ptr = nghttp2_mem_malloc(mem, buflen); in nghttp2_nv_array_copy()
H A Dnghttp2_hd.c598 ringbuf->buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size); in hd_ringbuf_init()
625 buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size); in hd_ringbuf_reserve()
1138 new_ent = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry)); in add_hd_table_incremental()
1599 deflater = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_deflater)); in nghttp2_hd_deflate_new2()
2257 inflater = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_inflater)); in nghttp2_hd_inflate_new2()
H A Dnghttp2_session.c183 buf = nghttp2_mem_malloc(mem, bufsize); in session_call_error_callback()
766 *settings_ptr = nghttp2_mem_malloc(mem, sizeof(nghttp2_inflight_settings)); in inflight_settings_new()
1271 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_session_add_rst_stream()
1329 stream = nghttp2_mem_malloc(mem, sizeof(nghttp2_stream)); in nghttp2_session_open_stream()
6148 iframe->iv = nghttp2_mem_malloc(mem, sizeof(nghttp2_settings_entry) * in nghttp2_session_mem_recv()
6318 iframe->raw_lbuf = nghttp2_mem_malloc(mem, iframe->payloadleft); in nghttp2_session_mem_recv()
6589 iframe->raw_lbuf = nghttp2_mem_malloc(mem, debuglen); in nghttp2_session_mem_recv()
6632 nghttp2_mem_malloc(mem, iframe->frame.hd.length - 2); in nghttp2_session_mem_recv()
7398 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_session_add_ping()
7444 opaque_data_copy = nghttp2_mem_malloc(me in nghttp2_session_add_goaway()
[all...]
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_submit.c82 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in submit_headers_shared()
249 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_submit_priority()
343 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_submit_push_promise()
534 buf = nghttp2_mem_malloc(mem, origin_len + field_value_len + 2); in nghttp2_submit_altsvc()
553 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_submit_altsvc()
617 nghttp2_mem_malloc(mem, nov * sizeof(nghttp2_origin_entry) + len + nov); in nghttp2_submit_origin()
637 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_submit_origin()
697 buf = nghttp2_mem_malloc(mem, field_value_len + 1); in nghttp2_submit_priority_update()
708 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_submit_priority_update()
826 item = nghttp2_mem_malloc(me in nghttp2_submit_data()
[all...]
H A Dnghttp2_buf.c95 *chain = nghttp2_mem_malloc(mem, sizeof(nghttp2_buf_chain)); in buf_chain_new()
206 chain = nghttp2_mem_malloc(mem, sizeof(nghttp2_buf_chain)); in nghttp2_bufs_wrap_init()
240 head_chain = nghttp2_mem_malloc(mem, sizeof(nghttp2_buf_chain) * veclen); in nghttp2_bufs_wrap_init2()
451 res = nghttp2_mem_malloc(bufs->mem, len); in nghttp2_bufs_remove()
H A Dnghttp2_mem.h39 void *nghttp2_mem_malloc(nghttp2_mem *mem, size_t size);
H A Dnghttp2_rcbuf.c37 p = nghttp2_mem_malloc(mem, sizeof(nghttp2_rcbuf) + size); in nghttp2_rcbuf_new()
H A Dnghttp2_mem.c56 void *nghttp2_mem_malloc(nghttp2_mem *mem, size_t size) { in nghttp2_mem_malloc() function
H A Dnghttp2_frame.c540 nghttp2_mem_malloc(mem, (*niv_ptr) * sizeof(nghttp2_settings_entry)); in nghttp2_frame_unpack_settings_payload2()
676 var_gift_payload = nghttp2_mem_malloc(mem, var_gift_payloadlen); in nghttp2_frame_unpack_goaway_payload2()
777 buf = nghttp2_mem_malloc(mem, payloadlen - 2); in nghttp2_frame_unpack_altsvc_payload2()
863 ov = nghttp2_mem_malloc(mem, len); in nghttp2_frame_unpack_origin_payload()
949 iv_copy = nghttp2_mem_malloc(mem, len); in nghttp2_frame_iv_copy()
1060 *nva_ptr = nghttp2_mem_malloc(mem, buflen); in nghttp2_nv_array_copy()
H A Dnghttp2_hd.c598 ringbuf->buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size); in hd_ringbuf_init()
625 buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size); in hd_ringbuf_reserve()
1138 new_ent = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry)); in add_hd_table_incremental()
1599 deflater = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_deflater)); in nghttp2_hd_deflate_new2()
2257 inflater = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_inflater)); in nghttp2_hd_inflate_new2()
H A Dnghttp2_session.c183 buf = nghttp2_mem_malloc(mem, bufsize); in session_call_error_callback()
761 *settings_ptr = nghttp2_mem_malloc(mem, sizeof(nghttp2_inflight_settings)); in inflight_settings_new()
1266 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_session_add_rst_stream()
1324 stream = nghttp2_mem_malloc(mem, sizeof(nghttp2_stream)); in nghttp2_session_open_stream()
6143 iframe->iv = nghttp2_mem_malloc(mem, sizeof(nghttp2_settings_entry) * in nghttp2_session_mem_recv()
6313 iframe->raw_lbuf = nghttp2_mem_malloc(mem, iframe->payloadleft); in nghttp2_session_mem_recv()
6584 iframe->raw_lbuf = nghttp2_mem_malloc(mem, debuglen); in nghttp2_session_mem_recv()
6627 nghttp2_mem_malloc(mem, iframe->frame.hd.length - 2); in nghttp2_session_mem_recv()
7387 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in nghttp2_session_add_ping()
7433 opaque_data_copy = nghttp2_mem_malloc(me in nghttp2_session_add_goaway()
[all...]
/third_party/nghttp2/tests/
H A Dnghttp2_pq_test.c44 ent = nghttp2_mem_malloc(mem, sizeof(string_entry)); in string_entry_new()
H A Dnghttp2_frame_test.c467 rawbuf = nghttp2_mem_malloc(mem, 32); in test_nghttp2_frame_pack_altsvc()

Completed in 33 milliseconds