/external/skia/src/pathops/ |
D | SkIntersections.h | 58 SkScalar y, bool flipped) { in conicHorizontal() argument 62 return horizontal(conic, left, right, y, flipped); in conicHorizontal() 66 SkScalar x, bool flipped) { in conicVertical() argument 70 return vertical(conic, top, bottom, x, flipped); in conicVertical() 83 bool flipped) { in cubicHorizontal() argument 87 return horizontal(cubic, left, right, y, flipped); in cubicHorizontal() 90 int cubicVertical(const SkPoint a[4], SkScalar top, SkScalar bottom, SkScalar x, bool flipped) { in cubicVertical() argument 94 return vertical(cubic, top, bottom, x, flipped); in cubicVertical() 133 bool flipped) { in lineHorizontal() argument 137 return horizontal(line, left, right, y, flipped); in lineHorizontal() [all …]
|
D | SkDLineIntersection.cpp | 201 double y, bool flipped) { in horizontal() argument 207 insert(t, (double) flipped, leftPt); in horizontal() 212 insert(t, (double) !flipped, rightPt); in horizontal() 216 insert((double) index, flipped ? 1 - t : t, line[index]); in horizontal() 226 if (flipped) { in horizontal() 239 insert(t, (double) flipped, leftPt); in horizontal() 244 insert(t, (double) !flipped, rightPt); in horizontal() 248 insert((double) index, flipped ? 1 - t : t, line[index]); in horizontal() 277 double x, bool flipped) { in vertical() argument 283 insert(t, (double) flipped, topPt); in vertical() [all …]
|
D | SkDQuadLineIntersection.cpp | 198 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument 213 if (flipped) { in horizontalIntersect() 254 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument 269 if (flipped) { in verticalIntersect() 424 bool flipped) { in horizontal() argument 427 return q.horizontalIntersect(y, left, right, flipped); in horizontal() 431 bool flipped) { in vertical() argument 434 return q.verticalIntersect(x, top, bottom, flipped); in vertical()
|
D | SkOpCoincidence.cpp | 98 if (fCoinPtTStart->fT > coinPtTStart->fT || (this->flipped() in extend() 103 if (fCoinPtTEnd->fT < coinPtTEnd->fT || (this->flipped() in extend() 159 bool flipped = this->flipped(); in ordered() local 168 if ((oppLastT > opp->fT) != flipped) { in ordered() 447 FAIL_IF(!coin->flipped() && !oStart->upCastable()); in addExpanded() 448 const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next(); in addExpanded() 507 if (coin->flipped()) { in addExpanded() 669 if (overlap->flipped() in addOrOverlap() 674 if (overlap->flipped() in addOrOverlap() 1010 bool flipped = coin->flipped(); in apply() local [all …]
|
D | SkDConicLineIntersection.cpp | 72 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument 90 if (flipped) { in horizontalIntersect() 150 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument 168 if (flipped) { in verticalIntersect() 348 bool flipped) { in horizontal() argument 351 return c.horizontalIntersect(y, left, right, flipped); in horizontal() 355 bool flipped) { in vertical() argument 358 return c.verticalIntersect(x, top, bottom, flipped); in vertical()
|
D | SkDCubicLineIntersection.cpp | 184 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument 199 if (flipped) { in horizontalIntersect() 247 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument 262 if (flipped) { in verticalIntersect() 419 bool flipped) { in horizontal() argument 422 return c.horizontalIntersect(y, left, right, flipped); in horizontal() 426 bool flipped) { in vertical() argument 429 return c.verticalIntersect(x, top, bottom, flipped); in vertical()
|
/external/skqp/src/pathops/ |
D | SkIntersections.h | 58 SkScalar y, bool flipped) { in conicHorizontal() argument 62 return horizontal(conic, left, right, y, flipped); in conicHorizontal() 66 SkScalar x, bool flipped) { in conicVertical() argument 70 return vertical(conic, top, bottom, x, flipped); in conicVertical() 83 bool flipped) { in cubicHorizontal() argument 87 return horizontal(cubic, left, right, y, flipped); in cubicHorizontal() 90 int cubicVertical(const SkPoint a[4], SkScalar top, SkScalar bottom, SkScalar x, bool flipped) { in cubicVertical() argument 94 return vertical(cubic, top, bottom, x, flipped); in cubicVertical() 133 bool flipped) { in lineHorizontal() argument 137 return horizontal(line, left, right, y, flipped); in lineHorizontal() [all …]
|
D | SkDLineIntersection.cpp | 201 double y, bool flipped) { in horizontal() argument 207 insert(t, (double) flipped, leftPt); in horizontal() 212 insert(t, (double) !flipped, rightPt); in horizontal() 216 insert((double) index, flipped ? 1 - t : t, line[index]); in horizontal() 226 if (flipped) { in horizontal() 239 insert(t, (double) flipped, leftPt); in horizontal() 244 insert(t, (double) !flipped, rightPt); in horizontal() 248 insert((double) index, flipped ? 1 - t : t, line[index]); in horizontal() 277 double x, bool flipped) { in vertical() argument 283 insert(t, (double) flipped, topPt); in vertical() [all …]
|
D | SkDQuadLineIntersection.cpp | 198 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument 213 if (flipped) { in horizontalIntersect() 254 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument 269 if (flipped) { in verticalIntersect() 424 bool flipped) { in horizontal() argument 427 return q.horizontalIntersect(y, left, right, flipped); in horizontal() 431 bool flipped) { in vertical() argument 434 return q.verticalIntersect(x, top, bottom, flipped); in vertical()
|
D | SkOpCoincidence.cpp | 98 if (fCoinPtTStart->fT > coinPtTStart->fT || (this->flipped() in extend() 103 if (fCoinPtTEnd->fT < coinPtTEnd->fT || (this->flipped() in extend() 159 bool flipped = this->flipped(); in ordered() local 168 if ((oppLastT > opp->fT) != flipped) { in ordered() 447 FAIL_IF(!coin->flipped() && !oStart->upCastable()); in addExpanded() 448 const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next(); in addExpanded() 507 if (coin->flipped()) { in addExpanded() 669 if (overlap->flipped() in addOrOverlap() 674 if (overlap->flipped() in addOrOverlap() 1010 bool flipped = coin->flipped(); in apply() local [all …]
|
D | SkDConicLineIntersection.cpp | 72 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument 90 if (flipped) { in horizontalIntersect() 150 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument 168 if (flipped) { in verticalIntersect() 348 bool flipped) { in horizontal() argument 351 return c.horizontalIntersect(y, left, right, flipped); in horizontal() 355 bool flipped) { in vertical() argument 358 return c.verticalIntersect(x, top, bottom, flipped); in vertical()
|
D | SkDCubicLineIntersection.cpp | 184 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument 199 if (flipped) { in horizontalIntersect() 247 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument 262 if (flipped) { in verticalIntersect() 419 bool flipped) { in horizontal() argument 422 return c.horizontalIntersect(y, left, right, flipped); in horizontal() 426 bool flipped) { in vertical() argument 429 return c.verticalIntersect(x, top, bottom, flipped); in vertical()
|
/external/skqp/tests/ |
D | PathOpsQuadLineIntersectionTest.cpp | 32 bool& flipped) { in doIntersect() argument 34 flipped = false; in doIntersect() 38 flipped = top > bottom; in doIntersect() 39 if (flipped) { in doIntersect() 42 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect() 46 flipped = left > right; in doIntersect() 47 if (flipped) { in doIntersect() 50 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect() 80 bool flipped = false; in testOneOffs() local 89 int result = doIntersect(intersections, quad, line, flipped); in testOneOffs() [all …]
|
D | PathOpsConicLineIntersectionTest.cpp | 33 bool& flipped) { in doIntersect() argument 35 flipped = false; in doIntersect() 39 flipped = top > bottom; in doIntersect() 40 if (flipped) { in doIntersect() 43 result = intersections.vertical(conic, top, bottom, line[0].fX, flipped); in doIntersect() 47 flipped = left > right; in doIntersect() 48 if (flipped) { in doIntersect() 51 result = intersections.horizontal(conic, left, right, line[0].fY, flipped); in doIntersect() 70 bool flipped = false; in testOneOffs() local 79 int result = doIntersect(intersections, conic, line, flipped); in testOneOffs() [all …]
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 17 bool& flipped) { in doIntersect() argument 19 flipped = false; in doIntersect() 23 flipped = top > bottom; in doIntersect() 24 if (flipped) { in doIntersect() 27 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect() 31 flipped = left > right; in doIntersect() 32 if (flipped) { in doIntersect() 35 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect() 53 bool flipped = false; in testLineIntersect() local 54 int result = doIntersect(intersections, quad, line, flipped); in testLineIntersect()
|
D | PathOpsCubicLineIntersectionTest.cpp | 103 bool flipped = false; in doIntersect() local 107 flipped = top > bottom; in doIntersect() 108 if (flipped) { in doIntersect() 111 result = intersections.vertical(cubic, top, bottom, line[0].fX, flipped); in doIntersect() 115 flipped = left > right; in doIntersect() 116 if (flipped) { in doIntersect() 119 result = intersections.horizontal(cubic, left, right, line[0].fY, flipped); in doIntersect()
|
/external/skia/tests/ |
D | PathOpsQuadLineIntersectionTest.cpp | 32 bool& flipped) { in doIntersect() argument 34 flipped = false; in doIntersect() 38 flipped = top > bottom; in doIntersect() 39 if (flipped) { in doIntersect() 42 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect() 46 flipped = left > right; in doIntersect() 47 if (flipped) { in doIntersect() 50 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect() 80 bool flipped = false; in testOneOffs() local 89 int result = doIntersect(intersections, quad, line, flipped); in testOneOffs() [all …]
|
D | PathOpsConicLineIntersectionTest.cpp | 33 bool& flipped) { in doIntersect() argument 35 flipped = false; in doIntersect() 39 flipped = top > bottom; in doIntersect() 40 if (flipped) { in doIntersect() 43 result = intersections.vertical(conic, top, bottom, line[0].fX, flipped); in doIntersect() 47 flipped = left > right; in doIntersect() 48 if (flipped) { in doIntersect() 51 result = intersections.horizontal(conic, left, right, line[0].fY, flipped); in doIntersect() 70 bool flipped = false; in testOneOffs() local 79 int result = doIntersect(intersections, conic, line, flipped); in testOneOffs() [all …]
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 17 bool& flipped) { in doIntersect() argument 19 flipped = false; in doIntersect() 23 flipped = top > bottom; in doIntersect() 24 if (flipped) { in doIntersect() 27 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect() 31 flipped = left > right; in doIntersect() 32 if (flipped) { in doIntersect() 35 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect() 53 bool flipped = false; in testLineIntersect() local 54 int result = doIntersect(intersections, quad, line, flipped); in testLineIntersect()
|
D | PathOpsCubicLineIntersectionTest.cpp | 103 bool flipped = false; in doIntersect() local 107 flipped = top > bottom; in doIntersect() 108 if (flipped) { in doIntersect() 111 result = intersections.vertical(cubic, top, bottom, line[0].fX, flipped); in doIntersect() 115 flipped = left > right; in doIntersect() 116 if (flipped) { in doIntersect() 119 result = intersections.horizontal(cubic, left, right, line[0].fY, flipped); in doIntersect()
|
/external/skqp/third_party/etc1/ |
D | etc1.cpp | 176 etc1_uint32 low, bool second, bool flipped) { in decode_subblock() argument 180 if (flipped) { in decode_subblock() 188 if (flipped) { in decode_subblock() 236 bool flipped = (high & 1) != 0; in etc1_decode_block() local 237 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped); in etc1_decode_block() 238 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped); in etc1_decode_block() 256 etc1_byte* pColors, bool flipped, bool second) { in etc_average_colors_subblock() argument 261 if (flipped) { in etc_average_colors_subblock() 344 etc_compressed* pCompressed, bool flipped, bool second, in etc_encode_subblock_helper() argument 347 if (flipped) { in etc_encode_subblock_helper() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_etc_tmp.h | 30 int flipped; in TAG() local 109 block->flipped = (src[3] & 0x1); in TAG() 128 blk = (block->flipped) ? (y >= 2) : (x >= 2); in TAG()
|
/external/skqp/gm/ |
D | nested.cpp | 19 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { in NestedGM() argument
|
/external/skia/gm/ |
D | nested.cpp | 19 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { in NestedGM() argument
|
/external/python/cpython2/Lib/test/ |
D | test_os.py | 435 flipped = all[0][1][0] != "SUB1" 438 self.assertEqual(all[1 + flipped], (sub1_path, ["SUB11"], ["tmp2"])) 439 self.assertEqual(all[2 + flipped], (sub11_path, [], [])) 440 self.assertEqual(all[3 - 2 * flipped], sub2_tree) 460 flipped = all[3][1][0] != "SUB1" 463 self.assertEqual(all[flipped], (sub11_path, [], [])) 464 self.assertEqual(all[flipped + 1], (sub1_path, ["SUB11"], ["tmp2"])) 465 self.assertEqual(all[2 - 2 * flipped], sub2_tree)
|