Searched refs:upb_alloc_global (Results 1 – 2 of 2) sorted by relevance
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.h | 520 extern upb_alloc upb_alloc_global; 528 return upb_malloc(&upb_alloc_global, size); 532 return upb_realloc(&upb_alloc_global, ptr, oldsize, size); 536 upb_free(&upb_alloc_global, ptr); 823 return upb_strdup(s, &upb_alloc_global); 1093 return upb_inttable_init2(table, ctype, &upb_alloc_global); 1097 return upb_strtable_init2(table, ctype, &upb_alloc_global); 1101 upb_inttable_uninit2(table, &upb_alloc_global); 1105 upb_strtable_uninit2(table, &upb_alloc_global); 1128 return upb_inttable_insert2(t, key, val, &upb_alloc_global); [all …]
|
D | upb.c | 5247 upb_alloc upb_alloc_global = {&upb_global_allocfunc}; variable 5342 a->block_alloc = &upb_alloc_global; in upb_arena_init()
|