Home
last modified time | relevance | path

Searched refs:SkLONGLONG (Results 1 – 14 of 14) sorted by relevance

/external/skia/tests/
DSk64Test.cpp27 #ifdef SkLONGLONG
28 static SkLONGLONG asLL(const Sk64& a) in asLL()
30 return ((SkLONGLONG)a.fHi << 32) | a.fLo; in asLL()
98 #ifdef SkLONGLONG in TestSk64()
115 SkLONGLONG aa = asLL(a); in TestSk64()
116 SkLONGLONG bb = asLL(b); in TestSk64()
141 SkLONGLONG tmp; in TestSk64()
145 tmp += (SkLONGLONG)1 << (bits - 1); in TestSk64()
149 tmp = (SkLONGLONG)a.fHi * b.fHi; in TestSk64()
162 SkLONGLONG check = wide.getLongLong(); in TestSk64()
[all …]
DMathTest.cpp143 #if defined(SkLONGLONG)
152 int c = (int)(((SkLONGLONG)a * b) >> 16); in symmetric_fixmul()
156 SkLONGLONG ab = (SkLONGLONG)a * b; in symmetric_fixmul()
479 #ifdef SkLONGLONG in TestMath()
484 SkLONGLONG check = ((SkLONGLONG)numer << 16) / denom; in TestMath()
498 check = ((SkLONGLONG)numer << 30) / denom; in TestMath()
/external/skia/legacy/include/core/
DSkFixed.h168 #ifdef SkLONGLONG
171 return (SkFixed)((SkLONGLONG)a * b >> 16); in SkFixedMul_longlong()
175 return (SkFixed)((SkLONGLONG)a * b >> 30); in SkFractMul_longlong()
179 return (SkFixed)((SkLONGLONG)value * value >> 16); in SkFixedSquare_longlong()
DSkPostConfig.h215 #ifndef SkLONGLONG
217 #define SkLONGLONG __int64 macro
219 #define SkLONGLONG long long macro
DSkUserConfig.h112 #define SkLONGLONG int64_t macro
DSk64.h225 #ifdef SkLONGLONG
226 SkLONGLONG getLongLong() const;
/external/skia/include/core/
DSkFixed.h175 #ifdef SkLONGLONG
178 return (SkFixed)((SkLONGLONG)a * b >> 16); in SkFixedMul_longlong()
182 return (SkFixed)((SkLONGLONG)a * b >> 30); in SkFractMul_longlong()
186 return (SkFixed)((SkLONGLONG)value * value >> 16); in SkFixedSquare_longlong()
DSkPostConfig.h236 #ifndef SkLONGLONG
238 #define SkLONGLONG __int64 macro
240 #define SkLONGLONG long long macro
DSkUserConfig.h128 #define SkLONGLONG int64_t macro
DSk64.h225 #ifdef SkLONGLONG
226 SkLONGLONG getLongLong() const;
/external/skia/src/core/
DSk64.cpp308 #ifdef SkLONGLONG
309 SkLONGLONG Sk64::getLongLong() const in getLongLong()
311 SkLONGLONG value = fHi; in getLongLong()
DSkMath.cpp134 #elif defined(SkLONGLONG) in SkFixedMul_portable()
135 return static_cast<SkFixed>((SkLONGLONG)a * b >> 16); in SkFixedMul_portable()
159 #elif defined(SkLONGLONG) in SkFractMul_portable()
160 return static_cast<SkFract>((SkLONGLONG)a * b >> 30); in SkFractMul_portable()
/external/skia/legacy/src/core/
DSk64.cpp310 #ifdef SkLONGLONG
311 SkLONGLONG Sk64::getLongLong() const in getLongLong()
313 SkLONGLONG value = fHi; in getLongLong()
DSkMath.cpp135 #elif defined(SkLONGLONG) in SkFixedMul_portable()
136 return static_cast<SkFixed>((SkLONGLONG)a * b >> 16); in SkFixedMul_portable()
160 #elif defined(SkLONGLONG) in SkFractMul_portable()
161 return static_cast<SkFract>((SkLONGLONG)a * b >> 30); in SkFractMul_portable()