Lines Matching refs:fHi
20 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()
97 void set(int32_t hi, uint32_t lo) { fHi = hi; fLo = lo; } in set()
100 void set(int32_t a) { fHi = a >> 31; fLo = a; } in set()
134 fHi = fHi + hi + (sum < fLo); in add()
142 fHi = fHi + hi + (sum < fLo); in add()
147 void add(const Sk64& other) { this->add(other.fHi, other.fLo); } in add()
173 return this->addGetFixed(other.fHi, other.fLo); in addGetFixed()
184 hi += fHi + (sum < fLo); in addGetFixed()
202 return a.fHi == b.fHi && a.fLo == b.fLo;
206 return a.fHi != b.fHi || a.fLo != b.fLo;
210 return a.fHi < b.fHi || (a.fHi == b.fHi && a.fLo < b.fLo);
214 return a.fHi < b.fHi || (a.fHi == b.fHi && a.fLo <= b.fLo);
218 return a.fHi > b.fHi || (a.fHi == b.fHi && a.fLo > b.fLo);
222 return a.fHi > b.fHi || (a.fHi == b.fHi && a.fLo >= b.fLo);