Searched refs:SkTFitsIn (Results 1 – 10 of 10) sorted by relevance
190 template <typename D, typename S> struct SkTFitsIn { struct217 template <typename D, typename S> inline bool SkTFitsIn(S s) { argument224 return !sktfitsin::Private::SkTFitsIn<RealD, RealS>::type::OutOfRange(s);
117 if (!SkTFitsIn<size_t>(realFileSize)) { in getLength()190 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { in ReadFileFragment()
94 if (!SkTFitsIn<size_t>(fileSize.QuadPart)) { in sk_fdmmap()141 if (!SkTFitsIn<DWORD>(count)) { in sk_qread()
71 if (!SkTFitsIn<size_t>(status.st_size)) { in sk_fdmmap()
14 #define TEST(S, s, D, expected) REPORTER_ASSERT(reporter, (SkTFitsIn<D>((S)(s)) == (expected)))
54 if (!SkTFitsIn<T>(value)) { in castTo()
108 SkASSERT(SkTFitsIn<uint32_t>(sizeof(T))); in makeSkSp()
518 if (!buffer.validate(SkTFitsIn<int>(inCount))) { in new_array_from_buffer()556 if (!buffer.validate(SkTFitsIn<int>(size))) { in parseBufferTag()
212 SkASSERT(SkTFitsIn<D>(s)); in SkTo()
464 "$_include/private/SkTFitsIn.h",