Searched refs:gTests (Results 1 – 7 of 7) sorted by relevance
/external/skia/tests/ |
D | SkPEGTest.cpp | 46 } gTests[] = { in test_EOS() local 53 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_EOS() 54 const auto match = EOS::Match(gTests[i].fInput); in test_EOS() 55 REPORTER_ASSERT(r, match == gTests[i].fMatch); in test_EOS() 56 REPORTER_ASSERT(r, match.fNext == (match ? gTests[i].fInput : nullptr)); in test_EOS() 64 } gTests[] = { in test_LIT() local 73 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_LIT() 74 const auto match = LIT<'X'>::Match(gTests[i].fInput); in test_LIT() 75 REPORTER_ASSERT(r, match == gTests[i].fMatch); in test_LIT() 76 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 | DrawBitmapRectTest.cpp | 191 } gTests[] = { in test_giantrepeat_crbug118018() local 198 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_giantrepeat_crbug118018() 200 gTests[i].fWidth, gTests[i].fHeight, in test_giantrepeat_crbug118018() 201 gTests[i].fExpectedToDraw); in test_giantrepeat_crbug118018()
|
D | GradientTest.cpp | 228 } gTests[] = { in TestGradientOptimization() local 248 for (size_t t = 0; t < SK_ARRAY_COUNT(gTests); ++t) { in TestGradientOptimization() 250 rec.fColorCount = gTests[t].fCount; in TestGradientOptimization() 251 rec.fColors = gTests[t].fCol; in TestGradientOptimization() 252 rec.fPos = gTests[t].fPos; in TestGradientOptimization() 258 if (!gTests[t].fRequiresNonClamp || mode != SkShader::kClamp_TileMode) { in TestGradientOptimization() 259 expected.fColorCount = gTests[t].fExpectedCount; in TestGradientOptimization() 260 expected.fColors = gTests[t].fExpectedCol; in TestGradientOptimization() 261 expected.fPos = gTests[t].fExpectedPos; in TestGradientOptimization()
|
/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.
|