Home
last modified time | relevance | path

Searched refs:refcount (Results 1 – 25 of 80) sorted by path

1234

/PHP-5.5/
H A D.gdbinit176 printf "(refcount=%d", $zvalue->refcount__gc
/PHP-5.5/Zend/tests/
H A Dbug60825.phpt19 string(%d) "%sbug60825.php" refcount(2)
H A Dgc_032.phpt15 array(1) refcount(1){
17 array(1) refcount(3){
19 array(1) refcount(3){
25 array(1) refcount(1){
27 array(1) refcount(3){
29 array(1) refcount(1){
31 array(1) refcount(3){
33 array(1) refcount(1){
/PHP-5.5/Zend/
H A Dzend.h481 int refcount; member
808 int is_ref, refcount; \
812 refcount = Z_REFCOUNT_PP(ppzv_dest); \
819 Z_SET_REFCOUNT_PP(ppzv_dest, refcount); \
H A Dzend_API.c2588 ce->refcount++; in zend_register_class_alias_ex()
4011 *(f->op_array.refcount) < 2 || in zend_resolve_method_name()
H A Dzend_API.h599 zend_uint refcount = Z_REFCOUNT_P(z); \
611 Z_SET_REFCOUNT_P(z, refcount); \
H A Dzend_builtin_functions.c1091 *mptr->op_array.refcount > 1 && in ZEND_FUNCTION()
1650 if (ce->refcount > 1 && in copy_class_or_interface_name()
H A Dzend_closures.c469 (*closure->func.op_array.refcount)++; in zend_create_closure()
H A Dzend_compile.c2984 (*op_array->refcount)++; in function_add_ref()
4478 (*function->op_array.refcount)++; in do_bind_function()
4568 ce->refcount++; in do_bind_class()
4570 ce->refcount--; in do_bind_class()
4627 ce->refcount++; in do_bind_inherited_class()
6821 ce->refcount = 1; in zend_initialize_class_data()
H A Dzend_compile.h273 zend_uint *refcount; member
H A Dzend_execute_API.c476 int refcount; in zval_update_constant_ex() local
484 refcount = Z_REFCOUNT_P(p); in zval_update_constant_ex()
554 Z_SET_REFCOUNT_P(p, refcount); in zval_update_constant_ex()
H A Dzend_gc.c276 obj->refcount++; in zval_scan_black()
382 obj->refcount--; in zval_mark_grey()
522 if (obj->refcount > 0) { in zval_scan()
579 if (obj->refcount > 0) { in zobj_scan()
805 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.refcount <= 0 && in gc_collect_cycles()
810 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.refcount++; in gc_collect_cycles()
812 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.refcount--; in gc_collect_cycles()
826 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.refcount <= 0) { in gc_collect_cycles()
827 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.refcount = 1; in gc_collect_cycles()
H A Dzend_generators.c267 (*op_array->refcount)++; in zend_generator_create_zval()
H A Dzend_list.c42 le.refcount=1; in zend_list_insert()
56 if (--le->refcount<=0) { in _zend_list_delete()
86 le->refcount++; in _zend_list_addref()
H A Dzend_list.h36 int refcount; member
H A Dzend_objects_API.c56 obj->refcount++; in zend_objects_store_call_destructors()
59 obj->refcount--; in zend_objects_store_call_destructors()
61 if (obj->refcount == 0) { in zend_objects_store_call_destructors()
127 obj->refcount = 1; in zend_objects_store_put()
145 return EG(objects_store).object_buckets[handle].bucket.obj.refcount; in zend_objects_store_get_refcount()
152 EG(objects_store).object_buckets[handle].bucket.obj.refcount++; in zend_objects_store_add_ref()
163 EG(objects_store).object_buckets[handle].bucket.obj.refcount++; in zend_objects_store_add_ref_by_handle()
203 if (obj->refcount == 1) { in zend_objects_store_del_ref_by_handle_ex()
222 if (obj->refcount == 1) { in zend_objects_store_del_ref_by_handle_ex()
236 obj->refcount--; in zend_objects_store_del_ref_by_handle_ex()
[all …]
H A Dzend_objects_API.h42 zend_uint refcount; member
H A Dzend_opcode.c62 op_array->refcount = (zend_uint *) emalloc(sizeof(zend_uint)); in init_op_array()
63 *op_array->refcount = 1; in init_op_array()
278 if (--ce->refcount > 0) { in destroy_zend_class()
351 (*ce)->refcount++; in zend_class_add_ref()
369 if (--(*op_array->refcount)>0) { in destroy_op_array()
373 efree(op_array->refcount); in destroy_op_array()
/PHP-5.5/ext/com_dotnet/
H A Dcom_persist.c42 LONG refcount; member
77 InterlockedIncrement(&stm->refcount); in stm_queryinterface()
89 return InterlockedIncrement(&stm->refcount); in stm_addref()
97 ret = InterlockedDecrement(&stm->refcount); in stm_release()
261 if (stm->refcount > 0) { in istream_destructor()
281 stm->refcount = 1; in php_com_wrapper_export_stream()
H A Dcom_wrapper.c43 LONG refcount; /* COM reference count */ member
113 InterlockedIncrement(&disp->refcount); in disp_queryinterface()
125 return InterlockedIncrement(&disp->refcount); in disp_addref()
133 ret = InterlockedDecrement(&disp->refcount); in disp_release()
544 disp->refcount = 1; in disp_constructor()
567 if (disp->refcount > 0) in disp_destructor()
/PHP-5.5/ext/curl/tests/
H A Dbug52827.phpt2 Bug #52827 (curl_setopt with CURLOPT_STDERR erroneously increments the resource refcount)
/PHP-5.5/ext/dom/
H A Ddocument.c1458 int encoding_len = 0, version_len = 0, refcount; in PHP_METHOD() local
1484 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC); in PHP_METHOD()
1485 if (refcount != 0) { in PHP_METHOD()
1679 int source_len, refcount, ret; in dom_parse_document() local
1710 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC); in dom_parse_document()
1711 if (refcount != 0) { in dom_parse_document()
2185 int source_len, refcount, ret; in dom_load_html() local
2241 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC); in dom_load_html()
2242 if (refcount != 0) { in dom_load_html()
/PHP-5.5/ext/hash/
H A Dhash.c539 le->refcount = 1; in PHP_FUNCTION()
/PHP-5.5/ext/intl/msgformat/
H A Dmsgformat_format.c31 #define Z_ADDREF_P(z) ((z)->refcount++)
/PHP-5.5/ext/libxml/
H A Dlibxml.c1193 return object->node->refcount; in php_libxml_increment_node_ptr()
1200 ret_refcount = ++object->node->refcount; in php_libxml_increment_node_ptr()
1209 object->node->refcount = 1; in php_libxml_increment_node_ptr()
1225 ret_refcount = --obj_node->refcount; in php_libxml_decrement_node_ptr()
1243 object->document->refcount++; in php_libxml_increment_doc_ref()
1244 ret_refcount = object->document->refcount; in php_libxml_increment_doc_ref()
1249 object->document->refcount = ret_refcount; in php_libxml_increment_doc_ref()
1261 ret_refcount = --object->document->refcount; in php_libxml_decrement_doc_ref()

Completed in 112 milliseconds

1234