Home
last modified time | relevance | path

Searched refs:fragmentSize (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/skia/src/utils/win/
DSkDWriteFontFileStream.cpp174 UINT64 fragmentSize, in ReadFileFragment() argument
180 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) { in ReadFileFragment()
186 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { in ReadFileFragment()
208 SkAutoTMalloc<uint8_t> streamData(static_cast<size_t>(fragmentSize)); in ReadFileFragment()
209 if (fStream->read(streamData.get(), static_cast<size_t>(fragmentSize)) != fragmentSize) { in ReadFileFragment()
DSkDWriteFontFileStream.h60 UINT64 fragmentSize,
/external/skia/src/utils/win/
DSkDWriteFontFileStream.cpp174 UINT64 fragmentSize, in ReadFileFragment() argument
180 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) { in ReadFileFragment()
186 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { in ReadFileFragment()
208 SkAutoTMalloc<uint8_t> streamData(static_cast<size_t>(fragmentSize)); in ReadFileFragment()
209 if (fStream->read(streamData.get(), static_cast<size_t>(fragmentSize)) != fragmentSize) { in ReadFileFragment()
DSkDWriteFontFileStream.h60 UINT64 fragmentSize,
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
DNativeImageSkia.cpp532 …unsigned long long fragmentSize = static_cast<unsigned long long>(scaledImageSubset.width()) * sta… in shouldCacheResampling() local
534 if (fragmentSize > kLargeBitmapSize) in shouldCacheResampling()
540 if (fragmentSize <= kSmallBitmapSize) in shouldCacheResampling()
550 return fragmentSize > fullSize / 4; in shouldCacheResampling()