/external/skia/tests/ |
D | SkPEGTest.cpp | 47 } gTests[] = { in test_EOS() local 54 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_EOS() 55 const auto match = EOS::Match(gTests[i].fInput); in test_EOS() 56 REPORTER_ASSERT(r, match == gTests[i].fMatch); in test_EOS() 57 REPORTER_ASSERT(r, match.fNext == (match ? gTests[i].fInput : nullptr)); in test_EOS() 65 } gTests[] = { in test_LIT() local 74 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_LIT() 75 const auto match = LIT<'X'>::Match(gTests[i].fInput); in test_LIT() 76 REPORTER_ASSERT(r, match == gTests[i].fMatch); in test_LIT() 77 REPORTER_ASSERT(r, match.fNext == (match ? gTests[i].fInput + 1 : nullptr)); in test_LIT() [all …]
|
D | PackBitsTest.cpp | 28 } gTests[] = { in test_pack8() local 36 for (size_t i = 4; i < SK_ARRAY_COUNT(gTests); i++) { in test_pack8() 38 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); in test_pack8() 39 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() 40 gTests[i].fCount, dst, maxSize - 1); in test_pack8() 42 dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() 43 gTests[i].fCount, dst, sizeof(dst)); in test_pack8() 46 int srcCount = SkPackBits::Unpack8(dst, dstSize, src, gTests[i].fCount - 1); in test_pack8() 49 bool match = gTests[i].fCount == srcCount && in test_pack8() 50 memcmp(gTests[i].fSrc, src, in test_pack8() [all …]
|
D | ParsePathTest.cpp | 97 } gTests[] = { in DEF_TEST() local 125 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in DEF_TEST() 126 REPORTER_ASSERT(r, SkParsePath::FromSVGString(gTests[i].fStr, &path)); in DEF_TEST() 127 REPORTER_ASSERT(r, path.countVerbs() == gTests[i].fVerbs); in DEF_TEST() 128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
|
D | GradientTest.cpp | 227 } gTests[] = { in TestGradientOptimization() local 251 for (size_t t = 0; t < SK_ARRAY_COUNT(gTests); ++t) { in TestGradientOptimization() 253 rec.fColorCount = gTests[t].fCount; in TestGradientOptimization() 254 rec.fColors = gTests[t].fCol; in TestGradientOptimization() 255 rec.fPos = gTests[t].fPos; in TestGradientOptimization() 261 if (!gTests[t].fRequiresNonClamp || mode != SkTileMode::kClamp) { in TestGradientOptimization() 262 expected.fColorCount = gTests[t].fExpectedCount; in TestGradientOptimization() 263 expected.fColors = gTests[t].fExpectedCol; in TestGradientOptimization() 264 expected.fPos = gTests[t].fExpectedPos; in TestGradientOptimization()
|
D | ExtendedSkColorTypeTests.cpp | 55 static const TestCase gTests[] = { variable 289 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in DEF_TEST() 290 raster_tests(reporter, gTests[i]); in DEF_TEST() 297 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 298 gpu_tests(context, reporter, gTests[i]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | DrawBitmapRectTest.cpp | 183 } gTests[] = { in test_giantrepeat_crbug118018() local 189 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_giantrepeat_crbug118018() 191 gTests[i].fWidth, gTests[i].fHeight); in test_giantrepeat_crbug118018()
|
D | JSONTest.cpp | 423 } gTests[] = { in DEF_TEST() local 445 for (const auto& test : gTests) { in DEF_TEST()
|
D | CodecAnimTest.cpp | 472 } gTests[] = { in DEF_TEST() local 479 for (const auto& test : gTests) { in DEF_TEST()
|
D | SVGDeviceTest.cpp | 420 } gTests[] = { in DEF_TEST() local 427 for (const auto& tst : gTests) { in DEF_TEST()
|
/external/skqp/tests/ |
D | SkPEGTest.cpp | 47 } gTests[] = { in test_EOS() local 54 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_EOS() 55 const auto match = EOS::Match(gTests[i].fInput); in test_EOS() 56 REPORTER_ASSERT(r, match == gTests[i].fMatch); in test_EOS() 57 REPORTER_ASSERT(r, match.fNext == (match ? gTests[i].fInput : nullptr)); in test_EOS() 65 } gTests[] = { in test_LIT() local 74 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_LIT() 75 const auto match = LIT<'X'>::Match(gTests[i].fInput); in test_LIT() 76 REPORTER_ASSERT(r, match == gTests[i].fMatch); in test_LIT() 77 REPORTER_ASSERT(r, match.fNext == (match ? gTests[i].fInput + 1 : nullptr)); in test_LIT() [all …]
|
D | PackBitsTest.cpp | 28 } gTests[] = { in test_pack8() local 36 for (size_t i = 4; i < SK_ARRAY_COUNT(gTests); i++) { in test_pack8() 38 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); in test_pack8() 39 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() 40 gTests[i].fCount, dst, maxSize - 1); in test_pack8() 42 dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() 43 gTests[i].fCount, dst, sizeof(dst)); in test_pack8() 46 int srcCount = SkPackBits::Unpack8(dst, dstSize, src, gTests[i].fCount - 1); in test_pack8() 49 bool match = gTests[i].fCount == srcCount && in test_pack8() 50 memcmp(gTests[i].fSrc, src, in test_pack8() [all …]
|
D | ParsePathTest.cpp | 97 } gTests[] = { in DEF_TEST() local 125 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in DEF_TEST() 126 REPORTER_ASSERT(r, SkParsePath::FromSVGString(gTests[i].fStr, &path)); in DEF_TEST() 127 REPORTER_ASSERT(r, path.countVerbs() == gTests[i].fVerbs); in DEF_TEST() 128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
|
D | GradientTest.cpp | 228 } gTests[] = { in TestGradientOptimization() local 252 for (size_t t = 0; t < SK_ARRAY_COUNT(gTests); ++t) { in TestGradientOptimization() 254 rec.fColorCount = gTests[t].fCount; in TestGradientOptimization() 255 rec.fColors = gTests[t].fCol; in TestGradientOptimization() 256 rec.fPos = gTests[t].fPos; in TestGradientOptimization() 262 if (!gTests[t].fRequiresNonClamp || mode != SkShader::kClamp_TileMode) { in TestGradientOptimization() 263 expected.fColorCount = gTests[t].fExpectedCount; in TestGradientOptimization() 264 expected.fColors = gTests[t].fExpectedCol; in TestGradientOptimization() 265 expected.fPos = gTests[t].fExpectedPos; in TestGradientOptimization()
|
D | DrawBitmapRectTest.cpp | 183 } gTests[] = { in test_giantrepeat_crbug118018() local 189 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_giantrepeat_crbug118018() 191 gTests[i].fWidth, gTests[i].fHeight); in test_giantrepeat_crbug118018()
|
D | JSONTest.cpp | 423 } gTests[] = { in DEF_TEST() local 445 for (const auto& test : gTests) { in DEF_TEST()
|
D | CodecAnimTest.cpp | 460 } gTests[] = { in DEF_TEST() local 467 for (const auto& test : gTests) { in DEF_TEST()
|
/external/skia/modules/skottie/gm/ |
D | ExternalProperties.cpp | 101 } gTests[] = { in update_props() local 107 SkASSERT(i - 1 < SK_ARRAY_COUNT(gTests)); in update_props() 108 const auto& tst = gTests[i - 1]; in update_props()
|
/external/skia/gm/ |
D | colorfilters.cpp | 118 } gTests[] = { in onDraw() local 132 for (const auto& tst: gTests) { in onDraw()
|
/external/autotest/server/site_tests/brillo_Gtests/ |
D | control.brillo_GtestsWhitelist | 12 This test runs all the whitelisted native gTests found on a Brillo DUT.
|
D | control | 13 This test runs all the native gTests found on a Brillo DUT.
|