Home
last modified time | relevance | path

Searched refs:num_types (Results 1 – 10 of 10) sorted by relevance

/PHP-8.3/Zend/
H A Dzend_types.h141 uint32_t num_types; member
207 #define ZEND_TYPE_LIST_SIZE(num_types) \ argument
208 (sizeof(zend_type_list) + ((num_types) - 1) * sizeof(zend_type))
213 zend_type *_end = _list + (list)->num_types; \
228 _end = _cur + _list->num_types; \
H A Dzend_compile.c2550 return ZEND_TYPE_LIST(type)->num_types; in zend_type_get_num_classes()
6512 if (r_type_list->num_types < l_type_list->num_types) { in zend_are_intersection_types_redundant()
6533 if (sum == smaller_type_list->num_types) { in zend_are_intersection_types_redundant()
6543 if (smaller_type_list->num_types == larger_type_list->num_types) { in zend_are_intersection_types_redundant()
6606 type_list->num_types = 0; in zend_compile_typename_ex()
6619 type_list->num_types = 1; in zend_compile_typename_ex()
6675 if (type_list->num_types == 0) { in zend_compile_typename_ex()
6677 type_list->num_types = 1; in zend_compile_typename_ex()
6691 if (type_list->num_types) { in zend_compile_typename_ex()
6718 type_list->num_types = 0; in zend_compile_typename_ex()
[all …]
H A Dzend_API.c2982 size_t num_types = 1; in zend_register_functions() local
2985 num_types++; in zend_register_functions()
2989 if (num_types == 1) { in zend_register_functions()
2997 zend_type_list *list = malloc(ZEND_TYPE_LIST_SIZE(num_types)); in zend_register_functions()
2998 list->num_types = num_types; in zend_register_functions()
H A Dzend_inheritance.c71 size_t size = ZEND_TYPE_LIST_SIZE(old_list->num_types); in zend_type_list_copy_ctor()
/PHP-8.3/ext/zend_test/
H A Dtest_arginfo.h627 property_classUnionProp_type_list->num_types = 2; in register_class__ZendTestClass()
640 property_classIntersectionProp_type_list->num_types = 2; in register_class__ZendTestClass()
759 property_classUnionProp_type_list->num_types = 2; in register_class__ZendTestTrait()
H A Dtest.c1127 intersection_list->num_types = 2; in create_test_dnf_type()
1131 union_list->num_types = 2; in create_test_dnf_type()
/PHP-8.3/Zend/Optimizer/
H A Dcompact_literals.c68 return ZEND_TYPE_LIST(arg_info->type)->num_types; in type_num_classes()
76 count += ZEND_TYPE_LIST(*list_type)->num_types; in type_num_classes()
/PHP-8.3/ext/soap/
H A Dphp_sdl.c1546 int i, num_groups, num_types, num_elements, num_encoders, num_bindings, num_func; in get_sdl_from_cache() local
1603 WSDL_CACHE_GET_INT(num_types, &in); in get_sdl_from_cache()
1607 i = num_groups+num_types+num_elements; in get_sdl_from_cache()
1646 if (num_types > 0) { in get_sdl_from_cache()
1648 zend_hash_init(sdl->types, num_types, NULL, delete_type, 0); in get_sdl_from_cache()
1649 while (i < num_groups+num_types+1) { in get_sdl_from_cache()
1659 while (i < num_groups+num_types+num_elements+1) { in get_sdl_from_cache()
/PHP-8.3/ext/opcache/
H A Dzend_persist_calc.c186 ADD_SIZE(ZEND_TYPE_LIST_SIZE(ZEND_TYPE_LIST(*type)->num_types)); in zend_persist_type_calc()
H A Dzend_persist.c348 list = zend_shared_memdup_put(list, ZEND_TYPE_LIST_SIZE(list->num_types)); in zend_persist_type()
351 list = zend_shared_memdup_put_free(list, ZEND_TYPE_LIST_SIZE(list->num_types)); in zend_persist_type()

Completed in 89 milliseconds