Searched refs:point_cnt_old (Results 1 – 1 of 1) sorted by relevance
1751 uint32_t point_cnt_old = chart->point_cnt; in new_points_alloc() local1759 if(cnt >= point_cnt_old) { in new_points_alloc()1760 for(i = 0; i < point_cnt_old; i++) { in new_points_alloc()1762 (*a)[(i + ser->start_point) % point_cnt_old]; /*Copy old contents to new array*/ in new_points_alloc()1764 for(i = point_cnt_old; i < cnt; i++) { in new_points_alloc()1771 (*a)[(i + ser->start_point) % point_cnt_old]; /*Copy old contents to new array*/ in new_points_alloc()1784 if(cnt > point_cnt_old) { in new_points_alloc()1785 for(i = point_cnt_old - 1; i < cnt; i++) { in new_points_alloc()