Lines Matching refs:new_obj
2235 php_date_obj *new_obj = php_date_obj_from_obj(date_object_new_date(old_obj->std.ce)); in date_object_clone_date() local
2237 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_date()
2239 return &new_obj->std; in date_object_clone_date()
2243 new_obj->time = timelib_time_ctor(); in date_object_clone_date()
2244 *new_obj->time = *old_obj->time; in date_object_clone_date()
2246 new_obj->time->tz_abbr = timelib_strdup(old_obj->time->tz_abbr); in date_object_clone_date()
2249 new_obj->time->tz_info = old_obj->time->tz_info; in date_object_clone_date()
2252 return &new_obj->std; in date_object_clone_date()
2357 php_timezone_obj *new_obj = php_timezone_obj_from_obj(date_object_new_timezone(old_obj->std.ce)); in date_object_clone_timezone() local
2359 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_timezone()
2361 return &new_obj->std; in date_object_clone_timezone()
2364 new_obj->type = old_obj->type; in date_object_clone_timezone()
2365 new_obj->initialized = 1; in date_object_clone_timezone()
2366 switch (new_obj->type) { in date_object_clone_timezone()
2368 new_obj->tzi.tz = old_obj->tzi.tz; in date_object_clone_timezone()
2371 new_obj->tzi.utc_offset = old_obj->tzi.utc_offset; in date_object_clone_timezone()
2374 new_obj->tzi.z.utc_offset = old_obj->tzi.z.utc_offset; in date_object_clone_timezone()
2375 new_obj->tzi.z.dst = old_obj->tzi.z.dst; in date_object_clone_timezone()
2376 new_obj->tzi.z.abbr = timelib_strdup(old_obj->tzi.z.abbr); in date_object_clone_timezone()
2380 return &new_obj->std; in date_object_clone_timezone()
2465 php_interval_obj *new_obj = php_interval_obj_from_obj(date_object_new_interval(old_obj->std.ce)); in date_object_clone_interval() local
2467 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_interval()
2468 new_obj->initialized = old_obj->initialized; in date_object_clone_interval()
2470 new_obj->diff = timelib_rel_time_clone(old_obj->diff); in date_object_clone_interval()
2473 return &new_obj->std; in date_object_clone_interval()
2543 php_period_obj *new_obj = php_period_obj_from_obj(date_object_new_period(old_obj->std.ce)); in date_object_clone_period() local
2545 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_period()
2546 new_obj->initialized = old_obj->initialized; in date_object_clone_period()
2547 new_obj->recurrences = old_obj->recurrences; in date_object_clone_period()
2548 new_obj->include_start_date = old_obj->include_start_date; in date_object_clone_period()
2549 new_obj->start_ce = old_obj->start_ce; in date_object_clone_period()
2552 new_obj->start = timelib_time_clone(old_obj->start); in date_object_clone_period()
2555 new_obj->current = timelib_time_clone(old_obj->current); in date_object_clone_period()
2558 new_obj->end = timelib_time_clone(old_obj->end); in date_object_clone_period()
2561 new_obj->interval = timelib_rel_time_clone(old_obj->interval); in date_object_clone_period()
2563 return &new_obj->std; in date_object_clone_period()
2884 php_date_obj *new_obj = NULL; in PHP_METHOD() local
2893 new_obj = Z_PHPDATE_P(return_value); in PHP_METHOD()
2895 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()
2905 php_date_obj *new_obj = NULL; in PHP_METHOD() local
2914 new_obj = Z_PHPDATE_P(return_value); in PHP_METHOD()
2916 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()