/external/skqp/tests/ |
D | PathOpsThreadedCommon.h | 34 skiatest::Reporter* fReporter; member 43 PathOpsThreadedTestRunner(skiatest::Reporter* reporter) : fReporter(reporter) {} in PathOpsThreadedTestRunner() 51 skiatest::Reporter* fReporter; variable 62 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable() 70 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable() 79 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
|
D | BlitMaskClip.cpp | 21 , fReporter(reporter) { } in TestBlitter() 25 REPORTER_ASSERT(fReporter, x >= fBounds.fLeft && x < fBounds.fRight); in blitH() 26 REPORTER_ASSERT(fReporter, y >= fBounds.fTop && y < fBounds.fBottom); in blitH() 28 REPORTER_ASSERT(fReporter, right > fBounds.fLeft && right <= fBounds.fRight); in blitH() 37 skiatest::Reporter* fReporter; member in TestBlitter
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 80 REPORTER_ASSERT(state.fReporter, data); in testQuadLineIntersectMain() 106 testLineIntersect(state.fReporter, quad, line, x, y); in testQuadLineIntersectMain() 107 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain() 109 testLineIntersect(state.fReporter, quad, line2, x, y); in testQuadLineIntersectMain() 110 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain() 112 testLineIntersect(state.fReporter, quad, line3, x, y); in testQuadLineIntersectMain() 113 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain()
|
D | PathOpsSimplifyRectThreadedTest.cpp | 68 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain() 99 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain() 130 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain() 161 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain() 170 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain() 174 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
|
D | PathOpsOpRectThreadedTest.cpp | 48 if (state.fReporter->verbose()) { in testPathOpsRectsMain() 74 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsRectsMain() 75 if (state.fReporter->verbose()) { in testPathOpsRectsMain() 116 int step = data->fReporter->allowExtendedTest() ? 2 : 5; in testPathOpsFastMain() 138 if (state.fReporter->verbose()) { in testPathOpsFastMain() 160 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsFastMain() 161 if (state.fReporter->verbose()) { in testPathOpsFastMain()
|
D | LazyProxyTest.cpp | 33 : fReporter(reporter) in LazyProxyTest() 39 REPORTER_ASSERT(fReporter, fHasOpTexture); in ~LazyProxyTest() 40 REPORTER_ASSERT(fReporter, fHasClipTexture); in ~LazyProxyTest() 45 REPORTER_ASSERT(fReporter, !fHasOpTexture); in preFlush() 46 REPORTER_ASSERT(fReporter, !fHasClipTexture); in preFlush() 50 REPORTER_ASSERT(fReporter, fHasOpTexture); in postFlush() 51 REPORTER_ASSERT(fReporter, fHasClipTexture); in postFlush() 72 REPORTER_ASSERT(fTest->fReporter, fTest->fHasOpTexture); in onExecute() 73 REPORTER_ASSERT(fTest->fReporter, fTest->fHasClipTexture); in onExecute() 88 REPORTER_ASSERT(fTest->fReporter, !fTest->fHasOpTexture); in Op() [all …]
|
D | CachedDecodingPixelRefTest.cpp | 39 : INHERITED(GetMyInfo(colorType)), fType(type), fReporter(reporter) { in TestImageGenerator() 52 REPORTER_ASSERT(fReporter, pixels != nullptr); in onGetPixels() 53 REPORTER_ASSERT(fReporter, rowBytes >= info.minRowBytes()); in onGetPixels() 84 skiatest::Reporter* const fReporter; member in TestImageGenerator
|
D | PathOpsTightBoundsTest.cpp | 31 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsLines() 32 REPORTER_ASSERT(data->fReporter, classicBounds == tightBounds); in testTightBoundsLines() 81 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsQuads() 82 REPORTER_ASSERT(data->fReporter, classicBounds.contains(tightBounds)); in testTightBoundsQuads() 106 REPORTER_ASSERT(data->fReporter, tightOut.contains(bitsWritten)); in testTightBoundsQuads()
|
D | PathOpsOpCircleThreadedTest.cpp | 35 if (state.fReporter->verbose()) { in testOpCirclesMain() 56 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCirclesMain() 57 if (state.fReporter->verbose()) { in testOpCirclesMain()
|
D | PathOpsOpCubicThreadedTest.cpp | 42 if (state.fReporter->verbose()) { in testOpCubicsMain() 67 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCubicsMain() 68 if (state.fReporter->verbose()) { in testOpCubicsMain()
|
/external/skia/tests/ |
D | PathOpsThreadedCommon.h | 34 skiatest::Reporter* fReporter; member 43 PathOpsThreadedTestRunner(skiatest::Reporter* reporter) : fReporter(reporter) {} in PathOpsThreadedTestRunner() 51 skiatest::Reporter* fReporter; variable 62 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable() 70 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable() 79 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
|
D | SkSLDSLErrorLineNumbers.cpp | 28 , fReporter(reporter) { in ExpectErrorLineNumber() 33 REPORTER_ASSERT(fReporter, !fMsg); in ~ExpectErrorLineNumber() 38 REPORTER_ASSERT(fReporter, !strcmp(msg, fMsg), in handleError() 40 REPORTER_ASSERT(fReporter, pos); in handleError() 41 REPORTER_ASSERT(fReporter, pos->line() == fLine, in handleError() 49 skiatest::Reporter* fReporter; member in ExpectErrorLineNumber
|
D | ShaperTest.cpp | 24 skiatest::Reporter* fReporter; member 32 : fResource(resource), fReporter(reporter) {} in RunHandler() 50 REPORTER_ASSERT(fReporter, fGlyphCount == info.glyphCount, "%s", fResource); in commitRunBuffer() 51 REPORTER_ASSERT(fReporter, fRange.begin() == info.utf8Range.begin(), "%s", fResource); in commitRunBuffer() 52 REPORTER_ASSERT(fReporter, fRange.size() == info.utf8Range.size(), "%s", fResource); in commitRunBuffer() 54 REPORTER_ASSERT(fReporter, fClusters[i] >= fRange.begin(), in commitRunBuffer() 56 REPORTER_ASSERT(fReporter, fClusters[i] < fRange.end(), in commitRunBuffer()
|
D | BlitMaskClip.cpp | 21 , fReporter(reporter) { } in TestBlitter() 25 REPORTER_ASSERT(fReporter, x >= fBounds.fLeft && x < fBounds.fRight); in blitH() 26 REPORTER_ASSERT(fReporter, y >= fBounds.fTop && y < fBounds.fBottom); in blitH() 28 REPORTER_ASSERT(fReporter, right > fBounds.fLeft && right <= fBounds.fRight); in blitH() 37 skiatest::Reporter* fReporter; member in TestBlitter
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 80 REPORTER_ASSERT(state.fReporter, data); in testQuadLineIntersectMain() 106 testLineIntersect(state.fReporter, quad, line, x, y); in testQuadLineIntersectMain() 107 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain() 109 testLineIntersect(state.fReporter, quad, line2, x, y); in testQuadLineIntersectMain() 110 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain() 112 testLineIntersect(state.fReporter, quad, line3, x, y); in testQuadLineIntersectMain() 113 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain()
|
D | LazyProxyTest.cpp | 32 : fReporter(reporter) in LazyProxyTest() 38 REPORTER_ASSERT(fReporter, fHasOpTexture); in ~LazyProxyTest() 39 REPORTER_ASSERT(fReporter, fHasClipTexture); in ~LazyProxyTest() 43 REPORTER_ASSERT(fReporter, !fHasOpTexture); in preFlush() 44 REPORTER_ASSERT(fReporter, !fHasClipTexture); in preFlush() 48 REPORTER_ASSERT(fReporter, fHasOpTexture); in postFlush() 49 REPORTER_ASSERT(fReporter, fHasClipTexture); in postFlush() 68 REPORTER_ASSERT(fTest->fReporter, fTest->fHasOpTexture); in onExecute() 69 REPORTER_ASSERT(fTest->fReporter, fTest->fHasClipTexture); in onExecute() 85 REPORTER_ASSERT(fTest->fReporter, !fTest->fHasOpTexture); in Op() [all …]
|
D | PathOpsSimplifyRectThreadedTest.cpp | 67 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain() 99 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain() 131 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain() 163 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain() 173 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain() 177 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
|
D | PathOpsOpRectThreadedTest.cpp | 49 if (state.fReporter->verbose()) { in testPathOpsRectsMain() 75 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsRectsMain() 76 if (state.fReporter->verbose()) { in testPathOpsRectsMain() 121 int step = data->fReporter->allowExtendedTest() ? 2 : 5; in testPathOpsFastMain() 143 if (state.fReporter->verbose()) { in testPathOpsFastMain() 165 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsFastMain() 166 if (state.fReporter->verbose()) { in testPathOpsFastMain()
|
D | CachedDecodingPixelRefTest.cpp | 38 : INHERITED(GetMyInfo(colorType)), fType(type), fReporter(reporter) { in TestImageGenerator() 51 REPORTER_ASSERT(fReporter, pixels != nullptr); in onGetPixels() 52 REPORTER_ASSERT(fReporter, rowBytes >= info.minRowBytes()); in onGetPixels() 83 skiatest::Reporter* const fReporter; member in TestImageGenerator
|
D | SkDSLRuntimeEffectTest.cpp | 30 : fReporter(r) in DSLTestEffect() 58 REPORT_FAILURE(fReporter, "shader", SkString("Effect didn't produce a shader")); in test() 77 REPORT_FAILURE(fReporter, "readPixels", SkString("readPixels failed")); in test() 83 REPORT_FAILURE(fReporter, "Runtime effect didn't match expectations", in test() 98 skiatest::Reporter* fReporter; member in DSLTestEffect
|
D | PathOpsOpCircleThreadedTest.cpp | 36 if (state.fReporter->verbose()) { in testOpCirclesMain() 57 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCirclesMain() 58 if (state.fReporter->verbose()) { in testOpCirclesMain()
|
D | PathOpsTightBoundsTest.cpp | 30 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsLines() 31 REPORTER_ASSERT(data->fReporter, classicBounds == tightBounds); in testTightBoundsLines() 80 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsQuads() 81 REPORTER_ASSERT(data->fReporter, classicBounds.contains(tightBounds)); in testTightBoundsQuads() 105 REPORTER_ASSERT(data->fReporter, tightOut.contains(bitsWritten)); in testTightBoundsQuads()
|
D | PathOpsOpCubicThreadedTest.cpp | 40 if (state.fReporter->verbose()) { in testOpCubicsMain() 65 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCubicsMain() 66 if (state.fReporter->verbose()) { in testOpCubicsMain()
|
/external/skia/modules/skottie/tests/ |
D | Image.cpp | 68 , fReporter(r) { in DEF_TEST() 79 REPORTER_ASSERT(fReporter, t == fTest->t); in DEF_TEST() 86 skiatest::Reporter* fReporter; in DEF_TEST() member in DEF_TEST::TestImageAsset 93 , fReporter(r) {} in DEF_TEST() 97 return sk_make_sp<TestImageAsset>(fTest, fReporter); in DEF_TEST() 101 skiatest::Reporter* fReporter; in DEF_TEST() member in DEF_TEST::TestResourceProvider
|
D | AudioLayer.cpp | 72 explicit MockResourceProvider(skiatest::Reporter* r) : fReporter(r) {} in DEF_TEST() 80 REPORTER_ASSERT(fReporter, !strcmp(path, "assets/")); in DEF_TEST() 81 REPORTER_ASSERT(fReporter, !strcmp(name, "audio.mp3")); in DEF_TEST() 82 REPORTER_ASSERT(fReporter, !strcmp(id , "audio_0")); in DEF_TEST() 89 skiatest::Reporter* fReporter; in DEF_TEST() member in DEF_TEST::MockResourceProvider
|