/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | upb.h | 75 struct upb_alloc; 76 typedef struct upb_alloc upb_alloc; typedef 81 typedef void *upb_alloc_func(upb_alloc *alloc, void *ptr, size_t oldsize, 84 struct upb_alloc { struct 88 UPB_INLINE void *upb_malloc(upb_alloc *alloc, size_t size) { in upb_malloc() 93 UPB_INLINE void *upb_realloc(upb_alloc *alloc, void *ptr, size_t oldsize, in upb_realloc() 99 UPB_INLINE void upb_free(upb_alloc *alloc, void *ptr) { in upb_free() 106 extern upb_alloc upb_alloc_global; 148 upb_alloc alloc; 156 upb_arena *upb_arena_init(void *mem, size_t n, upb_alloc *alloc); [all …]
|
D | table.int.h | 58 char *upb_strdup(const char *s, upb_alloc *a); 61 char *upb_strdup2(const char *s, size_t len, upb_alloc *a); 240 bool upb_inttable_init2(upb_inttable *table, upb_ctype_t ctype, upb_alloc *a); 242 size_t expected_size, upb_alloc *a); 243 void upb_inttable_uninit2(upb_inttable *table, upb_alloc *a); 244 void upb_strtable_uninit2(upb_strtable *table, upb_alloc *a); 284 upb_alloc *a); 286 upb_value val, upb_alloc *a); 320 upb_value *val, upb_alloc *alloc); 340 upb_alloc *a); [all …]
|
D | table.c | 38 char *upb_strdup(const char *s, upb_alloc *a) { in upb_strdup() 42 char *upb_strdup2(const char *s, size_t len, upb_alloc *a) { in upb_strdup2() 95 static bool init(upb_table *t, uint8_t size_lg2, upb_alloc *a) { in init() 113 static void uninit(upb_table *t, upb_alloc *a) { in uninit() 268 static upb_tabkey strcopy(lookupkey_t k2, upb_alloc *a) { in strcopy() 295 size_t expected_size, upb_alloc *a) { in upb_strtable_init2() 310 void upb_strtable_uninit2(upb_strtable *t, upb_alloc *a) { in upb_strtable_uninit2() 317 bool upb_strtable_resize(upb_strtable *t, size_t size_lg2, upb_alloc *a) { in upb_strtable_resize() 336 upb_value v, upb_alloc *a) { in upb_strtable_insert3() 364 upb_value *val, upb_alloc *alloc) { in upb_strtable_remove3() [all …]
|
D | upb.c | 58 static void *upb_global_allocfunc(upb_alloc *alloc, void *ptr, size_t oldsize, in upb_global_allocfunc() 70 upb_alloc upb_alloc_global = {&upb_global_allocfunc}; 136 static void *upb_arena_doalloc(upb_alloc *alloc, void *ptr, size_t oldsize, in upb_arena_doalloc() 144 upb_arena *arena_initslow(void *mem, size_t n, upb_alloc *alloc) { in arena_initslow() 169 upb_arena *upb_arena_init(void *mem, size_t n, upb_alloc *alloc) { in upb_arena_init()
|
D | upb.int.h | 16 upb_alloc *block_alloc;
|
D | upb.hpp | 55 upb_alloc *allocator() { return upb_arena_alloc(ptr_.get()); } in allocator()
|
D | def.c | 838 upb_alloc *alloc; in upb_symtab_new() 906 upb_alloc *alloc; /* Alloc of file_arena, for tables. */ 1347 upb_alloc *alloc = upb_arena_alloc(ctx->symtab->arena); in symtab_add() 1560 upb_alloc *alloc = ctx->alloc; in create_fielddef() 2063 upb_alloc *alloc = upb_arena_alloc(s->arena); in remove_filedef()
|
D | encode.c | 33 upb_alloc *alloc;
|
D | msg.h | 467 upb_alloc *a = upb_arena_alloc(arena); in _upb_map_set()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | protobuf.c | 196 static void* ruby_upb_allocfunc(upb_alloc* alloc, void* ptr, size_t oldsize, size_t size) { in ruby_upb_allocfunc() 205 upb_alloc ruby_upb_alloc = {&ruby_upb_allocfunc};
|
D | ruby-upb.h | 369 struct upb_alloc; 370 typedef struct upb_alloc upb_alloc; typedef 375 typedef void* upb_alloc_func(upb_alloc* alloc, void* ptr, size_t oldsize, 378 struct upb_alloc { struct 382 UPB_INLINE void* upb_malloc(upb_alloc* alloc, size_t size) { in upb_malloc() 387 UPB_INLINE void* upb_realloc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_realloc() 393 UPB_INLINE void upb_free(upb_alloc* alloc, void* ptr) { in upb_free() 400 extern upb_alloc upb_alloc_global; 440 upb_alloc alloc; 448 upb_Arena* upb_Arena_Init(void* mem, size_t n, upb_alloc* alloc); [all …]
|
D | ruby-upb.c | 1393 upb_alloc* alloc; 3296 static void* upb_global_allocfunc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_global_allocfunc() 3321 upb_alloc upb_alloc_global = {&upb_global_allocfunc}; 3388 static void* upb_Arena_doalloc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_Arena_doalloc() 3396 upb_Arena* arena_initslow(void* mem, size_t n, upb_alloc* alloc) { in arena_initslow() 3422 upb_Arena* upb_Arena_Init(void* mem, size_t n, upb_alloc* alloc) { in upb_Arena_Init()
|
/external/cronet/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | protobuf.c | 196 static void* ruby_upb_allocfunc(upb_alloc* alloc, void* ptr, size_t oldsize, size_t size) { in ruby_upb_allocfunc() 205 upb_alloc ruby_upb_alloc = {&ruby_upb_allocfunc};
|
D | ruby-upb.h | 369 struct upb_alloc; 370 typedef struct upb_alloc upb_alloc; typedef 375 typedef void* upb_alloc_func(upb_alloc* alloc, void* ptr, size_t oldsize, 378 struct upb_alloc { struct 382 UPB_INLINE void* upb_malloc(upb_alloc* alloc, size_t size) { in upb_malloc() 387 UPB_INLINE void* upb_realloc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_realloc() 393 UPB_INLINE void upb_free(upb_alloc* alloc, void* ptr) { in upb_free() 400 extern upb_alloc upb_alloc_global; 440 upb_alloc alloc; 448 upb_Arena* upb_Arena_Init(void* mem, size_t n, upb_alloc* alloc); [all …]
|
D | ruby-upb.c | 1393 upb_alloc* alloc; 3296 static void* upb_global_allocfunc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_global_allocfunc() 3321 upb_alloc upb_alloc_global = {&upb_global_allocfunc}; 3388 static void* upb_Arena_doalloc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_Arena_doalloc() 3396 upb_Arena* arena_initslow(void* mem, size_t n, upb_alloc* alloc) { in arena_initslow() 3422 upb_Arena* upb_Arena_Init(void* mem, size_t n, upb_alloc* alloc) { in upb_Arena_Init()
|
/external/cronet/third_party/protobuf/php/ext/google/protobuf/ |
D | php-upb.h | 359 struct upb_alloc; 360 typedef struct upb_alloc upb_alloc; typedef 365 typedef void* upb_alloc_func(upb_alloc* alloc, void* ptr, size_t oldsize, 368 struct upb_alloc { struct 372 UPB_INLINE void* upb_malloc(upb_alloc* alloc, size_t size) { in upb_malloc() 377 UPB_INLINE void* upb_realloc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_realloc() 383 UPB_INLINE void upb_free(upb_alloc* alloc, void* ptr) { in upb_free() 390 extern upb_alloc upb_alloc_global; 430 upb_alloc alloc; 438 upb_Arena* upb_Arena_Init(void* mem, size_t n, upb_alloc* alloc); [all …]
|
D | php-upb.c | 1369 upb_alloc* alloc; 3262 static void* upb_global_allocfunc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_global_allocfunc() 3287 upb_alloc upb_alloc_global = {&upb_global_allocfunc}; 3354 static void* upb_Arena_doalloc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_Arena_doalloc() 3362 upb_Arena* arena_initslow(void* mem, size_t n, upb_alloc* alloc) { in arena_initslow() 3388 upb_Arena* upb_Arena_Init(void* mem, size_t n, upb_alloc* alloc) { in upb_Arena_Init()
|
/external/protobuf/php/ext/google/protobuf/ |
D | php-upb.h | 359 struct upb_alloc; 360 typedef struct upb_alloc upb_alloc; typedef 365 typedef void* upb_alloc_func(upb_alloc* alloc, void* ptr, size_t oldsize, 368 struct upb_alloc { struct 372 UPB_INLINE void* upb_malloc(upb_alloc* alloc, size_t size) { in upb_malloc() 377 UPB_INLINE void* upb_realloc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_realloc() 383 UPB_INLINE void upb_free(upb_alloc* alloc, void* ptr) { in upb_free() 390 extern upb_alloc upb_alloc_global; 430 upb_alloc alloc; 438 upb_Arena* upb_Arena_Init(void* mem, size_t n, upb_alloc* alloc); [all …]
|
D | php-upb.c | 1369 upb_alloc* alloc; 3262 static void* upb_global_allocfunc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_global_allocfunc() 3287 upb_alloc upb_alloc_global = {&upb_global_allocfunc}; 3354 static void* upb_Arena_doalloc(upb_alloc* alloc, void* ptr, size_t oldsize, in upb_Arena_doalloc() 3362 upb_Arena* arena_initslow(void* mem, size_t n, upb_alloc* alloc) { in arena_initslow() 3388 upb_Arena* upb_Arena_Init(void* mem, size_t n, upb_alloc* alloc) { in upb_Arena_Init()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/ |
D | parser.c | 3299 upb_alloc *alloc = upb_arena_alloc(c->arena); in parsermethod_new() 3382 upb_alloc *alloc; in upb_json_codecache_new() 3405 upb_alloc *alloc = upb_arena_alloc(c->arena); in upb_json_codecache_get()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/ |
D | parser.rl | 2862 upb_alloc *alloc = upb_arena_alloc(c->arena); 2945 upb_alloc *alloc; 2968 upb_alloc *alloc = upb_arena_alloc(c->arena);
|