/PHP-5.5/ |
H A D | .gdbinit | 176 printf "(refcount=%d", $zvalue->refcount__gc
|
/PHP-5.5/Zend/tests/ |
H A D | bug60825.phpt | 19 string(%d) "%sbug60825.php" refcount(2)
|
H A D | gc_032.phpt | 15 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 D | zend.h | 481 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 D | zend_API.c | 2588 ce->refcount++; in zend_register_class_alias_ex() 4011 *(f->op_array.refcount) < 2 || in zend_resolve_method_name()
|
H A D | zend_API.h | 599 zend_uint refcount = Z_REFCOUNT_P(z); \ 611 Z_SET_REFCOUNT_P(z, refcount); \
|
H A D | zend_builtin_functions.c | 1091 *mptr->op_array.refcount > 1 && in ZEND_FUNCTION() 1650 if (ce->refcount > 1 && in copy_class_or_interface_name()
|
H A D | zend_closures.c | 469 (*closure->func.op_array.refcount)++; in zend_create_closure()
|
H A D | zend_compile.c | 2984 (*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 D | zend_compile.h | 273 zend_uint *refcount; member
|
H A D | zend_execute_API.c | 476 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 D | zend_gc.c | 276 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 D | zend_generators.c | 267 (*op_array->refcount)++; in zend_generator_create_zval()
|
H A D | zend_list.c | 42 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 D | zend_list.h | 36 int refcount; member
|
H A D | zend_objects_API.c | 56 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 D | zend_objects_API.h | 42 zend_uint refcount; member
|
H A D | zend_opcode.c | 62 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 D | com_persist.c | 42 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 D | com_wrapper.c | 43 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 D | bug52827.phpt | 2 Bug #52827 (curl_setopt with CURLOPT_STDERR erroneously increments the resource refcount)
|
/PHP-5.5/ext/dom/ |
H A D | document.c | 1458 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 D | hash.c | 539 le->refcount = 1; in PHP_FUNCTION()
|
/PHP-5.5/ext/intl/msgformat/ |
H A D | msgformat_format.c | 31 #define Z_ADDREF_P(z) ((z)->refcount++)
|
/PHP-5.5/ext/libxml/ |
H A D | libxml.c | 1193 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()
|