Home
last modified time | relevance | path

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

/third_party/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
/third_party/python/Python/
Dpyarena.c102 block_alloc(block *b, size_t size) in block_alloc() function
183 void *p = block_alloc(arena->a_cur, size); in _PyArena_Malloc()
/third_party/protobuf/src/google/protobuf/
Darena_impl.h73 void* (*block_alloc)(size_t); member
82 block_alloc(options.block_alloc), in Options()
Darena.h143 void* (*block_alloc)(size_t); member
154 block_alloc(&::operator new), in ArenaOptions()
Darena.cc122 void* mem = options_.block_alloc(size); in NewBlock()
/third_party/protobuf/php/ext/google/protobuf/
Dphp-upb.c2352 upb_alloc *block_alloc; member
2399 mem_block *block = upb_malloc(a->block_alloc, block_size); in upb_arena_allocblock()
2439 a->block_alloc = alloc; in arena_initslow()
2465 a->block_alloc = alloc; in upb_arena_init()
2495 upb_free(a->block_alloc, block); in arena_dofree()
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dupb.c2315 upb_alloc *block_alloc; member
2361 mem_block *block = upb_malloc(a->block_alloc, block_size); in upb_arena_allocblock()
2430 a->block_alloc = &upb_alloc_global; in upb_arena_init()
2436 a->block_alloc = alloc; in upb_arena_init()
2461 upb_free(a->block_alloc, block); in upb_arena_free()