Lines Matching refs:single_type

354 	zend_type *single_type;  in zend_type_permits_self()  local
355 ZEND_TYPE_FOREACH(type, single_type) { in zend_type_permits_self()
356 if (ZEND_TYPE_HAS_NAME(*single_type)) { in zend_type_permits_self()
357 zend_string *name = resolve_class_name(scope, ZEND_TYPE_NAME(*single_type)); in zend_type_permits_self()
417 zend_type *single_type; in zend_is_intersection_subtype_of_class() local
421 ZEND_TYPE_FOREACH(fe_type, single_type) { in zend_is_intersection_subtype_of_class()
424 if (ZEND_TYPE_HAS_NAME(*single_type)) { in zend_is_intersection_subtype_of_class()
426 resolve_class_name(fe_scope, ZEND_TYPE_NAME(*single_type)); in zend_is_intersection_subtype_of_class()
475 zend_type *single_type; in zend_is_class_subtype_of_type() local
480 ZEND_TYPE_FOREACH(proto_type, single_type) { in zend_is_class_subtype_of_type()
481 if (ZEND_TYPE_IS_INTERSECTION(*single_type)) { in zend_is_class_subtype_of_type()
483 fe_scope, fe_class_name, proto_scope, *single_type); in zend_is_class_subtype_of_type()
505 if (ZEND_TYPE_HAS_NAME(*single_type)) { in zend_is_class_subtype_of_type()
507 resolve_class_name(proto_scope, ZEND_TYPE_NAME(*single_type)); in zend_is_class_subtype_of_type()
546 static zend_string *get_class_from_type(zend_class_entry *scope, zend_type single_type) { in get_class_from_type() argument
547 if (ZEND_TYPE_HAS_NAME(single_type)) { in get_class_from_type()
548 return resolve_class_name(scope, ZEND_TYPE_NAME(single_type)); in get_class_from_type()
554 zend_type *single_type; in register_unresolved_classes() local
555 ZEND_TYPE_FOREACH(type, single_type) { in register_unresolved_classes()
556 if (ZEND_TYPE_HAS_LIST(*single_type)) { in register_unresolved_classes()
557 register_unresolved_classes(scope, *single_type); in register_unresolved_classes()
560 if (ZEND_TYPE_HAS_NAME(*single_type)) { in register_unresolved_classes()
561 zend_string *class_name = resolve_class_name(scope, ZEND_TYPE_NAME(*single_type)); in register_unresolved_classes()
572 zend_type *single_type; in zend_is_intersection_subtype_of_type() local
580 ZEND_TYPE_FOREACH(fe_type, single_type) { in zend_is_intersection_subtype_of_type()
581 zend_string *fe_class_name = get_class_from_type(fe_scope, *single_type); in zend_is_intersection_subtype_of_type()
601 ZEND_TYPE_FOREACH(proto_type, single_type) { in zend_is_intersection_subtype_of_type()
604 if (ZEND_TYPE_IS_INTERSECTION(*single_type)) { in zend_is_intersection_subtype_of_type()
606 fe_scope, fe_type, proto_scope, *single_type); in zend_is_intersection_subtype_of_type()
608 zend_string *proto_class_name = get_class_from_type(proto_scope, *single_type); in zend_is_intersection_subtype_of_type()
668 zend_type *single_type; in zend_perform_covariant_type_check() local
690 ZEND_TYPE_FOREACH(fe_type, single_type) { in zend_perform_covariant_type_check()
693 if (ZEND_TYPE_IS_INTERSECTION(*single_type)) { in zend_perform_covariant_type_check()
695 fe_scope, *single_type, proto_scope, proto_type); in zend_perform_covariant_type_check()
697 zend_string *fe_class_name = get_class_from_type(fe_scope, *single_type); in zend_perform_covariant_type_check()