Searched refs:upb_arena_alloc (Results 1 – 13 of 13) sorted by relevance
55 upb_alloc *allocator() { return upb_arena_alloc(ptr_.get()); } in allocator()
162 UPB_INLINE upb_alloc *upb_arena_alloc(upb_arena *a) { return (upb_alloc*)a; } in upb_arena_alloc() function
136 upb_strtable_init2(&map->table, UPB_CTYPE_INT32, 4, upb_arena_alloc(a)); in _upb_map_new()
846 alloc = upb_arena_alloc(s->arena); in upb_symtab_new()1347 upb_alloc *alloc = upb_arena_alloc(ctx->symtab->arena); in symtab_add()2063 upb_alloc *alloc = upb_arena_alloc(s->arena); in remove_filedef()2094 ctx.alloc = upb_arena_alloc(file_arena); in _upb_symtab_addfile()
23 void *mem = upb_malloc(upb_arena_alloc(arena), size); in upb_calloc()
452 e.alloc = upb_arena_alloc(arena); in upb_encode_ex()
467 upb_alloc *a = upb_arena_alloc(arena); in _upb_map_set()
673 upb_alloc *alloc = upb_arena_alloc(arr->arena); in upb_array_grow()2677 upb_alloc *alloc = upb_arena_alloc(s->arena); in upb_symtab_addtotabs()2754 alloc = upb_arena_alloc(s->arena); in upb_symtab_new()2795 upb_alloc *alloc = upb_arena_alloc(s->arena); in upb_symtab_addfile()2803 ctx.tmp = upb_arena_alloc(tmparena); in upb_symtab_addfile()3237 e.alloc = upb_arena_alloc(arena); in upb_encode()3278 void *mem = upb_malloc(upb_arena_alloc(arena), size); in upb_calloc()3989 upb_alloc *alloc = upb_arena_alloc(in->arena); in upb_msg_addunknown()4027 upb_alloc *alloc = upb_arena_alloc(a); in upb_msg_new()4096 upb_alloc *alloc = upb_arena_alloc(a); in upb_array_new()[all …]
317 UPB_INLINE upb_alloc *upb_arena_alloc(upb_arena *a) { return (upb_alloc*)a; } in upb_arena_alloc() function322 return upb_malloc(upb_arena_alloc(a), size); in upb_arena_malloc()327 return upb_realloc(upb_arena_alloc(a), ptr, oldsize, size); in upb_arena_realloc()349 upb_alloc *allocator() { return upb_arena_alloc(ptr_.get()); } in allocator()
3299 upb_alloc *alloc = upb_arena_alloc(c->arena); in parsermethod_new()3388 alloc = upb_arena_alloc(c->arena); in upb_json_codecache_new()3405 upb_alloc *alloc = upb_arena_alloc(c->arena); in upb_json_codecache_get()
2862 upb_alloc *alloc = upb_arena_alloc(c->arena);2951 alloc = upb_arena_alloc(c->arena);2968 upb_alloc *alloc = upb_arena_alloc(c->arena);
669 upb_alloc *alloc = upb_arena_alloc(arr->arena); in upb_array_grow()3888 e.alloc = upb_arena_alloc(arena); in upb_encode()4855 upb_alloc *alloc = upb_arena_alloc(in->arena); in upb_msg_addunknown()4893 upb_alloc *alloc = upb_arena_alloc(a); in upb_msg_new()4962 upb_alloc *alloc = upb_arena_alloc(a); in upb_array_new()5003 upb_alloc *alloc = upb_arena_alloc(arr->arena); in upb_array_set()5085 upb_alloc *alloc = upb_arena_alloc(a); in upb_map_new()5137 upb_alloc *a = upb_arena_alloc(map->arena); in upb_map_set()5153 upb_alloc *a = upb_arena_alloc(map->arena); in upb_map_del()
635 UPB_INLINE upb_alloc *upb_arena_alloc(upb_arena *a) { return (upb_alloc*)a; } function673 Allocator* allocator() { return upb_arena_alloc(this); }6946 upb_alloc *alloc = upb_arena_alloc(arr->arena);