Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dupb.c83 typedef struct cleanup_ent { struct
86 } cleanup_ent; argument
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/ruby/ext/google/protobuf_c/
Druby-upb.c3334 typedef struct cleanup_ent { struct
3337 } cleanup_ent; argument
3466 cleanup_ent* end = UPB_PTR_AT(block, block->size, void); in arena_dofree()
3467 cleanup_ent* ptr = end - block->cleanups; in arena_dofree()
3485 cleanup_ent* ent; in upb_Arena_AddCleanup()
3488 if (!cleanups || _upb_ArenaHas(a) < sizeof(cleanup_ent)) { in upb_Arena_AddCleanup()
3490 UPB_ASSERT(_upb_ArenaHas(a) >= sizeof(cleanup_ent)); in upb_Arena_AddCleanup()
3494 a->head.end -= sizeof(cleanup_ent); in upb_Arena_AddCleanup()
3495 ent = (cleanup_ent*)a->head.end; in upb_Arena_AddCleanup()
3497 UPB_UNPOISON_MEMORY_REGION(ent, sizeof(cleanup_ent)); in upb_Arena_AddCleanup()
/external/cronet/third_party/protobuf/ruby/ext/google/protobuf_c/
Druby-upb.c3334 typedef struct cleanup_ent { struct
3337 } cleanup_ent; argument
3466 cleanup_ent* end = UPB_PTR_AT(block, block->size, void); in arena_dofree()
3467 cleanup_ent* ptr = end - block->cleanups; in arena_dofree()
3485 cleanup_ent* ent; in upb_Arena_AddCleanup()
3488 if (!cleanups || _upb_ArenaHas(a) < sizeof(cleanup_ent)) { in upb_Arena_AddCleanup()
3490 UPB_ASSERT(_upb_ArenaHas(a) >= sizeof(cleanup_ent)); in upb_Arena_AddCleanup()
3494 a->head.end -= sizeof(cleanup_ent); in upb_Arena_AddCleanup()
3495 ent = (cleanup_ent*)a->head.end; in upb_Arena_AddCleanup()
3497 UPB_UNPOISON_MEMORY_REGION(ent, sizeof(cleanup_ent)); in upb_Arena_AddCleanup()
/external/cronet/third_party/protobuf/php/ext/google/protobuf/
Dphp-upb.c3300 typedef struct cleanup_ent { struct
3303 } cleanup_ent; argument
3432 cleanup_ent* end = UPB_PTR_AT(block, block->size, void); in arena_dofree()
3433 cleanup_ent* ptr = end - block->cleanups; in arena_dofree()
3451 cleanup_ent* ent; in upb_Arena_AddCleanup()
3454 if (!cleanups || _upb_ArenaHas(a) < sizeof(cleanup_ent)) { in upb_Arena_AddCleanup()
3456 UPB_ASSERT(_upb_ArenaHas(a) >= sizeof(cleanup_ent)); in upb_Arena_AddCleanup()
3460 a->head.end -= sizeof(cleanup_ent); in upb_Arena_AddCleanup()
3461 ent = (cleanup_ent*)a->head.end; in upb_Arena_AddCleanup()
3463 UPB_UNPOISON_MEMORY_REGION(ent, sizeof(cleanup_ent)); in upb_Arena_AddCleanup()
/external/protobuf/php/ext/google/protobuf/
Dphp-upb.c3300 typedef struct cleanup_ent { struct
3303 } cleanup_ent; argument
3432 cleanup_ent* end = UPB_PTR_AT(block, block->size, void); in arena_dofree()
3433 cleanup_ent* ptr = end - block->cleanups; in arena_dofree()
3451 cleanup_ent* ent; in upb_Arena_AddCleanup()
3454 if (!cleanups || _upb_ArenaHas(a) < sizeof(cleanup_ent)) { in upb_Arena_AddCleanup()
3456 UPB_ASSERT(_upb_ArenaHas(a) >= sizeof(cleanup_ent)); in upb_Arena_AddCleanup()
3460 a->head.end -= sizeof(cleanup_ent); in upb_Arena_AddCleanup()
3461 ent = (cleanup_ent*)a->head.end; in upb_Arena_AddCleanup()
3463 UPB_UNPOISON_MEMORY_REGION(ent, sizeof(cleanup_ent)); in upb_Arena_AddCleanup()