Home
last modified time | relevance | path

Searched refs:absY (Results 1 – 11 of 11) sorted by relevance

/external/fonttools/Lib/fontTools/ttLib/
Dwoff2.py941 absY = abs(y)
947 if x == 0 and absY < 1280:
948 flags.append(onCurveBit + ((absY & 0xf00) >> 7) + ySignBit)
949 triplets.append(absY & 0xff)
953 elif absX < 65 and absY < 65:
954 flags.append(onCurveBit + 20 + ((absX - 1) & 0x30) + (((absY - 1) & 0x30) >> 2) + xySignBits)
955 triplets.append((((absX - 1) & 0xf) << 4) | ((absY - 1) & 0xf))
956 elif absX < 769 and absY < 769:
957 …flags.append(onCurveBit + 84 + 12 * (((absX - 1) & 0x300) >> 8) + (((absY - 1) & 0x300) >> 6) + xy…
959 triplets.append((absY - 1) & 0xff)
[all …]
/external/skia/tests/
DPathOpsAngleTest.cpp131 double absY = fabs(y); in find_slop() local
132 double length = absX < absY ? absX / 2 + absY : absX + absY / 2; in find_slop()
/external/skqp/tests/
DPathOpsAngleTest.cpp132 double absY = fabs(y); in find_slop() local
133 double length = absX < absY ? absX / 2 + absY : absX + absY / 2; in find_slop()
/external/angle/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp439 TIntermSymbol *absY = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() local
446 &absY->variable(), in declareCoordTranslationFunction()
544 TIntermSequence argsMaxYZ = {absY->deepCopy(), absZ->deepCopy()}; in declareCoordTranslationFunction()
553 TIntermTyped *isYMajor = new TIntermBinary(EOpEqual, ma->deepCopy(), absY->deepCopy()); in declareCoordTranslationFunction()
615 new TIntermBinary(EOpAssign, ma->deepCopy(), absY->deepCopy())); in declareCoordTranslationFunction()
/external/skia/src/pathops/
DSkOpAngle.cpp710 double absY = fabs(y); in findSector() local
711 double xy = SkPath::kLine_Verb == verb || !AlmostEqualUlps(absX, absY) ? absX - absY : 0; in findSector()
/external/skqp/src/pathops/
DSkOpAngle.cpp710 double absY = fabs(y); in findSector() local
711 double xy = SkPath::kLine_Verb == verb || !AlmostEqualUlps(absX, absY) ? absX - absY : 0; in findSector()
/external/skqp/src/core/
DSkGeometry.cpp1408 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()
/external/skia/src/core/
DSkGeometry.cpp1648 SkScalar absY = SkScalarAbs(y); in BuildUnitArc() local
1653 if (absY <= SK_ScalarNearlyZero && x > 0 && ((y >= 0 && kCW_SkRotationDirection == dir) || in BuildUnitArc()
1673 SkASSERT(absY - SK_Scalar1 <= SK_ScalarNearlyZero); in BuildUnitArc()
/external/swiftshader/src/Pipeline/
DSamplerCore.cpp1323 Float4 absY = Abs(y); in cubeFace() local
1326 Int4 xy = CmpNLE(absX, absY); // abs(x) > abs(y) in cubeFace()
1327 Int4 yz = CmpNLE(absY, absZ); // abs(y) > abs(z) in cubeFace()
1356 M = Max(Max(absX, absY), absZ); in cubeFace()
/external/swiftshader/src/Shader/
DSamplerCore.cpp1585 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()
/external/mesa3d/prebuilt-intermediates/nir/
Dnir_constant_expressions.c20814 float absY = fabsf(src0.y); in evaluate_cube_face_coord() local
20818 if (absX >= absY && absX >= absZ) { ma = 2 * src0.x; } in evaluate_cube_face_coord()
20819 if (absY >= absX && absY >= absZ) { ma = 2 * src0.y; } in evaluate_cube_face_coord()
20820 if (absZ >= absX && absZ >= absY) { ma = 2 * src0.z; } in evaluate_cube_face_coord()
20822 if (src0.x >= 0 && absX >= absY && absX >= absZ) { dst.x = -src0.z; dst.y = -src0.y; } in evaluate_cube_face_coord()
20823 if (src0.x < 0 && absX >= absY && absX >= absZ) { dst.x = src0.z; dst.y = -src0.y; } in evaluate_cube_face_coord()
20824 if (src0.y >= 0 && absY >= absX && absY >= absZ) { dst.x = src0.x; dst.y = src0.z; } in evaluate_cube_face_coord()
20825 if (src0.y < 0 && absY >= absX && absY >= absZ) { dst.x = src0.x; dst.y = -src0.z; } in evaluate_cube_face_coord()
20826 if (src0.z >= 0 && absZ >= absX && absZ >= absY) { dst.x = src0.x; dst.y = -src0.y; } in evaluate_cube_face_coord()
20827 if (src0.z < 0 && absZ >= absX && absZ >= absY) { dst.x = -src0.x; dst.y = -src0.y; } in evaluate_cube_face_coord()
[all …]