Home
last modified time | relevance | path

Searched refs:upb_alloc_global (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dtable.int.h64 return upb_strdup(s, &upb_alloc_global); in upb_gstrdup()
247 return upb_inttable_init2(table, ctype, &upb_alloc_global); in upb_inttable_init()
251 return upb_strtable_init2(table, ctype, 4, &upb_alloc_global); in upb_strtable_init()
255 upb_inttable_uninit2(table, &upb_alloc_global); in upb_inttable_uninit()
259 upb_strtable_uninit2(table, &upb_alloc_global); in upb_strtable_uninit()
290 return upb_inttable_insert2(t, key, val, &upb_alloc_global); in upb_inttable_insert()
295 return upb_strtable_insert3(t, key, len, val, &upb_alloc_global); in upb_strtable_insert2()
324 return upb_strtable_remove3(t, key, len, val, &upb_alloc_global); in upb_strtable_remove2()
347 return upb_inttable_insertptr2(t, key, val, &upb_alloc_global); in upb_inttable_insertptr()
356 upb_inttable_compact2(t, &upb_alloc_global); in upb_inttable_compact()
Dupb.h106 extern upb_alloc upb_alloc_global;
114 return upb_malloc(&upb_alloc_global, size); in upb_gmalloc()
118 return upb_realloc(&upb_alloc_global, ptr, oldsize, size); in upb_grealloc()
122 upb_free(&upb_alloc_global, ptr); in upb_gfree()
208 return upb_arena_init(NULL, 0, &upb_alloc_global); in upb_arena_new()
Dupb.hpp45 : ptr_(upb_arena_init(initial_block, size, &upb_alloc_global), in Arena()
Dupb.c70 upb_alloc upb_alloc_global = {&upb_global_allocfunc}; variable
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/
Dtest_table.cc147 upb_strtable_resize(&table_, size_lg2, &upb_alloc_global); in Resize()
626 upb_strtable_init2(&t, UPB_CTYPE_BOOL, i, &upb_alloc_global); in test_init()
/external/protobuf/php/ext/google/protobuf/
Dupb.h267 extern upb_alloc upb_alloc_global;
275 return upb_malloc(&upb_alloc_global, size); in upb_gmalloc()
279 return upb_realloc(&upb_alloc_global, ptr, oldsize, size); in upb_grealloc()
283 upb_free(&upb_alloc_global, ptr); in upb_gfree()
331 return upb_arena_init(NULL, 0, &upb_alloc_global); in upb_arena_new()
378 InlinedArena() : ptr_(upb_arena_new(&initial_block_, N, &upb_alloc_global)) {} in InlinedArena()
2678 return upb_strdup(s, &upb_alloc_global); in upb_gstrdup()
2877 return upb_inttable_init2(table, ctype, &upb_alloc_global); in upb_inttable_init()
2881 return upb_strtable_init2(table, ctype, &upb_alloc_global); in upb_strtable_init()
2885 upb_inttable_uninit2(table, &upb_alloc_global); in upb_inttable_uninit()
[all …]
Dupb.c5612 upb_alloc upb_alloc_global = {&upb_global_allocfunc}; variable
5747 a->block_alloc = &upb_alloc_global; in upb_arena_init()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h588 extern upb_alloc upb_alloc_global;
596 return upb_malloc(&upb_alloc_global, size);
600 return upb_realloc(&upb_alloc_global, ptr, oldsize, size);
604 upb_free(&upb_alloc_global, ptr);
893 return upb_strdup(s, &upb_alloc_global);
1186 return upb_inttable_init2(table, ctype, &upb_alloc_global);
1190 return upb_strtable_init2(table, ctype, &upb_alloc_global);
1194 upb_inttable_uninit2(table, &upb_alloc_global);
1198 upb_strtable_uninit2(table, &upb_alloc_global);
1228 return upb_inttable_insert2(t, key, val, &upb_alloc_global);
[all …]
Dupb.c7431 upb_alloc upb_alloc_global = {&upb_global_allocfunc}; variable
7526 a->block_alloc = &upb_alloc_global; in upb_arena_init()