Lines Matching defs:points
733 * the format of the following lines with data points.
736 * 2 or more lines representing points in the curve,
741 * Data points does not need to be ordered or equal to the number
876 struct point points[ED_MAX_SAMPLES_NO];
953 points[points_no].delay = atof(name);
954 points[points_no].prob = atof(arg);
956 points[points_no].delay = atof(arg);
957 points[points_no].prob = atof(name);
959 if (points[points_no].prob > 1.0)
979 /* make sure that there are enough points. */
984 qsort(points, points_no, sizeof(struct point), compare_points);
988 double y1 = points[i].prob * samples;
989 double x1 = points[i].delay;
990 double y2 = points[i+1].prob * samples;
991 double x2 = points[i+1].delay;