Lines Matching refs:ce

667 		ZEND_ASSERT(prop->ce != NULL && prop->name != NULL);
668 if (!IS_SERIALIZED(prop->ce)) {
669 SERIALIZE_PTR(prop->ce);
692 ZEND_ASSERT(c->ce != NULL);
693 if (!IS_SERIALIZED(c->ce)) {
694 SERIALIZE_PTR(c->ce);
712 zend_class_entry *ce; local
715 ce = Z_PTR_P(zv);
716 UNSERIALIZE_PTR(ce);
718 SERIALIZE_STR(ce->name);
719 if (ce->parent) {
720 if (!(ce->ce_flags & ZEND_ACC_LINKED)) {
721 SERIALIZE_STR(ce->parent_name);
723 SERIALIZE_PTR(ce->parent);
726 …zend_file_cache_serialize_hash(&ce->function_table, script, info, buf, zend_file_cache_serialize_f…
727 if (ce->default_properties_table) {
730 SERIALIZE_PTR(ce->default_properties_table);
731 p = ce->default_properties_table;
733 end = p + ce->default_properties_count;
739 if (ce->default_static_members_table) {
742 SERIALIZE_PTR(ce->default_static_members_table);
743 p = ce->default_static_members_table;
746 end = p + ce->default_static_members_count;
752 …zend_file_cache_serialize_hash(&ce->constants_table, script, info, buf, zend_file_cache_serialize_…
753 SERIALIZE_STR(ce->info.user.filename);
754 SERIALIZE_STR(ce->doc_comment);
755 SERIALIZE_ATTRIBUTES(ce->attributes);
756 …zend_file_cache_serialize_hash(&ce->properties_info, script, info, buf, zend_file_cache_serialize_…
758 if (ce->properties_info_table) {
762 SERIALIZE_PTR(ce->properties_info_table);
763 table = ce->properties_info_table;
766 for (i = 0; i < ce->default_properties_count; i++) {
771 if (ce->num_interfaces) {
775 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_LINKED));
777 SERIALIZE_PTR(ce->interface_names);
778 interface_names = ce->interface_names;
781 for (i = 0; i < ce->num_interfaces; i++) {
787 if (ce->num_traits) {
791 SERIALIZE_PTR(ce->trait_names);
792 trait_names = ce->trait_names;
795 for (i = 0; i < ce->num_traits; i++) {
800 if (ce->trait_aliases) {
803 SERIALIZE_PTR(ce->trait_aliases);
804 p = ce->trait_aliases;
826 if (ce->trait_precedences) {
830 SERIALIZE_PTR(ce->trait_precedences);
831 p = ce->trait_precedences;
854 SERIALIZE_PTR(ce->constructor);
855 SERIALIZE_PTR(ce->destructor);
856 SERIALIZE_PTR(ce->clone);
857 SERIALIZE_PTR(ce->__get);
858 SERIALIZE_PTR(ce->__set);
859 SERIALIZE_PTR(ce->__call);
860 SERIALIZE_PTR(ce->__serialize);
861 SERIALIZE_PTR(ce->__unserialize);
862 SERIALIZE_PTR(ce->__isset);
863 SERIALIZE_PTR(ce->__unset);
864 SERIALIZE_PTR(ce->__tostring);
865 SERIALIZE_PTR(ce->__callstatic);
866 SERIALIZE_PTR(ce->__debugInfo);
868 if (ce->iterator_funcs_ptr) {
869 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_new_iterator);
870 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_rewind);
871 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_valid);
872 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_key);
873 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_current);
874 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_next);
875 SERIALIZE_PTR(ce->iterator_funcs_ptr);
878 if (ce->arrayaccess_funcs_ptr) {
879 SERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetget);
880 SERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetexists);
881 SERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetset);
882 SERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetunset);
883 SERIALIZE_PTR(ce->arrayaccess_funcs_ptr);
886 ZEND_MAP_PTR_INIT(ce->static_members_table, NULL);
887 ZEND_MAP_PTR_INIT(ce->mutable_data, NULL);
889 ce->inheritance_cache = NULL;
1507 ZEND_ASSERT(prop->ce != NULL && prop->name != NULL);
1508 if (!IS_UNSERIALIZED(prop->ce)) {
1509 UNSERIALIZE_PTR(prop->ce);
1515 zend_file_cache_unserialize_type(&prop->type, prop->ce, script, buf);
1530 ZEND_ASSERT(c->ce != NULL);
1531 if (!IS_UNSERIALIZED(c->ce)) {
1532 UNSERIALIZE_PTR(c->ce);
1540 zend_file_cache_unserialize_type(&c->type, c->ce, script, buf);
1549 zend_class_entry *ce; local
1552 ce = Z_PTR_P(zv);
1554 UNSERIALIZE_STR(ce->name);
1555 if (!(ce->ce_flags & ZEND_ACC_ANON_CLASS)) {
1557 zend_accel_get_class_name_map_ptr(ce->name);
1559 zend_alloc_ce_cache(ce->name);
1562 if (ce->parent) {
1563 if (!(ce->ce_flags & ZEND_ACC_LINKED)) {
1564 UNSERIALIZE_STR(ce->parent_name);
1566 UNSERIALIZE_PTR(ce->parent);
1569 zend_file_cache_unserialize_hash(&ce->function_table,
1571 if (ce->default_properties_table) {
1574 UNSERIALIZE_PTR(ce->default_properties_table);
1575 p = ce->default_properties_table;
1576 end = p + ce->default_properties_count;
1582 if (ce->default_static_members_table) {
1584 UNSERIALIZE_PTR(ce->default_static_members_table);
1585 p = ce->default_static_members_table;
1586 end = p + ce->default_static_members_count;
1592 zend_file_cache_unserialize_hash(&ce->constants_table,
1594 UNSERIALIZE_STR(ce->info.user.filename);
1595 UNSERIALIZE_STR(ce->doc_comment);
1596 UNSERIALIZE_ATTRIBUTES(ce->attributes);
1597 zend_file_cache_unserialize_hash(&ce->properties_info,
1600 if (ce->properties_info_table) {
1602 UNSERIALIZE_PTR(ce->properties_info_table);
1604 for (i = 0; i < ce->default_properties_count; i++) {
1605 UNSERIALIZE_PTR(ce->properties_info_table[i]);
1609 if (ce->num_interfaces) {
1612 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_LINKED));
1613 UNSERIALIZE_PTR(ce->interface_names);
1615 for (i = 0; i < ce->num_interfaces; i++) {
1616 UNSERIALIZE_STR(ce->interface_names[i].name);
1617 UNSERIALIZE_STR(ce->interface_names[i].lc_name);
1621 if (ce->num_traits) {
1624 UNSERIALIZE_PTR(ce->trait_names);
1626 for (i = 0; i < ce->num_traits; i++) {
1627 UNSERIALIZE_STR(ce->trait_names[i].name);
1628 UNSERIALIZE_STR(ce->trait_names[i].lc_name);
1631 if (ce->trait_aliases) {
1634 UNSERIALIZE_PTR(ce->trait_aliases);
1635 p = ce->trait_aliases;
1655 if (ce->trait_precedences) {
1659 UNSERIALIZE_PTR(ce->trait_precedences);
1660 p = ce->trait_precedences;
1681 UNSERIALIZE_PTR(ce->constructor);
1682 UNSERIALIZE_PTR(ce->destructor);
1683 UNSERIALIZE_PTR(ce->clone);
1684 UNSERIALIZE_PTR(ce->__get);
1685 UNSERIALIZE_PTR(ce->__set);
1686 UNSERIALIZE_PTR(ce->__call);
1687 UNSERIALIZE_PTR(ce->__serialize);
1688 UNSERIALIZE_PTR(ce->__unserialize);
1689 UNSERIALIZE_PTR(ce->__isset);
1690 UNSERIALIZE_PTR(ce->__unset);
1691 UNSERIALIZE_PTR(ce->__tostring);
1692 UNSERIALIZE_PTR(ce->__callstatic);
1693 UNSERIALIZE_PTR(ce->__debugInfo);
1695 if (ce->iterator_funcs_ptr) {
1696 UNSERIALIZE_PTR(ce->iterator_funcs_ptr);
1697 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_new_iterator);
1698 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_rewind);
1699 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_valid);
1700 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_key);
1701 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_current);
1702 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_next);
1704 if (ce->arrayaccess_funcs_ptr) {
1705 UNSERIALIZE_PTR(ce->arrayaccess_funcs_ptr);
1706 UNSERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetget);
1707 UNSERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetexists);
1708 UNSERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetset);
1709 UNSERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetunset);
1713 ce->ce_flags |= ZEND_ACC_IMMUTABLE;
1714 ce->ce_flags &= ~ZEND_ACC_FILE_CACHED;
1715 ZEND_MAP_PTR_NEW(ce->mutable_data);
1716 if (ce->default_static_members_count) {
1717 ZEND_MAP_PTR_NEW(ce->static_members_table);
1720 ce->ce_flags &= ~ZEND_ACC_IMMUTABLE;
1721 ce->ce_flags |= ZEND_ACC_FILE_CACHED;
1722 ZEND_MAP_PTR_INIT(ce->mutable_data, NULL);
1723 ZEND_MAP_PTR_INIT(ce->static_members_table, NULL);
1728ce->default_object_handlers = ce->ce_flags & ZEND_ACC_ENUM ? &zend_enum_object_handlers : &std_obj…