Lines Matching refs:step
54 static double binary_search(const SkDCubic& cubic, double step, const SkDPoint& pt, double t, in binary_search() argument
56 double firstStep = step; in binary_search()
66 if (step == 0) { in binary_search()
74 double lastStep = step; in binary_search()
75 step /= 2; in binary_search()
82 t -= step; in binary_search()
92 t += step; in binary_search()
205 double step = 1e-6; in DEF_TEST() local
207 step = 1e-1; in DEF_TEST()
209 step = 1e-2; in DEF_TEST()
211 step = 1e-3; in DEF_TEST()
213 step = 1e-4; in DEF_TEST()
215 step = 1e-5; in DEF_TEST()
219 double newT = binary_search(cubic, step, pt, t, &iters); in DEF_TEST()
224 step *= 1.5; in DEF_TEST()
225 SK_ALWAYSBREAK(step < 1); in DEF_TEST()