Home
last modified time | relevance | path

Searched refs:nghttp2_mem (Results 1 - 25 of 58) sorted by relevance

123

/third_party/nghttp2/lib/
H A Dnghttp2_frame.h232 size_t payloadlen, nghttp2_mem *mem);
324 size_t payloadlen, nghttp2_mem *mem);
375 size_t payloadlen, nghttp2_mem *mem);
406 size_t payloadlen, nghttp2_mem *mem);
438 void nghttp2_frame_headers_free(nghttp2_headers *frame, nghttp2_mem *mem);
460 nghttp2_mem *mem);
470 void nghttp2_frame_settings_free(nghttp2_settings *frame, nghttp2_mem *mem);
492 void nghttp2_frame_goaway_free(nghttp2_goaway *frame, nghttp2_mem *mem);
523 void nghttp2_frame_altsvc_free(nghttp2_extension *frame, nghttp2_mem *mem);
541 void nghttp2_frame_origin_free(nghttp2_extension *frame, nghttp2_mem *me
[all...]
H A Dnghttp2_mem.h35 nghttp2_mem *nghttp2_mem_default(void);
39 void *nghttp2_mem_malloc(nghttp2_mem *mem, size_t size);
40 void nghttp2_mem_free(nghttp2_mem *mem, void *ptr);
42 void *nghttp2_mem_calloc(nghttp2_mem *mem, size_t nmemb, size_t size);
43 void *nghttp2_mem_realloc(nghttp2_mem *mem, void *ptr, size_t size);
H A Dnghttp2_mem.c25 #include "nghttp2_mem.h"
51 static nghttp2_mem mem_default = {NULL, default_malloc, default_free,
54 nghttp2_mem *nghttp2_mem_default(void) { return &mem_default; } in nghttp2_mem_default()
56 void *nghttp2_mem_malloc(nghttp2_mem *mem, size_t size) { in nghttp2_mem_malloc()
60 void nghttp2_mem_free(nghttp2_mem *mem, void *ptr) { in nghttp2_mem_free()
68 void *nghttp2_mem_calloc(nghttp2_mem *mem, size_t nmemb, size_t size) { in nghttp2_mem_calloc()
72 void *nghttp2_mem_realloc(nghttp2_mem *mem, void *ptr, size_t size) { in nghttp2_mem_realloc()
H A Dnghttp2_buf.h35 #include "nghttp2_mem.h"
90 int nghttp2_buf_init2(nghttp2_buf *buf, size_t initial, nghttp2_mem *mem);
95 void nghttp2_buf_free(nghttp2_buf *buf, nghttp2_mem *mem);
108 int nghttp2_buf_reserve(nghttp2_buf *buf, size_t new_cap, nghttp2_mem *mem);
140 nghttp2_mem *mem;
162 nghttp2_mem *mem);
169 size_t max_chunk, size_t offset, nghttp2_mem *mem);
192 nghttp2_mem *mem);
216 nghttp2_mem *mem);
235 size_t veclen, nghttp2_mem *me
[all...]
H A Dnghttp2_buf.c40 int nghttp2_buf_init2(nghttp2_buf *buf, size_t initial, nghttp2_mem *mem) { in nghttp2_buf_init2()
45 void nghttp2_buf_free(nghttp2_buf *buf, nghttp2_mem *mem) { in nghttp2_buf_free()
54 int nghttp2_buf_reserve(nghttp2_buf *buf, size_t new_cap, nghttp2_mem *mem) { in nghttp2_buf_reserve()
92 nghttp2_mem *mem) { in buf_chain_new()
111 static void buf_chain_del(nghttp2_buf_chain *chain, nghttp2_mem *mem) { in buf_chain_del()
117 nghttp2_mem *mem) { in nghttp2_bufs_init()
122 size_t max_chunk, size_t offset, nghttp2_mem *mem) { in nghttp2_bufs_init2()
129 nghttp2_mem *mem) { in nghttp2_bufs_init3()
203 nghttp2_mem *mem) { in nghttp2_bufs_wrap_init()
230 size_t veclen, nghttp2_mem *me in nghttp2_bufs_wrap_init2()
[all...]
H A Dnghttp2_hd.h36 #include "nghttp2_mem.h"
199 nghttp2_mem *mem;
290 int nghttp2_hd_deflate_init(nghttp2_hd_deflater *deflater, nghttp2_mem *mem);
307 nghttp2_mem *mem);
347 int nghttp2_hd_inflate_init(nghttp2_hd_inflater *inflater, nghttp2_mem *mem);
H A Dnghttp2_rcbuf.h57 int nghttp2_rcbuf_new(nghttp2_rcbuf **rcbuf_ptr, size_t size, nghttp2_mem *mem);
73 size_t srclen, nghttp2_mem *mem);
H A Dnghttp2_submit.c78 nghttp2_mem *mem; in submit_headers_shared()
151 nghttp2_mem *mem; in submit_headers_shared_nva()
228 nghttp2_mem *mem; in nghttp2_submit_priority()
325 nghttp2_mem *mem; in nghttp2_submit_push_promise()
506 nghttp2_mem *mem; in nghttp2_submit_altsvc()
589 nghttp2_mem *mem; in nghttp2_submit_origin()
674 nghttp2_mem *mem; in nghttp2_submit_priority_update()
818 nghttp2_mem *mem; in nghttp2_submit_data()
870 nghttp2_mem *mem; in nghttp2_submit_extension()
H A Dnghttp2_pq.h34 #include "nghttp2_mem.h"
46 nghttp2_mem *mem;
59 void nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem);
H A Dnghttp2_map.h35 #include "nghttp2_mem.h"
49 nghttp2_mem *mem;
58 void nghttp2_map_init(nghttp2_map *map, nghttp2_mem *mem);
H A Dnghttp2_frame.c79 void nghttp2_frame_headers_free(nghttp2_headers *frame, nghttp2_mem *mem) { in nghttp2_frame_headers_free()
109 void nghttp2_frame_settings_free(nghttp2_settings *frame, nghttp2_mem *mem) { in nghttp2_frame_settings_free()
126 nghttp2_mem *mem) { in nghttp2_frame_push_promise_free()
154 void nghttp2_frame_goaway_free(nghttp2_goaway *frame, nghttp2_mem *mem) { in nghttp2_frame_goaway_free()
214 void nghttp2_frame_altsvc_free(nghttp2_extension *frame, nghttp2_mem *mem) { in nghttp2_frame_altsvc_free()
244 void nghttp2_frame_origin_free(nghttp2_extension *frame, nghttp2_mem *mem) { in nghttp2_frame_origin_free()
271 nghttp2_mem *mem) { in nghttp2_frame_priority_update_free()
528 nghttp2_mem *mem) { in nghttp2_frame_unpack_settings_payload2()
663 size_t payloadlen, nghttp2_mem *mem) { in nghttp2_frame_unpack_goaway_payload2()
767 size_t payloadlen, nghttp2_mem *me in nghttp2_frame_unpack_altsvc_payload2()
[all...]
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_frame.h232 size_t payloadlen, nghttp2_mem *mem);
324 size_t payloadlen, nghttp2_mem *mem);
375 size_t payloadlen, nghttp2_mem *mem);
406 size_t payloadlen, nghttp2_mem *mem);
438 void nghttp2_frame_headers_free(nghttp2_headers *frame, nghttp2_mem *mem);
460 nghttp2_mem *mem);
470 void nghttp2_frame_settings_free(nghttp2_settings *frame, nghttp2_mem *mem);
492 void nghttp2_frame_goaway_free(nghttp2_goaway *frame, nghttp2_mem *mem);
523 void nghttp2_frame_altsvc_free(nghttp2_extension *frame, nghttp2_mem *mem);
541 void nghttp2_frame_origin_free(nghttp2_extension *frame, nghttp2_mem *me
[all...]
H A Dnghttp2_mem.h35 nghttp2_mem *nghttp2_mem_default(void);
39 void *nghttp2_mem_malloc(nghttp2_mem *mem, size_t size);
40 void nghttp2_mem_free(nghttp2_mem *mem, void *ptr);
42 void *nghttp2_mem_calloc(nghttp2_mem *mem, size_t nmemb, size_t size);
43 void *nghttp2_mem_realloc(nghttp2_mem *mem, void *ptr, size_t size);
H A Dnghttp2_mem.c25 #include "nghttp2_mem.h"
51 static nghttp2_mem mem_default = {NULL, default_malloc, default_free,
54 nghttp2_mem *nghttp2_mem_default(void) { return &mem_default; } in nghttp2_mem_default()
56 void *nghttp2_mem_malloc(nghttp2_mem *mem, size_t size) { in nghttp2_mem_malloc()
60 void nghttp2_mem_free(nghttp2_mem *mem, void *ptr) { in nghttp2_mem_free()
68 void *nghttp2_mem_calloc(nghttp2_mem *mem, size_t nmemb, size_t size) { in nghttp2_mem_calloc()
72 void *nghttp2_mem_realloc(nghttp2_mem *mem, void *ptr, size_t size) { in nghttp2_mem_realloc()
H A Dnghttp2_buf.h35 #include "nghttp2_mem.h"
90 int nghttp2_buf_init2(nghttp2_buf *buf, size_t initial, nghttp2_mem *mem);
95 void nghttp2_buf_free(nghttp2_buf *buf, nghttp2_mem *mem);
108 int nghttp2_buf_reserve(nghttp2_buf *buf, size_t new_cap, nghttp2_mem *mem);
140 nghttp2_mem *mem;
162 nghttp2_mem *mem);
169 size_t max_chunk, size_t offset, nghttp2_mem *mem);
192 nghttp2_mem *mem);
216 nghttp2_mem *mem);
235 size_t veclen, nghttp2_mem *me
[all...]
H A Dnghttp2_buf.c40 int nghttp2_buf_init2(nghttp2_buf *buf, size_t initial, nghttp2_mem *mem) { in nghttp2_buf_init2()
45 void nghttp2_buf_free(nghttp2_buf *buf, nghttp2_mem *mem) { in nghttp2_buf_free()
54 int nghttp2_buf_reserve(nghttp2_buf *buf, size_t new_cap, nghttp2_mem *mem) { in nghttp2_buf_reserve()
92 nghttp2_mem *mem) { in buf_chain_new()
111 static void buf_chain_del(nghttp2_buf_chain *chain, nghttp2_mem *mem) { in buf_chain_del()
117 nghttp2_mem *mem) { in nghttp2_bufs_init()
122 size_t max_chunk, size_t offset, nghttp2_mem *mem) { in nghttp2_bufs_init2()
129 nghttp2_mem *mem) { in nghttp2_bufs_init3()
203 nghttp2_mem *mem) { in nghttp2_bufs_wrap_init()
230 size_t veclen, nghttp2_mem *me in nghttp2_bufs_wrap_init2()
[all...]
H A Dnghttp2_hd.h36 #include "nghttp2_mem.h"
199 nghttp2_mem *mem;
290 int nghttp2_hd_deflate_init(nghttp2_hd_deflater *deflater, nghttp2_mem *mem);
307 nghttp2_mem *mem);
347 int nghttp2_hd_inflate_init(nghttp2_hd_inflater *inflater, nghttp2_mem *mem);
H A Dnghttp2_rcbuf.h57 int nghttp2_rcbuf_new(nghttp2_rcbuf **rcbuf_ptr, size_t size, nghttp2_mem *mem);
73 size_t srclen, nghttp2_mem *mem);
H A Dnghttp2_submit.c78 nghttp2_mem *mem; in submit_headers_shared()
151 nghttp2_mem *mem; in submit_headers_shared_nva()
228 nghttp2_mem *mem; in nghttp2_submit_priority()
325 nghttp2_mem *mem; in nghttp2_submit_push_promise()
506 nghttp2_mem *mem; in nghttp2_submit_altsvc()
589 nghttp2_mem *mem; in nghttp2_submit_origin()
674 nghttp2_mem *mem; in nghttp2_submit_priority_update()
818 nghttp2_mem *mem; in nghttp2_submit_data()
870 nghttp2_mem *mem; in nghttp2_submit_extension()
H A Dnghttp2_map.h35 #include "nghttp2_mem.h"
49 nghttp2_mem *mem;
58 void nghttp2_map_init(nghttp2_map *map, nghttp2_mem *mem);
H A Dnghttp2_pq.h34 #include "nghttp2_mem.h"
46 nghttp2_mem *mem;
59 void nghttp2_pq_init(nghttp2_pq *pq, nghttp2_less less, nghttp2_mem *mem);
/third_party/nghttp2/tests/
H A Dnghttp2_buf_test.c38 nghttp2_mem *mem; in test_nghttp2_bufs_add()
73 nghttp2_mem *mem; in test_nghttp2_bufs_add_stack_buffer_overflow_bug()
92 nghttp2_mem *mem; in test_nghttp2_bufs_addb()
157 nghttp2_mem *mem; in test_nghttp2_bufs_orb()
195 nghttp2_mem *mem; in test_nghttp2_bufs_remove()
234 nghttp2_mem *mem; in test_nghttp2_bufs_reset()
271 nghttp2_mem *mem; in test_nghttp2_bufs_advance()
292 nghttp2_mem *mem; in test_nghttp2_bufs_next_present()
323 nghttp2_mem *mem; in test_nghttp2_bufs_realloc()
H A Dnghttp2_test_helper.h77 void nva_out_reset(nva_out *out, nghttp2_mem *mem);
79 void add_out(nva_out *out, nghttp2_nv *nv, nghttp2_mem *mem);
82 nghttp2_bufs *bufs, size_t offset, nghttp2_mem *mem);
86 size_t nvlen, nghttp2_mem *mem);
91 size_t nvlen, nghttp2_mem *mem);
111 nghttp2_outbound_item *create_data_ob_item(nghttp2_mem *mem);
H A Dnghttp2_test_helper.c49 nghttp2_mem *mem; in unpack_frame()
126 void nva_out_reset(nva_out *out, nghttp2_mem *mem) { in nva_out_reset()
136 void add_out(nva_out *out, nghttp2_nv *nv, nghttp2_mem *mem) { in add_out()
159 nghttp2_bufs *bufs, size_t offset, nghttp2_mem *mem) { in inflate_hd()
218 size_t nvlen, nghttp2_mem *mem) { in pack_headers()
237 size_t nvlen, nghttp2_mem *mem) { in pack_push_promise()
310 nghttp2_outbound_item *create_data_ob_item(nghttp2_mem *mem) { in create_data_ob_item()
H A Dmalloc_wrapper.c69 static nghttp2_mem mem = {NULL, my_malloc, my_free, my_calloc, my_realloc};
71 nghttp2_mem *nghttp2_mem_fm(void) { return &mem; } in nghttp2_mem_fm()

Completed in 13 milliseconds

123