Lines Matching refs:mats
246 SkMatrix mats[2*SK_ARRAY_COUNT(baseMats)]; in test_matrix_min_max_scale() local
248 mats[i] = baseMats[i]; in test_matrix_min_max_scale()
249 bool invertible = mats[i].invert(&mats[i + SK_ARRAY_COUNT(baseMats)]); in test_matrix_min_max_scale()
257 int x = rand.nextU() % SK_ARRAY_COUNT(mats); in test_matrix_min_max_scale()
258 mat.postConcat(mats[x]); in test_matrix_min_max_scale()
710 SkMatrix mats[kMatrixCount]; in test_matrix_homogeneous() local
713 mats[i].set(j, rand.nextRangeF(-3000.f, 3000.f)); in test_matrix_homogeneous()
740 mats[i].mapHomogeneousPoints(&dst, &zeros, 1); in test_matrix_homogeneous()
747 mats[0].mapHomogeneousPoints(nullptr, nullptr, 0); in test_matrix_homogeneous()
799 mats[i].mapHomogeneousPoints(&dst, &randTriples[j], 1); in test_matrix_homogeneous()
800 REPORTER_ASSERT(reporter, naive_homogeneous_mapping(mats[i], randTriples[j], dst)); in test_matrix_homogeneous()