Searched refs:SkTCast (Results 1 – 13 of 13) sorted by relevance
/external/skia/include/core/ |
D | SkFloatingPoint.h | 140 #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()
|
D | SkTLazy.h | 58 fPtr = new (SkTCast<T*>(fStorage)) T; in init() 72 fPtr = new (SkTCast<T*>(fStorage)) T(src); in set()
|
D | SkTypes.h | 441 template <typename Dst> Dst SkTCast(const void* ptr) { in SkTCast() function
|
/external/skia/src/effects/ |
D | SkMergeImageFilter.cpp | 22 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/ |
D | SkCamera.cpp | 220 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/ |
D | MathBench.cpp | 72 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()
|
D | RectBench.cpp | 165 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/ |
D | PointTest.cpp | 18 const SkScalar* pPtr = SkTCast<const SkScalar*>(&p); in test_casts() 19 const SkScalar* rPtr = SkTCast<const SkScalar*>(&r); in test_casts()
|
D | MatrixTest.cpp | 40 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/ |
D | SkTLList.h | 57 SkTCast<T*>(node->fObj)->~T(); in ~SkTLList() 268 SkTCast<T*>(node->fObj)->~T(); in removeNode()
|
D | SkBitmapProcState.cpp | 60 matrix.mapPoints(SkTCast<SkPoint*>(&dst), in just_trans_clamp() 61 SkTCast<const SkPoint*>(&src), in just_trans_clamp()
|
D | SkScan_AntiPath.cpp | 498 while (SkTCast<intptr_t>(alpha) & 0x3) { in add_aa_span()
|
D | SkDraw.cpp | 784 return SkTCast<const SkPoint*>(&r); in rect_points() 788 return SkTCast<SkPoint*>(&r); in rect_points()
|