Home
last modified time | relevance | path

Searched refs:ngtcp2_balloc (Results 1 - 3 of 3) sorted by relevance

/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_balloc.h46 * ngtcp2_balloc is a custom memory allocator. It allocates |blklen|
50 typedef struct ngtcp2_balloc { struct
59 } ngtcp2_balloc; typedef
65 void ngtcp2_balloc_init(ngtcp2_balloc *balloc, size_t blklen,
71 void ngtcp2_balloc_free(ngtcp2_balloc *balloc);
83 int ngtcp2_balloc_get(ngtcp2_balloc *balloc, void **pbuf, size_t n);
89 void ngtcp2_balloc_clear(ngtcp2_balloc *balloc);
H A Dngtcp2_balloc.c25 #include "ngtcp2_balloc.h"
31 void ngtcp2_balloc_init(ngtcp2_balloc *balloc, size_t blklen, in ngtcp2_balloc_init()
41 void ngtcp2_balloc_free(ngtcp2_balloc *balloc) { in ngtcp2_balloc_free()
49 void ngtcp2_balloc_clear(ngtcp2_balloc *balloc) { in ngtcp2_balloc_clear()
61 int ngtcp2_balloc_get(ngtcp2_balloc *balloc, void **pbuf, size_t n) { in ngtcp2_balloc_get()
H A Dngtcp2_objalloc.h34 #include "ngtcp2_balloc.h"
40 * ngtcp2_objalloc combines ngtcp2_balloc and ngtcp2_opl, and provides
45 ngtcp2_balloc balloc;

Completed in 3 milliseconds