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

12

/PHP_5_3/TSRM/
H A DTSRM.c36 ts_allocate_dtor dtor; member in struct:__anon1
179 if (resource_types_table && !resource_types_table[j].done && resource_types_table[j].dtor) {
180 resource_types_table[j].dtor(p->storage[j], &p->storage);
215 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
240 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].dtor = dtor;
392 if (resource_types_table[i].dtor) {
393 resource_types_table[i].dtor(thread_resources->storage[i], &thread_resources->storage);
457 if (resource_types_table[i].dtor) {
458 resource_types_table[i].dtor(thread_resource
[all...]
H A DTSRM.h107 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor);
/PHP_5_3/ext/pdo/
H A Dphp_pdo_driver.h405 pdo_stmt_dtor_func dtor; member in struct:pdo_stmt_methods
540 pdo_stmt_t *stmt; /* for convenience in dtor */
/PHP_5_3/ext/spl/
H A Dspl_directory.h51 spl_foreign_dtor_t dtor; member in struct:_spl_other_handler
H A Dspl_heap.c61 spl_ptr_heap_dtor_func dtor; member in struct:_spl_ptr_heap
224 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
228 heap->dtor = dtor;
310 heap->dtor(top TSRMLS_CC);
320 heap->dtor = from->dtor;
342 heap->dtor(heap->elements[i] TSRMLS_CC);
H A Dspl_dllist.c76 spl_ptr_llist_dtor_func dtor; member in struct:_spl_ptr_llist
122 static spl_ptr_llist *spl_ptr_llist_init(spl_ptr_llist_ctor_func ctor, spl_ptr_llist_dtor_func dtor) /* {{{ */ argument
129 llist->dtor = dtor;
145 spl_ptr_llist_dtor_func dtor = llist->dtor; local
149 if(current && dtor) {
150 dtor(current TSRMLS_CC);
252 if (llist->dtor) {
253 llist->dtor(tai
[all...]
H A Dspl_iterators.c147 sub_iter->funcs->dtor(sub_iter TSRMLS_CC);
362 iterator->funcs->dtor(iterator TSRMLS_CC);
381 sub_iter->funcs->dtor(sub_iter TSRMLS_CC);
564 sub_iter->funcs->dtor(sub_iter TSRMLS_CC);
874 /* call standard dtor */
880 sub_iter->funcs->dtor(sub_iter TSRMLS_CC);
2129 /* call standard dtor */
2135 object->inner.iterator->funcs->dtor(object->inner.iterator TSRMLS_CC);
2150 object->u.append.iterator->funcs->dtor(object->u.append.iterator TSRMLS_CC);
3151 intern->inner.iterator->funcs->dtor(inter
[all...]
/PHP_5_3/ext/standard/
H A Dfilters.c325 php_conv_dtor_func dtor; member in struct:_php_conv
329 #define php_conv_dtor(a) ((php_conv *)a)->dtor((a))
370 inst->_super.dtor = (php_conv_dtor_func) php_conv_base64_encode_dtor;
617 inst->_super.dtor = (php_conv_dtor_func) php_conv_base64_decode_dtor;
940 inst->_super.dtor = (php_conv_dtor_func) php_conv_qprint_encode_dtor;
1152 inst->_super.dtor = (php_conv_dtor_func) php_conv_qprint_decode_dtor;
/PHP_5_3/main/streams/
H A Dfilter.c311 if (filter->fops->dtor)
312 filter->fops->dtor(filter TSRMLS_CC);
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 TSRMLS_DC); member in struct:_php_stream_filter_ops
/PHP_5_3/Zend/
H A Dzend_API.c1807 zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL; local
1908 /* Look for ctor, dtor, clone
1917 dtor = reg_function;
1966 scope->destructor = dtor;
1982 if (dtor) {
1983 dtor->common.fn_flags |= ZEND_ACC_DTOR;
1984 if (dtor->common.fn_flags & ZEND_ACC_STATIC) {
1985 zend_error(error_type, "Destructor %s::%s() cannot be static", scope->name, dtor->common.function_name);
1987 dtor->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC;
H A Dzend_alloc.h235 void (*dtor)(zend_mm_storage *storage); member in struct:_zend_mm_mem_handlers
H A Dzend_gc.c682 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.dtor &&
687 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.dtor(EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.object, Z_OBJ_HANDLE(p->z) TSRMLS_CC);
H A Dzend_iterators.c61 iter->funcs->dtor(iter TSRMLS_CC);
H A Dzend_iterators.h33 void (*dtor)(zend_object_iterator *iter TSRMLS_DC); 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);\
113 if (l->dtor) {
114 l->dtor(current->data);
146 if (l->dtor) {
147 l->dtor(data);
164 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_objects_API.c55 if (obj->dtor && obj->object) {
57 obj->dtor(obj->object, i TSRMLS_CC);
102 ZEND_API zend_object_handle zend_objects_store_put(void *object, zend_objects_store_dtor_t dtor, zend_objects_free_object_storage_t free_storage, zend_objects_store_clone_t clone TSRMLS_DC) argument
124 obj->dtor = dtor?dtor:(zend_objects_store_dtor_t)zend_objects_destroy_object;
201 if (obj->dtor) {
206 obj->dtor(obj->object, handle TSRMLS_CC);
213 /* re-read the object from the object store as the store might have been reallocated in the dtor */
261 retval.handle = zend_objects_store_put(new_object, obj->dtor, ob
[all...]
H A Dzend_objects_API.h37 zend_objects_store_dtor_t dtor; member in struct:_zend_object_store_bucket::_store_bucket::_store_object
65 ZEND_API zend_object_handle zend_objects_store_put(void *object, zend_objects_store_dtor_t dtor, zend_objects_free_object_storage_t storage, zend_objects_store_clone_t clone TSRMLS_DC);
H A Dzend_API.h564 #define ZVAL_ZVAL(z, zv, copy, dtor) { \
571 if (dtor) { \
592 #define RETVAL_ZVAL(zv, copy, dtor) ZVAL_ZVAL(return_value, zv, copy, dtor)
604 #define RETURN_ZVAL(zv, copy, dtor) { RETVAL_ZVAL(zv, copy, dtor); return; }
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd.h263 #define mysqlnd_stmt_close(stmt, implicit) (stmt)->m->dtor((stmt), (implicit) TSRMLS_CC)
H A Dmysqlnd_structs.h466 func_mysqlnd_conn__dtor dtor; member in struct:st_mysqlnd_conn_methods
655 func_mysqlnd_stmt__dtor dtor; member in struct:st_mysqlnd_stmt_methods
H A Dmysqlnd.c192 /* {{{ mysqlnd_conn::dtor */
194 MYSQLND_METHOD_PRIVATE(mysqlnd_conn, dtor)(MYSQLND * conn TSRMLS_DC)
196 DBG_ENTER("mysqlnd_conn::dtor");
889 conn->m->dtor(conn TSRMLS_CC);
1759 conn->m->dtor(conn TSRMLS_CC);
2323 MYSQLND_METHOD_PRIVATE(mysqlnd_conn, dtor),
2383 ret->m->dtor(ret TSRMLS_CC);
H A Dmysqlnd_ps.c453 s_to_prepare->m->dtor(s_to_prepare, TRUE TSRMLS_CC);
461 s_to_prepare->m->dtor(s_to_prepare, TRUE TSRMLS_CC);
2220 /* {{{ mysqlnd_stmt::dtor */
2222 MYSQLND_METHOD(mysqlnd_stmt, dtor)(MYSQLND_STMT * const s, zend_bool implicit TSRMLS_DC)
2228 DBG_ENTER("mysqlnd_stmt::dtor");
2312 MYSQLND_METHOD(mysqlnd_stmt, dtor),
2393 ret->m->dtor(ret, TRUE TSRMLS_CC);

Completed in 48 milliseconds

12