Searched refs:SkTCast (Results 1 – 17 of 17) sorted by relevance
/external/skia/include/private/ |
D | SkFloatingPoint.h | 126 #define SK_FloatNaN (*SkTCast<const float*>(&gIEEENotANumber)) 127 #define SK_FloatInfinity (*SkTCast<const float*>(&gIEEEInfinity)) 128 #define SK_FloatNegativeInfinity (*SkTCast<const float*>(&gIEEENegativeInfinity)) 132 int i = *SkTCast<int*>(&x); in sk_float_rsqrt_portable() 134 float estimate = *SkTCast<float*>(&i); in sk_float_rsqrt_portable()
|
/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/include/core/ |
D | SkTLazy.h | 54 fPtr = new (SkTCast<T*>(fStorage.get())) T(std::forward<Args>(args)...); in init() 68 fPtr = new (SkTCast<T*>(fStorage.get())) T(src); in set()
|
D | SkTypes.h | 465 template <typename Dst> Dst SkTCast(const void* ptr) { in SkTCast() function
|
/external/skia/src/gpu/ |
D | GrSwizzle.h | 146 uint32_t* asUIntPtr() { return SkTCast<uint32_t*>(fSwiz); } in asUIntPtr() 147 uint32_t asUInt() const { return *SkTCast<const uint32_t*>(fSwiz); } in asUInt()
|
/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 | 77 uint32_t* d = SkTCast<uint32_t*>(dst); in performTest() 78 const uint32_t* s = SkTCast<const uint32_t*>(src); in performTest() 129 uint32_t i = *SkTCast<uint32_t*>(&x); in SkFastInvSqrt() 131 x = *SkTCast<float*>(&i); in SkFastInvSqrt()
|
D | RectBench.cpp | 191 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint); in onDraw() 268 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 | RectangleTextureTest.cpp | 109 uint8_t* expectedBytes0 = SkTCast<uint8_t*>(&expectedColor0); in test_clear() 124 uint8_t* expectedBytes1 = SkTCast<uint8_t*>(&expectedColor1); in test_clear()
|
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 | 55 SkTCast<T*>(node->fObj)->~T(); in ~SkTLList() 253 SkTCast<T*>(node->fObj)->~T(); in removeNode()
|
D | SkBitmapProcState.cpp | 82 matrix.mapPoints(SkTCast<SkPoint*>(&dst), in just_trans_clamp() 83 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 | 791 return SkTCast<const SkPoint*>(&r); in rect_points() 795 return SkTCast<SkPoint*>(&r); in rect_points()
|
/external/skia/src/gpu/vk/ |
D | GrVkProgramDesc.cpp | 29 uint16_t* k16 = SkTCast<uint16_t*>(b->add32n(word32Count)); in add_texture_key()
|
/external/skia/src/gpu/gl/ |
D | GrGLProgramDesc.cpp | 41 uint16_t* k16 = SkTCast<uint16_t*>(b->add32n(word32Count)); in add_texture_key()
|