Searched refs:upb_arena_alloc (Results 1 – 9 of 9) 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()
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);