Lines Matching refs:fx
28 static int classify_value(SkFixed fx, int v0, int v1) {
29 if (fx <= 0) {
32 if (fx >= 0xFFFF) {
43 SkFixed fx, SkFixed dx, int count) {
48 fx = range.fFx1;
50 R_ASSERT(fx >= 0 && fx <= 0xFFFF);
51 fx += dx;
55 int v = classify_value(fx, V0, V1);
57 fx += dx;
59 if (range.fCount1 > 0 && fx != range.fFx1) {
60 SkDebugf("%x %x\n", fx, range.fFx1);
65 R_ASSERT(fx >= 0 && fx <= 0xFFFF);
66 fx += dx;
69 int v = classify_value(fx, V0, V1);
71 fx += dx;
76 static void test_range(SkFixed fx, SkFixed dx, int count) {
78 range.init(fx, dx, count, V0, V1);
79 slow_check(range, fx, dx, count);
107 SkFixed fx = rand.nextS() >> 1;
110 SkFixed dx = (sx - fx) / count;
111 test_range(fx, dx, count);
116 SkFixed fx = rand.nextS();
119 test_range(fx, dx, count);