Searched refs:symtab_alloc (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | def.c | 927 void *symtab_alloc(symtab_addctx *ctx, size_t bytes) { in symtab_alloc() function 1041 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 …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | ruby-upb.c | 6422 void* symtab_alloc(symtab_addctx* ctx, size_t bytes) { in symtab_alloc() function 6637 fields = symtab_alloc(ctx, field_count * sizeof(*fields)); in make_layout() 6638 subs = symtab_alloc(ctx, sublayout_count * sizeof(*subs)); in make_layout() 6830 char* ret = symtab_alloc(ctx, n + name.size + 2); in makefullname() 6861 o->fields = symtab_alloc(ctx, sizeof(upb_FieldDef*) * o->field_count); in finalize_oneofs() 6918 char* json_name = symtab_alloc(ctx, size); in makejsonname() 7041 str_t* ret = symtab_alloc(ctx, sizeof(*ret) + len); in newstr() 7169 str_t* ret = symtab_alloc(ctx, sizeof(*ret) + len); in unescape() 7547 s->methods = symtab_alloc(ctx, sizeof(*s->methods) * n); in create_service() 7607 int32_t* values = symtab_alloc(ctx, sizeof(*values) * n); in create_enumlayout() [all …]
|
/external/cronet/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | ruby-upb.c | 6422 void* symtab_alloc(symtab_addctx* ctx, size_t bytes) { in symtab_alloc() function 6637 fields = symtab_alloc(ctx, field_count * sizeof(*fields)); in make_layout() 6638 subs = symtab_alloc(ctx, sublayout_count * sizeof(*subs)); in make_layout() 6830 char* ret = symtab_alloc(ctx, n + name.size + 2); in makefullname() 6861 o->fields = symtab_alloc(ctx, sizeof(upb_FieldDef*) * o->field_count); in finalize_oneofs() 6918 char* json_name = symtab_alloc(ctx, size); in makejsonname() 7041 str_t* ret = symtab_alloc(ctx, sizeof(*ret) + len); in newstr() 7169 str_t* ret = symtab_alloc(ctx, sizeof(*ret) + len); in unescape() 7547 s->methods = symtab_alloc(ctx, sizeof(*s->methods) * n); in create_service() 7607 int32_t* values = symtab_alloc(ctx, sizeof(*values) * n); in create_enumlayout() [all …]
|
/external/cronet/third_party/protobuf/php/ext/google/protobuf/ |
D | php-upb.c | 6717 void* symtab_alloc(symtab_addctx* ctx, size_t bytes) { in symtab_alloc() function 6927 fields = symtab_alloc(ctx, field_count * sizeof(*fields)); in make_layout() 6928 subs = symtab_alloc(ctx, sublayout_count * sizeof(*subs)); in make_layout() 7120 char* ret = symtab_alloc(ctx, n + name.size + 2); in makefullname() 7151 o->fields = symtab_alloc(ctx, sizeof(upb_FieldDef*) * o->field_count); in finalize_oneofs() 7208 char* json_name = symtab_alloc(ctx, size); in makejsonname() 7331 str_t* ret = symtab_alloc(ctx, sizeof(*ret) + len); in newstr() 7459 str_t* ret = symtab_alloc(ctx, sizeof(*ret) + len); in unescape() 7837 s->methods = symtab_alloc(ctx, sizeof(*s->methods) * n); in create_service() 7897 int32_t* values = symtab_alloc(ctx, sizeof(*values) * n); in create_enumlayout() [all …]
|
/external/protobuf/php/ext/google/protobuf/ |
D | php-upb.c | 6717 void* symtab_alloc(symtab_addctx* ctx, size_t bytes) { in symtab_alloc() function 6927 fields = symtab_alloc(ctx, field_count * sizeof(*fields)); in make_layout() 6928 subs = symtab_alloc(ctx, sublayout_count * sizeof(*subs)); in make_layout() 7120 char* ret = symtab_alloc(ctx, n + name.size + 2); in makefullname() 7151 o->fields = symtab_alloc(ctx, sizeof(upb_FieldDef*) * o->field_count); in finalize_oneofs() 7208 char* json_name = symtab_alloc(ctx, size); in makejsonname() 7331 str_t* ret = symtab_alloc(ctx, sizeof(*ret) + len); in newstr() 7459 str_t* ret = symtab_alloc(ctx, sizeof(*ret) + len); in unescape() 7837 s->methods = symtab_alloc(ctx, sizeof(*s->methods) * n); in create_service() 7897 int32_t* values = symtab_alloc(ctx, sizeof(*values) * n); in create_enumlayout() [all …]
|