Searched refs:dtor (Results 1 - 25 of 36) sorted by relevance

12

/PHP_TRUNK/ext/spl/
H A Dspl_directory.h51 spl_foreign_dtor_t dtor; member in struct:_spl_other_handler
H A Dspl_heap.c60 spl_ptr_heap_dtor_func dtor; member in struct:_spl_ptr_heap
225 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
229 heap->dtor = dtor;
316 heap->dtor = from->dtor;
338 heap->dtor(&heap->elements[i]);
H A Dspl_dllist.c77 spl_ptr_llist_dtor_func dtor; member in struct:_spl_ptr_llist
132 static spl_ptr_llist *spl_ptr_llist_init(spl_ptr_llist_ctor_func ctor, spl_ptr_llist_dtor_func dtor) /* {{{ */ argument
139 llist->dtor = dtor;
155 spl_ptr_llist_dtor_func dtor = llist->dtor; local
159 if(current && dtor) {
160 dtor(current);
262 if (llist->dtor) {
263 llist->dtor(tai
[all...]
/PHP_TRUNK/Zend/
H A Dzend_iterators.c69 iter->funcs->dtor(iter);
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;
83 if ((l)->dtor) {\
84 (l)->dtor((current)->data);\
110 if (l->dtor) {
111 l->dtor(current->data);
144 if (l->dtor) {
145 l->dtor(old_tail->data);
155 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);
H A Dzend_API.h591 #define ZVAL_ZVAL(z, zv, copy, dtor) do { \
603 if (dtor) { \
625 #define RETVAL_ZVAL(zv, copy, dtor) ZVAL_ZVAL(return_value, zv, copy, dtor)
643 #define RETURN_ZVAL(zv, copy, dtor) { RETVAL_ZVAL(zv, copy, dtor); return; }
H A Dzend_API.c2154 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
2290 /* Look for ctor, dtor, clone
2299 dtor = reg_function;
2355 scope->destructor = dtor;
2372 if (dtor) {
2373 dtor->common.fn_flags |= ZEND_ACC_DTOR;
2374 if (dtor->common.fn_flags & ZEND_ACC_STATIC) {
2375 zend_error(error_type, "Destructor %s::%s() cannot be static", scope->name->val, dtor->common.function_name->val);
2377 dtor->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC;
2438 if (dtor
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c1063 /* {{{ mysqlnd_net::dtor */
1065 MYSQLND_METHOD(mysqlnd_net, dtor)(MYSQLND_NET * const net, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info)
1067 DBG_ENTER("mysqlnd_net::dtor");
1114 MYSQLND_METHOD(mysqlnd_net, dtor),
1165 net->data->m.dtor(net, stats, error_info);
H A Dmysqlnd_driver.c146 new_object->m->dtor(new_object);
152 new_object->m->dtor(new_object);
184 new_object->m->dtor(new_object);
242 ret->m->dtor(ret, TRUE);
267 net->data->m.dtor(net, stats, error_info);
H A Dmysqlnd.c181 /* {{{ mysqlnd_conn_data::dtor */
183 MYSQLND_METHOD_PRIVATE(mysqlnd_conn_data, dtor)(MYSQLND_CONN_DATA * conn)
185 DBG_ENTER("mysqlnd_conn_data::dtor");
1163 conn_handle->m->dtor(conn_handle);
1972 conn->m->dtor(conn);
3028 MYSQLND_METHOD_PRIVATE(mysqlnd_conn_data, dtor),
3081 /* {{{ mysqlnd_conn_data::dtor */
3083 MYSQLND_METHOD_PRIVATE(mysqlnd_conn, dtor)(MYSQLND * conn)
3085 DBG_ENTER("mysqlnd_conn::dtor");
3124 /* do it after free_reference/dtor an
[all...]
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
806 func_mysqlnd_stmt__dtor dtor; member in struct:st_mysqlnd_stmt_methods
/PHP_TRUNK/main/streams/
H A Dphp_stream_filter_api.h95 void (*dtor)(php_stream_filter *thisfilter); member in struct:_php_stream_filter_ops
H A Dfilter.c309 if (filter->fops->dtor)
310 filter->fops->dtor(filter);
H A Dphp_stream_context.h47 void (*dtor)(php_stream_notifier *notifier); member in struct:_php_stream_notifier
/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/main/
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*));
H A Doutput.c530 /* {{{ void php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void*))
531 * Set the context/state of an output handler. Calls the dtor of the previous context if there is one */
532 PHPAPI void php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void*)) argument
534 if (handler->dtor && handler->opaq) {
535 handler->dtor(handler->opaq);
537 handler->dtor = dtor;
711 if (handler->dtor && handler->opaq) {
712 handler->dtor(handler->opaq);
/PHP_TRUNK/TSRM/
H A DTSRM.h108 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor);
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;
399 if (resource_types_table[i].dtor) {
400 resource_types_table[i].dtor(thread_resources->storage[i]);
464 if (resource_types_table[i].dtor) {
465 resource_types_table[i].dtor(thread_resource
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_wait.c280 if (zend_extensions.dtor) {
281 zend_extensions.dtor(elm->data);
337 /* separate freeing to not dtor the symtable too, just the container zval... */
H A Dphpdbg_watch.c30 * PHPDBG_G(watch_HashTables) contains the dtors of the HashTables to call in our custom dtor (we substitute the dtor of HashTables containing watched zvals by our own dtor)
373 hti->dtor = watch->parent_container->pDestructor;
775 hti->dtor(orig_zv);
778 watch->parent_container->pDestructor = hti->dtor;
1139 /* when a HashTable is freed, we can safely assume the other zvals all were dtor'ed */
H A Dphpdbg_watch.h87 dtor_func_t dtor; member in struct:__anon7
/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;

Completed in 66 milliseconds

12