HomeSort by relevance Sort by last modified time
    Searched refs:gTests (Results 1 - 5 of 5) sorted by null

  /external/skia/tests/
SkPEGTest.cpp 46 } gTests[] = {
53 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) {
54 const auto match = EOS::Match(gTests[i].fInput);
55 REPORTER_ASSERT(r, match == gTests[i].fMatch);
56 REPORTER_ASSERT(r, match.fNext == (match ? gTests[i].fInput : nullptr));
64 } gTests[] = {
73 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) {
74 const auto match = LIT<'X'>::Match(gTests[i].fInput);
75 REPORTER_ASSERT(r, match == gTests[i].fMatch);
76 REPORTER_ASSERT(r, match.fNext == (match ? gTests[i].fInput + 1 : nullptr))
    [all...]
PackBitsTest.cpp 28 } gTests[] = {
36 for (size_t i = 4; i < SK_ARRAY_COUNT(gTests); i++) {
38 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount);
39 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc,
40 gTests[i].fCount, dst, maxSize - 1);
42 dstSize = SkPackBits::Pack8(gTests[i].fSrc,
43 gTests[i].fCount, dst, sizeof(dst));
46 int srcCount = SkPackBits::Unpack8(dst, dstSize, src, gTests[i].fCount - 1);
49 bool match = gTests[i].fCount == srcCount &&
50 memcmp(gTests[i].fSrc, src
    [all...]
ParsePathTest.cpp 97 } gTests[] = {
125 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) {
126 REPORTER_ASSERT(r, SkParsePath::FromSVGString(gTests[i].fStr, &path));
127 REPORTER_ASSERT(r, path.countVerbs() == gTests[i].fVerbs);
128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints);
DrawBitmapRectTest.cpp 231 } gTests[] = {
238 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) {
240 gTests[i].fWidth, gTests[i].fHeight,
241 gTests[i].fExpectedToDraw);
GradientTest.cpp 230 } gTests[] = {
250 for (size_t t = 0; t < SK_ARRAY_COUNT(gTests); ++t) {
252 rec.fColorCount = gTests[t].fCount;
253 rec.fColors = gTests[t].fCol;
254 rec.fPos = gTests[t].fPos;
260 if (!gTests[t].fRequiresNonClamp || mode != SkShader::kClamp_TileMode) {
261 expected.fColorCount = gTests[t].fExpectedCount;
262 expected.fColors = gTests[t].fExpectedCol;
263 expected.fPos = gTests[t].fExpectedPos;

Completed in 212 milliseconds