Searched refs:cleanup_ent (Results 1 – 3 of 3) sorted by relevance
83 typedef struct cleanup_ent { struct86 } cleanup_ent; argument205 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()
5651 typedef struct cleanup_ent { struct5652 struct cleanup_ent *next; argument5655 } cleanup_ent; typedef5763 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()
7451 typedef struct cleanup_ent { struct7452 struct cleanup_ent *next; argument7455 } cleanup_ent; argument7547 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()