Home
last modified time | relevance | path

Searched refs:GC_REFCOUNT (Results 1 – 25 of 26) sorted by relevance

12

/PHP-7.3/Zend/
H A Dzend_string.h110 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 Dzend_objects_API.c156 ZEND_ASSERT(GC_REFCOUNT(object) == 0); in zend_objects_store_del()
179 if (GC_REFCOUNT(object) == 0) { in zend_objects_store_del()
H A Dzend_gc.c388 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 Dzend_list.c56 if (GC_REFCOUNT(res) <= 0) { in zend_list_free()
84 if (GC_REFCOUNT(res) <= 0) { in zend_list_close()
H A Dzend_variables.c72 ZEND_ASSERT(GC_REFCOUNT(str) == 0); in zend_string_destroy()
H A Dzend_string.c203 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 Dzend_hash.c37 #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 Dzend_object_handlers.c127 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 Dzend_types.h467 #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 Dzend_execute.h85 ZEND_ASSERT(GC_REFCOUNT(ref) > 1); in zend_assign_to_variable()
H A Dzend_vm_execute.h22569 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 Dzend_execute.c683 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 Dzend_vm_def.h320 !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 Dzend_API.h1262 && UNEXPECTED(GC_REFCOUNT(Z_OBJ_P(arg)->properties) > 1)) { in zend_parse_arg_array_ht()
H A Dzend_compile.c4293 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 DUPGRADING.INTERNALS9 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 Dphp_oci8_int.h552 # define GC_ADDREF(p) (++GC_REFCOUNT(p))
555 # define GC_DELREF(p) (GC_REFCOUNT(p)--)
H A Doci8_collection.c56 ++GC_REFCOUNT(collection->connection->id); in php_oci_collection_create()
H A Doci8.c1456 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 Doci8_interface.c1664 if (GC_REFCOUNT(connection->id) == 2) { /* CHANGED VERSION::PHP7 in PHP_FUNCTION()
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_utils.c666 is_ref = Z_ISREF_P(zv) && GC_REFCOUNT(Z_COUNTED_P(zv)) > 1; in phpdbg_xml_var_dump()
H A Dphpdbg_watch.c196 …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 Dhttp_fopen_wrapper.c459 } else if (GC_REFCOUNT(tmp) > 1) { in php_stream_url_wrap_http_ex()
/PHP-7.3/ext/interbase/
H A Dinterbase.c1066 if (GC_REFCOUNT(link_res) < 4) { in PHP_FUNCTION()
/PHP-7.3/ext/spl/
H A Dspl_array.c99 } else if (GC_REFCOUNT(obj->properties) > 1) { in spl_array_get_hash_table_ptr()

Completed in 357 milliseconds

12