Lines Matching refs:old_obj
2150 php_date_obj *old_obj = (php_date_obj *) zend_object_store_get_object(this_ptr TSRMLS_CC); in date_object_clone_date() local
2151 zend_object_value new_ov = date_object_new_date_ex(old_obj->std.ce, &new_obj TSRMLS_CC); in date_object_clone_date()
2153 …zend_objects_clone_members(&new_obj->std, new_ov, &old_obj->std, Z_OBJ_HANDLE_P(this_ptr) TSRMLS_C… in date_object_clone_date()
2154 if (!old_obj->time) { in date_object_clone_date()
2160 *new_obj->time = *old_obj->time; in date_object_clone_date()
2161 if (old_obj->time->tz_abbr) { in date_object_clone_date()
2162 new_obj->time->tz_abbr = strdup(old_obj->time->tz_abbr); in date_object_clone_date()
2164 if (old_obj->time->tz_info) { in date_object_clone_date()
2165 new_obj->time->tz_info = old_obj->time->tz_info; in date_object_clone_date()
2299 php_timezone_obj *old_obj = (php_timezone_obj *) zend_object_store_get_object(this_ptr TSRMLS_CC); in date_object_clone_timezone() local
2300 zend_object_value new_ov = date_object_new_timezone_ex(old_obj->std.ce, &new_obj TSRMLS_CC); in date_object_clone_timezone()
2302 …zend_objects_clone_members(&new_obj->std, new_ov, &old_obj->std, Z_OBJ_HANDLE_P(this_ptr) TSRMLS_C… in date_object_clone_timezone()
2303 if (!old_obj->initialized) { in date_object_clone_timezone()
2307 new_obj->type = old_obj->type; in date_object_clone_timezone()
2311 new_obj->tzi.tz = old_obj->tzi.tz; in date_object_clone_timezone()
2314 new_obj->tzi.utc_offset = old_obj->tzi.utc_offset; in date_object_clone_timezone()
2317 new_obj->tzi.z.utc_offset = old_obj->tzi.z.utc_offset; in date_object_clone_timezone()
2318 new_obj->tzi.z.dst = old_obj->tzi.z.dst; in date_object_clone_timezone()
2319 new_obj->tzi.z.abbr = strdup(old_obj->tzi.z.abbr); in date_object_clone_timezone()
2398 php_interval_obj *old_obj = (php_interval_obj *) zend_object_store_get_object(this_ptr TSRMLS_CC); in date_object_clone_interval() local
2399 zend_object_value new_ov = date_object_new_interval_ex(old_obj->std.ce, &new_obj TSRMLS_CC); in date_object_clone_interval()
2401 …zend_objects_clone_members(&new_obj->std, new_ov, &old_obj->std, Z_OBJ_HANDLE_P(this_ptr) TSRMLS_C… in date_object_clone_interval()
2487 php_period_obj *old_obj = (php_period_obj *) zend_object_store_get_object(this_ptr TSRMLS_CC); in date_object_clone_period() local
2488 zend_object_value new_ov = date_object_new_period_ex(old_obj->std.ce, &new_obj TSRMLS_CC); in date_object_clone_period()
2490 …zend_objects_clone_members(&new_obj->std, new_ov, &old_obj->std, Z_OBJ_HANDLE_P(this_ptr) TSRMLS_C… in date_object_clone_period()
2787 php_date_obj *old_obj = NULL; in PHP_METHOD() local
2794 old_obj = (php_date_obj *) zend_object_store_get_object(datetime_object TSRMLS_CC); in PHP_METHOD()
2798 *new_obj->time = *old_obj->time; in PHP_METHOD()
2799 if (old_obj->time->tz_abbr) { in PHP_METHOD()
2800 new_obj->time->tz_abbr = strdup(old_obj->time->tz_abbr); in PHP_METHOD()
2802 if (old_obj->time->tz_info) { in PHP_METHOD()
2803 new_obj->time->tz_info = old_obj->time->tz_info; in PHP_METHOD()