Lines Matching refs:old_ce

449 static void zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zen…  argument
537 if (old_ce == new_entry->scope) {
561 static void zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, z… argument
649 if (prop_info->ce == old_ce) {
695 zend_class_entry *old_ce = ce; local
701 *ce = *old_ce;
704 if (old_ce->refcount != 1) {
706 accel_xlat_set(old_ce, ce);
710 if (old_ce->default_properties_table) {
713 ce->default_properties_table = emalloc(sizeof(zval*) * old_ce->default_properties_count);
714 for (i = 0; i < old_ce->default_properties_count; i++) {
715 if (old_ce->default_properties_table[i]) {
716 …ce->default_properties_table[i] = zend_clone_zval(old_ce->default_properties_table[i], 0 TSRMLS_CC…
723 zend_hash_clone_zval(&ce->default_properties, &old_ce->default_properties, 0);
726 zend_hash_clone_methods(&ce->function_table, &old_ce->function_table, old_ce, ce TSRMLS_CC);
730 if (old_ce->default_static_members_table) {
733 ce->default_static_members_table = emalloc(sizeof(zval*) * old_ce->default_static_members_count);
734 for (i = 0; i < old_ce->default_static_members_count; i++) {
735 if (old_ce->default_static_members_table[i]) {
736 …ce->default_static_members_table[i] = zend_clone_zval(old_ce->default_static_members_table[i], 1 T…
744 zend_hash_clone_zval(&ce->default_static_members, &old_ce->default_static_members, 1);
749 zend_hash_clone_prop_info(&ce->properties_info, &old_ce->properties_info, old_ce, ce TSRMLS_CC);
752 zend_hash_clone_zval(&ce->constants_table, &old_ce->constants_table, 0);