/php-src/ext/opcache/ |
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()
|
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 | 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);
|
/php-src/ext/standard/ |
H A D | user_filters.c | 419 if (bucket->refcount == 1) { in php_stream_bucket_attach() 420 bucket->refcount++; in php_stream_bucket_attach()
|
/php-src/build/ |
H A D | gen_stub.php | 1167 public string $refcount; variable in ReturnInfo 1172 $this->setRefcount($refcount); 1192 private function setRefcount(?string $refcount): void argument 1197 if ($refcount === null) { 1202 if (!in_array($refcount, ReturnInfo::REFCOUNTS, true)) { 1206 if ($isScalarType && $refcount !== self::REFCOUNT_0) { 1210 if (!$isScalarType && $refcount === self::REFCOUNT_0) { 1214 $this->refcount = $refcount; 4123 $refcount = null; 4163 $refcount = $tag->getValue(); [all …]
|
/php-src/ext/dom/ |
H A D | document.c | 1055 new_document->refcount++; in php_dom_transfer_document_ref_single_node() 1226 int refcount; in PHP_METHOD() local 1247 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern); in PHP_METHOD() 1248 if (refcount != 0) { in PHP_METHOD() 1457 int refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern); in php_dom_finish_loading_document() local 1458 if (refcount != 0) { in php_dom_finish_loading_document()
|
/php-src/Zend/ |
H A D | zend_closures.c | 173 fake_closure->std.gc.refcount = 1; in ZEND_METHOD() 752 if (closure->func.op_array.refcount) { in zend_create_closure_ex() 753 (*closure->func.op_array.refcount)++; in zend_create_closure_ex()
|
H A D | zend.h | 155 int refcount; member
|
H A D | zend_compile.h | 480 uint32_t *refcount; member
|
H A D | zend_inheritance.c | 119 if (func->op_array.refcount) { in zend_duplicate_function() 120 (*func->op_array.refcount)++; in zend_duplicate_function() 2877 ce->refcount = 1; in zend_lazy_class_load()
|
H A D | zend_compile.c | 1196 if (op_array->refcount) { in function_add_ref() 1197 (*op_array->refcount)++; in function_add_ref() 1238 if (func->op_array.refcount) { in do_bind_function() 1239 ++*func->op_array.refcount; in do_bind_function() 1991 ce->refcount = 1; in zend_initialize_class_data()
|
H A D | zend_hash.c | 249 .gc.refcount = 2,
|
/php-src/docs/source/core/data-structures/ |
H A D | reference-counting.rst | 14 a reference count to each allocated value, often abbreviated as refcount or RC. Whenever a reference 45 uint32_t refcount; /* reference counter 32-bit */
|
/php-src/ext/phar/ |
H A D | util.c | 447 ++(entry->phar->refcount); in phar_get_entry_data() 507 ++(entry->phar->refcount); in phar_get_entry_data() 615 ++(phar->refcount); in phar_get_or_create_entry_data() 943 if (phar->refcount || phar->is_persistent) { in phar_free_alias()
|
H A D | phar_internal.h | 301 int refcount; member
|
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() 426 idata->phar->refcount--; in phar_entry_remove()
|
H A D | stream.c | 284 ++(entry->phar->refcount); in phar_wrapper_open_url()
|
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()
|
/php-src/ |
H A D | .gdbinit | 167 printf "(refcount=%d) ", $zvalue->value.counted->gc.refcount
|
/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/xsl/ |
H A D | xsltprocessor.c | 253 intern->sheet_ref_obj->refcount++; in PHP_METHOD()
|
/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() 2065 clone->document->refcount++; in sxe_object_clone()
|
/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 …]
|