Home
last modified time | relevance | path

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

/php-src/scripts/gdb/
H A Dphp_gdb.py104 num_types = int(list['num_types'])
105 … types = list['types'].dereference().cast(gdb.lookup_type('zend_type').array(num_types))
106 for i in range(0, num_types):
/php-src/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.c2625 return ZEND_TYPE_LIST(type)->num_types; in zend_type_get_num_classes()
7025 if (r_type_list->num_types < l_type_list->num_types) { in zend_are_intersection_types_redundant()
7046 if (sum == smaller_type_list->num_types) { in zend_are_intersection_types_redundant()
7056 if (smaller_type_list->num_types == larger_type_list->num_types) { in zend_are_intersection_types_redundant()
7119 type_list->num_types = 0; in zend_compile_typename_ex()
7132 type_list->num_types = 1; in zend_compile_typename_ex()
7188 if (type_list->num_types == 0) { in zend_compile_typename_ex()
7190 type_list->num_types = 1; in zend_compile_typename_ex()
7204 if (type_list->num_types) { in zend_compile_typename_ex()
7231 type_list->num_types = 0; in zend_compile_typename_ex()
[all …]
H A Dzend_API.c3141 size_t num_types = 1; in zend_register_functions() local
3144 num_types++; in zend_register_functions()
3148 if (num_types == 1) { in zend_register_functions()
3156 zend_type_list *list = malloc(ZEND_TYPE_LIST_SIZE(num_types)); in zend_register_functions()
3157 list->num_types = num_types; in zend_register_functions()
H A Dzend_inheritance.c74 size_t size = ZEND_TYPE_LIST_SIZE(old_list->num_types); in zend_type_list_copy_ctor()
/php-src/ext/zend_test/
H A Dtest_arginfo.h692 property_classUnionProp_type_list->num_types = 2; in register_class__ZendTestClass()
705 property_classIntersectionProp_type_list->num_types = 2; in register_class__ZendTestClass()
854 property_classUnionProp_type_list->num_types = 2; in register_class__ZendTestTrait()
H A Dtest.c1176 intersection_list->num_types = 2; in create_test_dnf_type()
1180 union_list->num_types = 2; in create_test_dnf_type()
/php-src/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-src/ext/soap/
H A Dphp_sdl.c1511 int i, num_groups, num_types, num_elements, num_encoders, num_bindings, num_func; in get_sdl_from_cache() local
1568 WSDL_CACHE_GET_INT(num_types, &in); in get_sdl_from_cache()
1572 i = num_groups+num_types+num_elements; in get_sdl_from_cache()
1611 if (num_types > 0) { in get_sdl_from_cache()
1613 zend_hash_init(sdl->types, num_types, NULL, delete_type, 0); in get_sdl_from_cache()
1614 while (i < num_groups+num_types+1) { in get_sdl_from_cache()
1624 while (i < num_groups+num_types+num_elements+1) { in get_sdl_from_cache()
/php-src/ext/opcache/
H A Dzend_persist_calc.c189 ADD_SIZE(ZEND_TYPE_LIST_SIZE(ZEND_TYPE_LIST(*type)->num_types)); in zend_persist_type_calc()
H A Dzend_persist.c352 list = zend_shared_memdup_put(list, ZEND_TYPE_LIST_SIZE(list->num_types)); in zend_persist_type()
355 list = zend_shared_memdup_put_free(list, ZEND_TYPE_LIST_SIZE(list->num_types)); in zend_persist_type()

Completed in 99 milliseconds