Searched refs:SkTCast (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/effects/ |
D | SkMergeImageFilter.cpp | 39 fModes = SkTCast<uint8_t*>(fStorage); in initAllocModes() 41 fModes = SkTCast<uint8_t*>(sk_malloc_throw(size)); in initAllocModes() 70 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 | 427 template <typename Dst> Dst SkTCast(const void* ptr) { in SkTCast() function
|
/external/skia/src/utils/ |
D | SkCamera.cpp | 221 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis); in doUpdate() 227 SkTCast<SkPoint3D*>(&zenith)->normalize(&zenith); in doUpdate() 279 dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&diff), in patchToMatrix() 280 *SkTCast<const SkUnit3D*>(SkTCast<const SkScalar*>(&fOrientation) + 6)); in patchToMatrix()
|
/external/skia/include/private/ |
D | GrSwizzle.h | 41 uint32_t* asUIntPtr() { return SkTCast<uint32_t*>(fSwiz); } in asUIntPtr() 42 uint32_t asUInt() const { return *SkTCast<const uint32_t*>(fSwiz); } in asUInt()
|
D | SkFloatingPoint.h | 103 #define SK_FloatNaN (*SkTCast<const float*>(&kIEEENotANumber))
|
/external/skia/tests/ |
D | PointTest.cpp | 17 const SkScalar* pPtr = SkTCast<const SkScalar*>(&p); in test_casts() 18 const SkScalar* rPtr = SkTCast<const SkScalar*>(&r); in test_casts()
|
D | RectangleTextureTest.cpp | 58 uint8_t* expectedBytes0 = SkTCast<uint8_t*>(&expectedColor0); in test_clear() 73 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/bench/ |
D | RectBench.cpp | 186 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint); in onDraw() 264 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint); in onDraw()
|
D | MathBench.cpp | 79 uint32_t* d = SkTCast<uint32_t*>(dst); in performTest() 80 const uint32_t* s = SkTCast<const uint32_t*>(src); in performTest()
|
/external/skia/src/core/ |
D | SkTLList.h | 53 SkTCast<T*>(node->fObj)->~T(); in ~SkTLList() 266 SkTCast<T*>(node->fObj)->~T(); in removeNode()
|
D | SkBitmapProcState.cpp | 71 matrix.mapPoints(SkTCast<SkPoint*>(&dst), in just_trans_clamp() 72 SkTCast<const SkPoint*>(&src), in just_trans_clamp()
|
D | SkScan_AntiPath.cpp | 496 while (SkTCast<intptr_t>(alpha) & 0x3) { in add_aa_span()
|
D | SkDraw.cpp | 760 return SkTCast<const SkPoint*>(&r); in rect_points() 764 return SkTCast<SkPoint*>(&r); in rect_points()
|
/external/skia/src/gpu/ |
D | GrProgramDesc.cpp | 81 uint16_t* k16 = SkTCast<uint16_t*>(b->add32n(word32Count)); in add_sampler_and_image_keys()
|