/php-src/ext/intl/msgformat/ |
H A D | msgformat_format.c | 28 #define Z_ADDREF_P(z) ((z)->refcount++)
|
/php-src/ext/libxml/ |
H A D | libxml.c | 1286 return object->node->refcount; in php_libxml_increment_node_ptr() 1293 ret_refcount = ++object->node->refcount; in php_libxml_increment_node_ptr() 1302 object->node->refcount = 1; in php_libxml_increment_node_ptr() 1318 ret_refcount = --obj_node->refcount; in php_libxml_decrement_node_ptr() 1336 object->document->refcount++; in php_libxml_increment_doc_ref() 1337 ret_refcount = object->document->refcount; in php_libxml_increment_doc_ref() 1342 object->document->refcount = ret_refcount; in php_libxml_increment_doc_ref() 1354 int ret_refcount = --document->refcount; in php_libxml_decrement_doc_ref_directly()
|
H A D | php_libxml.h | 91 int refcount; member 97 int refcount; member
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_result_references.phpt | 89 array(2) refcount(1){ 91 reference refcount(1) { 98 array(2) refcount(1){ 100 reference refcount(1) { 107 array(2) refcount(1){ 116 array(2) refcount(1){ 125 array(3) refcount(1){ 138 array(3) refcount(1){ 151 reference refcount(2) { 156 array(1) refcount(2){ [all …]
|
H A D | mysqli_result_references_mysqlnd.phpt | 57 array(4) refcount(%d){ 59 reference refcount(2) { 63 array(2) refcount(1){ 70 reference refcount(1) { 79 array(4) refcount(%d){ 81 reference refcount(2) { 85 array(2) refcount(%d){ 92 reference refcount(1) { 99 array(5) refcount(%d){ 101 reference refcount(2) { [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 1117 ++conn->refcount; 1118 DBG_INF_FMT("conn=%" PRIu64 " new_refcount=%u", conn->thread_id, conn->refcount); 1130 DBG_INF_FMT("conn=%" PRIu64 " old_refcount=%u", conn->thread_id, conn->refcount); 1131 if (!(--conn->refcount)) {
|
H A D | mysqlnd_structs.h | 931 unsigned int refcount; member
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 3625 if (op_array && op_array->refcount) { 3634 op_array->refcount = NULL; 4151 ZEND_ASSERT(op_array->refcount && "Must have refcount pointer"); 4152 zend_shared_alloc_register_xlat_entry(op_array->refcount, op_array); 4163 zend_op_array *orig_op_array = zend_shared_alloc_get_xlat_entry(op_array->refcount);
|
H A D | zend_file_cache.c | 474 op_array->refcount = (uint32_t*)(intptr_t)-1; 1334 if (op_array->refcount) { 1335 op_array->refcount = NULL;
|
H A D | zend_persist.c | 376 if (op_array->refcount && --(*op_array->refcount) == 0) { in zend_persist_op_array_ex() 377 efree(op_array->refcount); in zend_persist_op_array_ex() 379 op_array->refcount = NULL; in zend_persist_op_array_ex() 751 if (op_array->refcount && --(*op_array->refcount) == 0) { in zend_persist_class_method() 752 efree(op_array->refcount); in zend_persist_class_method()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 1530 ir_STORE(ref, ir_CONST_U32(refcount)); in jit_set_GC_REFCOUNT() 6062 refcount = jit_GC_DELREF(jit, ref); in zend_jit_simple_assign() 6063 if_not_zero = ir_IF(refcount); in zend_jit_simple_assign() 9348 refcount = jit_GC_DELREF(jit, ref); 9349 if_not_zero = ir_IF(refcount); 10792 refcount = jit_GC_DELREF(jit, ref); 10796 ir_ref if_non_zero = ir_IF(refcount); 10976 refcount = jit_GC_DELREF(jit, ref2); 10977 if_non_zero = ir_IF(refcount); 14015 refcount = jit_GC_DELREF(jit, ptr); [all …]
|
/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/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/pdo/ |
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()
|
H A D | php_pdo_driver.h | 481 unsigned int refcount; member 603 zend_ulong refcount; member
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | gh13998.phpt | 2 Fix GH-13998: Manage refcount of agg_context->val correctly
|
/php-src/ext/phar/ |
H A D | gdbhelp | 27 printf "%i (alias ", $temp.refcount 61 set $pharrefcount = (*(phar_archive_data*)$p->pDataPtr).refcount
|
H A D | phar.c | 247 if (--phar->refcount < 0) { in phar_archive_delref() 253 } else if (!phar->refcount) { in phar_archive_delref() 289 if (EG(exception) || --phar_data->refcount < 0) { in destroy_phar_data_only() 341 if (--phar_data->refcount < 0) { in destroy_phar_data() 423 idata->phar->refcount--; in phar_entry_remove()
|
H A D | phar_internal.h | 300 int refcount; member
|
H A D | phar_object.c | 1089 ++(phar_data->refcount); in phar_spl_foreign_clone() 1204 ++(phar_data->refcount); in PHP_METHOD() 1333 if (phar->refcount) { in PHP_METHOD()
|
H A D | stream.c | 284 ++(entry->phar->refcount); in phar_wrapper_open_url()
|
H A D | util.c | 444 ++(entry->phar->refcount); in phar_get_entry_data() 501 ++(entry->phar->refcount); in phar_get_entry_data() 609 ++(phar->refcount); in phar_get_or_create_entry_data() 934 if (phar->refcount || phar->is_persistent) { in phar_free_alias()
|
/php-src/ext/simplexml/ |
H A D | simplexml.c | 64 subnode->document->refcount++; in _node_as_zval() 929 subnode->document->refcount++; in _get_base_node_value() 2087 clone->document->refcount++; in sxe_object_clone()
|
/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/spl/tests/ |
H A D | fixedarray_022.phpt | 17 object(SplFixedArray)#2 (1) refcount(4){
|