Searched defs:dtor (Results 1 - 16 of 16) sorted by relevance

/PHP_TRUNK/TSRM/
H A DTSRM.c40 ts_allocate_dtor dtor; member in struct:__anon1
183 if (resource_types_table && !resource_types_table[j].done && resource_types_table[j].dtor) {
184 resource_types_table[j].dtor(p->storage[j]);
219 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor) argument
244 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].dtor = dtor;
396 if (resource_types_table[i].dtor) {
397 resource_types_table[i].dtor(thread_resources->storage[i]);
461 if (resource_types_table[i].dtor) {
462 resource_types_table[i].dtor(thread_resource
[all...]
/PHP_TRUNK/Zend/
H A Dzend_API.c2146 zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL, *__debugInfo = NULL; local
2269 /* Look for ctor, dtor, clone
2278 dtor = reg_function;
2330 scope->destructor = dtor;
2347 if (dtor) {
2348 dtor->common.fn_flags |= ZEND_ACC_DTOR;
2349 if (dtor->common.fn_flags & ZEND_ACC_STATIC) {
2350 zend_error(error_type, "Destructor %s::%s() cannot be static", scope->name->val, dtor->common.function_name->val);
2352 dtor->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC;
H A Dzend_alloc.h278 zend_mm_storage_dtor_t dtor; member in struct:_zend_mm_storage
H A Dzend_iterators.h33 void (*dtor)(zend_object_iterator *iter); member in struct:_zend_object_iterator_funcs
H A Dzend_llist.c26 ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent) argument
32 l->dtor = dtor;
84 if ((l)->dtor) {\
85 (l)->dtor((current)->data);\
111 if (l->dtor) {
112 l->dtor(current->data);
145 if (l->dtor) {
146 l->dtor(old_tail->data);
156 zend_llist_init(dst, src->size, src->dtor, sr
[all...]
H A Dzend_llist.h42 llist_dtor_func_t dtor; member in struct:_zend_llist
50 ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_structs.h307 func_mysqlnd_net__dtor dtor; member in struct:st_mysqlnd_net_methods
562 func_mysqlnd_conn_data__dtor dtor; member in struct:st_mysqlnd_conn_data_methods
615 func_mysqlnd_conn__dtor dtor; member in struct:st_mysqlnd_conn_methods
804 func_mysqlnd_stmt__dtor dtor; member in struct:st_mysqlnd_stmt_methods
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_driver.h408 pdo_stmt_dtor_func dtor; member in struct:pdo_stmt_methods
553 pdo_stmt_t *stmt; /* for convenience in dtor */
/PHP_TRUNK/ext/spl/
H A Dspl_directory.h51 spl_foreign_dtor_t dtor; member in struct:_spl_other_handler
H A Dspl_dllist.c77 spl_ptr_llist_dtor_func dtor; member in struct:_spl_ptr_llist
131 static spl_ptr_llist *spl_ptr_llist_init(spl_ptr_llist_ctor_func ctor, spl_ptr_llist_dtor_func dtor) /* {{{ */ argument
138 llist->dtor = dtor;
154 spl_ptr_llist_dtor_func dtor = llist->dtor; local
158 if(current && dtor) {
159 dtor(current);
261 if (llist->dtor) {
262 llist->dtor(tai
[all...]
H A Dspl_heap.c60 spl_ptr_heap_dtor_func dtor; member in struct:_spl_ptr_heap
227 static spl_ptr_heap *spl_ptr_heap_init(spl_ptr_heap_cmp_func cmp, spl_ptr_heap_ctor_func ctor, spl_ptr_heap_dtor_func dtor) /* {{{ */ argument
231 heap->dtor = dtor;
312 heap->dtor(elem);
321 heap->dtor = from->dtor;
343 heap->dtor(&heap->elements[i]);
/PHP_TRUNK/ext/standard/
H A Dfilters.c315 php_conv_dtor_func dtor; member in struct:_php_conv
319 #define php_conv_dtor(a) ((php_conv *)a)->dtor((a))
360 inst->_super.dtor = (php_conv_dtor_func) php_conv_base64_encode_dtor;
607 inst->_super.dtor = (php_conv_dtor_func) php_conv_base64_decode_dtor;
970 inst->_super.dtor = (php_conv_dtor_func) php_conv_qprint_encode_dtor;
1182 inst->_super.dtor = (php_conv_dtor_func) php_conv_qprint_decode_dtor;
/PHP_TRUNK/main/
H A Doutput.c532 /* {{{ void php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void*))
533 * Set the context/state of an output handler. Calls the dtor of the previous context if there is one */
534 PHPAPI void php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void*)) argument
536 if (handler->dtor && handler->opaq) {
537 handler->dtor(handler->opaq);
539 handler->dtor = dtor;
717 if (handler->dtor && handler->opaq) {
718 handler->dtor(handler->opaq);
H A Dphp_output.h114 /* output handler context dtor */
135 void (*dtor)(void *opaq); member in struct:_php_output_handler
235 PHPAPI void php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void*));
/PHP_TRUNK/main/streams/
H A Dphp_stream_context.h47 void (*dtor)(php_stream_notifier *notifier); member in struct:_php_stream_notifier
H A Dphp_stream_filter_api.h95 void (*dtor)(php_stream_filter *thisfilter); member in struct:_php_stream_filter_ops

Completed in 33 milliseconds