Home
last modified time | relevance | path

Searched refs:fHi (Results 1 – 7 of 7) sorted by relevance

/external/skia/include/core/
DSk64.h20 int32_t fHi; //!< the high 32 bits of the number (including sign) member
25 SkBool is32() const { return fHi == ((int32_t)fLo >> 31); } in is32()
29 SkBool is64() const { return fHi != ((int32_t)fLo >> 31); } in is64()
46 int32_t hi = fHi; in getFixed()
67 SkBool isZero() const { return (fHi | fLo) == 0; } in isZero()
70 SkBool nonZero() const { return fHi | fLo; } in nonZero()
73 SkBool isNeg() const { return (uint32_t)fHi >> 31; } in isNeg()
76 SkBool isPos() const { return ~(fHi >> 31) & (fHi | fLo); } in isPos()
79 int getSign() const { return (fHi >> 31) | Sk32ToBool(fHi | fLo); } in getSign()
94 void setZero() { fHi = fLo = 0; } in setZero()
[all …]
/external/skia/src/core/
DSk64.cpp26 int32_t hi = fHi; in getClzAbs()
46 fHi = fLo << (bits - 32); in shiftLeft()
51 fHi = (fHi << bits) | (fLo >> (32 - bits)); in shiftLeft()
64 return fHi >> (bits - 32); in getShiftRight()
68 int32_t tmp = fHi >> bits; in getShiftRight()
71 return (fHi << (32 - bits)) | (fLo >> bits); in getShiftRight()
83 fLo = fHi >> (bits - 32); in shiftRight()
84 fHi >>= 31; in shiftRight()
88 fLo = (fHi << (32 - bits)) | (fLo >> bits); in shiftRight()
89 fHi >>= bits; in shiftRight()
[all …]
DSkCordic.cpp62 sin = scaled.fHi; in SkCordicSinCos()
65 scaled.fHi = - scaled.fHi; in SkCordicSinCos()
66 *cosp = scaled.fHi; in SkCordicSinCos()
100 return scaled.fHi; in SkCircularVector()
187 z = scaled.fHi; in SkCordicLog()
DSkMatrix.cpp885 clzNumer = SkCLZ(SkAbs32(tx.fHi) | SkAbs32(ty.fHi)); in invert()
/external/skia/tests/
DSk64Test.cpp30 return ((SkLONGLONG)a.fHi << 32) | a.fLo; in asLL()
48 a.fHi = a.fLo = 0; in TestSk64()
55 a.fHi = 0; a.fLo = 5; in TestSk64()
61 a.fHi = -1; a.fLo = (uint32_t)-5; in TestSk64()
111 a.fHi = 0; in TestSk64()
112 b.fHi = 0; in TestSk64()
148 c.setMul(a.fHi, b.fHi); in TestSk64()
149 tmp = (SkLONGLONG)a.fHi * b.fHi; in TestSk64()
DBitmapCopyTest.cpp380 if (safeSize.fHi != 0x470DE || in TestBitmapCopy()
387 if (safeSize.fHi != 0x2386F2 || in TestBitmapCopy()
394 if (safeSize.fHi != 0x470DE4 || in TestBitmapCopy()
400 if (safeSize.fHi != 0x8E1BC9 || in TestBitmapCopy()
/external/skia/src/utils/
DSkSfntUtils.cpp25 value.fHi = (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]; in parse_be64()