Lines Matching refs:single_type

1306 			zend_type *single_type;  in zend_mark_function_as_generator()  local
1307 ZEND_TYPE_FOREACH(return_type, single_type) { in zend_mark_function_as_generator()
1308 if (ZEND_TYPE_HAS_NAME(*single_type) in zend_mark_function_as_generator()
1309 && is_generator_compatible_class_type(ZEND_TYPE_NAME(*single_type))) { in zend_mark_function_as_generator()
6306 zend_type *single_type; in zend_type_contains_traversable() local
6307 ZEND_TYPE_FOREACH(type, single_type) { in zend_type_contains_traversable()
6308 if (ZEND_TYPE_HAS_NAME(*single_type) in zend_type_contains_traversable()
6309 && zend_string_equals_literal_ci(ZEND_TYPE_NAME(*single_type), "Traversable")) { in zend_type_contains_traversable()
6339 zend_type single_type = zend_compile_single_typename(type_ast); in zend_compile_typename() local
6340 uint32_t single_type_mask = ZEND_TYPE_PURE_MASK(single_type); in zend_compile_typename()
6353 ZEND_TYPE_FULL_MASK(type) |= ZEND_TYPE_PURE_MASK(single_type); in zend_compile_typename()
6354 ZEND_TYPE_FULL_MASK(single_type) &= ~_ZEND_TYPE_MAY_BE_MASK; in zend_compile_typename()
6356 if (ZEND_TYPE_IS_COMPLEX(single_type)) { in zend_compile_typename()
6359 ZEND_TYPE_SET_PTR(type, ZEND_TYPE_NAME(single_type)); in zend_compile_typename()
6370 type_list->types[type_list->num_types++] = single_type; in zend_compile_typename()
6375 ZEND_TYPE_NAME(type_list->types[i]), ZEND_TYPE_NAME(single_type))) { in zend_compile_typename()
6376 zend_string *single_type_str = zend_type_to_string(single_type); in zend_compile_typename()
6409 zend_type single_type = zend_compile_single_typename(type_ast); in zend_compile_typename() local
6412 if (ZEND_TYPE_IS_ONLY_MASK(single_type)) { in zend_compile_typename()
6413 zend_string *standard_type_str = zend_type_to_string(single_type); in zend_compile_typename()
6419 if (zend_string_equals_literal_ci(ZEND_TYPE_NAME(single_type), "self") in zend_compile_typename()
6420 || zend_string_equals_literal_ci(ZEND_TYPE_NAME(single_type), "parent")) { in zend_compile_typename()
6422 "Type %s cannot be part of an intersection type", ZSTR_VAL(ZEND_TYPE_NAME(single_type))); in zend_compile_typename()
6426 type_list->types[type_list->num_types++] = single_type; in zend_compile_typename()
6431 ZEND_TYPE_NAME(type_list->types[i]), ZEND_TYPE_NAME(single_type))) { in zend_compile_typename()
6432 zend_string *single_type_str = zend_type_to_string(single_type); in zend_compile_typename()