Home
last modified time | relevance | path

Searched refs:cleanup_ent (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dupb.c83 typedef struct cleanup_ent { struct
86 } cleanup_ent; typedef
205 cleanup_ent *end = UPB_PTR_AT(block, block->size, void); in arena_dofree()
206 cleanup_ent *ptr = end - block->cleanups; in arena_dofree()
224 cleanup_ent *ent; in upb_arena_addcleanup()
226 if (!a->cleanups || _upb_arenahas(a) < sizeof(cleanup_ent)) { in upb_arena_addcleanup()
228 UPB_ASSERT(_upb_arenahas(a) >= sizeof(cleanup_ent)); in upb_arena_addcleanup()
231 a->head.end -= sizeof(cleanup_ent); in upb_arena_addcleanup()
232 ent = (cleanup_ent*)a->head.end; in upb_arena_addcleanup()
234 UPB_UNPOISON_MEMORY_REGION(ent, sizeof(cleanup_ent)); in upb_arena_addcleanup()
/external/protobuf/php/ext/google/protobuf/
Dupb.c5651 typedef struct cleanup_ent { struct
5652 struct cleanup_ent *next; argument
5655 } cleanup_ent; argument
5763 cleanup_ent *ent = a->cleanup_head; in upb_arena_free()
5786 cleanup_ent *ent = upb_malloc(&a->alloc, sizeof(cleanup_ent)); in upb_arena_addcleanup()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c7451 typedef struct cleanup_ent { struct
7452 struct cleanup_ent *next; argument
7455 } cleanup_ent; argument
7547 cleanup_ent *ent = a->cleanup_head; in upb_arena_uninit()
7573 cleanup_ent *ent = upb_malloc(&a->alloc, sizeof(cleanup_ent)); in upb_arena_addcleanup()