/php-src/ext/standard/tests/array/ |
H A D | unexpected_array_mod_bug_variation1.phpt | 2 Crash when function parameter modified via reference while keeping orig refcount
|
H A D | bug25708.phpt | 17 /* zval temp_var(NULL); // refcount = 1 18 * a = temp_var[x] // refcount = 2
|
/php-src/ext/opcache/tests/jit/ |
H A D | assign_042.phpt | 2 JIT ASSIGN: Assign to of reference with 1 refcount
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | gh13998.phpt | 2 Fix GH-13998: Manage refcount of agg_context->val correctly
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_101.phpt | 30 object(Test)#1 (0) refcount(%d){
|
/php-src/main/streams/ |
H A D | filter.c | 91 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 D | php_stream_filter_api.h | 51 int refcount; member 69 #define php_stream_bucket_addref(bucket) (bucket)->refcount++
|
/php-src/ext/spl/tests/ |
H A D | fixedarray_023.phpt | 27 object(SplFixedArray)#2 (4) refcount(6){
|
/php-src/Zend/tests/function_arguments/ |
H A D | sensitive_parameter_value.phpt | 31 object(SensitiveParameterValue)#%d (%d) refcount(%d){
|
/php-src/ext/com_dotnet/ |
H A D | com_wrapper.c | 39 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 D | com_persist.c | 39 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 D | phpdbg_list.c | 305 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 D | phpdbg_set.c | 42 …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 D | fpm_sockets.c | 32 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 D | bug52827.phpt | 2 Bug #52827 (curl_setopt with CURLOPT_STDERR erroneously increments the resource refcount)
|
/php-src/Zend/ |
H A D | zend_types.h | 1314 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 D | zend_opcode.c | 55 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 D | gdbhelp | 27 printf "%i (alias ", $temp.refcount 61 set $pharrefcount = (*(phar_archive_data*)$p->pDataPtr).refcount
|
/php-src/ext/libxml/ |
H A D | php_libxml.h | 91 int refcount; member 97 int refcount; member
|
H A D | libxml.c | 1294 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 D | php_pcre.c | 59 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 D | spl_array.c | 457 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 D | msgformat_format.c | 28 #define Z_ADDREF_P(z) ((z)->refcount++)
|
/php-src/ext/pdo/ |
H A D | php_pdo_driver.h | 481 unsigned int refcount; member 603 zend_ulong refcount; member
|
H A D | pdo_dbh.c | 391 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()
|