Home
last modified time | relevance | path

Searched refs:mem_user_data (Results 1 – 12 of 12) sorted by relevance

/third_party/node/deps/nghttp2/lib/
Dnghttp2_mem.c27 static void *default_malloc(size_t size, void *mem_user_data) { in default_malloc() argument
28 (void)mem_user_data; in default_malloc()
33 static void default_free(void *ptr, void *mem_user_data) { in default_free() argument
34 (void)mem_user_data; in default_free()
39 static void *default_calloc(size_t nmemb, size_t size, void *mem_user_data) { in default_calloc() argument
40 (void)mem_user_data; in default_calloc()
45 static void *default_realloc(void *ptr, size_t size, void *mem_user_data) { in default_realloc() argument
46 (void)mem_user_data; in default_realloc()
57 return mem->malloc(size, mem->mem_user_data); in nghttp2_mem_malloc()
61 mem->free(ptr, mem->mem_user_data); in nghttp2_mem_free()
[all …]
Dnghttp2_rcbuf.c44 (*rcbuf_ptr)->mem_user_data = mem->mem_user_data; in nghttp2_rcbuf_new()
72 nghttp2_mem_free2(rcbuf->free, rcbuf, rcbuf->mem_user_data); in nghttp2_rcbuf_del()
Dnghttp2_rcbuf.h37 void *mem_user_data; member
Dnghttp2_mem.h41 void nghttp2_mem_free2(nghttp2_free free_func, void *ptr, void *mem_user_data);
/third_party/nghttp2/lib/
Dnghttp2_mem.c27 static void *default_malloc(size_t size, void *mem_user_data) { in default_malloc() argument
28 (void)mem_user_data; in default_malloc()
33 static void default_free(void *ptr, void *mem_user_data) { in default_free() argument
34 (void)mem_user_data; in default_free()
39 static void *default_calloc(size_t nmemb, size_t size, void *mem_user_data) { in default_calloc() argument
40 (void)mem_user_data; in default_calloc()
45 static void *default_realloc(void *ptr, size_t size, void *mem_user_data) { in default_realloc() argument
46 (void)mem_user_data; in default_realloc()
57 return mem->malloc(size, mem->mem_user_data); in nghttp2_mem_malloc()
61 mem->free(ptr, mem->mem_user_data); in nghttp2_mem_free()
[all …]
Dnghttp2_rcbuf.c44 (*rcbuf_ptr)->mem_user_data = mem->mem_user_data; in nghttp2_rcbuf_new()
72 nghttp2_mem_free2(rcbuf->free, rcbuf, rcbuf->mem_user_data); in nghttp2_rcbuf_del()
Dnghttp2_rcbuf.h37 void *mem_user_data; member
Dnghttp2_mem.h41 void nghttp2_mem_free2(nghttp2_free free_func, void *ptr, void *mem_user_data);
/third_party/node/deps/uvwasi/include/
Duvwasi.h24 typedef void* (*uvwasi_malloc)(size_t size, void* mem_user_data);
25 typedef void (*uvwasi_free)(void* ptr, void* mem_user_data);
26 typedef void* (*uvwasi_calloc)(size_t nmemb, size_t size, void* mem_user_data);
27 typedef void* (*uvwasi_realloc)(void* ptr, size_t size, void* mem_user_data);
30 void* mem_user_data; member
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
Dnghttp2.h2363 typedef void *(*nghttp2_malloc)(size_t size, void *mem_user_data);
2371 typedef void (*nghttp2_free)(void *ptr, void *mem_user_data);
2379 typedef void *(*nghttp2_calloc)(size_t nmemb, size_t size, void *mem_user_data);
2387 typedef void *(*nghttp2_realloc)(void *ptr, size_t size, void *mem_user_data);
2433 void *mem_user_data; member
/third_party/nghttp2/lib/includes/nghttp2/
Dnghttp2.h2406 typedef void *(*nghttp2_malloc)(size_t size, void *mem_user_data);
2414 typedef void (*nghttp2_free)(void *ptr, void *mem_user_data);
2422 typedef void *(*nghttp2_calloc)(size_t nmemb, size_t size, void *mem_user_data);
2430 typedef void *(*nghttp2_realloc)(void *ptr, size_t size, void *mem_user_data);
2476 void *mem_user_data; member
/third_party/node/deps/uvwasi/src/
Duvwasi.c109 static void* default_malloc(size_t size, void* mem_user_data) { in default_malloc() argument
113 static void default_free(void* ptr, void* mem_user_data) { in default_free() argument
117 static void* default_calloc(size_t nmemb, size_t size, void* mem_user_data) { in default_calloc() argument
121 static void* default_realloc(void* ptr, size_t size, void* mem_user_data) { in default_realloc() argument
126 return uvwasi->allocator->malloc(size, uvwasi->allocator->mem_user_data); in uvwasi__malloc()
130 uvwasi->allocator->free(ptr, uvwasi->allocator->mem_user_data); in uvwasi__free()
136 uvwasi->allocator->mem_user_data); in uvwasi__calloc()
142 uvwasi->allocator->mem_user_data); in uvwasi__realloc()