Lines Matching refs:ce

666 		ZEND_ASSERT(prop->ce != NULL && prop->name != NULL);
667 if (!IS_SERIALIZED(prop->ce)) {
668 SERIALIZE_PTR(prop->ce);
691 ZEND_ASSERT(c->ce != NULL);
692 if (!IS_SERIALIZED(c->ce)) {
693 SERIALIZE_PTR(c->ce);
711 zend_class_entry *ce; local
714 ce = Z_PTR_P(zv);
715 UNSERIALIZE_PTR(ce);
717 SERIALIZE_STR(ce->name);
718 if (ce->parent) {
719 if (!(ce->ce_flags & ZEND_ACC_LINKED)) {
720 SERIALIZE_STR(ce->parent_name);
722 SERIALIZE_PTR(ce->parent);
725 …zend_file_cache_serialize_hash(&ce->function_table, script, info, buf, zend_file_cache_serialize_f…
726 if (ce->default_properties_table) {
729 SERIALIZE_PTR(ce->default_properties_table);
730 p = ce->default_properties_table;
732 end = p + ce->default_properties_count;
738 if (ce->default_static_members_table) {
741 SERIALIZE_PTR(ce->default_static_members_table);
742 p = ce->default_static_members_table;
745 end = p + ce->default_static_members_count;
751 …zend_file_cache_serialize_hash(&ce->constants_table, script, info, buf, zend_file_cache_serialize_…
752 SERIALIZE_STR(ce->info.user.filename);
753 SERIALIZE_STR(ce->info.user.doc_comment);
754 SERIALIZE_ATTRIBUTES(ce->attributes);
755 …zend_file_cache_serialize_hash(&ce->properties_info, script, info, buf, zend_file_cache_serialize_…
757 if (ce->properties_info_table) {
761 SERIALIZE_PTR(ce->properties_info_table);
762 table = ce->properties_info_table;
765 for (i = 0; i < ce->default_properties_count; i++) {
770 if (ce->num_interfaces) {
774 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_LINKED));
776 SERIALIZE_PTR(ce->interface_names);
777 interface_names = ce->interface_names;
780 for (i = 0; i < ce->num_interfaces; i++) {
786 if (ce->num_traits) {
790 SERIALIZE_PTR(ce->trait_names);
791 trait_names = ce->trait_names;
794 for (i = 0; i < ce->num_traits; i++) {
799 if (ce->trait_aliases) {
802 SERIALIZE_PTR(ce->trait_aliases);
803 p = ce->trait_aliases;
825 if (ce->trait_precedences) {
829 SERIALIZE_PTR(ce->trait_precedences);
830 p = ce->trait_precedences;
853 SERIALIZE_PTR(ce->constructor);
854 SERIALIZE_PTR(ce->destructor);
855 SERIALIZE_PTR(ce->clone);
856 SERIALIZE_PTR(ce->__get);
857 SERIALIZE_PTR(ce->__set);
858 SERIALIZE_PTR(ce->__call);
859 SERIALIZE_PTR(ce->__serialize);
860 SERIALIZE_PTR(ce->__unserialize);
861 SERIALIZE_PTR(ce->__isset);
862 SERIALIZE_PTR(ce->__unset);
863 SERIALIZE_PTR(ce->__tostring);
864 SERIALIZE_PTR(ce->__callstatic);
865 SERIALIZE_PTR(ce->__debugInfo);
867 if (ce->iterator_funcs_ptr) {
868 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_new_iterator);
869 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_rewind);
870 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_valid);
871 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_key);
872 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_current);
873 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_next);
874 SERIALIZE_PTR(ce->iterator_funcs_ptr);
877 if (ce->arrayaccess_funcs_ptr) {
878 SERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetget);
879 SERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetexists);
880 SERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetset);
881 SERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetunset);
882 SERIALIZE_PTR(ce->arrayaccess_funcs_ptr);
885 ZEND_MAP_PTR_INIT(ce->static_members_table, NULL);
886 ZEND_MAP_PTR_INIT(ce->mutable_data, NULL);
888 ce->inheritance_cache = NULL;
1505 ZEND_ASSERT(prop->ce != NULL && prop->name != NULL);
1506 if (!IS_UNSERIALIZED(prop->ce)) {
1507 UNSERIALIZE_PTR(prop->ce);
1513 zend_file_cache_unserialize_type(&prop->type, prop->ce, script, buf);
1528 ZEND_ASSERT(c->ce != NULL);
1529 if (!IS_UNSERIALIZED(c->ce)) {
1530 UNSERIALIZE_PTR(c->ce);
1538 zend_file_cache_unserialize_type(&c->type, c->ce, script, buf);
1547 zend_class_entry *ce; local
1550 ce = Z_PTR_P(zv);
1552 UNSERIALIZE_STR(ce->name);
1553 if (!(ce->ce_flags & ZEND_ACC_ANON_CLASS)) {
1555 zend_accel_get_class_name_map_ptr(ce->name);
1557 zend_alloc_ce_cache(ce->name);
1560 if (ce->parent) {
1561 if (!(ce->ce_flags & ZEND_ACC_LINKED)) {
1562 UNSERIALIZE_STR(ce->parent_name);
1564 UNSERIALIZE_PTR(ce->parent);
1567 zend_file_cache_unserialize_hash(&ce->function_table,
1569 if (ce->default_properties_table) {
1572 UNSERIALIZE_PTR(ce->default_properties_table);
1573 p = ce->default_properties_table;
1574 end = p + ce->default_properties_count;
1580 if (ce->default_static_members_table) {
1582 UNSERIALIZE_PTR(ce->default_static_members_table);
1583 p = ce->default_static_members_table;
1584 end = p + ce->default_static_members_count;
1590 zend_file_cache_unserialize_hash(&ce->constants_table,
1592 UNSERIALIZE_STR(ce->info.user.filename);
1593 UNSERIALIZE_STR(ce->info.user.doc_comment);
1594 UNSERIALIZE_ATTRIBUTES(ce->attributes);
1595 zend_file_cache_unserialize_hash(&ce->properties_info,
1598 if (ce->properties_info_table) {
1600 UNSERIALIZE_PTR(ce->properties_info_table);
1602 for (i = 0; i < ce->default_properties_count; i++) {
1603 UNSERIALIZE_PTR(ce->properties_info_table[i]);
1607 if (ce->num_interfaces) {
1610 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_LINKED));
1611 UNSERIALIZE_PTR(ce->interface_names);
1613 for (i = 0; i < ce->num_interfaces; i++) {
1614 UNSERIALIZE_STR(ce->interface_names[i].name);
1615 UNSERIALIZE_STR(ce->interface_names[i].lc_name);
1619 if (ce->num_traits) {
1622 UNSERIALIZE_PTR(ce->trait_names);
1624 for (i = 0; i < ce->num_traits; i++) {
1625 UNSERIALIZE_STR(ce->trait_names[i].name);
1626 UNSERIALIZE_STR(ce->trait_names[i].lc_name);
1629 if (ce->trait_aliases) {
1632 UNSERIALIZE_PTR(ce->trait_aliases);
1633 p = ce->trait_aliases;
1653 if (ce->trait_precedences) {
1657 UNSERIALIZE_PTR(ce->trait_precedences);
1658 p = ce->trait_precedences;
1679 UNSERIALIZE_PTR(ce->constructor);
1680 UNSERIALIZE_PTR(ce->destructor);
1681 UNSERIALIZE_PTR(ce->clone);
1682 UNSERIALIZE_PTR(ce->__get);
1683 UNSERIALIZE_PTR(ce->__set);
1684 UNSERIALIZE_PTR(ce->__call);
1685 UNSERIALIZE_PTR(ce->__serialize);
1686 UNSERIALIZE_PTR(ce->__unserialize);
1687 UNSERIALIZE_PTR(ce->__isset);
1688 UNSERIALIZE_PTR(ce->__unset);
1689 UNSERIALIZE_PTR(ce->__tostring);
1690 UNSERIALIZE_PTR(ce->__callstatic);
1691 UNSERIALIZE_PTR(ce->__debugInfo);
1693 if (ce->iterator_funcs_ptr) {
1694 UNSERIALIZE_PTR(ce->iterator_funcs_ptr);
1695 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_new_iterator);
1696 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_rewind);
1697 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_valid);
1698 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_key);
1699 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_current);
1700 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_next);
1702 if (ce->arrayaccess_funcs_ptr) {
1703 UNSERIALIZE_PTR(ce->arrayaccess_funcs_ptr);
1704 UNSERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetget);
1705 UNSERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetexists);
1706 UNSERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetset);
1707 UNSERIALIZE_PTR(ce->arrayaccess_funcs_ptr->zf_offsetunset);
1711 ce->ce_flags |= ZEND_ACC_IMMUTABLE;
1712 ce->ce_flags &= ~ZEND_ACC_FILE_CACHED;
1713 ZEND_MAP_PTR_NEW(ce->mutable_data);
1714 if (ce->default_static_members_count) {
1715 ZEND_MAP_PTR_NEW(ce->static_members_table);
1718 ce->ce_flags &= ~ZEND_ACC_IMMUTABLE;
1719 ce->ce_flags |= ZEND_ACC_FILE_CACHED;
1720 ZEND_MAP_PTR_INIT(ce->mutable_data, NULL);
1721 ZEND_MAP_PTR_INIT(ce->static_members_table, NULL);
1726ce->default_object_handlers = ce->ce_flags & ZEND_ACC_ENUM ? &zend_enum_object_handlers : &std_obj…