Searched refs:SkTCast (Results 1 – 6 of 6) sorted by relevance
55 fPtr = new (SkTCast<T*>(fStorage)) T; in init()69 fPtr = new (SkTCast<T*>(fStorage)) T(src); in set()
342 template <typename Dst> Dst SkTCast(const void* ptr) { in SkTCast() function
123 fFilters = SkTCast<SkImageFilter**>(fStorage); in initAlloc()125 fFilters = SkTCast<SkImageFilter**>(sk_malloc_throw(size)); in initAlloc()127 fModes = hasModes ? SkTCast<uint8_t*>(fFilters + count) : NULL; in initAlloc()160 if (fFilters != SkTCast<SkImageFilter**>(fStorage)) { in ~SkMergeImageFilter()
124 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint); in onDraw()200 canvas->drawPoints(fMode, N * 2, SkTCast<SkPoint*>(fRects), paint); in onDraw()
54 uint32_t* d = SkTCast<uint32_t*>(dst); in performTest()55 const uint32_t* s = SkTCast<const uint32_t*>(src); in performTest()
481 while (SkTCast<intptr_t>(alpha) & 0x3) { in add_aa_span()