Home
last modified time | relevance | path

Searched refs:refcount (Results 26 – 50 of 75) sorted by last modified time

123

/PHP-7.4/Zend/
H A Dzend_builtin_functions.c1331 (!mptr->op_array.refcount || *mptr->op_array.refcount > 1) && in ZEND_FUNCTION()
1750 if ((ce->refcount == 1 && !(ce->ce_flags & ZEND_ACC_IMMUTABLE)) || in copy_class_or_interface_name()
1904 if (func->refcount) { in ZEND_FUNCTION()
1905 (*func->refcount)++; in ZEND_FUNCTION()
H A Dzend.h118 int refcount; member
H A Dzend_opcode.c53 op_array->refcount = (uint32_t *) emalloc(sizeof(uint32_t)); in init_op_array()
54 *op_array->refcount = 1; in init_op_array()
263 } else if (--ce->refcount > 0) { in destroy_zend_class()
416 ce->refcount++; in zend_class_add_ref()
438 if (!op_array->refcount || --(*op_array->refcount) > 0) { in destroy_op_array()
442 efree_size(op_array->refcount, sizeof(*(op_array->refcount))); in destroy_op_array()
H A Dzend_types.h922 GC_SET_REFCOUNT(_ref, (refcount)); \
1025 return p->refcount; in zend_gc_refcount()
1029 p->refcount = rc; in zend_gc_set_refcount()
1030 return p->refcount; in zend_gc_set_refcount()
1035 return ++(p->refcount); in zend_gc_addref()
1039 ZEND_ASSERT(p->refcount > 0); in zend_gc_delref()
1041 return --(p->refcount); in zend_gc_delref()
1046 p->refcount += rc; in zend_gc_addref_ex()
1047 return p->refcount; in zend_gc_addref_ex()
1052 p->refcount -= rc; in zend_gc_delref_ex()
[all …]
H A Dzend_compile.h438 uint32_t *refcount; member
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_module.c674 if (ce->refcount > 1 && !zend_string_equals_ci(key, ce->name)) {
H A Dzend_persist.c262 if (op_array->refcount && --(*op_array->refcount) == 0) { in zend_persist_op_array_ex()
263 efree(op_array->refcount); in zend_persist_op_array_ex()
265 op_array->refcount = NULL; in zend_persist_op_array_ex()
597 if (op_array->refcount && --(*op_array->refcount) == 0) { in zend_persist_class_method()
598 efree(op_array->refcount); in zend_persist_class_method()
H A Dzend_accelerator_util_funcs.c261 ce->refcount = 1; in zend_class_copy_ctor()
/PHP-7.4/ext/opcache/Optimizer/
H A Dzend_call_graph.c70 if (ce->refcount > 1 && !zend_string_equals_ci(key, ce->name)) { in zend_foreach_op_array()
/PHP-7.4/ext/com_dotnet/
H A Dcom_persist.c40 LONG refcount; member
74 InterlockedIncrement(&stm->refcount); in stm_queryinterface()
86 return InterlockedIncrement(&stm->refcount); in stm_addref()
94 ret = InterlockedDecrement(&stm->refcount); in stm_release()
251 if (stm->refcount > 0) { in istream_destructor()
271 stm->refcount = 1; in php_com_wrapper_export_stream()
H A Dcom_wrapper.c41 LONG refcount; /* COM reference count */ member
110 InterlockedIncrement(&disp->refcount); in disp_queryinterface()
122 return InterlockedIncrement(&disp->refcount); in disp_addref()
130 ret = InterlockedDecrement(&disp->refcount); in disp_release()
543 disp->refcount = 1; in disp_constructor()
569 if (disp->refcount > 0) in disp_destructor()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_structs.h963 unsigned int refcount; member
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_list.c315 if (dataptr->op_array.refcount) { in phpdbg_init_compile_file()
316 ++*dataptr->op_array.refcount; in phpdbg_init_compile_file()
361 if (dataptr->op_array.refcount) { in phpdbg_compile_string()
362 ++*dataptr->op_array.refcount; in phpdbg_compile_string()
H A Dphpdbg_set.c45 …PHPDBG_SET_COMMAND_D(refcount, "usage: set refcount [<on|off>]", 'r', set_refcount, …
271 PHPDBG_SET(refcount) /* {{{ */ in PHPDBG_SET() argument
H A Dphpdbg_set.h38 PHPDBG_SET(refcount);
H A Dxml.md263 - &lt;variable address="" refcount="" type="" name="" />
265 - refcount: refcount of zval
566 ### refcount ### subsection
568 - generally enables / disables showing of refcount in watchpoint breaks silently with no further xm…
639 …- &lt;watchrefcount type="" refcount="" isref="" />: old/new (type attribute) refcount and isref, …
/PHP-7.4/main/streams/
H A Dphp_stream_filter_api.h53 int refcount; member
71 #define php_stream_bucket_addref(bucket) (bucket)->refcount++
/PHP-7.4/ext/standard/tests/general_functions/
H A Ddebug_zval_dump_v.phpt196 string(7) "TRUE123" refcount(%d)
198 string(9) "123string" refcount(%d)
200 string(9) "string123" refcount(%d)
202 string(10) "NULLstring" refcount(%d)
H A Dcall_user_func_return.phpt37 string(5) "test1" refcount(%d)
39 string(5) "test1" refcount(%d)
41 string(5) "test2" refcount(%d)
43 string(5) "test2" refcount(%d)
H A Dbug73973.phpt9 resource(5) of type (stream) refcount(%d)
/PHP-7.4/ext/standard/tests/file/
H A Dfclose_variation1.phpt2 fclose() actually closes streams with refcount > 1
/PHP-7.4/ext/oci8/tests/
H A Dlob_043.phpt2 Bug #49560 (LOB resource destructor and refcount test)
/PHP-7.4/ext/libxml/
H A Dphp_libxml.h68 int refcount; member
74 int refcount; member
/PHP-7.4/tests/lang/
H A DforeachLoop.010.phpt2 This test illustrates the impact of invoking destructors when refcount is decremented to 0 on forea…
20 // However, P8 does not invoke 'destructors' when refcount is decremented to 0.
/PHP-7.4/ext/standard/tests/strings/
H A Dbug72434.phpt25 array(1) refcount(3){
27 object(stdClass)#%d (0) refcount(1){

Completed in 98 milliseconds

123