Home
last modified time | relevance | path

Searched refs:SkTCast (Results 1 – 13 of 13) sorted by relevance

/external/skia/include/core/
DSkFloatingPoint.h140 #define SK_FloatNaN (*SkTCast<const float*>(&gIEEENotANumber))
141 #define SK_FloatInfinity (*SkTCast<const float*>(&gIEEEInfinity))
142 #define SK_FloatNegativeInfinity (*SkTCast<const float*>(&gIEEENegativeInfinity))
173 int i = *SkTCast<int*>(&x); in sk_float_rsqrt()
175 float estimate = *SkTCast<float*>(&i); in sk_float_rsqrt()
DSkTLazy.h58 fPtr = new (SkTCast<T*>(fStorage)) T; in init()
72 fPtr = new (SkTCast<T*>(fStorage)) T(src); in set()
DSkTypes.h441 template <typename Dst> Dst SkTCast(const void* ptr) { in SkTCast() function
/external/skia/src/effects/
DSkMergeImageFilter.cpp22 fModes = SkTCast<uint8_t*>(fStorage); in initAllocModes()
24 fModes = SkTCast<uint8_t*>(sk_malloc_throw(size)); in initAllocModes()
53 if (fModes != SkTCast<uint8_t*>(fStorage)) { in ~SkMergeImageFilter()
/external/skia/src/utils/
DSkCamera.cpp220 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis); in doUpdate()
226 SkTCast<SkPoint3D*>(&zenith)->normalize(&zenith); in doUpdate()
264 dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&diff), in patchToMatrix()
265 *SkTCast<const SkUnit3D*>(SkTCast<const SkScalar*>(&fOrientation) + 6)); in patchToMatrix()
/external/skia/bench/
DMathBench.cpp72 uint32_t* d = SkTCast<uint32_t*>(dst); in performTest()
73 const uint32_t* s = SkTCast<const uint32_t*>(src); in performTest()
130 int i = *SkTCast<int*>(&x); in SkFastInvSqrt()
132 x = *SkTCast<float*>(&i); in SkFastInvSqrt()
DRectBench.cpp165 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint); in onDraw()
242 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint); in onDraw()
/external/skia/tests/
DPointTest.cpp18 const SkScalar* pPtr = SkTCast<const SkScalar*>(&p); in test_casts()
19 const SkScalar* rPtr = SkTCast<const SkScalar*>(&r); in test_casts()
DMatrixTest.cpp40 int aValI = *SkTCast<int*>(&aVal); in are_equal()
41 int bValI = *SkTCast<int*>(&bVal); in are_equal()
54 int aValI = *SkTCast<int*>(&aVal); in are_equal()
55 int bValI = *SkTCast<int*>(&bVal); in are_equal()
/external/skia/src/core/
DSkTLList.h57 SkTCast<T*>(node->fObj)->~T(); in ~SkTLList()
268 SkTCast<T*>(node->fObj)->~T(); in removeNode()
DSkBitmapProcState.cpp60 matrix.mapPoints(SkTCast<SkPoint*>(&dst), in just_trans_clamp()
61 SkTCast<const SkPoint*>(&src), in just_trans_clamp()
DSkScan_AntiPath.cpp498 while (SkTCast<intptr_t>(alpha) & 0x3) { in add_aa_span()
DSkDraw.cpp784 return SkTCast<const SkPoint*>(&r); in rect_points()
788 return SkTCast<SkPoint*>(&r); in rect_points()