Searched refs:upb_alloc (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/ |
D | upb.h | 479 UPB_DECLARE_TYPE(upb::Allocator, upb_alloc) 484 typedef void *upb_alloc_func(upb_alloc *alloc, void *ptr, size_t oldsize, 498 struct upb_alloc { struct 503 UPB_INLINE void *upb_malloc(upb_alloc *alloc, size_t size) { 508 UPB_INLINE void *upb_realloc(upb_alloc *alloc, void *ptr, size_t oldsize, 514 UPB_INLINE void upb_free(upb_alloc *alloc, void *ptr) { 520 extern upb_alloc upb_alloc_global; 561 void upb_arena_init2(upb_arena *a, void *mem, size_t n, upb_alloc *alloc); 563 upb_alloc *upb_arena_alloc(upb_arena *a); 627 upb_alloc alloc; [all …]
|
D | upb.c | 2906 static void *upb_debugrefs_allocfunc(upb_alloc *alloc, void *ptr, in upb_debugrefs_allocfunc() 2924 upb_alloc upb_alloc_debugrefs = {&upb_debugrefs_allocfunc}; 4248 static void upb_check_alloc(upb_table *t, upb_alloc *a) { in upb_check_alloc() 4253 static void upb_check_alloc(upb_table *t, upb_alloc *a) { in upb_check_alloc() 4275 char *upb_strdup(const char *s, upb_alloc *a) { in upb_strdup() 4279 char *upb_strdup2(const char *s, size_t len, upb_alloc *a) { in upb_strdup2() 4337 upb_alloc *a) { in init() 4358 static void uninit(upb_table *t, upb_alloc *a) { in uninit() 4514 static upb_tabkey strcopy(lookupkey_t k2, upb_alloc *a) { in strcopy() 4534 bool upb_strtable_init2(upb_strtable *t, upb_ctype_t ctype, upb_alloc *a) { in upb_strtable_init2() [all …]
|