/external/skqp/tests/ |
D | PathOpsSkpTest.cpp | 20 SkPath pathB; in skpcheeseandburger_com225() local 21 pathB.setFillType(SkPath::kWinding_FillType); in skpcheeseandburger_com225() 22 pathB.moveTo(859.11792f, 397.320343f); in skpcheeseandburger_com225() 23 pathB.cubicTo(855.523071f, 399.691284f, 853.721191f, 402.40863f, 853.721191f, 405.552216f); in skpcheeseandburger_com225() 24 pathB.cubicTo(853.721191f, 407.911163f, 854.727478f, 410.115387f, 857.043518f, 412.252716f); in skpcheeseandburger_com225() 25 pathB.cubicTo(859.920532f, 414.916138f, 862.704773f, 417.086426f, 864.679382f, 418.852386f); in skpcheeseandburger_com225() 26 pathB.cubicTo(866.382446f, 420.371765f, 867.19104f, 422.108795f, 867.19104f, 423.506378f); in skpcheeseandburger_com225() 27 pathB.cubicTo(867.19104f, 424.551605f, 866.741821f, 425.539886f, 865.935242f, 426.281616f); in skpcheeseandburger_com225() 28 pathB.cubicTo(865.250366f, 426.910553f, 864.662415f, 427.339813f, 864.139282f, 427.4646f); in skpcheeseandburger_com225() 29 pathB.cubicTo(863.536377f, 427.605347f, 862.259521f, 426.491272f, 860.366821f, 424.208191f); in skpcheeseandburger_com225() [all …]
|
D | PathOpsOpTest.cpp | 34 SkPath path, pathB; in cubicOp1d() local 39 pathB.setFillType(SkPath::kWinding_FillType); in cubicOp1d() 40 pathB.moveTo(0,1); in cubicOp1d() 41 pathB.cubicTo(0,1, 1,0, 2,0); in cubicOp1d() 42 pathB.close(); in cubicOp1d() 43 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp1d() 47 SkPath path, pathB; in cubicOp2d() local 52 pathB.setFillType(SkPath::kWinding_FillType); in cubicOp2d() 53 pathB.moveTo(0,1); in cubicOp2d() 54 pathB.cubicTo(0,1, 2,0, 1,0); in cubicOp2d() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 34 SkPath pathA, pathB; in testPathOpsRectsMain() local 41 pathB.setFillType((SkPath::FillType) f); in testPathOpsRectsMain() 42 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain() 44 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain() 46 pathB.close(); in testPathOpsRectsMain() 74 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsRectsMain() 123 SkPath pathA, pathB; in testPathOpsFastMain() local 130 pathB.setFillType((SkPath::FillType) f); in testPathOpsFastMain() 132 pathB.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD) + d, in testPathOpsFastMain() 135 pathB.close(); in testPathOpsFastMain() [all …]
|
D | PathOpsOpCubicThreadedTest.cpp | 30 SkPath pathA, pathB; in testOpCubicsMain() local 36 pathB.setFillType((SkPath::FillType) f); in testOpCubicsMain() 37 pathB.moveTo(SkIntToScalar(a), SkIntToScalar(b)); in testOpCubicsMain() 38 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), in testOpCubicsMain() 40 pathB.close(); in testOpCubicsMain() 67 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCubicsMain()
|
D | PathOpsOpLoopThreadedTest.cpp | 55 SkPath pathA, pathB; in testOpLoopsMain() local 59 pathB.moveTo(SkIntToScalar(c), SkIntToScalar(d)); in testOpLoopsMain() 60 pathB.cubicTo(endC.fX, endC.fY, endD.fX, endD.fY, SkIntToScalar(a), SkIntToScalar(b)); in testOpLoopsMain() 61 pathB.close(); in testOpLoopsMain() 88 testPathOp(state.fReporter, pathA, pathB, kIntersect_SkPathOp, testName.c_str()); in testOpLoopsMain()
|
D | PathOpsOpCircleThreadedTest.cpp | 27 SkPath pathA, pathB; in testOpCirclesMain() local 31 pathB.setFillType((SkPath::FillType) f); in testOpCirclesMain() 32 pathB.addCircle(SkIntToScalar(a), SkIntToScalar(b), SkIntToScalar(c), in testOpCirclesMain() 56 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCirclesMain()
|
D | GrShapeTest.cpp | 133 SkPath pathA, pathB; in check_equivalence() local 135 b.asPath(&pathB); in check_equivalence() 140 if (pathA.isInverseFillType() != pathB.isInverseFillType()) { in check_equivalence() 149 SkPath::ConvertToNonInverseFillType(pathB.getFillType())) { in check_equivalence() 158 REPORTER_ASSERT(r, paths_fill_same(pathA, pathB)); in check_equivalence() 162 SkPath pB = pathB; in check_equivalence() 167 pB.setFillType(SkPath::ConvertToNonInverseFillType(pathB.getFillType())); in check_equivalence() 203 REPORTER_ASSERT(r, pathB.isConvex()); in check_equivalence() 2072 auto compare = [r, &paints] (const SkPath& pathA, const SkPath& pathB, in DEF_TEST() 2075 SkPath volatileB = pathB; in DEF_TEST() [all …]
|
D | PathOpsBuilderTest.cpp | 140 SkPath path, pathB; in DEF_TEST() local 144 pathB.setFillType(SkPath::kEvenOdd_FillType); in DEF_TEST() 145 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST() 146 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST() 149 builder.add(pathB, kDifference_SkPathOp); in DEF_TEST()
|
D | ClipStackTest.cpp | 271 SkPath pathA, pathB; in test_bounds() local 274 pathB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5)); in test_bounds() 291 pathB.setFillType(doInvB ? SkPath::kInverseEvenOdd_FillType : in test_bounds() 308 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
|
D | PathOpsIssue3651.cpp | 474 SkPath pathB = path2_a(); in issue3651_1a() local 476 testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, in issue3651_1a() 1206 SkPath pathB = path2(); in issue3651_1() local 1208 testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, in issue3651_1() 1214 SkPath pathB = path4(); in issue3651_2() local 1215 testPathOp(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename); in issue3651_2() 1220 SkPath pathB = path6(); in issue3651_3() local 1221 testPathOp(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename); in issue3651_3()
|
/external/skia/tests/ |
D | PathOpsSkpTest.cpp | 20 SkPath pathB; in skpcheeseandburger_com225() local 21 pathB.setFillType(SkPathFillType::kWinding); in skpcheeseandburger_com225() 22 pathB.moveTo(859.11792f, 397.320343f); in skpcheeseandburger_com225() 23 pathB.cubicTo(855.523071f, 399.691284f, 853.721191f, 402.40863f, 853.721191f, 405.552216f); in skpcheeseandburger_com225() 24 pathB.cubicTo(853.721191f, 407.911163f, 854.727478f, 410.115387f, 857.043518f, 412.252716f); in skpcheeseandburger_com225() 25 pathB.cubicTo(859.920532f, 414.916138f, 862.704773f, 417.086426f, 864.679382f, 418.852386f); in skpcheeseandburger_com225() 26 pathB.cubicTo(866.382446f, 420.371765f, 867.19104f, 422.108795f, 867.19104f, 423.506378f); in skpcheeseandburger_com225() 27 pathB.cubicTo(867.19104f, 424.551605f, 866.741821f, 425.539886f, 865.935242f, 426.281616f); in skpcheeseandburger_com225() 28 pathB.cubicTo(865.250366f, 426.910553f, 864.662415f, 427.339813f, 864.139282f, 427.4646f); in skpcheeseandburger_com225() 29 pathB.cubicTo(863.536377f, 427.605347f, 862.259521f, 426.491272f, 860.366821f, 424.208191f); in skpcheeseandburger_com225() [all …]
|
D | PathOpsOpTest.cpp | 34 SkPath path, pathB; in cubicOp1d() local 39 pathB.setFillType(SkPathFillType::kWinding); in cubicOp1d() 40 pathB.moveTo(0,1); in cubicOp1d() 41 pathB.cubicTo(0,1, 1,0, 2,0); in cubicOp1d() 42 pathB.close(); in cubicOp1d() 43 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp1d() 47 SkPath path, pathB; in cubicOp2d() local 52 pathB.setFillType(SkPathFillType::kWinding); in cubicOp2d() 53 pathB.moveTo(0,1); in cubicOp2d() 54 pathB.cubicTo(0,1, 2,0, 1,0); in cubicOp2d() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 35 SkPath pathA, pathB; in testPathOpsRectsMain() local 42 pathB.setFillType((SkPathFillType) f); in testPathOpsRectsMain() 43 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain() 45 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain() 47 pathB.close(); in testPathOpsRectsMain() 75 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsRectsMain() 128 SkPath pathA, pathB; in testPathOpsFastMain() local 135 pathB.setFillType(f); in testPathOpsFastMain() 137 pathB.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD) + d, in testPathOpsFastMain() 140 pathB.close(); in testPathOpsFastMain() [all …]
|
D | PathOpsOpCubicThreadedTest.cpp | 28 SkPath pathA, pathB; in testOpCubicsMain() local 34 pathB.setFillType((SkPathFillType) f); in testOpCubicsMain() 35 pathB.moveTo(SkIntToScalar(a), SkIntToScalar(b)); in testOpCubicsMain() 36 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), in testOpCubicsMain() 38 pathB.close(); in testOpCubicsMain() 65 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCubicsMain()
|
D | PathOpsOpLoopThreadedTest.cpp | 52 SkPath pathA, pathB; in testOpLoopsMain() local 56 pathB.moveTo(SkIntToScalar(c), SkIntToScalar(d)); in testOpLoopsMain() 57 pathB.cubicTo(endC.fX, endC.fY, endD.fX, endD.fY, SkIntToScalar(a), SkIntToScalar(b)); in testOpLoopsMain() 58 pathB.close(); in testOpLoopsMain() 85 testPathOp(state.fReporter, pathA, pathB, kIntersect_SkPathOp, testName.c_str()); in testOpLoopsMain()
|
D | PathOpsOpCircleThreadedTest.cpp | 28 SkPath pathA, pathB; in testOpCirclesMain() local 32 pathB.setFillType(f); in testOpCirclesMain() 33 pathB.addCircle(SkIntToScalar(a), SkIntToScalar(b), SkIntToScalar(c), in testOpCirclesMain() 57 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCirclesMain()
|
D | GrStyledShapeTest.cpp | 133 SkPath pathA, pathB; in check_equivalence() local 135 b.asPath(&pathB); in check_equivalence() 140 if (pathA.isInverseFillType() != pathB.isInverseFillType()) { in check_equivalence() 149 SkPathFillType_ConvertToNonInverse(pathB.getFillType())) { in check_equivalence() 158 REPORTER_ASSERT(r, paths_fill_same(pathA, pathB)); in check_equivalence() 162 SkPath pB = pathB; in check_equivalence() 167 pB.setFillType(SkPathFillType_ConvertToNonInverse(pathB.getFillType())); in check_equivalence() 204 REPORTER_ASSERT(r, pathB.isConvex()); in check_equivalence() 2088 auto compare = [r, &paints] (const SkPath& pathA, const SkPath& pathB, in DEF_TEST() 2091 SkPath volatileB = pathB; in DEF_TEST() [all …]
|
D | PathOpsBuilderTest.cpp | 140 SkPath path, pathB; in DEF_TEST() local 144 pathB.setFillType(SkPathFillType::kEvenOdd); in DEF_TEST() 145 pathB.addRect(3, 3, 4, 4, SkPathDirection::kCW); in DEF_TEST() 146 pathB.addRect(3, 3, 4, 4, SkPathDirection::kCW); in DEF_TEST() 149 builder.add(pathB, kDifference_SkPathOp); in DEF_TEST()
|
D | ClipStackTest.cpp | 273 SkPath pathA, pathB; in test_bounds() local 276 pathB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5)); in test_bounds() 293 pathB.setFillType(doInvB ? SkPathFillType::kInverseEvenOdd : in test_bounds() 311 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
|
D | PathOpsIssue3651.cpp | 474 SkPath pathB = path2_a(); in issue3651_1a() local 476 testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, in issue3651_1a() 1206 SkPath pathB = path2(); in issue3651_1() local 1208 testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, in issue3651_1() 1214 SkPath pathB = path4(); in issue3651_2() local 1215 testPathOp(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename); in issue3651_2() 1220 SkPath pathB = path6(); in issue3651_3() local 1221 testPathOp(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename); in issue3651_3()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestExampleDependencies.java | 107 for (String pathB : paths) { in addDependenciesForLocale() 108 if (skipPathForDependencies(pathB)) { in addDependenciesForLocale() 111 String valueB = cldrFile.getStringValue(pathB); in addDependenciesForLocale() 115 String starredB = USE_STARRED_PATHS ? pathStarrer.set(pathB) : null; in addDependenciesForLocale() 117 egTest.getExampleHtml(pathB, valueB); in addDependenciesForLocale() 120 if (pathA.equals(pathB) || skipPathForDependencies(pathA)) { in addDependenciesForLocale() 125 USE_STARRED_PATHS ? starredB : pathB); in addDependenciesForLocale() 228 for (String pathB : paths) { in writeOneLocale() 229 if (pathA.equals(pathB) || skipPathForDependencies(pathB)) { in writeOneLocale() 239 String valueB = originalValues.get(pathB); in writeOneLocale() [all …]
|
/external/swiftshader/third_party/marl/tools/cmd/benchdiff/ |
D | main.go | 52 pathA, pathB := args[0], args[1] 54 if err := run(pathA, pathB); err != nil { 60 func run(pathA, pathB string) error { 70 fileB, err := ioutil.ReadFile(pathB) 79 compare(benchA, benchB, fileName(pathA), fileName(pathB))
|
/external/skia/infra/bots/ |
D | test_utils.py | 58 pathB = os.path.join(b, prefix, f) 59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False)) 61 statB = os.stat(pathB) 65 with open(pathB, 'rb') as f:
|
/external/skqp/infra/bots/ |
D | test_utils.py | 58 pathB = os.path.join(b, prefix, f) 59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False)) 61 statB = os.stat(pathB) 65 with open(pathB, 'rb') as f:
|
/external/skqp/gm/ |
D | shadermaskfilter.cpp | 119 auto proc0 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anonf9ddf85c0102() argument 123 pathB->moveTo(r.fLeft, r.fTop); in __anonf9ddf85c0102() 124 pathB->lineTo(r.fRight, r.fBottom); in __anonf9ddf85c0102() 125 pathB->lineTo(r.fLeft, r.fBottom); in __anonf9ddf85c0102() 127 auto proc1 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anonf9ddf85c0202() argument 129 pathB->addCircle(r.width()*0.75f, r.height()*0.75f, r.width()*0.5f); in __anonf9ddf85c0202()
|