Home
last modified time | relevance | path

Searched refs:cleanup_ent (Results 1 - 2 of 2) sorted by relevance

/third_party/protobuf/php/ext/google/protobuf/
H A Dphp-upb.c2341 typedef struct cleanup_ent { struct
2344 } cleanup_ent; typedef
2487 cleanup_ent *end = UPB_PTR_AT(block, block->size, void); in arena_dofree()
2488 cleanup_ent *ptr = end - block->cleanups; in arena_dofree()
2506 cleanup_ent *ent; in upb_arena_addcleanup()
2508 if (!a->cleanups || !arena_has(a, sizeof(cleanup_ent))) { in upb_arena_addcleanup()
2510 UPB_ASSERT(arena_has(a, sizeof(cleanup_ent))); in upb_arena_addcleanup()
2513 a->head.end -= sizeof(cleanup_ent); in upb_arena_addcleanup()
2514 ent = (cleanup_ent*)a->head.end; in upb_arena_addcleanup()
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.c2324 /* Cleanup entries. Pointer to a cleanup_ent, defined in env.c */
2334 typedef struct cleanup_ent { struct
2335 struct cleanup_ent *next;
2338 } cleanup_ent; typedef
2446 cleanup_ent *ent = a->cleanup_head; in upb_arena_free()
2469 cleanup_ent *ent = upb_malloc(&a->head.alloc, sizeof(cleanup_ent)); in upb_arena_addcleanup()

Completed in 45 milliseconds