Home
last modified time | relevance | path

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

123

/php-src/ext/mysqlnd/
H A Dmysqlnd_structs.h931 unsigned int refcount; member
/php-src/ext/spl/
H A Dspl_array.c457 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/opcache/
H A Dzend_file_cache.c474 op_array->refcount = (uint32_t*)(intptr_t)-1;
1334 if (op_array->refcount) {
1335 op_array->refcount = NULL;
/php-src/Zend/
H A Dzend_compile.h480 uint32_t *refcount; member
H A Dzend_opcode.c55 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()
H A Dzend.h155 int refcount; member
H A Dzend_types.h1314 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 Dzend_hash.c249 .gc.refcount = 2,
/php-src/
H A D.gdbinit167 printf "(refcount=%d) ", $zvalue->value.counted->gc.refcount
/php-src/ext/opcache/tests/jit/
H A Dassign_042.phpt2 JIT ASSIGN: Assign to of reference with 1 refcount
/php-src/sapi/fpm/fpm/
H A Dfpm_sockets.c32 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/standard/tests/general_functions/
H A Ddebug_zval_dump_refs.phpt19 array(1) packed refcount(2){
21 reference refcount(2) {
25 array(2) packed refcount(2){
27 reference refcount(3) {
31 reference refcount(3) {
35 array(1) packed refcount(2){
37 reference refcount(2) {
41 array(1) packed refcount(2){
43 reference refcount(1) {
H A Ddebug_zval_dump_b_64bit.phpt192 array(1) packed refcount(%d){
197 array(1) packed refcount(%d){
202 array(1) packed refcount(%d){
207 array(1) packed refcount(%d){
212 array(2) packed refcount(%d){
229 array(2) refcount(%d){
236 array(1) packed refcount(%d){
241 array(1) packed refcount(%d){
246 array(2) packed refcount(%d){
253 array(2) packed refcount(%d){
[all …]
H A Ddebug_zval_dump_b.phpt188 array(1) packed refcount(%d){
193 array(1) packed refcount(%d){
198 array(1) packed refcount(%d){
203 array(1) packed refcount(%d){
208 array(2) packed refcount(%d){
225 array(2) refcount(%d){
232 array(1) packed refcount(%d){
237 array(1) packed refcount(%d){
242 array(2) packed refcount(%d){
249 array(2) packed refcount(%d){
[all …]
H A Ddebug_zval_dump_o.phpt130 array(2) refcount(%d){
161 array(2) refcount(%d){
181 array(2) refcount(%d){
201 array(2) refcount(%d){
221 array(2) refcount(%d){
247 array(2) refcount(%d){
267 array(2) refcount(%d){
292 array(2) refcount(%d){
312 array(2) refcount(%d){
343 array(2) refcount(%d){
[all …]
/php-src/ext/mysqli/tests/
H A Dmysqli_result_references_mysqlnd.phpt57 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 …]
H A Dmysqli_result_references.phpt89 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 …]
/php-src/ext/pdo/
H A Dphp_pdo_driver.h481 unsigned int refcount; member
603 zend_ulong refcount; member
/php-src/ext/intl/msgformat/
H A Dmsgformat_format.c28 #define Z_ADDREF_P(z) ((z)->refcount++)
/php-src/ext/standard/tests/
H A Dgh10885.phpt20 resource(%d) of type (stream-context) refcount(2)
21 resource(%d) of type (stream-context) refcount(3)
22 resource(%d) of type (stream-context) refcount(2)
/php-src/Zend/tests/function_arguments/
H A Dsensitive_parameter_value.phpt31 object(SensitiveParameterValue)#%d (%d) refcount(%d){
/php-src/ext/zend_test/tests/
H A Dzend_ini_str_validator_return_from_func.phpt2 Test zend_test_zend_ini_str() to check for GC refcount on global returned
/php-src/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-src/sapi/phpdbg/
H A Dphpdbg_list.c305 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 Dphpdbg_set.c42 …PHPDBG_SET_COMMAND_D(refcount, "usage: set refcount [<on|off>]", 'r', set_refcount, …
239 PHPDBG_SET(refcount) /* {{{ */ in PHPDBG_SET() argument

Completed in 94 milliseconds

123