Lines Matching refs:ce

442 		zend_class_entry *ce = ZEND_TYPE_CE(*type);  local
443 SERIALIZE_PTR(ce);
444 ZEND_TYPE_SET_PTR(*type, ce);
647 ZEND_ASSERT(prop->ce != NULL && prop->name != NULL);
648 if (!IS_SERIALIZED(prop->ce)) {
649 SERIALIZE_PTR(prop->ce);
672 ZEND_ASSERT(c->ce != NULL);
673 if (!IS_SERIALIZED(c->ce)) {
674 SERIALIZE_PTR(c->ce);
692 zend_class_entry *ce; local
695 ce = Z_PTR_P(zv);
696 UNSERIALIZE_PTR(ce);
698 SERIALIZE_STR(ce->name);
699 if (ce->parent) {
700 if (!(ce->ce_flags & ZEND_ACC_LINKED)) {
701 SERIALIZE_STR(ce->parent_name);
703 SERIALIZE_PTR(ce->parent);
706 …zend_file_cache_serialize_hash(&ce->function_table, script, info, buf, zend_file_cache_serialize_f…
707 if (ce->default_properties_table) {
710 SERIALIZE_PTR(ce->default_properties_table);
711 p = ce->default_properties_table;
713 end = p + ce->default_properties_count;
719 if (ce->default_static_members_table) {
722 SERIALIZE_PTR(ce->default_static_members_table);
723 p = ce->default_static_members_table;
726 end = p + ce->default_static_members_count;
732 …zend_file_cache_serialize_hash(&ce->constants_table, script, info, buf, zend_file_cache_serialize_…
733 SERIALIZE_STR(ce->info.user.filename);
734 SERIALIZE_STR(ce->info.user.doc_comment);
735 SERIALIZE_ATTRIBUTES(ce->attributes);
736 …zend_file_cache_serialize_hash(&ce->properties_info, script, info, buf, zend_file_cache_serialize_…
738 if (ce->properties_info_table) {
742 SERIALIZE_PTR(ce->properties_info_table);
743 table = ce->properties_info_table;
746 for (i = 0; i < ce->default_properties_count; i++) {
751 if (ce->num_interfaces) {
755 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_LINKED));
757 SERIALIZE_PTR(ce->interface_names);
758 interface_names = ce->interface_names;
761 for (i = 0; i < ce->num_interfaces; i++) {
767 if (ce->num_traits) {
771 SERIALIZE_PTR(ce->trait_names);
772 trait_names = ce->trait_names;
775 for (i = 0; i < ce->num_traits; i++) {
780 if (ce->trait_aliases) {
783 SERIALIZE_PTR(ce->trait_aliases);
784 p = ce->trait_aliases;
806 if (ce->trait_precedences) {
810 SERIALIZE_PTR(ce->trait_precedences);
811 p = ce->trait_precedences;
834 SERIALIZE_PTR(ce->constructor);
835 SERIALIZE_PTR(ce->destructor);
836 SERIALIZE_PTR(ce->clone);
837 SERIALIZE_PTR(ce->__get);
838 SERIALIZE_PTR(ce->__set);
839 SERIALIZE_PTR(ce->__call);
840 SERIALIZE_PTR(ce->__serialize);
841 SERIALIZE_PTR(ce->__unserialize);
842 SERIALIZE_PTR(ce->__isset);
843 SERIALIZE_PTR(ce->__unset);
844 SERIALIZE_PTR(ce->__tostring);
845 SERIALIZE_PTR(ce->__callstatic);
846 SERIALIZE_PTR(ce->__debugInfo);
848 if (ce->iterator_funcs_ptr) {
849 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_new_iterator);
850 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_rewind);
851 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_valid);
852 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_key);
853 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_current);
854 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_next);
855 SERIALIZE_PTR(ce->iterator_funcs_ptr);
858 ZEND_MAP_PTR_INIT(ce->static_members_table, &ce->default_static_members_table);
1215 zend_class_entry *ce = ZEND_TYPE_CE(*type); local
1216 UNSERIALIZE_PTR(ce);
1217 ZEND_TYPE_SET_PTR(*type, ce);
1415 ZEND_ASSERT(prop->ce != NULL && prop->name != NULL);
1416 if (!IS_UNSERIALIZED(prop->ce)) {
1417 UNSERIALIZE_PTR(prop->ce);
1438 ZEND_ASSERT(c->ce != NULL);
1439 if (!IS_UNSERIALIZED(c->ce)) {
1440 UNSERIALIZE_PTR(c->ce);
1456 zend_class_entry *ce; local
1459 ce = Z_PTR_P(zv);
1461 UNSERIALIZE_STR(ce->name);
1462 if (ce->parent) {
1463 if (!(ce->ce_flags & ZEND_ACC_LINKED)) {
1464 UNSERIALIZE_STR(ce->parent_name);
1466 UNSERIALIZE_PTR(ce->parent);
1469 zend_file_cache_unserialize_hash(&ce->function_table,
1471 if (ce->default_properties_table) {
1474 UNSERIALIZE_PTR(ce->default_properties_table);
1475 p = ce->default_properties_table;
1476 end = p + ce->default_properties_count;
1482 if (ce->default_static_members_table) {
1484 UNSERIALIZE_PTR(ce->default_static_members_table);
1485 p = ce->default_static_members_table;
1486 end = p + ce->default_static_members_count;
1492 zend_file_cache_unserialize_hash(&ce->constants_table,
1494 UNSERIALIZE_STR(ce->info.user.filename);
1495 UNSERIALIZE_STR(ce->info.user.doc_comment);
1496 UNSERIALIZE_ATTRIBUTES(ce->attributes);
1497 zend_file_cache_unserialize_hash(&ce->properties_info,
1500 if (ce->properties_info_table) {
1502 UNSERIALIZE_PTR(ce->properties_info_table);
1504 for (i = 0; i < ce->default_properties_count; i++) {
1505 UNSERIALIZE_PTR(ce->properties_info_table[i]);
1509 if (ce->num_interfaces) {
1512 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_LINKED));
1513 UNSERIALIZE_PTR(ce->interface_names);
1515 for (i = 0; i < ce->num_interfaces; i++) {
1516 UNSERIALIZE_STR(ce->interface_names[i].name);
1517 UNSERIALIZE_STR(ce->interface_names[i].lc_name);
1521 if (ce->num_traits) {
1524 UNSERIALIZE_PTR(ce->trait_names);
1526 for (i = 0; i < ce->num_traits; i++) {
1527 UNSERIALIZE_STR(ce->trait_names[i].name);
1528 UNSERIALIZE_STR(ce->trait_names[i].lc_name);
1531 if (ce->trait_aliases) {
1534 UNSERIALIZE_PTR(ce->trait_aliases);
1535 p = ce->trait_aliases;
1555 if (ce->trait_precedences) {
1559 UNSERIALIZE_PTR(ce->trait_precedences);
1560 p = ce->trait_precedences;
1581 UNSERIALIZE_PTR(ce->constructor);
1582 UNSERIALIZE_PTR(ce->destructor);
1583 UNSERIALIZE_PTR(ce->clone);
1584 UNSERIALIZE_PTR(ce->__get);
1585 UNSERIALIZE_PTR(ce->__set);
1586 UNSERIALIZE_PTR(ce->__call);
1587 UNSERIALIZE_PTR(ce->__serialize);
1588 UNSERIALIZE_PTR(ce->__unserialize);
1589 UNSERIALIZE_PTR(ce->__isset);
1590 UNSERIALIZE_PTR(ce->__unset);
1591 UNSERIALIZE_PTR(ce->__tostring);
1592 UNSERIALIZE_PTR(ce->__callstatic);
1593 UNSERIALIZE_PTR(ce->__debugInfo);
1595 if (UNEXPECTED((ce->ce_flags & ZEND_ACC_ANON_CLASS))) {
1596 ce->serialize = zend_class_serialize_deny;
1597 ce->unserialize = zend_class_unserialize_deny;
1600 if (ce->iterator_funcs_ptr) {
1601 UNSERIALIZE_PTR(ce->iterator_funcs_ptr);
1602 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_new_iterator);
1603 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_rewind);
1604 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_valid);
1605 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_key);
1606 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_current);
1607 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_next);
1610 if (ce->ce_flags & ZEND_ACC_IMMUTABLE && ce->default_static_members_table) {
1611 ZEND_MAP_PTR_NEW(ce->static_members_table);
1613 ZEND_MAP_PTR_INIT(ce->static_members_table, &ce->default_static_members_table);