Home
last modified time | relevance | path

Searched refs:SkTFitsIn (Results 1 – 25 of 58) sorted by relevance

123

/external/skqp/src/core/
DSkRectPriv.h58 return SkTFitsIn<int16_t>(r.fLeft) && SkTFitsIn<int16_t>(r.fTop) && in Is16Bit()
59 SkTFitsIn<int16_t>(r.fRight) && SkTFitsIn<int16_t>(r.fBottom); in Is16Bit()
DSkMask.cpp19 if (size > 0 && SkTFitsIn<int32_t>(size)) { in safeMul32()
65 if (!SkTFitsIn<int>(dstW) || !SkTFitsIn<int>(dstH)) { in PrepareDestination()
DSkWriteBuffer.cpp156 if (!SkTFitsIn<int32_t>(size)) { in writeImage()
177 if (!SkTFitsIn<int32_t>(size)) { in writeTypeface()
DSkSafeMath.h56 if (!SkTFitsIn<T>(value)) { in castTo()
/external/skia/src/core/
DSkRectPriv.h58 return SkTFitsIn<int16_t>(r.fLeft) && SkTFitsIn<int16_t>(r.fTop) && in Is16Bit()
59 SkTFitsIn<int16_t>(r.fRight) && SkTFitsIn<int16_t>(r.fBottom); in Is16Bit()
DSkMask.cpp19 if (size > 0 && SkTFitsIn<int32_t>(size)) { in safeMul32()
65 if (!SkTFitsIn<int>(dstW) || !SkTFitsIn<int>(dstH)) { in PrepareDestination()
DSkWriteBuffer.cpp156 if (!SkTFitsIn<int32_t>(size)) { in writeImage()
177 if (!SkTFitsIn<int32_t>(size)) { in writeTypeface()
DSkFDot6.h71 if (SkTFitsIn<int16_t>(a)) { in SkFDot6Div()
DSkSafeMath.h56 if (!SkTFitsIn<T>(value)) { in castTo()
/external/skqp/include/private/
DSkArenaAlloc.h103 AssertRelease(SkTFitsIn<uint32_t>(count)); in makeArrayDefault()
116 AssertRelease(SkTFitsIn<uint32_t>(count)); in makeArray()
130 AssertRelease(SkTFitsIn<uint32_t>(size)); in makeBytesAlignedTo()
142 assert(SkTFitsIn<uint32_t>(v)); in ToU32()
DSkTDArray.h157 SkASSERT_RELEASE(SkTFitsIn<int>(n)); in reserve()
341 SkASSERT_RELEASE( SkTFitsIn<int>(count) ); in adjustCount()
361 SkASSERT_RELEASE( SkTFitsIn<int>(reserve) ); in resizeStorageToAtLeast()
DSkTFitsIn.h58 /*bool*/ SkTFitsIn(S src) { in SkTFitsIn() function
DSkTo.h14 return SkASSERT(SkTFitsIn<D>(s)), in SkTo()
/external/skia/include/private/
DSkArenaAlloc.h103 AssertRelease(SkTFitsIn<uint32_t>(count)); in makeArrayDefault()
116 AssertRelease(SkTFitsIn<uint32_t>(count)); in makeArray()
130 AssertRelease(SkTFitsIn<uint32_t>(size)); in makeBytesAlignedTo()
142 assert(SkTFitsIn<uint32_t>(v)); in ToU32()
DSkTDArray.h157 SkASSERT_RELEASE(SkTFitsIn<int>(n)); in reserve()
341 SkASSERT_RELEASE( SkTFitsIn<int>(count) ); in adjustCount()
361 SkASSERT_RELEASE( SkTFitsIn<int>(reserve) ); in resizeStorageToAtLeast()
DSkTo.h14 return SkASSERT(SkTFitsIn<D>(s)), in SkTo()
DSkTFitsIn.h73 /*bool*/ SkTFitsIn(S src) {
/external/skqp/src/utils/win/
DSkDWriteFontFileStream.cpp117 if (!SkTFitsIn<size_t>(realFileSize)) { in getLength()
190 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { in ReadFileFragment()
/external/skia/src/utils/win/
DSkDWriteFontFileStream.cpp117 if (!SkTFitsIn<size_t>(realFileSize)) { in getLength()
190 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { in ReadFileFragment()
/external/skia/src/ports/
DSkOSFile_win.cpp97 if (!SkTFitsIn<size_t>(fileSize.QuadPart)) { in sk_fdmmap()
145 if (!SkTFitsIn<DWORD>(count)) { in sk_qread()
DSkOSFile_posix.cpp85 if (!SkTFitsIn<size_t>(status.st_size)) { in sk_fdmmap()
/external/skqp/src/ports/
DSkOSFile_win.cpp97 if (!SkTFitsIn<size_t>(fileSize.QuadPart)) { in sk_fdmmap()
145 if (!SkTFitsIn<DWORD>(count)) { in sk_qread()
DSkOSFile_posix.cpp85 if (!SkTFitsIn<size_t>(status.st_size)) { in sk_fdmmap()
/external/skqp/tests/
DFitsInTest.cpp14 #define TEST(S, s, D, expected) REPORTER_ASSERT(reporter, (SkTFitsIn<D>((S)(s)) == (expected)))
/external/skia/tests/
DFitsInTest.cpp14 #define TEST(S, s, D, expected) REPORTER_ASSERT(reporter, (SkTFitsIn<D>((S)(s)) == (expected)))

123