Lines Matching refs:ref
57 ZEND_API zend_bool ZEND_FASTCALL zend_verify_ref_assignable_zval(zend_reference *ref, zval *zv, zen…
63 #define ZEND_REF_TYPE_SOURCES(ref) \ argument
64 (ref)->sources
66 #define ZEND_REF_HAS_TYPE_SOURCES(ref) \ argument
67 (ZEND_REF_TYPE_SOURCES(ref).ptr != NULL)
69 #define ZEND_REF_FIRST_SOURCE(ref) \ argument
70 (ZEND_PROPERTY_INFO_SOURCE_IS_LIST((ref)->sources.list) \
71 ? ZEND_PROPERTY_INFO_SOURCE_TO_LIST((ref)->sources.list)->ptr[0] \
72 : (ref)->sources.ptr)
78 …ef(zval *variable_ptr, zval *value, zend_uchar value_type, zend_bool strict, zend_refcounted *ref);
80 …zend_copy_to_variable(zval *variable_ptr, zval *value, zend_uchar value_type, zend_refcounted *ref) in zend_copy_to_variable() argument
91 } else if (ZEND_CONST_COND(value_type == IS_VAR, 1) && UNEXPECTED(ref)) { in zend_copy_to_variable()
92 if (UNEXPECTED(GC_DELREF(ref) == 0)) { in zend_copy_to_variable()
93 efree_size(ref, sizeof(zend_reference)); in zend_copy_to_variable()
102 zend_refcounted *ref = NULL; in zend_assign_to_variable() local
105 ref = Z_COUNTED_P(value); in zend_assign_to_variable()
115 return zend_assign_to_typed_ref(variable_ptr, value, value_type, strict, ref); in zend_assign_to_variable()
129 zend_copy_to_variable(variable_ptr, value, value_type, ref); in zend_assign_to_variable()
142 zend_copy_to_variable(variable_ptr, value, value_type, ref); in zend_assign_to_variable()
405 #define ZEND_REF_ADD_TYPE_SOURCE(ref, source) \ argument
406 zend_ref_add_type_source(&ZEND_REF_TYPE_SOURCES(ref), source)
408 #define ZEND_REF_DEL_TYPE_SOURCE(ref, source) \ argument
409 zend_ref_del_type_source(&ZEND_REF_TYPE_SOURCES(ref), source)
411 #define ZEND_REF_FOREACH_TYPE_SOURCES(ref, prop) do { \ argument
412 zend_property_info_source_list *_source_list = &ZEND_REF_TYPE_SOURCES(ref); \