Searched refs:symtab_alloc (Results 1 – 1 of 1) sorted by relevance
927 void *symtab_alloc(symtab_addctx *ctx, size_t bytes) { in symtab_alloc() function1041 fields = symtab_alloc(ctx, upb_msgdef_numfields(m) * sizeof(*fields)); in make_layout()1042 submsgs = symtab_alloc(ctx, submsg_count * sizeof(*submsgs)); in make_layout()1252 char *ret = symtab_alloc(ctx, n + name.size + 2); in makefullname()1283 o->fields = symtab_alloc(ctx, sizeof(upb_fielddef *) * o->field_count); in finalize_oneofs()1338 char* json_name = symtab_alloc(ctx, size); in makejsonname()1407 str_t *ret = symtab_alloc(ctx, sizeof(*ret) + len); in newstr()1815 m->layout = symtab_alloc( in create_msgdef()1820 m->oneofs = symtab_alloc(ctx, sizeof(*m->oneofs) * n_oneof); in create_msgdef()1826 m->fields = symtab_alloc(ctx, sizeof(*m->fields) * n_field); in create_msgdef()[all …]