Lines Matching refs:new_obj

2237 	php_date_obj *new_obj = php_date_obj_from_obj(date_object_new_date(old_obj->std.ce));  in date_object_clone_date()  local
2239 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_date()
2241 return &new_obj->std; in date_object_clone_date()
2245 new_obj->time = timelib_time_ctor(); in date_object_clone_date()
2246 *new_obj->time = *old_obj->time; in date_object_clone_date()
2248 new_obj->time->tz_abbr = timelib_strdup(old_obj->time->tz_abbr); in date_object_clone_date()
2251 new_obj->time->tz_info = old_obj->time->tz_info; in date_object_clone_date()
2254 return &new_obj->std; in date_object_clone_date()
2367 php_timezone_obj *new_obj = php_timezone_obj_from_obj(date_object_new_timezone(old_obj->std.ce)); in date_object_clone_timezone() local
2369 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_timezone()
2371 return &new_obj->std; in date_object_clone_timezone()
2374 new_obj->type = old_obj->type; in date_object_clone_timezone()
2375 new_obj->initialized = 1; in date_object_clone_timezone()
2376 switch (new_obj->type) { in date_object_clone_timezone()
2378 new_obj->tzi.tz = old_obj->tzi.tz; in date_object_clone_timezone()
2381 new_obj->tzi.utc_offset = old_obj->tzi.utc_offset; in date_object_clone_timezone()
2384 new_obj->tzi.z.utc_offset = old_obj->tzi.z.utc_offset; in date_object_clone_timezone()
2385 new_obj->tzi.z.dst = old_obj->tzi.z.dst; in date_object_clone_timezone()
2386 new_obj->tzi.z.abbr = timelib_strdup(old_obj->tzi.z.abbr); in date_object_clone_timezone()
2390 return &new_obj->std; in date_object_clone_timezone()
2512 php_interval_obj *new_obj = php_interval_obj_from_obj(date_object_new_interval(old_obj->std.ce)); in date_object_clone_interval() local
2514 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_interval()
2515 new_obj->initialized = old_obj->initialized; in date_object_clone_interval()
2517 new_obj->diff = timelib_rel_time_clone(old_obj->diff); in date_object_clone_interval()
2520 return &new_obj->std; in date_object_clone_interval()
2588 php_period_obj *new_obj = php_period_obj_from_obj(date_object_new_period(old_obj->std.ce)); in date_object_clone_period() local
2590 zend_objects_clone_members(&new_obj->std, &old_obj->std); in date_object_clone_period()
2591 new_obj->initialized = old_obj->initialized; in date_object_clone_period()
2592 new_obj->recurrences = old_obj->recurrences; in date_object_clone_period()
2593 new_obj->include_start_date = old_obj->include_start_date; in date_object_clone_period()
2594 new_obj->start_ce = old_obj->start_ce; in date_object_clone_period()
2597 new_obj->start = timelib_time_clone(old_obj->start); in date_object_clone_period()
2600 new_obj->current = timelib_time_clone(old_obj->current); in date_object_clone_period()
2603 new_obj->end = timelib_time_clone(old_obj->end); in date_object_clone_period()
2606 new_obj->interval = timelib_rel_time_clone(old_obj->interval); in date_object_clone_period()
2608 return &new_obj->std; in date_object_clone_period()
2929 php_date_obj *new_obj = NULL; in PHP_METHOD() local
2938 new_obj = Z_PHPDATE_P(return_value); in PHP_METHOD()
2940 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()
2950 php_date_obj *new_obj = NULL; in PHP_METHOD() local
2959 new_obj = Z_PHPDATE_P(return_value); in PHP_METHOD()
2961 new_obj->time = timelib_time_clone(old_obj->time); in PHP_METHOD()