Searched refs:SkTCast (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/third_party/skia/include/core/
H A DSkFloatingPoint.h119 #define SK_FloatNaN (*SkTCast<const float*>(&gIEEENotANumber))
120 #define SK_FloatInfinity (*SkTCast<const float*>(&gIEEEInfinity))
121 #define SK_FloatNegativeInfinity (*SkTCast<const float*>(&gIEEENegativeInfinity))
152 int i = *SkTCast<int*>(&x);
154 float estimate = *SkTCast<float*>(&i);
H A DSkTLazy.h58 fPtr = new (SkTCast<T*>(fStorage)) T;
72 fPtr = new (SkTCast<T*>(fStorage)) T(src);
H A DSkTypes.h434 template <typename Dst> Dst SkTCast(const void* ptr) { function
/external/skia/include/core/
H A DSkFloatingPoint.h117 #define SK_FloatNaN (*SkTCast<const float*>(&gIEEENotANumber))
118 #define SK_FloatInfinity (*SkTCast<const float*>(&gIEEEInfinity))
119 #define SK_FloatNegativeInfinity (*SkTCast<const float*>(&gIEEENegativeInfinity))
150 int i = *SkTCast<int*>(&x);
152 float estimate = *SkTCast<float*>(&i);
H A DSkTLazy.h58 fPtr = new (SkTCast<T*>(fStorage)) T;
72 fPtr = new (SkTCast<T*>(fStorage)) T(src);
H A DSkTypes.h428 template <typename Dst> Dst SkTCast(const void* ptr) { function
/external/chromium_org/third_party/skia/src/effects/
H A DSkMergeImageFilter.cpp22 fModes = SkTCast<uint8_t*>(fStorage);
24 fModes = SkTCast<uint8_t*>(sk_malloc_throw(size));
54 if (fModes != SkTCast<uint8_t*>(fStorage)) {
/external/skia/src/effects/
H A DSkMergeImageFilter.cpp22 fModes = SkTCast<uint8_t*>(fStorage);
24 fModes = SkTCast<uint8_t*>(sk_malloc_throw(size));
63 if (fModes != SkTCast<uint8_t*>(fStorage)) {
/external/chromium_org/third_party/skia/tests/
H A DPointTest.cpp18 const SkScalar* pPtr = SkTCast<const SkScalar*>(&p);
19 const SkScalar* rPtr = SkTCast<const SkScalar*>(&r);
H A DMatrixTest.cpp40 int aValI = *SkTCast<int*>(&aVal);
41 int bValI = *SkTCast<int*>(&bVal);
54 int aValI = *SkTCast<int*>(&aVal);
55 int bValI = *SkTCast<int*>(&bVal);
/external/skia/tests/
H A DPointTest.cpp18 const SkScalar* pPtr = SkTCast<const SkScalar*>(&p);
19 const SkScalar* rPtr = SkTCast<const SkScalar*>(&r);
H A DMatrixTest.cpp40 int aValI = *SkTCast<int*>(&aVal);
41 int bValI = *SkTCast<int*>(&bVal);
54 int aValI = *SkTCast<int*>(&aVal);
55 int bValI = *SkTCast<int*>(&bVal);
/external/chromium_org/third_party/skia/bench/
H A DMathBench.cpp72 uint32_t* d = SkTCast<uint32_t*>(dst);
73 const uint32_t* s = SkTCast<const uint32_t*>(src);
130 int i = *SkTCast<int*>(&x);
132 x = *SkTCast<float*>(&i);
H A DRectBench.cpp165 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint);
242 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint);
/external/skia/bench/
H A DMathBench.cpp72 uint32_t* d = SkTCast<uint32_t*>(dst);
73 const uint32_t* s = SkTCast<const uint32_t*>(src);
130 int i = *SkTCast<int*>(&x);
132 x = *SkTCast<float*>(&i);
H A DRectBench.cpp165 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint);
296 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint);
/external/chromium_org/third_party/skia/src/utils/
H A DSkCamera.cpp220 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis);
226 SkTCast<SkPoint3D*>(&zenith)->normalize(&zenith);
264 dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&diff),
265 *SkTCast<const SkUnit3D*>(SkTCast<const SkScalar*>(&fOrientation) + 6));
/external/skia/src/utils/
H A DSkCamera.cpp220 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis);
226 SkTCast<SkPoint3D*>(&zenith)->normalize(&zenith);
264 dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&diff),
265 *SkTCast<const SkUnit3D*>(SkTCast<const SkScalar*>(&fOrientation) + 6));
/external/chromium_org/third_party/skia/src/core/
H A DSkTLList.h57 SkTCast<T*>(node->fObj)->~T();
268 SkTCast<T*>(node->fObj)->~T();
H A DSkBitmapProcState.cpp58 matrix.mapPoints(SkTCast<SkPoint*>(&dst),
59 SkTCast<const SkPoint*>(&src),
H A DSkScan_AntiPath.cpp497 while (SkTCast<intptr_t>(alpha) & 0x3) {
/external/skia/src/core/
H A DSkTLList.h57 SkTCast<T*>(node->fObj)->~T();
268 SkTCast<T*>(node->fObj)->~T();
H A DSkBitmapProcState.cpp57 matrix.mapPoints(SkTCast<SkPoint*>(&dst),
58 SkTCast<const SkPoint*>(&src),
H A DSkScan_AntiPath.cpp473 while (SkTCast<intptr_t>(alpha) & 0x3) {
/external/skia/src/gpu/gl/
H A DGrGLCreateNullInterface.cpp76 id = SkTCast<GrGLuint>(gBuffers[0]);
94 gBuffers[0] = SkTCast<GrBufferObj*>((const void*)(intptr_t)id);

Completed in 5188 milliseconds

12