/PHP-7.3/Zend/ |
H A D | zend_string.h | 110 return GC_REFCOUNT(s); in zend_string_refcount() 184 if (EXPECTED(GC_REFCOUNT(s) == 1)) { in zend_string_realloc() 205 if (EXPECTED(GC_REFCOUNT(s) == 1)) { in zend_string_extend() 226 if (EXPECTED(GC_REFCOUNT(s) == 1)) { in zend_string_truncate() 246 if (GC_REFCOUNT(s) == 1) { in zend_string_safe_realloc() 264 ZEND_ASSERT(GC_REFCOUNT(s) <= 1); in zend_string_free() 272 ZEND_ASSERT(GC_REFCOUNT(s) <= 1); in zend_string_efree()
|
H A D | zend_objects_API.c | 156 ZEND_ASSERT(GC_REFCOUNT(object) == 0); in zend_objects_store_del() 179 if (GC_REFCOUNT(object) == 0) { in zend_objects_store_del()
|
H A D | zend_gc.c | 388 ref, GC_REFCOUNT(ref), GC_REF_ADDRESS(ref), in gc_trace_ref() 394 ref, GC_REFCOUNT(ref), GC_REF_ADDRESS(ref), in gc_trace_ref() 399 ref, GC_REFCOUNT(ref), GC_REF_ADDRESS(ref), in gc_trace_ref() 838 ZEND_ASSERT(GC_REFCOUNT(ref) > 0); in gc_mark_grey() 849 ZEND_ASSERT(GC_REFCOUNT(ref) > 0); in gc_mark_grey() 870 ZEND_ASSERT(GC_REFCOUNT(ref) > 0); in gc_mark_grey() 903 ZEND_ASSERT(GC_REFCOUNT(ref) > 0); in gc_mark_grey() 917 ZEND_ASSERT(GC_REFCOUNT(ref) > 0); in gc_mark_grey() 994 if (GC_REFCOUNT(ref) > 0) { in gc_scan() 1505 refcounts[idx] = GC_REFCOUNT(p); in zend_gc_collect_cycles() [all …]
|
H A D | zend_list.c | 56 if (GC_REFCOUNT(res) <= 0) { in zend_list_free() 84 if (GC_REFCOUNT(res) <= 0) { in zend_list_close()
|
H A D | zend_variables.c | 72 ZEND_ASSERT(GC_REFCOUNT(str) == 0); in zend_string_destroy()
|
H A D | zend_string.c | 203 if (GC_REFCOUNT(str) > 1) { in zend_new_interned_string_permanent() 244 if (GC_REFCOUNT(str) > 1) { in zend_new_interned_string_request()
|
H A D | zend_hash.c | 37 #define HT_ASSERT_RC1(ht) HT_ASSERT(ht, GC_REFCOUNT(ht) == 1) 1407 HT_ASSERT(ht, GC_REFCOUNT(ht) <= 1); in zend_hash_destroy() 1469 HT_ASSERT(ht, GC_REFCOUNT(ht) <= 1); in zend_array_destroy() 2197 HT_ASSERT(ht, &ht->nInternalPointer != pos || GC_REFCOUNT(ht) == 1); in zend_hash_internal_pointer_reset_ex() 2210 HT_ASSERT(ht, &ht->nInternalPointer != pos || GC_REFCOUNT(ht) == 1); in zend_hash_internal_pointer_end_ex() 2229 HT_ASSERT(ht, &ht->nInternalPointer != pos || GC_REFCOUNT(ht) == 1); in zend_hash_move_forward_ex() 2254 HT_ASSERT(ht, &ht->nInternalPointer != pos || GC_REFCOUNT(ht) == 1); in zend_hash_move_backwards_ex()
|
H A D | zend_object_handlers.c | 127 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1) in zend_std_get_gc() 765 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_write_property() 958 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_get_property_ptr_ptr() 1012 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_unset_property()
|
H A D | zend_types.h | 467 #define GC_REFCOUNT(p) zend_gc_refcount(&(p)->gc) macro 1015 return GC_REFCOUNT(Z_COUNTED_P(pz)); in zval_refcount_p() 1173 if (UNEXPECTED(GC_REFCOUNT(_arr) > 1)) { \
|
H A D | zend_execute.h | 85 ZEND_ASSERT(GC_REFCOUNT(ref) > 1); in zend_assign_to_variable()
|
H A D | zend_vm_execute.h | 22569 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { 22690 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { 22811 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { 22932 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { 24940 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { 25061 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { 25182 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { 25303 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { 28835 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { 28956 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { [all …]
|
H A D | zend_execute.c | 683 if (GC_REFCOUNT(obj) == 1) { in make_real_object() 2228 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_fetch_property_address() 2818 if (GC_REFCOUNT(Z_OBJ(call->This)) == 1) { in cleanup_unfinished_calls()
|
H A D | zend_vm_def.h | 320 !ZSTR_IS_INTERNED(op1_str) && GC_REFCOUNT(op1_str) == 1) { 2134 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { 2744 !ZSTR_IS_INTERNED(op1_str) && GC_REFCOUNT(op1_str) == 1) { 5714 && UNEXPECTED(GC_REFCOUNT(Z_OBJ_P(array_ptr)->properties) > 1)) { 5800 && UNEXPECTED(GC_REFCOUNT(Z_OBJ_P(array_ptr)->properties) > 1)) { 7877 if (GC_REFCOUNT(ht) > 1) {
|
H A D | zend_API.h | 1262 && UNEXPECTED(GC_REFCOUNT(Z_OBJ_P(arg)->properties) > 1)) { in zend_parse_arg_array_ht()
|
H A D | zend_compile.c | 4293 if (GC_REFCOUNT(CG(active_op_array)->static_variables) > 1) { in zend_compile_static_var_common() 5718 if (GC_REFCOUNT(op_array->static_variables) > 1) { in zend_compile_closure_binding()
|
/PHP-7.3/ |
H A D | UPGRADING.INTERNALS | 9 f. GC_REFCOUNT() 90 f. GC_REFCOUNT() is turned into inline function and can't be modified direcly. 94 GC_REFCOUNT(p)++ should be changed into GC_ADDREF(p), 95 GC_REFCOUNT(p)-- into GC_DELREF(p), 96 GC_REFCOUNT(p) = 1 into GC_SET_REFCOUNT(p, 1).
|
/PHP-7.3/ext/oci8/ |
H A D | php_oci8_int.h | 552 # define GC_ADDREF(p) (++GC_REFCOUNT(p)) 555 # define GC_DELREF(p) (GC_REFCOUNT(p)--)
|
H A D | oci8_collection.c | 56 ++GC_REFCOUNT(collection->connection->id); in php_oci_collection_create()
|
H A D | oci8.c | 1456 if (GC_REFCOUNT(column->descid) == 1) in php_oci_column_hash_dtor() 2258 if (GC_REFCOUNT(connection->hash_key) >= 2) { in php_oci_connection_close()
|
H A D | oci8_interface.c | 1664 if (GC_REFCOUNT(connection->id) == 2) { /* CHANGED VERSION::PHP7 in PHP_FUNCTION()
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 666 is_ref = Z_ISREF_P(zv) && GC_REFCOUNT(Z_COUNTED_P(zv)) > 1; in phpdbg_xml_var_dump()
|
H A D | phpdbg_watch.c | 196 …phpdbg_writeln("watchrefcount", "type=\"old\" refcount=\"%d\"", "Old refcount: %d", GC_REFCOUNT((z… in phpdbg_print_watch_diff() 197 …phpdbg_writeln("watchrefcount", "type=\"new\" refcount=\"%d\"", "New refcount: %d", GC_REFCOUNT((z… in phpdbg_print_watch_diff()
|
/PHP-7.3/ext/standard/ |
H A D | http_fopen_wrapper.c | 459 } else if (GC_REFCOUNT(tmp) > 1) { in php_stream_url_wrap_http_ex()
|
/PHP-7.3/ext/interbase/ |
H A D | interbase.c | 1066 if (GC_REFCOUNT(link_res) < 4) { in PHP_FUNCTION()
|
/PHP-7.3/ext/spl/ |
H A D | spl_array.c | 99 } else if (GC_REFCOUNT(obj->properties) > 1) { in spl_array_get_hash_table_ptr()
|