Home
last modified time | relevance | path

Searched refs:SkApplySign (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/core/
DSkMath.cpp141 a = SkApplySign(a, sa); in SkFixedMul_portable()
142 b = SkApplySign(b, sb); in SkFixedMul_portable()
151 return SkApplySign(R, sa ^ sb); in SkFixedMul_portable()
166 a = SkApplySign(a, sa); in SkFractMul_portable()
167 b = SkApplySign(b, sb); in SkFractMul_portable()
189 return SkApplySign(R, sa ^ sb); in SkFractMul_portable()
199 a = SkApplySign(a, sa); in SkFixedMulCommon()
203 return SkApplySign(R, sa); in SkFixedMulCommon()
219 uint32_t a = SkApplySign(x, sign); in SkFixedFastInvert()
222 return SkApplySign(SK_MaxS32, sign); in SkFixedFastInvert()
[all …]
DSkFloatBits.cpp62 return SkApplySign(value, SkExtractSign(packed)); in SkFloatBits_toIntCast()
82 return SkApplySign(value, SkExtractSign(packed)); in SkFloatBits_toIntFloor()
85 value = SkApplySign(value, SkExtractSign(packed)); in SkFloatBits_toIntFloor()
112 return SkApplySign(value, SkExtractSign(packed)); in SkFloatBits_toIntRound()
115 value = SkApplySign(value, SkExtractSign(packed)); in SkFloatBits_toIntRound()
142 return SkApplySign(value, SkExtractSign(packed)); in SkFloatBits_toIntCeil()
145 value = SkApplySign(value, SkExtractSign(packed)); in SkFloatBits_toIntCeil()
166 value = SkApplySign(value, sign); in SkIntToFloatCast()
199 value = SkApplySign(value, sign); in SkIntToFloatCast_NoOverflowCheck()
DSkPoint.cpp234 this->set(0, SkApplySign(length, SkExtractSign(oy))); in setLength()
238 this->set(SkApplySign(length, SkExtractSign(ox)), 0); in setLength()
265 this->set(SkApplySign(x, SkExtractSign(ox)), in setLength()
266 SkApplySign(y, SkExtractSign(oy))); in setLength()
301 this->set(0, SkApplySign(length, SkExtractSign(oy))); in setLength()
305 this->set(SkApplySign(length, SkExtractSign(ox)), 0); in setLength()
368 x = SkApplySign(x, SkExtractSign(ox)); in setLength()
369 y = SkApplySign(y, SkExtractSign(oy)); in setLength()
DSkFloat.cpp27 return SkApplySign(get_unsigned_value(packed), SkExtractSign(packed)); in get_signed_value()
55 return SkApplySign(value, SkExtractSign(packed)); in GetShift()
67 value = SkApplySign(value, sign); in SetShift()
259 packed_a = SkApplySign(clear_high_bit(packed_a), SkExtractSign(packed_a)); in Cmp()
260 packed_b = SkApplySign(clear_high_bit(packed_b), SkExtractSign(packed_b)); in Cmp()
DSkCordic.cpp107 return SkApplySign(SK_FixedPI>>1, sign); in SkCordicASin()
112 z = SkApplySign(z, ~sign); in SkCordicASin()
132 SkFixed pi = SkApplySign(SK_FixedPI, rsign); in SkCordicATan2()
DSk64.cpp361 return SkApplySign(result, sign); in getFixedDiv()
/external/skia/include/core/
DSkMath.h55 static inline int32_t SkApplySign(int32_t n, int32_t sign) { in SkApplySign() function
62 return SkApplySign(x, SkExtractSign(x ^ y)); in SkCopySign32()
/external/skia/tests/
DMathTest.cpp101 a = SkApplySign(a, sa); in symmetric_fixmul()
102 b = SkApplySign(b, sb); in symmetric_fixmul()
107 return SkApplySign(c, sa ^ sb); in symmetric_fixmul()
/external/webkit/Source/WebCore/platform/graphics/android/context/
DPlatformGraphicsContextSkia.cpp46 value = SkApplySign(value, sign); in fastMod()
49 return SkApplySign(value, sign); in fastMod()
/external/webkit/Source/WebCore/platform/graphics/skia/
DGraphicsContextSkia.cpp70 value = SkApplySign(value, sign); in fastMod()
73 return SkApplySign(value, sign); in fastMod()