Home
last modified time | relevance | path

Searched refs:dtor (Results 1 – 25 of 45) sorted by relevance

12

/PHP-8.0/Zend/
H A Dzend_llist.c24 ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char per… in zend_llist_init() argument
30 l->dtor = dtor; in zend_llist_init()
81 if ((l)->dtor) {\
82 (l)->dtor((current)->data);\
108 if (l->dtor) { in zend_llist_destroy()
109 l->dtor(current->data); in zend_llist_destroy()
142 if (l->dtor) { in zend_llist_remove_tail()
143 l->dtor(old_tail->data); in zend_llist_remove_tail()
153 zend_llist_init(dst, src->size, src->dtor, src->persistent); in zend_llist_copy()
H A Dzend_llist.h40 llist_dtor_func_t dtor; member
48 ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char per…
H A Dzend_iterators.h31 void (*dtor)(zend_object_iterator *iter); member
H A Dzend_iterators.c65 iter->funcs->dtor(iter); in iter_wrapper_free()
/PHP-8.0/Zend/tests/generators/
H A Dyield_from_throw_with_throwing_exception.phpt9 throw new Exception("dtor");
22 Next Exception: dtor in %s:%d
H A Dyield_from_chain_dtor_order.phpt2 Leaf link may need to be invalidated depending on dtor order
/PHP-8.0/Zend/tests/
H A Dassign_coalesce_002.phpt42 throw new Exception("dtor");
80 dtor
83 dtor
H A Dbug24635.phpt2 Bug #24635 (crash on dtor calling other functions)
/PHP-8.0/TSRM/
H A DTSRM.c43 ts_allocate_dtor dtor; member
193 if (resource_types_table[j].dtor) { in tsrm_shutdown()
194 resource_types_table[j].dtor(p->storage[j]); in tsrm_shutdown()
276 …c_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor) in ts_allocate_id() argument
301 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].dtor = dtor; in ts_allocate_id()
322 …_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor) in ts_allocate_fast_id() argument
359 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].dtor = dtor; in ts_allocate_fast_id()
496 if (resource_types_table[i].dtor) { in ts_free_thread()
497 resource_types_table[i].dtor(thread_resources->storage[i]); in ts_free_thread()
540 if (resource_types_table[j].dtor) { in ts_free_id()
[all …]
H A DTSRM.h90 …_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor);
94 …id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor);
/PHP-8.0/ext/mysqli/tests/
H A Dgh8058.phpt20 unset($stmt); // trigger dtor
27 unset($stmt); // trigger dtor
H A Dbug36949.phpt2 Bug #36949 (invalid internal mysqli objects dtor)
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_driver.c120 new_object->m->dtor(new_object); in MYSQLND_METHOD()
147 new_object->m->dtor(new_object); in MYSQLND_METHOD()
177 new_object->m->dtor(new_object); in MYSQLND_METHOD()
234 ret->m->dtor(ret, TRUE); in MYSQLND_METHOD()
258 pfc->data->m.dtor(pfc, stats, error_info); in MYSQLND_METHOD()
283 vio->data->m.dtor(vio, stats, error_info); in MYSQLND_METHOD()
H A Dmysqlnd_protocol_frame_codec.c457 MYSQLND_METHOD(mysqlnd_pfc, dtor)(MYSQLND_PFC * const pfc, MYSQLND_STATS * const stats, MYSQLND_ERR… in MYSQLND_METHOD() argument
478 MYSQLND_METHOD(mysqlnd_pfc, dtor),
518 pfc->data->m.dtor(pfc, stats, error_info); in mysqlnd_pfc_free()
/PHP-8.0/Zend/tests/generators/finally/
H A Drun_on_dtor.phpt2 finally is run on object dtor, not free
/PHP-8.0/ext/spl/
H A Dspl_dllist.c75 spl_ptr_llist_dtor_func dtor; member
135 llist->dtor = dtor; in spl_ptr_llist_init()
151 spl_ptr_llist_dtor_func dtor = llist->dtor; in spl_ptr_llist_destroy() local
155 if (dtor) { in spl_ptr_llist_destroy()
156 dtor(current); in spl_ptr_llist_destroy()
259 if (llist->dtor) { in spl_ptr_llist_pop()
260 llist->dtor(tail); in spl_ptr_llist_pop()
313 if (llist->dtor) { in spl_ptr_llist_shift()
314 llist->dtor(head); in spl_ptr_llist_shift()
858 if(llist->dtor) { in PHP_METHOD()
[all …]
H A Dspl_heap.c57 spl_ptr_heap_dtor_func dtor; member
240 …tr_heap_cmp_func cmp, spl_ptr_heap_ctor_func ctor, spl_ptr_heap_dtor_func dtor, size_t elem_size) … in spl_ptr_heap_init() argument
244 heap->dtor = dtor; in spl_ptr_heap_init()
304 heap->dtor(spl_heap_elem(heap, 0)); in spl_ptr_heap_delete_top()
342 heap->dtor = from->dtor; in spl_ptr_heap_clone()
365 heap->dtor(spl_heap_elem(heap, i)); in spl_ptr_heap_destroy()
H A Dspl_directory.h47 spl_foreign_dtor_t dtor; member
/PHP-8.0/ext/opcache/tests/
H A Dssa_bug_005.phpt9 $dtor = new class { function __destruct() { throw new Exception; } };
/PHP-8.0/Zend/tests/try/
H A Dtry_finally_023.phpt2 Loop var dtor throwing exception during return inside try/catch inside finally
/PHP-8.0/main/
H A Dphp_output.h128 void (*dtor)(void *opaq); member
229 PHPAPI void php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(vo…
H A Doutput.c536 PHPAPI void php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(vo… in php_output_handler_set_context()
538 if (handler->dtor && handler->opaq) { in php_output_handler_set_context()
539 handler->dtor(handler->opaq); in php_output_handler_set_context()
541 handler->dtor = dtor; in php_output_handler_set_context()
726 if (handler->dtor && handler->opaq) { in php_output_handler_dtor()
727 handler->dtor(handler->opaq); in php_output_handler_dtor()
/PHP-8.0/main/streams/
H A Dphp_stream_context.h43 void (*dtor)(php_stream_notifier *notifier); member
H A Dphp_stream_filter_api.h91 void (*dtor)(php_stream_filter *thisfilter); member
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_wait.c275 if (zend_extensions.dtor) { in phpdbg_webdata_decompress()
276 zend_extensions.dtor(elm->data); in phpdbg_webdata_decompress()

Completed in 68 milliseconds

12