Home
last modified time | relevance | path

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

123

/php-src/ext/standard/tests/array/
H A Dunexpected_array_mod_bug_variation1.phpt2 Crash when function parameter modified via reference while keeping orig refcount
H A Dbug25708.phpt17 /* zval temp_var(NULL); // refcount = 1
18 * a = temp_var[x] // refcount = 2
/php-src/ext/opcache/tests/jit/
H A Dassign_042.phpt2 JIT ASSIGN: Assign to of reference with 1 refcount
/php-src/ext/pdo_sqlite/tests/
H A Dgh13998.phpt2 Fix GH-13998: Manage refcount of agg_context->val correctly
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_101.phpt30 object(Test)#1 (0) refcount(%d){
/php-src/main/streams/
H A Dfilter.c91 bucket->refcount = 1; in php_stream_bucket_new()
110 if (bucket->refcount == 1 && bucket->own_buf) { in php_stream_bucket_make_writeable()
120 retval->refcount = 1; in php_stream_bucket_make_writeable()
136 (*left)->refcount = 1; in php_stream_bucket_split()
143 (*right)->refcount = 1; in php_stream_bucket_split()
152 if (--bucket->refcount == 0) { in php_stream_bucket_delref()
H A Dphp_stream_filter_api.h51 int refcount; member
69 #define php_stream_bucket_addref(bucket) (bucket)->refcount++
/php-src/ext/spl/tests/
H A Dfixedarray_023.phpt27 object(SplFixedArray)#2 (4) refcount(6){
/php-src/Zend/tests/function_arguments/
H A Dsensitive_parameter_value.phpt31 object(SensitiveParameterValue)#%d (%d) refcount(%d){
/php-src/ext/com_dotnet/
H A Dcom_wrapper.c39 LONG refcount; /* COM reference count */ member
108 InterlockedIncrement(&disp->refcount); in disp_queryinterface()
120 return InterlockedIncrement(&disp->refcount); in disp_addref()
128 ret = InterlockedDecrement(&disp->refcount); in disp_release()
539 disp->refcount = 1; in disp_constructor()
565 if (disp->refcount > 0) in disp_destructor()
H A Dcom_persist.c39 LONG refcount; member
73 InterlockedIncrement(&stm->refcount); in stm_queryinterface()
85 return InterlockedIncrement(&stm->refcount); in stm_addref()
93 ret = InterlockedDecrement(&stm->refcount); in stm_release()
250 if (stm->refcount > 0) { in istream_destructor()
270 stm->refcount = 1; in php_com_wrapper_export_stream()
/php-src/sapi/phpdbg/
H A Dphpdbg_list.c305 if (dataptr->op_array.refcount) { in phpdbg_init_compile_file()
306 ++*dataptr->op_array.refcount; in phpdbg_init_compile_file()
351 if (dataptr->op_array.refcount) { in phpdbg_compile_string()
352 ++*dataptr->op_array.refcount; in phpdbg_compile_string()
H A Dphpdbg_set.c42 …PHPDBG_SET_COMMAND_D(refcount, "usage: set refcount [<on|off>]", 'r', set_refcount, …
239 PHPDBG_SET(refcount) /* {{{ */ in PHPDBG_SET() argument
/php-src/sapi/fpm/fpm/
H A Dfpm_sockets.c32 int refcount; member
171 ++ls->refcount; in fpm_sockets_hash_op()
189 ls->refcount = 0; in fpm_sockets_hash_op()
191 ls->refcount = 1; in fpm_sockets_hash_op()
524 if (ls->refcount == 0) { in fpm_sockets_init_main()
/php-src/ext/curl/tests/
H A Dbug52827.phpt2 Bug #52827 (curl_setopt with CURLOPT_STDERR erroneously increments the resource refcount)
/php-src/Zend/
H A Dzend_types.h1314 return p->refcount; in zend_gc_refcount()
1318 p->refcount = rc; in zend_gc_set_refcount()
1319 return p->refcount; in zend_gc_set_refcount()
1324 return ++(p->refcount); in zend_gc_addref()
1330 ++p->refcount; in zend_gc_try_addref()
1337 --p->refcount; in zend_gc_try_delref()
1344 return --(p->refcount); in zend_gc_delref()
1349 p->refcount += rc; in zend_gc_addref_ex()
1350 return p->refcount; in zend_gc_addref_ex()
1355 p->refcount -= rc; in zend_gc_delref_ex()
[all …]
H A Dzend_opcode.c55 op_array->refcount = (uint32_t *) emalloc(sizeof(uint32_t)); in init_op_array()
56 *op_array->refcount = 1; in init_op_array()
329 ZEND_ASSERT(ce->refcount > 0); in destroy_zend_class()
331 if (--ce->refcount > 0) { in destroy_zend_class()
532 ce->refcount++; in zend_class_add_ref()
560 if (!op_array->refcount || --(*op_array->refcount) > 0) { in destroy_op_array()
564 efree_size(op_array->refcount, sizeof(*(op_array->refcount))); in destroy_op_array()
/php-src/ext/phar/
H A Dgdbhelp27 printf "%i (alias ", $temp.refcount
61 set $pharrefcount = (*(phar_archive_data*)$p->pDataPtr).refcount
/php-src/ext/libxml/
H A Dphp_libxml.h91 int refcount; member
97 int refcount; member
H A Dlibxml.c1294 return object->node->refcount; in php_libxml_increment_node_ptr()
1301 ret_refcount = ++object->node->refcount; in php_libxml_increment_node_ptr()
1310 object->node->refcount = 1; in php_libxml_increment_node_ptr()
1326 ret_refcount = --obj_node->refcount; in php_libxml_decrement_node_ptr()
1344 object->document->refcount++; in php_libxml_increment_doc_ref()
1345 ret_refcount = object->document->refcount; in php_libxml_increment_doc_ref()
1350 object->document->refcount = ret_refcount; in php_libxml_increment_doc_ref()
1362 int ret_refcount = --document->refcount; in php_libxml_decrement_doc_ref_directly()
/php-src/ext/pcre/
H A Dphp_pcre.c59 uint32_t refcount; member
1112 pce->refcount++; in php_do_pcre_match()
1115 pce->refcount--; in php_do_pcre_match()
1485 pce->refcount++;
1488 pce->refcount--;
1594 pce->refcount++; in php_pcre_replace()
1597 pce->refcount--; in php_pcre_replace()
2068 pce->refcount++; in php_pcre_replace_func()
2072 pce->refcount--; in php_pcre_replace_func()
2556 pce->refcount++; in PHP_FUNCTION()
[all …]
/php-src/ext/spl/
H A Dspl_array.c457 GC_SET_REFCOUNT(ht, refcount); in spl_array_set_refcount()
487 uint32_t refcount = 0; in spl_array_write_dimension_ex() local
490 refcount = spl_array_set_refcount(intern->is_child, ht, 1); in spl_array_write_dimension_ex()
493 if (refcount) { in spl_array_write_dimension_ex()
494 spl_array_set_refcount(intern->is_child, ht, refcount); in spl_array_write_dimension_ex()
506 refcount = spl_array_set_refcount(intern->is_child, ht, 1); in spl_array_write_dimension_ex()
514 if (refcount) { in spl_array_write_dimension_ex()
515 spl_array_set_refcount(intern->is_child, ht, refcount); in spl_array_write_dimension_ex()
546 uint32_t refcount = spl_array_set_refcount(intern->is_child, ht, 1); in spl_array_unset_dimension_ex() local
571 if (refcount) { in spl_array_unset_dimension_ex()
[all …]
/php-src/ext/intl/msgformat/
H A Dmsgformat_format.c28 #define Z_ADDREF_P(z) ((z)->refcount++)
/php-src/ext/pdo/
H A Dphp_pdo_driver.h481 unsigned int refcount; member
603 zend_ulong refcount; member
H A Dpdo_dbh.c391 pdbh->refcount--; in internal_construct()
404 pdbh->refcount = 1; in internal_construct()
417 pdbh->refcount++; in internal_construct()
487 dbh->refcount--; in internal_construct()
1441 ZEND_ASSERT(!free_persistent || (dbh->refcount == 1)); in dbh_free()
1443 if (!free_persistent && (--dbh->refcount)) { in dbh_free()

Completed in 90 milliseconds

123