Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dupb.c123 mem_block *block = upb_malloc(root->block_alloc, block_size); in upb_arena_allocblock()
158 a->block_alloc = alloc; in arena_initslow()
183 a->block_alloc = alloc; in upb_arena_init()
213 upb_free(a->block_alloc, block); in arena_dofree()
Dupb.int.h16 upb_alloc *block_alloc; member
/external/protobuf/src/google/protobuf/
Darena_impl.h73 void* (*block_alloc)(size_t); member
82 block_alloc(options.block_alloc), in Options()
Darena.h140 void* (*block_alloc)(size_t); member
151 block_alloc(&::operator new), in ArenaOptions()
Darena.cc121 void* mem = options_.block_alloc(size); in NewBlock()
/external/llvm-project/compiler-rt/lib/asan/tests/
Dasan_mac_test_helpers.mm116 dispatch_block_t block_alloc = ^{ worker_do_alloc(1024); };
119 dispatch_async(queue, block_alloc);
132 dispatch_block_t block_alloc = ^{ worker_do_alloc(1024); };
135 dispatch_sync(queue[i % 4], block_alloc);
/external/compiler-rt/lib/asan/tests/
Dasan_mac_test_helpers.mm116 dispatch_block_t block_alloc = ^{ worker_do_alloc(1024); };
119 dispatch_async(queue, block_alloc);
132 dispatch_block_t block_alloc = ^{ worker_do_alloc(1024); };
135 dispatch_sync(queue[i % 4], block_alloc);
/external/python/cpython3/Python/
Dpyarena.c101 block_alloc(block *b, size_t size) in block_alloc() function
182 void *p = block_alloc(arena->a_cur, size); in PyArena_Malloc()
/external/python/cpython2/Python/
Dpyarena.c104 block_alloc(block *b, size_t size) in block_alloc() function
185 void *p = block_alloc(arena->a_cur, size); in PyArena_Malloc()
/external/protobuf/php/ext/google/protobuf/
Dupb.c5630 upb_alloc *block_alloc; member
5673 mem_block *block = upb_malloc(a->block_alloc, block_size); in upb_arena_allocblock()
5747 a->block_alloc = &upb_alloc_global; in upb_arena_init()
5753 a->block_alloc = alloc; in upb_arena_init()
5778 upb_free(a->block_alloc, block); in upb_arena_free()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c7474 mem_block *block = upb_malloc(a->block_alloc, block_size); in upb_arena_allocblock()
7526 a->block_alloc = &upb_alloc_global; in upb_arena_init()
7542 a->block_alloc = alloc; in upb_arena_init2()
7561 upb_free(a->block_alloc, block); in upb_arena_uninit()
Dupb.h699 upb_alloc *block_alloc;