Home
last modified time | relevance | path

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

123

/php-src/ext/opcache/
H A Dzend_persist.c376 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 Dzend_file_cache.c474 op_array->refcount = (uint32_t*)(intptr_t)-1;
1334 if (op_array->refcount) {
1335 op_array->refcount = NULL;
H A DZendAccelerator.c3625 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 Duser_filters.c419 if (bucket->refcount == 1) { in php_stream_bucket_attach()
420 bucket->refcount++; in php_stream_bucket_attach()
/php-src/build/
H A Dgen_stub.php1167 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 Ddocument.c1055 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 Dzend_closures.c173 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 Dzend.h155 int refcount; member
H A Dzend_compile.h480 uint32_t *refcount; member
H A Dzend_inheritance.c119 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 Dzend_compile.c1196 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 Dzend_hash.c249 .gc.refcount = 2,
/php-src/docs/source/core/data-structures/
H A Dreference-counting.rst14 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 Dutil.c447 ++(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 Dphar_internal.h301 int refcount; member
H A Dphar.c247 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 Dstream.c284 ++(entry->phar->refcount); in phar_wrapper_open_url()
H A Dphar_object.c1089 ++(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.gdbinit167 printf "(refcount=%d) ", $zvalue->value.counted->gc.refcount
/php-src/ext/mysqlnd/
H A Dmysqlnd_connection.c1117 ++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 Dmysqlnd_structs.h931 unsigned int refcount; member
/php-src/ext/xsl/
H A Dxsltprocessor.c253 intern->sheet_ref_obj->refcount++; in PHP_METHOD()
/php-src/ext/simplexml/
H A Dsimplexml.c64 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 Dzend_jit_ir.c1530 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 …]

Completed in 194 milliseconds

123