Lines Matching refs:class_entry
583 zend_class_entry ce, *class_entry; in register_class__ZendTestInterface() local
586 class_entry = zend_register_internal_interface(&ce); in register_class__ZendTestInterface()
592 …zend_declare_class_constant_ex(class_entry, const_DUMMY_name, &const_DUMMY_value, ZEND_ACC_PUBLIC,… in register_class__ZendTestInterface()
595 return class_entry; in register_class__ZendTestInterface()
600 zend_class_entry ce, *class_entry; in register_class__ZendTestClass() local
604 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class__ZendTestClass()
606 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class__ZendTestClass()
608 zend_class_implements(class_entry, 1, class_entry__ZendTestInterface); in register_class__ZendTestClass()
609 zend_register_class_alias("_ZendTestClassAlias", class_entry); in register_class__ZendTestClass()
615 …zend_declare_typed_class_constant(class_entry, const_TYPED_CLASS_CONST1_name, &const_TYPED_CLASS_C… in register_class__ZendTestClass()
617 …zend_declare_class_constant_ex(class_entry, const_TYPED_CLASS_CONST1_name, &const_TYPED_CLASS_CONS… in register_class__ZendTestClass()
625 …zend_declare_typed_class_constant(class_entry, const_TYPED_CLASS_CONST2_name, &const_TYPED_CLASS_C… in register_class__ZendTestClass()
627 …zend_declare_class_constant_ex(class_entry, const_TYPED_CLASS_CONST2_name, &const_TYPED_CLASS_CONS… in register_class__ZendTestClass()
635 …zend_declare_typed_class_constant(class_entry, const_TYPED_CLASS_CONST3_name, &const_TYPED_CLASS_C… in register_class__ZendTestClass()
637 …zend_declare_class_constant_ex(class_entry, const_TYPED_CLASS_CONST3_name, &const_TYPED_CLASS_CONS… in register_class__ZendTestClass()
645 …zend_declare_typed_class_constant(class_entry, const_ZEND_TEST_DEPRECATED_name, &const_ZEND_TEST_D… in register_class__ZendTestClass()
647 …zend_declare_class_constant_ex(class_entry, const_ZEND_TEST_DEPRECATED_name, &const_ZEND_TEST_DEPR… in register_class__ZendTestClass()
655 …t *const_ZEND_TEST_DEPRECATED_ATTR = zend_declare_typed_class_constant(class_entry, const_ZEND_TES… in register_class__ZendTestClass()
657 …zend_class_constant *const_ZEND_TEST_DEPRECATED_ATTR = zend_declare_class_constant_ex(class_entry,… in register_class__ZendTestClass()
664 …zend_declare_typed_property(class_entry, property__StaticProp_name, &property__StaticProp_default_… in register_class__ZendTestClass()
670 …zend_declare_typed_property(class_entry, property_staticIntProp_name, &property_staticIntProp_defa… in register_class__ZendTestClass()
676 …zend_declare_typed_property(class_entry, property_intProp_name, &property_intProp_default_value, Z… in register_class__ZendTestClass()
683 …zend_declare_typed_property(class_entry, property_classProp_name, &property_classProp_default_valu… in register_class__ZendTestClass()
696 …zend_declare_typed_property(class_entry, property_classUnionProp_name, &property_classUnionProp_de… in register_class__ZendTestClass()
709 …zend_declare_typed_property(class_entry, property_classIntersectionProp_name, &property_classInter… in register_class__ZendTestClass()
716 …zend_declare_typed_property(class_entry, property_readonlyProp_name, &property_readonlyProp_defaul… in register_class__ZendTestClass()
718 …zend_declare_typed_property(class_entry, property_readonlyProp_name, &property_readonlyProp_defaul… in register_class__ZendTestClass()
724 …_const_ZEND_TEST_DEPRECATED_ATTR_0 = zend_add_class_constant_attribute(class_entry, const_ZEND_TES… in register_class__ZendTestClass()
732 return class_entry; in register_class__ZendTestClass()
737 zend_class_entry ce, *class_entry; in register_class__ZendTestMagicCall() local
741 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class__ZendTestMagicCall()
743 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class__ZendTestMagicCall()
746 return class_entry; in register_class__ZendTestMagicCall()
751 zend_class_entry ce, *class_entry; in register_class__ZendTestMagicCallForward() local
755 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class__ZendTestMagicCallForward()
757 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class__ZendTestMagicCallForward()
760 return class_entry; in register_class__ZendTestMagicCallForward()
765 zend_class_entry ce, *class_entry; in register_class__ZendTestChildClass() local
769 class_entry = zend_register_internal_class_with_flags(&ce, class_entry__ZendTestClass, 0); in register_class__ZendTestChildClass()
771 class_entry = zend_register_internal_class_ex(&ce, class_entry__ZendTestClass); in register_class__ZendTestChildClass()
774 return class_entry; in register_class__ZendTestChildClass()
779 zend_class_entry ce, *class_entry; in register_class_ZendAttributeTest() local
783 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_ZendAttributeTest()
785 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendAttributeTest()
791 …zend_class_constant *const_TEST_CONST = zend_declare_class_constant_ex(class_entry, const_TEST_CON… in register_class_ZendAttributeTest()
797 …zend_property_info *property_testProp = zend_declare_typed_property(class_entry, property_testProp… in register_class_ZendAttributeTest()
802 …zend_add_class_constant_attribute(class_entry, const_TEST_CONST, attribute_name_ZendTestRepeatable… in register_class_ZendAttributeTest()
806 …zend_add_class_constant_attribute(class_entry, const_TEST_CONST, attribute_name_ZendTestRepeatable… in register_class_ZendAttributeTest()
811 …zend_add_property_attribute(class_entry, property_testProp, attribute_name_ZendTestRepeatableAttri… in register_class_ZendAttributeTest()
815 …estPropertyAttribute_property_testProp_1 = zend_add_property_attribute(class_entry, property_testP… in register_class_ZendAttributeTest()
824 …zend_add_function_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "testmethod", siz… in register_class_ZendAttributeTest()
827 return class_entry; in register_class_ZendAttributeTest()
832 zend_class_entry ce, *class_entry; in register_class__ZendTestTrait() local
836 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_TRAIT); in register_class__ZendTestTrait()
838 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class__ZendTestTrait()
839 class_entry->ce_flags |= ZEND_ACC_TRAIT; in register_class__ZendTestTrait()
845 …zend_declare_typed_property(class_entry, property_testProp_name, &property_testProp_default_value,… in register_class__ZendTestTrait()
858 …zend_declare_typed_property(class_entry, property_classUnionProp_name, &property_classUnionProp_de… in register_class__ZendTestTrait()
861 return class_entry; in register_class__ZendTestTrait()
866 zend_class_entry ce, *class_entry; in register_class_ZendTestAttribute() local
870 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); in register_class_ZendTestAttribute()
872 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestAttribute()
873 class_entry->ce_flags |= ZEND_ACC_FINAL; in register_class_ZendTestAttribute()
877 …tribute_Attribute_class_ZendTestAttribute_0 = zend_add_class_attribute(class_entry, attribute_name… in register_class_ZendTestAttribute()
883 return class_entry; in register_class_ZendTestAttribute()
888 zend_class_entry ce, *class_entry; in register_class_ZendTestAttributeWithArguments() local
892 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); in register_class_ZendTestAttributeWithArguments()
894 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestAttributeWithArguments()
895 class_entry->ce_flags |= ZEND_ACC_FINAL; in register_class_ZendTestAttributeWithArguments()
902 …zend_declare_typed_property(class_entry, property_arg_name, &property_arg_default_value, ZEND_ACC_… in register_class_ZendTestAttributeWithArguments()
904 …zend_declare_typed_property(class_entry, property_arg_name, &property_arg_default_value, ZEND_ACC_… in register_class_ZendTestAttributeWithArguments()
909 …bute_class_ZendTestAttributeWithArguments_0 = zend_add_class_attribute(class_entry, attribute_name… in register_class_ZendTestAttributeWithArguments()
915 return class_entry; in register_class_ZendTestAttributeWithArguments()
920 zend_class_entry ce, *class_entry; in register_class_ZendTestRepeatableAttribute() local
924 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); in register_class_ZendTestRepeatableAttribute()
926 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestRepeatableAttribute()
927 class_entry->ce_flags |= ZEND_ACC_FINAL; in register_class_ZendTestRepeatableAttribute()
931 …tribute_class_ZendTestRepeatableAttribute_0 = zend_add_class_attribute(class_entry, attribute_name… in register_class_ZendTestRepeatableAttribute()
937 return class_entry; in register_class_ZendTestRepeatableAttribute()
942 zend_class_entry ce, *class_entry; in register_class_ZendTestParameterAttribute() local
946 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); in register_class_ZendTestParameterAttribute()
948 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestParameterAttribute()
949 class_entry->ce_flags |= ZEND_ACC_FINAL; in register_class_ZendTestParameterAttribute()
955 …zend_declare_typed_property(class_entry, property_parameter_name, &property_parameter_default_valu… in register_class_ZendTestParameterAttribute()
959 …ttribute_class_ZendTestParameterAttribute_0 = zend_add_class_attribute(class_entry, attribute_name… in register_class_ZendTestParameterAttribute()
965 return class_entry; in register_class_ZendTestParameterAttribute()
970 zend_class_entry ce, *class_entry; in register_class_ZendTestPropertyAttribute() local
974 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); in register_class_ZendTestPropertyAttribute()
976 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestPropertyAttribute()
977 class_entry->ce_flags |= ZEND_ACC_FINAL; in register_class_ZendTestPropertyAttribute()
980 …class_entry->doc_comment = zend_string_init_interned("/**\n * \"Lorem ipsum\"\n * @see htt… in register_class_ZendTestPropertyAttribute()
987 …zend_declare_typed_property(class_entry, property_parameter_name, &property_parameter_default_valu… in register_class_ZendTestPropertyAttribute()
991 …Attribute_class_ZendTestPropertyAttribute_0 = zend_add_class_attribute(class_entry, attribute_name… in register_class_ZendTestPropertyAttribute()
997 return class_entry; in register_class_ZendTestPropertyAttribute()
1002 zend_class_entry ce, *class_entry; in register_class_ZendTestClassWithMethodWithParameterAttribute() local
1006 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_ZendTestClassWithMethodWithParameterAttribute()
1008 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestClassWithMethodWithParameterAttribute()
1013 …override_arg0_0 = zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table… in register_class_ZendTestClassWithMethodWithParameterAttribute()
1021 …override_arg0_0 = zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table… in register_class_ZendTestClassWithMethodWithParameterAttribute()
1028 return class_entry; in register_class_ZendTestClassWithMethodWithParameterAttribute()
1033 zend_class_entry ce, *class_entry; in register_class_ZendTestChildClassWithMethodWithParameterAttribute() local
1037 …class_entry = zend_register_internal_class_with_flags(&ce, class_entry_ZendTestClassWithMethodWith… in register_class_ZendTestChildClassWithMethodWithParameterAttribute()
1039 …class_entry = zend_register_internal_class_ex(&ce, class_entry_ZendTestClassWithMethodWithParamete… in register_class_ZendTestChildClassWithMethodWithParameterAttribute()
1044 …override_arg0_0 = zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table… in register_class_ZendTestChildClassWithMethodWithParameterAttribute()
1051 return class_entry; in register_class_ZendTestChildClassWithMethodWithParameterAttribute()
1056 zend_class_entry ce, *class_entry; in register_class_ZendTestClassWithPropertyAttribute() local
1060 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_ZendTestClassWithPropertyAttribute()
1062 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestClassWithPropertyAttribute()
1068 …zend_property_info *property_attributed = zend_declare_typed_property(class_entry, property_attrib… in register_class_ZendTestClassWithPropertyAttribute()
1073 …zend_add_property_attribute(class_entry, property_attributed, attribute_name_ZendTestAttribute_pro… in register_class_ZendTestClassWithPropertyAttribute()
1076 return class_entry; in register_class_ZendTestClassWithPropertyAttribute()
1081 zend_class_entry ce, *class_entry; in register_class_ZendTestForbidDynamicCall() local
1085 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); in register_class_ZendTestForbidDynamicCall()
1087 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestForbidDynamicCall()
1088 class_entry->ce_flags |= ZEND_ACC_FINAL; in register_class_ZendTestForbidDynamicCall()
1091 return class_entry; in register_class_ZendTestForbidDynamicCall()
1097 zend_class_entry *class_entry = zend_register_internal_enum("ZendTestUnitEnum", IS_UNDEF, NULL); in register_class_ZendTestUnitEnum() local
1099 zend_enum_add_case_cstr(class_entry, "Foo", NULL); in register_class_ZendTestUnitEnum()
1101 zend_enum_add_case_cstr(class_entry, "Bar", NULL); in register_class_ZendTestUnitEnum()
1103 return class_entry; in register_class_ZendTestUnitEnum()
1110 zend_class_entry *class_entry = zend_register_internal_enum("ZendTestStringEnum", IS_STRING, NULL); in register_class_ZendTestStringEnum() local
1115 zend_enum_add_case_cstr(class_entry, "Foo", &enum_case_Foo_value); in register_class_ZendTestStringEnum()
1120 zend_enum_add_case_cstr(class_entry, "Bar", &enum_case_Bar_value); in register_class_ZendTestStringEnum()
1125 zend_enum_add_case_cstr(class_entry, "Baz", &enum_case_Baz_value); in register_class_ZendTestStringEnum()
1130 zend_enum_add_case_cstr(class_entry, "FortyTwo", &enum_case_FortyTwo_value); in register_class_ZendTestStringEnum()
1132 return class_entry; in register_class_ZendTestStringEnum()
1139 zend_class_entry *class_entry = zend_register_internal_enum("ZendTestIntEnum", IS_LONG, NULL); in register_class_ZendTestIntEnum() local
1143 zend_enum_add_case_cstr(class_entry, "Foo", &enum_case_Foo_value); in register_class_ZendTestIntEnum()
1147 zend_enum_add_case_cstr(class_entry, "Bar", &enum_case_Bar_value); in register_class_ZendTestIntEnum()
1151 zend_enum_add_case_cstr(class_entry, "Baz", &enum_case_Baz_value); in register_class_ZendTestIntEnum()
1153 return class_entry; in register_class_ZendTestIntEnum()
1159 zend_class_entry ce, *class_entry; in register_class_ZendTestNS_Foo() local
1163 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_ZendTestNS_Foo()
1165 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestNS_Foo()
1168 return class_entry; in register_class_ZendTestNS_Foo()
1173 zend_class_entry ce, *class_entry; in register_class_ZendTestNS_UnlikelyCompileError() local
1177 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_ZendTestNS_UnlikelyCompileError()
1179 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestNS_UnlikelyCompileError()
1182 return class_entry; in register_class_ZendTestNS_UnlikelyCompileError()
1187 zend_class_entry ce, *class_entry; in register_class_ZendTestNS_NotUnlikelyCompileError() local
1191 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_ZendTestNS_NotUnlikelyCompileError()
1193 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestNS_NotUnlikelyCompileError()
1196 return class_entry; in register_class_ZendTestNS_NotUnlikelyCompileError()
1201 zend_class_entry ce, *class_entry; in register_class_ZendTestNS2_Foo() local
1205 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_ZendTestNS2_Foo()
1207 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestNS2_Foo()
1214 …zend_declare_typed_property(class_entry, property_foo_name, &property_foo_default_value, ZEND_ACC_… in register_class_ZendTestNS2_Foo()
1217 return class_entry; in register_class_ZendTestNS2_Foo()
1222 zend_class_entry ce, *class_entry; in register_class_ZendTestNS2_ZendSubNS_Foo() local
1226 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_ZendTestNS2_ZendSubNS_Foo()
1228 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_ZendTestNS2_ZendSubNS_Foo()
1231 return class_entry; in register_class_ZendTestNS2_ZendSubNS_Foo()