Lines Matching refs:item
130 ENGINE_CLEANUP_ITEM *item; in int_cleanup_item() local
132 if ((item = OPENSSL_malloc(sizeof(*item))) == NULL) in int_cleanup_item()
134 item->cb = cb; in int_cleanup_item()
135 return item; in int_cleanup_item()
140 ENGINE_CLEANUP_ITEM *item; in engine_cleanup_add_first() local
144 item = int_cleanup_item(cb); in engine_cleanup_add_first()
145 if (item != NULL) { in engine_cleanup_add_first()
146 if (sk_ENGINE_CLEANUP_ITEM_insert(cleanup_stack, item, 0)) in engine_cleanup_add_first()
148 OPENSSL_free(item); in engine_cleanup_add_first()
155 ENGINE_CLEANUP_ITEM *item; in engine_cleanup_add_last() local
159 item = int_cleanup_item(cb); in engine_cleanup_add_last()
160 if (item != NULL) { in engine_cleanup_add_last()
161 if (sk_ENGINE_CLEANUP_ITEM_push(cleanup_stack, item) > 0) in engine_cleanup_add_last()
163 OPENSSL_free(item); in engine_cleanup_add_last()
169 static void engine_cleanup_cb_free(ENGINE_CLEANUP_ITEM *item) in engine_cleanup_cb_free() argument
171 (*(item->cb)) (); in engine_cleanup_cb_free()
172 OPENSSL_free(item); in engine_cleanup_cb_free()