Lines Matching refs:old_obj

2182 	php_date_obj *old_obj = Z_PHPDATE_P(this_ptr);  in date_object_clone_date()  local
2183 php_date_obj *new_obj = php_date_obj_from_obj(date_object_new_date_ex(old_obj->std.ce, 0)); in date_object_clone_date()
2185 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_date()
2186 if (!old_obj->time) { in date_object_clone_date()
2192 *new_obj->time = *old_obj->time; in date_object_clone_date()
2193 if (old_obj->time->tz_abbr) { in date_object_clone_date()
2194 new_obj->time->tz_abbr = timelib_strdup(old_obj->time->tz_abbr); in date_object_clone_date()
2196 if (old_obj->time->tz_info) { in date_object_clone_date()
2197 new_obj->time->tz_info = old_obj->time->tz_info; in date_object_clone_date()
2313 php_timezone_obj *old_obj = Z_PHPTIMEZONE_P(this_ptr); in date_object_clone_timezone() local
2314 …php_timezone_obj *new_obj = php_timezone_obj_from_obj(date_object_new_timezone_ex(old_obj->std.ce,… in date_object_clone_timezone()
2316 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_timezone()
2317 if (!old_obj->initialized) { in date_object_clone_timezone()
2321 new_obj->type = old_obj->type; in date_object_clone_timezone()
2325 new_obj->tzi.tz = old_obj->tzi.tz; in date_object_clone_timezone()
2328 new_obj->tzi.utc_offset = old_obj->tzi.utc_offset; in date_object_clone_timezone()
2331 new_obj->tzi.z.utc_offset = old_obj->tzi.z.utc_offset; in date_object_clone_timezone()
2332 new_obj->tzi.z.dst = old_obj->tzi.z.dst; in date_object_clone_timezone()
2333 new_obj->tzi.z.abbr = timelib_strdup(old_obj->tzi.z.abbr); in date_object_clone_timezone()
2443 php_interval_obj *old_obj = Z_PHPINTERVAL_P(this_ptr); in date_object_clone_interval() local
2444 …php_interval_obj *new_obj = php_interval_obj_from_obj(date_object_new_interval_ex(old_obj->std.ce,… in date_object_clone_interval()
2446 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_interval()
2447 new_obj->initialized = old_obj->initialized; in date_object_clone_interval()
2448 if (old_obj->diff) { in date_object_clone_interval()
2449 new_obj->diff = timelib_rel_time_clone(old_obj->diff); in date_object_clone_interval()
2530 php_period_obj *old_obj = Z_PHPPERIOD_P(this_ptr); in date_object_clone_period() local
2531 php_period_obj *new_obj = php_period_obj_from_obj(date_object_new_period_ex(old_obj->std.ce, 0)); in date_object_clone_period()
2533 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_period()
2534 new_obj->initialized = old_obj->initialized; in date_object_clone_period()
2535 new_obj->recurrences = old_obj->recurrences; in date_object_clone_period()
2536 new_obj->include_start_date = old_obj->include_start_date; in date_object_clone_period()
2537 new_obj->start_ce = old_obj->start_ce; in date_object_clone_period()
2539 if (old_obj->start) { in date_object_clone_period()
2540 new_obj->start = timelib_time_clone(old_obj->start); in date_object_clone_period()
2542 if (old_obj->current) { in date_object_clone_period()
2543 new_obj->current = timelib_time_clone(old_obj->current); in date_object_clone_period()
2545 if (old_obj->end) { in date_object_clone_period()
2546 new_obj->end = timelib_time_clone(old_obj->end); in date_object_clone_period()
2548 if (old_obj->interval) { in date_object_clone_period()
2549 new_obj->interval = timelib_rel_time_clone(old_obj->interval); in date_object_clone_period()
2859 php_date_obj *old_obj = NULL; in PHP_METHOD() local
2866 old_obj = Z_PHPDATE_P(datetime_object); in PHP_METHOD()
2870 *new_obj->time = *old_obj->time; in PHP_METHOD()
2871 if (old_obj->time->tz_abbr) { in PHP_METHOD()
2872 new_obj->time->tz_abbr = timelib_strdup(old_obj->time->tz_abbr); in PHP_METHOD()
2874 if (old_obj->time->tz_info) { in PHP_METHOD()
2875 new_obj->time->tz_info = old_obj->time->tz_info; in PHP_METHOD()