/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
D | GlyfEncoder.java | 214 int absY = Math.abs(y); in writeTriplet() local 220 if (x == 0 && absY < 1280) { in writeTriplet() 221 glyfStream.write(onCurveBit + ((absY & 0xf00) >> 7) + ySignBit); in writeTriplet() 222 os.write(absY & 0xff); in writeTriplet() 226 } else if (absX < 65 && absY < 65) { in writeTriplet() 227 glyfStream.write(onCurveBit + 20 + ((absX - 1) & 0x30) + (((absY - 1) & 0x30) >> 2) + in writeTriplet() 229 os.write((((absX - 1) & 0xf) << 4) | ((absY - 1) & 0xf)); in writeTriplet() 230 } else if (absX < 769 && absY < 769) { in writeTriplet() 232 (((absY - 1) & 0x300) >> 6) + xySignBits); in writeTriplet() 234 os.write((absY - 1) & 0xff); in writeTriplet() [all …]
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
D | GlyfEncoder.java | 214 int absY = Math.abs(y); in writeTriplet() local 220 if (x == 0 && absY < 1280) { in writeTriplet() 221 glyfStream.write(onCurveBit + ((absY & 0xf00) >> 7) + ySignBit); in writeTriplet() 222 os.write(absY & 0xff); in writeTriplet() 226 } else if (absX < 65 && absY < 65) { in writeTriplet() 227 glyfStream.write(onCurveBit + 20 + ((absX - 1) & 0x30) + (((absY - 1) & 0x30) >> 2) + in writeTriplet() 229 os.write((((absX - 1) & 0xf) << 4) | ((absY - 1) & 0xf)); in writeTriplet() 230 } else if (absX < 769 && absY < 769) { in writeTriplet() 232 (((absY - 1) & 0x300) >> 6) + xySignBits); in writeTriplet() 234 os.write((absY - 1) & 0xff); in writeTriplet() [all …]
|
/third_party/flutter/skia/tests/ |
D | PathOpsAngleTest.cpp | 132 double absY = fabs(y); in find_slop() local 133 double length = absX < absY ? absX / 2 + absY : absX + absY / 2; in find_slop()
|
/third_party/skia/tests/ |
D | PathOpsAngleTest.cpp | 131 double absY = fabs(y); in find_slop() local 132 double length = absX < absY ? absX / 2 + absY : absX + absY / 2; in find_slop()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteCubeMapSamplersAs2DArray.cpp | 543 TIntermSymbol *absY = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() local 549 &absY->variable(), new TIntermUnary(EOpAbs, y->deepCopy(), nullptr)); in declareCoordTranslationFunction() 579 "max", new TIntermSequence({absY->deepCopy(), absZ->deepCopy()}), *mSymbolTable, 100); in declareCoordTranslationFunction() 586 TIntermTyped *isYMajor = new TIntermBinary(EOpEqual, ma->deepCopy(), absY->deepCopy()); in declareCoordTranslationFunction() 681 new TIntermBinary(EOpAssign, ma->deepCopy(), absY->deepCopy())); in declareCoordTranslationFunction()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteCubeMapSamplersAs2DArray.cpp | 439 TIntermSymbol *absY = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() local 446 &absY->variable(), in declareCoordTranslationFunction() 545 TIntermSequence argsMaxYZ = {absY->deepCopy(), absZ->deepCopy()}; in declareCoordTranslationFunction() 554 TIntermTyped *isYMajor = new TIntermBinary(EOpEqual, ma->deepCopy(), absY->deepCopy()); in declareCoordTranslationFunction() 616 new TIntermBinary(EOpAssign, ma->deepCopy(), absY->deepCopy())); in declareCoordTranslationFunction()
|
/third_party/skia/src/pathops/ |
D | SkOpAngle.cpp | 710 double absY = fabs(y); in findSector() local 711 double xy = SkPath::kLine_Verb == verb || !AlmostEqualUlps(absX, absY) ? absX - absY : 0; in findSector()
|
/third_party/flutter/skia/src/pathops/ |
D | SkOpAngle.cpp | 710 double absY = fabs(y); in findSector() local 711 double xy = SkPath::kLine_Verb == verb || !AlmostEqualUlps(absX, absY) ? absX - absY : 0; in findSector()
|
/third_party/flutter/skia/src/core/ |
D | SkGeometry.cpp | 1408 SkScalar absY = SkScalarAbs(y); in BuildUnitArc() local 1413 if (absY <= SK_ScalarNearlyZero && x > 0 && ((y >= 0 && kCW_SkRotationDirection == dir) || in BuildUnitArc() 1433 SkASSERT(absY - SK_Scalar1 <= SK_ScalarNearlyZero); in BuildUnitArc()
|
/third_party/skia/src/core/ |
D | SkGeometry.cpp | 1644 SkScalar absY = SkScalarAbs(y); in BuildUnitArc() local 1649 if (absY <= SK_ScalarNearlyZero && x > 0 && ((y >= 0 && kCW_SkRotationDirection == dir) || in BuildUnitArc() 1669 SkASSERT(absY - SK_Scalar1 <= SK_ScalarNearlyZero); in BuildUnitArc()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | SamplerCore.cpp | 1247 Float4 absY = Abs(y); in cubeFace() local 1250 Int4 xy = CmpNLE(absX, absY); // abs(x) > abs(y) in cubeFace() 1251 Int4 yz = CmpNLE(absY, absZ); // abs(y) > abs(z) in cubeFace() 1280 M = Max(Max(absX, absY), absZ); in cubeFace()
|
/third_party/flutter/glfw/src/ |
D | x11_window.c | 1332 const int absY = (event->xclient.data.l[2]) & 0xFFFF; in processEvent() local 1336 _glfwInputCursorPos(window, absX - x, absY - y); in processEvent()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | SamplerCore.cpp | 1585 Float4 absY = Abs(y); in cubeFace() local 1588 Int4 xy = CmpNLE(absX, absY); // abs(x) > abs(y) in cubeFace() 1589 Int4 yz = CmpNLE(absY, absZ); // abs(y) > abs(z) in cubeFace() 1616 M = Max(Max(absX, absY), absZ); in cubeFace()
|