/PHP-7.1/Zend/ |
H A D | zend_objects_API.c | 53 GC_REFCOUNT(obj)++; in zend_objects_store_call_destructors() 55 GC_REFCOUNT(obj)--; in zend_objects_store_call_destructors() 98 GC_REFCOUNT(obj)++; in zend_objects_store_free_object_storage() 100 GC_REFCOUNT(obj)--; in zend_objects_store_free_object_storage() 153 if (GC_REFCOUNT(object) == 0) { in zend_objects_store_del() 160 GC_REFCOUNT(object)++; in zend_objects_store_del() 166 GC_REFCOUNT(object)--; in zend_objects_store_del() 170 if (GC_REFCOUNT(object) == 0) { in zend_objects_store_del() 179 GC_REFCOUNT(object)++; in zend_objects_store_del() 181 GC_REFCOUNT(object)--; in zend_objects_store_del() [all …]
|
H A D | zend_string.h | 67 GC_REFCOUNT(str) = 1; \ in END_EXTERN_C() 99 return GC_REFCOUNT(s); in zend_string_refcount() 107 return ++GC_REFCOUNT(s); in zend_string_addref() 115 return --GC_REFCOUNT(s); in zend_string_delref() 124 GC_REFCOUNT(ret) = 1; in zend_string_alloc() 142 GC_REFCOUNT(ret) = 1; in zend_string_safe_alloc() 168 GC_REFCOUNT(s)++; in zend_string_copy() 193 GC_REFCOUNT(s)--; in zend_string_realloc() 213 GC_REFCOUNT(s)--; in zend_string_extend() 233 GC_REFCOUNT(s)--; in zend_string_truncate() [all …]
|
H A D | zend_gc.c | 285 GC_REFCOUNT(ref)++; in gc_possible_root() 287 GC_REFCOUNT(ref)--; in gc_possible_root() 409 GC_REFCOUNT(ref)++; in gc_scan_black() 427 GC_REFCOUNT(ref)++; in gc_scan_black() 458 GC_REFCOUNT(ref)++; in gc_scan_black() 470 GC_REFCOUNT(ref)++; in gc_scan_black() 538 GC_REFCOUNT(ref)--; in gc_mark_grey() 586 GC_REFCOUNT(ref)--; in gc_mark_grey() 846 GC_REFCOUNT(ref)++; 879 GC_REFCOUNT(ref)++; [all …]
|
H A D | zend_objects.c | 34 GC_REFCOUNT(object) = 1; in zend_object_std_init() 59 if (EXPECTED(--GC_REFCOUNT(object->properties) == 0)) { in zend_object_std_dtor() 138 GC_REFCOUNT(object)++; in zend_objects_destroy_object() 196 GC_REFCOUNT(old_object->properties)++; in zend_objects_clone_members()
|
H A D | zend_types.h | 659 GC_REFCOUNT(__s)++; \ 702 GC_REFCOUNT(_res) = 1; \ 716 GC_REFCOUNT(_res) = 1; \ 735 GC_REFCOUNT(_ref) = 1; \ 744 GC_REFCOUNT(_ref) = 1; \ 754 GC_REFCOUNT(_ref) = 1; \ 765 GC_REFCOUNT(_ast) = 1; \ 823 return GC_REFCOUNT(Z_COUNTED_P(pz)); in zval_refcount_p() 876 GC_REFCOUNT(_gc)++; \ 891 GC_REFCOUNT(_gc)++; \ [all …]
|
H A D | zend_hash.c | 130 HT_ASSERT(GC_REFCOUNT(ht) == 1); in zend_hash_real_init_ex() 159 HT_ASSERT(GC_REFCOUNT(ht) == 1); in zend_hash_check_init() 173 GC_REFCOUNT(ht) = 1; in _zend_hash_init() 188 HT_ASSERT(GC_REFCOUNT(ht) == 1); in zend_hash_packed_grow() 200 HT_ASSERT(GC_REFCOUNT(ht) == 1); in zend_hash_real_init() 209 HT_ASSERT(GC_REFCOUNT(ht) == 1); in zend_hash_packed_to_hash() 224 HT_ASSERT(GC_REFCOUNT(ht) == 1); in zend_hash_to_packed() 244 HT_ASSERT(GC_REFCOUNT(ht) == 1); in zend_hash_extend() 547 HT_ASSERT(GC_REFCOUNT(ht) == 1); in _zend_hash_add_or_update_i() 710 HT_ASSERT(GC_REFCOUNT(ht) == 1); in _zend_hash_index_add_or_update_i() [all …]
|
H A D | zend_execute.h | 85 ZEND_ASSERT(GC_REFCOUNT(ref) > 1); in zend_assign_to_variable() 86 --GC_REFCOUNT(ref); in zend_assign_to_variable() 91 if (--GC_REFCOUNT(garbage) == 0) { in zend_assign_to_variable() 98 if (UNEXPECTED(--GC_REFCOUNT(ref) == 0)) { in zend_assign_to_variable() 122 if (UNEXPECTED(--GC_REFCOUNT(ref) == 0)) { in zend_assign_to_variable()
|
H A D | zend_list.c | 49 if (--GC_REFCOUNT(res) <= 0) { in zend_list_delete() 58 if (GC_REFCOUNT(res) <= 0) { in zend_list_free() 86 if (GC_REFCOUNT(res) <= 0) { in zend_list_close()
|
H A D | zend_iterators.c | 84 if (--GC_REFCOUNT(&iter->std) > 0) { in zend_iterator_dtor()
|
H A D | zend_objects_API.h | 77 if (--GC_REFCOUNT(obj) == 0) { in END_EXTERN_C()
|
H A D | zend_string.c | 155 GC_REFCOUNT(str) = 1; in zend_new_interned_string_int() 229 GC_REFCOUNT(p->key) = 1; in zend_interned_strings_restore_int()
|
H A D | zend_vm_execute.h | 494 GC_REFCOUNT(object)--; 529 GC_REFCOUNT(object)--; 1015 GC_REFCOUNT(object)--; 1142 GC_REFCOUNT(object)--; 16897 GC_REFCOUNT(gc)++; 17089 GC_REFCOUNT(ref)++; 40633 GC_REFCOUNT(ref) = 2; 40640 GC_REFCOUNT(ref)++; 40682 if (GC_REFCOUNT(ht) > 1) { 40684 GC_REFCOUNT(ht)--; [all …]
|
H A D | zend_object_handlers.c | 720 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_write_property() 722 GC_REFCOUNT(zobj->properties)--; in zend_std_write_property() 933 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_get_property_ptr_ptr() 935 GC_REFCOUNT(zobj->properties)--; in zend_std_get_property_ptr_ptr() 998 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_unset_property() 1000 GC_REFCOUNT(zobj->properties)--; in zend_std_unset_property()
|
H A D | zend_vm_def.h | 2580 GC_REFCOUNT(object)--; 2615 GC_REFCOUNT(object)--; 3890 GC_REFCOUNT(object)--; 6216 GC_REFCOUNT(gc)++; 6408 GC_REFCOUNT(ref)++; 7750 GC_REFCOUNT(ref) = 2; 7757 GC_REFCOUNT(ref)++; 8107 if (GC_REFCOUNT(ht) > 1) { 8109 GC_REFCOUNT(ht)--; 8126 GC_REFCOUNT(ref) = 2; [all …]
|
H A D | zend_execute.c | 579 GC_REFCOUNT(ref)++; in zend_assign_to_variable_reference() 583 if (--GC_REFCOUNT(garbage) == 0) { in zend_assign_to_variable_reference() 1971 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_fetch_property_address() 1973 GC_REFCOUNT(zobj->properties)--; in zend_fetch_property_address() 2472 GC_REFCOUNT(Z_OBJ(call->This))--; in cleanup_unfinished_calls() 2473 if (GC_REFCOUNT(Z_OBJ(call->This)) == 1) { in cleanup_unfinished_calls() 2662 GC_REFCOUNT((zend_object*)fbc->common.prototype)++; in zend_init_dynamic_call_object() 2666 GC_REFCOUNT(object)++; /* For $this pointer */ in zend_init_dynamic_call_object() 2762 GC_REFCOUNT(object)++; /* For $this pointer */ in zend_init_dynamic_call_array()
|
H A D | zend_generators.c | 555 …++GC_REFCOUNT(&generator->std); /* we need to increment the generator refcount here as it became i… in zend_generator_add_child() 633 --GC_REFCOUNT(&from->std); in zend_generator_yield_from() 699 ++GC_REFCOUNT(&root->std); in zend_generator_update_current()
|
/PHP-7.1/main/streams/ |
H A D | php_stream_context.h | 41 #define php_stream_context_to_zval(context, zval) { ZVAL_RES(zval, (context)->res); GC_REFCOUNT((co…
|
/PHP-7.1/ext/intl/transliterator/ |
H A D | transliterator_class.c | 61 GC_REFCOUNT(u8str)--; in transliterator_object_construct()
|
/PHP-7.1/ext/intl/common/ |
H A D | common_enum.cpp | 186 ++GC_REFCOUNT(&ii->iterator->std); in IntlIterator_get_iterator()
|
/PHP-7.1/ext/opcache/ |
H A D | zend_persist.c | 331 GC_REFCOUNT(Z_COUNTED_P(z)) = 2; in zend_persist_zval() 356 GC_REFCOUNT(Z_COUNTED_P(z)) = 2; in zend_persist_zval() 400 GC_REFCOUNT(op_array->static_variables) = 2; in zend_persist_op_array_ex()
|
/PHP-7.1/ext/interbase/ |
H A D | ibase_events.c | 332 GC_REFCOUNT(link_res)++; in PHP_FUNCTION()
|
/PHP-7.1/ext/oci8/ |
H A D | oci8.c | 1455 if (GC_REFCOUNT(column->descid) == 1) in php_oci_column_hash_dtor() 1459 GC_REFCOUNT(column->descid)--; in php_oci_column_hash_dtor() 1886 ++GC_REFCOUNT(connection->id); in php_oci_do_connect_ex() 1900 ++GC_REFCOUNT(connection->id); in php_oci_do_connect_ex() 1915 ++GC_REFCOUNT(connection->id); in php_oci_do_connect_ex() 2073 ++GC_REFCOUNT(connection->id); in php_oci_do_connect_ex() 2272 if (GC_REFCOUNT(connection->hash_key) >= 2) { in php_oci_connection_close() 2478 ++GC_REFCOUNT(column->stmtid); in php_oci_column_to_zval() 2526 ++GC_REFCOUNT(column->descid); in php_oci_column_to_zval()
|
/PHP-7.1/ext/standard/ |
H A D | dir.c | 124 GC_REFCOUNT(res)++; in php_set_default_dir()
|
H A D | http_fopen_wrapper.c | 452 } else if (GC_REFCOUNT(tmp) > 1) { in php_stream_url_wrap_http_ex() 453 GC_REFCOUNT(tmp)--; in php_stream_url_wrap_http_ex()
|
/PHP-7.1/ext/pdo_oci/ |
H A D | oci_statement.c | 694 GC_REFCOUNT(obj)--; in oci_blob_close() 754 GC_REFCOUNT(obj)++; in oci_create_lob_stream()
|