Lines Matching refs:SK_ARRAY_COUNT
44 uint32_t count = static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)); in test_matrix()
77 for (size_t i = 0; i < SK_ARRAY_COUNT(gMatrices); i++) { in TestMatrixPreservesRightAngles()
81 return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; in TestMatrixPreservesRightAngles()
103 for (size_t i = 0; i < SK_ARRAY_COUNT(gMatrices); i++) { in TestMatrixRectStaysRect()
107 return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; in TestMatrixRectStaysRect()
119 wrapModes[0] = kWrapModes[random->nextULessThan(SK_ARRAY_COUNT(kWrapModes))]; in TestWrapModes()
120 wrapModes[1] = kWrapModes[random->nextULessThan(SK_ARRAY_COUNT(kWrapModes))]; in TestWrapModes()
134 return gRects[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRects)))]; in TestRect()
146 return gRects[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRects)))]; in TestSquare()
160 for (size_t i = 0; i < SK_ARRAY_COUNT(gRRect); i++) { in TestRRectSimple()
164 return gRRect[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRRect)))]; in TestRRectSimple()
205 return gPath[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gPath)))]; in TestPath()
234 for (size_t i = 0; i < SK_ARRAY_COUNT(gPath); i++) { in TestPathConvex()
239 return gPath[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gPath)))]; in TestPathConvex()
318 return gColorSpaces[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gColorSpaces)))]; in TestColorSpace()
336 return gXforms[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gXforms)))]; in TestColorXform()