Lines Matching refs:old_ce
273 static void zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zen… in zend_hash_clone_methods() argument
331 static void zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce) in zend_hash_clone_prop_info() argument
394 zend_class_entry *old_ce = ce; in zend_class_copy_ctor() local
397 *pce = ce = ARENA_REALLOC(old_ce); in zend_class_copy_ctor()
400 if (old_ce->default_properties_table) { in zend_class_copy_ctor()
401 ce->default_properties_table = emalloc(sizeof(zval) * old_ce->default_properties_count); in zend_class_copy_ctor()
402 src = old_ce->default_properties_table; in zend_class_copy_ctor()
403 end = src + old_ce->default_properties_count; in zend_class_copy_ctor()
411 zend_hash_clone_methods(&ce->function_table, &old_ce->function_table, old_ce, ce); in zend_class_copy_ctor()
414 if (old_ce->default_static_members_table) { in zend_class_copy_ctor()
415 ce->default_static_members_table = emalloc(sizeof(zval) * old_ce->default_static_members_count); in zend_class_copy_ctor()
416 src = old_ce->default_static_members_table; in zend_class_copy_ctor()
417 end = src + old_ce->default_static_members_count; in zend_class_copy_ctor()
427 zend_hash_clone_prop_info(&ce->properties_info, &old_ce->properties_info, old_ce); in zend_class_copy_ctor()
430 zend_hash_clone_constants(&ce->constants_table, &old_ce->constants_table); in zend_class_copy_ctor()