Searched refs:point_cnt_old (Results 1 – 1 of 1) sorted by relevance
1748 uint32_t point_cnt_old = chart->point_cnt; in new_points_alloc() local1756 if(cnt >= point_cnt_old) { in new_points_alloc()1757 for(i = 0; i < point_cnt_old; i++) { in new_points_alloc()1759 (*a)[(i + ser->start_point) % point_cnt_old]; /*Copy old contents to new array*/ in new_points_alloc()1761 for(i = point_cnt_old; i < cnt; i++) { in new_points_alloc()1768 (*a)[(i + ser->start_point) % point_cnt_old]; /*Copy old contents to new array*/ in new_points_alloc()1781 if(cnt > point_cnt_old) { in new_points_alloc()1782 for(i = point_cnt_old - 1; i < cnt; i++) { in new_points_alloc()