/third_party/skia/src/pathops/ |
D | SkPathWriter.cpp | 271 sLink[rIndex] = eLink[rIndex] = SK_MaxS32; in assemble() 303 if (linkOne[ndxOne] != SK_MaxS32) { in assemble() 309 if (linkTwo[ndxTwo] != SK_MaxS32) { in assemble() 334 SkASSERT(sIndex != SK_MaxS32); in assemble() 335 sLink[rIndex] = SK_MaxS32; in assemble() 339 sLink[~sIndex] = SK_MaxS32; in assemble() 342 eLink[sIndex] = SK_MaxS32; in assemble() 344 SkASSERT(eIndex != SK_MaxS32); in assemble() 390 SkASSERT(eIndex != SK_MaxS32); in assemble() 391 eLink[rIndex] = SK_MaxS32; in assemble() [all …]
|
/third_party/skia/tests/ |
D | PathOpsCubicReduceOrderTest.cpp | 88 ? firstTestIndex : SK_MaxS32; in DEF_TEST() 90 ? firstTestIndex : SK_MaxS32; in DEF_TEST() 91 int firstLinesTest = run == RunAll ? 0 : run == RunLines ? firstTestIndex : SK_MaxS32; in DEF_TEST() 92 int firstNotLinesTest = run == RunAll ? 0 : run == RunNotLines ? firstTestIndex : SK_MaxS32; in DEF_TEST() 94 ? firstTestIndex : SK_MaxS32; in DEF_TEST() 96 ? firstTestIndex : SK_MaxS32; in DEF_TEST() 98 ? firstTestIndex : SK_MaxS32; in DEF_TEST() 100 ? firstTestIndex : SK_MaxS32; in DEF_TEST() 102 ? firstTestIndex : SK_MaxS32; in DEF_TEST() 104 ? firstTestIndex : SK_MaxS32; in DEF_TEST() [all …]
|
D | MathTest.cpp | 498 if (check > SK_MaxS32) { in DEF_TEST() 499 check = SK_MaxS32; in DEF_TEST() 500 } else if (check < -SK_MaxS32) { in DEF_TEST() 674 { (float)SK_MaxS32, SK_MaxS32FitsInFloat }, in DEF_TEST() 676 { SK_MaxS32 * 100.0f, SK_MaxS32FitsInFloat }, in DEF_TEST() 722 { SK_MaxS32, SK_MaxS32 }, in DEF_TEST() 724 { SK_MaxS32 - 1, SK_MaxS32 - 1 }, in DEF_TEST() 726 { SK_MaxS32 * 100.0, SK_MaxS32 }, in DEF_TEST() 728 { SK_ScalarInfinity, SK_MaxS32 }, in DEF_TEST() 730 { SK_ScalarNaN, SK_MaxS32 }, in DEF_TEST()
|
D | PathOpsQuadReduceOrderTest.cpp | 47 : SK_MaxS32; in standardTestCases() 49 : SK_MaxS32; in standardTestCases()
|
/third_party/skia/src/core/ |
D | SkAnalyticEdge.cpp | 215 SkASSERT((int64_t)a * quick_inverse(b) <= SK_MaxS32 in quick_div() 270 fDY = dx == 0 || slope == 0 ? SK_MaxS32 : absSlope < kInverseTableSize in setLine() 309 SkASSERT(slope < SK_MaxS32); in updateLine() 319 ? SK_MaxS32 in updateLine() 385 : SK_MaxS32; in updateQuadratic() 393 : SK_MaxS32; in updateQuadratic() 405 slope = diffY ? quick_div((newx - fSnappedX) >> 10, diffY) : SK_MaxS32; in updateQuadratic() 407 if (slope < SK_MaxS32) { in updateQuadratic() 497 ? SK_MaxS32 in updateCubic()
|
D | SkRectPriv.h | 26 return { SK_MaxS32, SK_MaxS32, SK_MinS32, SK_MinS32 }; in MakeILargestInverted()
|
D | SkScan_AAAPath.cpp | 922 SK_MaxS32, in blit_trapezoid_row() 978 SK_MaxS32, in blit_trapezoid_row() 1038 while (edge->fUpperY != SK_MaxS32) { in validate_sort() 1568 SkFixed nextNextY = SK_MaxS32; in aaa_walk_edges() 1615 nextNextY = SK_MaxS32; in aaa_walk_edges() 1895 headEdge.fDY = SK_MaxS32; in aaa_fill_path() 1902 tailEdge.fUpperY = tailEdge.fLowerY = SK_MaxS32; in aaa_fill_path() 1903 tailEdge.fX = SK_MaxS32; in aaa_fill_path() 1905 tailEdge.fDY = SK_MaxS32; in aaa_fill_path() 1906 tailEdge.fUpperX = SK_MaxS32; in aaa_fill_path()
|
D | SkImageInfo.cpp | 70 constexpr size_t kMaxSigned32BitSize = SK_MaxS32; in computeByteSize()
|
D | SkRegionPriv.h | 200 int left = SK_MaxS32; in computeRunBounds()
|
/third_party/skia/docs/examples/ |
D | IPoint_set.cpp | 7 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 }; in draw() 8 pt1.set(SK_MinS32, SK_MaxS32); in draw()
|
D | IPoint_equal_operator.cpp | 7 SkIPoint test[] = { {0, -0}, {-1, -2}, {SK_MaxS32, -1}, {SK_NaN32, -1} }; in draw()
|
D | IPoint_notequal_operator.cpp | 7 SkIPoint test[] = { {0, -0}, {-1, -2}, {SK_MaxS32, -1}, {SK_NaN32, -1} }; in draw()
|
D | IPoint_equals.cpp | 7 SkIPoint test[] = { {0, -0}, {-1, -2}, {SK_MaxS32, -1}, {SK_NaN32, -1} }; in draw()
|
D | Point_iset_2.cpp | 7 SkIPoint iPt = { SK_MinS32, SK_MaxS32 }; in draw()
|
D | IPoint_minus_operator.cpp | 8 { SK_MaxS32, SK_MinS32 }, in draw()
|
/third_party/skia/include/private/ |
D | SkSafe32.h | 14 return x < SK_MinS32 ? SK_MinS32 : (x > SK_MaxS32 ? SK_MaxS32 : (int32_t)x); in Sk64_pin_to_s32()
|
D | SkFloatingPoint.h | 139 x = x < SK_MaxS32 ? x : SK_MaxS32; in sk_double_saturate2int()
|
D | SkFixed.h | 94 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
|
D | SkImageInfoPriv.h | 178 const int kMaxDimension = SK_MaxS32 >> 2; in SkImageInfoIsValid()
|
/third_party/skia/src/gpu/ops/ |
D | AALinearizingConvexPathRenderer.cpp | 242 if (maxVertices * vertexStride > SK_MaxS32) { in onPrepareDraws() 252 if (maxIndices * sizeof(uint16_t) > SK_MaxS32) { in onPrepareDraws() 275 if (vertexCount <= SK_MaxS32 && indexCount <= SK_MaxS32) { in onPrepareDraws()
|
/third_party/skia/include/gpu/ |
D | GrContextOptions.h | 106 int fMaxTextureSizeOverride = SK_MaxS32;
|
/third_party/skia/include/core/ |
D | SkTypes.h | 526 static constexpr int32_t SK_MaxS32 = INT32_MAX; variable 527 static constexpr int32_t SK_MinS32 = -SK_MaxS32;
|
/third_party/skia/src/gpu/mock/ |
D | GrMockCaps.h | 23 fBufferMapThreshold = SK_MaxS32; // Overridable in GrContextOptions. in GrMockCaps()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnCaps.cpp | 17 fBufferMapThreshold = SK_MaxS32; // FIXME: get this from Dawn? in GrDawnCaps()
|
/third_party/skia/src/image/ |
D | SkSurface_Raster.cpp | 53 static const size_t kMaxTotalSize = SK_MaxS32; in SkSurfaceValidateRasterInfo()
|