Home
last modified time | relevance | path

Searched refs:refcount (Results 26 – 50 of 80) sorted by relevance

1234

/PHP-5.5/ext/standard/tests/file/
H A Dfclose_variation1.phpt2 fclose() actually closes streams with refcount > 1
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_sockets.c34 int refcount; member
130 ++ls->refcount; in fpm_sockets_hash_op()
148 ls->refcount = 0; in fpm_sockets_hash_op()
150 ls->refcount = 1; in fpm_sockets_hash_op()
400 if (ls->refcount == 0) { in fpm_sockets_init_main()
/PHP-5.5/ext/standard/
H A Dscanf.c746 zend_uint refcount; in php_sscanf_internal() local
749 refcount = Z_REFCOUNT_PP(current); in php_sscanf_internal()
752 Z_SET_REFCOUNT_PP(current, refcount); in php_sscanf_internal()
870 zend_uint refcount; in php_sscanf_internal() local
873 refcount = Z_REFCOUNT_PP(current); in php_sscanf_internal()
876 Z_SET_REFCOUNT_PP(current, refcount); in php_sscanf_internal()
/PHP-5.5/main/streams/
H A Dfilter.c104 bucket->refcount = 1; in php_stream_bucket_new()
123 if (bucket->refcount == 1 && bucket->own_buf) { in php_stream_bucket_make_writeable()
133 retval->refcount = 1; in php_stream_bucket_make_writeable()
153 (*left)->refcount = 1; in php_stream_bucket_split()
160 (*right)->refcount = 1; in php_stream_bucket_split()
184 if (--bucket->refcount == 0) { in php_stream_bucket_delref()
H A Dphp_stream_filter_api.h55 int refcount; member
73 #define php_stream_bucket_addref(bucket) (bucket)->refcount++
/PHP-5.5/ext/com_dotnet/
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()
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()
/PHP-5.5/Zend/
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_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_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()
H A Dzend_list.h36 int refcount; member
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); \
/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/zip/
H A Dphp_zip.h41 # define Z_SET_REFCOUNT_P(pz, rc) pz->refcount = rc
/PHP-5.5/ext/phar/
H A Dgdbhelp27 printf "%i (alias ", $temp.refcount
61 set $pharrefcount = (*(phar_archive_data*)$p->pDataPtr).refcount
/PHP-5.5/ext/pcre/
H A Dphp_pcre.h52 int refcount; member
H A Dphp_pcre.c175 if (*num_clean > 0 && !pce->refcount) { in pcre_clean_cache()
469 new_entry.refcount = 0; in pcre_get_compiled_regex_cache()
574 pce->refcount++; in php_do_pcre_match()
577 pce->refcount--; in php_do_pcre_match()
1022 pce->refcount++; in php_pcre_replace()
1025 pce->refcount--; in php_pcre_replace()
1510 pce->refcount++; in PHP_FUNCTION()
1512 pce->refcount--; in PHP_FUNCTION()
1793 pce->refcount++; in PHP_FUNCTION()
1795 pce->refcount--; in PHP_FUNCTION()
/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()
/PHP-5.5/ext/oci8/tests/
H A Dconnect_scope1.phpt38 return($s); // this keeps the connection refcount positive so the connection isn't closed
H A Dconnect_scope2.phpt38 return($s); // this keeps the connection refcount positive so the connection isn't closed
H A Dlob_043.phpt2 Bug #49560 (LOB resource destructor and refcount test)
/PHP-5.5/ext/intl/msgformat/
H A Dmsgformat_format.c31 #define Z_ADDREF_P(z) ((z)->refcount++)
/PHP-5.5/ext/pdo/
H A Dphp_pdo_driver.h490 unsigned int refcount; member
602 unsigned long refcount; member
/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()

Completed in 80 milliseconds

1234