Searched refs:upb_env_malloc (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 1858 cleanup_ent *ent = upb_env_malloc(e, sizeof(cleanup_ent)); in upb_env_addcleanup() 1869 void *upb_env_malloc(upb_env *e, size_t size) { in upb_env_malloc() function 6443 upb_descreader *r = upb_env_malloc(e, sizeof(upb_descreader)); in upb_descreader_create() 8426 upb_pbdecoder *d = upb_env_malloc(e, sizeof(upb_pbdecoder)); in upb_pbdecoder_create() 8430 d->callstack = upb_env_malloc(e, callstacksize(d, default_max_nesting)); in upb_pbdecoder_create() 8431 d->stack = upb_env_malloc(e, stacksize(d, default_max_nesting)); in upb_pbdecoder_create() 9038 upb_pb_encoder *e = upb_env_malloc(env, sizeof(upb_pb_encoder)); in upb_pb_encoder_create() 9041 e->buf = upb_env_malloc(env, initial_bufsize); in upb_pb_encoder_create() 9042 e->segbuf = upb_env_malloc(env, initial_segbufsize * sizeof(*e->segbuf)); in upb_pb_encoder_create() 9043 e->stack = upb_env_malloc(env, stack_size * sizeof(*e->stack)); in upb_pb_encoder_create() [all …]
|
D | upb.h | 5244 void *upb_env_malloc(upb_env *e, size_t size); 5334 return upb_env_malloc(this, size);
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 5455 void *upb_env_malloc(upb_env *e, size_t size) { in upb_env_malloc() function 7110 upb_descreader *r = upb_env_malloc(e, sizeof(upb_descreader)); in upb_descreader_create() 9137 upb_pbdecoder *d = upb_env_malloc(e, sizeof(upb_pbdecoder)); in upb_pbdecoder_create() 9141 d->callstack = upb_env_malloc(e, callstacksize(d, default_max_nesting)); in upb_pbdecoder_create() 9142 d->stack = upb_env_malloc(e, stacksize(d, default_max_nesting)); in upb_pbdecoder_create() 9749 upb_pb_encoder *e = upb_env_malloc(env, sizeof(upb_pb_encoder)); in upb_pb_encoder_create() 9752 e->buf = upb_env_malloc(env, initial_bufsize); in upb_pb_encoder_create() 9753 e->segbuf = upb_env_malloc(env, initial_segbufsize * sizeof(*e->segbuf)); in upb_pb_encoder_create() 9754 e->stack = upb_env_malloc(env, stack_size * sizeof(*e->stack)); in upb_pb_encoder_create() 10146 upb_textprinter *p = upb_env_malloc(env, sizeof(upb_textprinter)); in upb_textprinter_create() [all …]
|
D | upb.h | 685 void *upb_env_malloc(upb_env *e, size_t size);
|