Home
last modified time | relevance | path

Searched refs:sameSign (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkPathRef.cpp100 int sameSign; in transform_dir_and_start() local
105 sameSign = matrix.get(SkMatrix::kMScaleY) > 0 ? 0b01 : 0b00; in transform_dir_and_start()
108 sameSign = matrix.get(SkMatrix::kMScaleY) > 0 ? 0b00 : 0b01; in transform_dir_and_start()
114 sameSign = matrix.get(SkMatrix::kMSkewY) > 0 ? 0b01 : 0b00; in transform_dir_and_start()
117 sameSign = matrix.get(SkMatrix::kMSkewY) > 0 ? 0b00 : 0b01; in transform_dir_and_start()
120 if (sameSign != antiDiag) { in transform_dir_and_start()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DMiscUtils.java72 boolean sameSign = (x ^ y) >= 0; in floorDiv()
74 if (!sameSign && mod != 0) { in floorDiv()
/external/skqp/src/core/
DSkPathRef.cpp134 int sameSign; in transform_dir_and_start() local
139 sameSign = matrix.get(SkMatrix::kMScaleY) > 0 ? 0b01 : 0b00; in transform_dir_and_start()
142 sameSign = matrix.get(SkMatrix::kMScaleY) > 0 ? 0b00 : 0b01; in transform_dir_and_start()
148 sameSign = matrix.get(SkMatrix::kMSkewY) > 0 ? 0b01 : 0b00; in transform_dir_and_start()
151 sameSign = matrix.get(SkMatrix::kMSkewY) > 0 ? 0b00 : 0b01; in transform_dir_and_start()
154 if (sameSign != antiDiag) { in transform_dir_and_start()
/external/llvm-project/flang/include/flang/Evaluate/
Dinteger.h772 bool sameSign{isNegative == y.IsNegative()}; in AddSigned()
774 bool overflow{sameSign && sum.value.IsNegative() != isNegative}; in AddSigned()
780 bool sameSign{isNegative == y.IsNegative()}; in SubtractSigned()
782 bool overflow{!sameSign && diff.value.IsNegative() != isNegative}; in SubtractSigned()