Home
last modified time | relevance | path

Searched refs:safeSize (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DBitmapCopyTest.cpp366 Sk64 safeSize = tstSafeSize.getSafeSize64(); in TestBitmapCopy() local
367 if (safeSize.isNeg()) { in TestBitmapCopy()
380 if (safeSize.fHi != 0x470DE || in TestBitmapCopy()
381 safeSize.fLo != 0x4DF82000) in TestBitmapCopy()
387 if (safeSize.fHi != 0x2386F2 || in TestBitmapCopy()
388 safeSize.fLo != 0x6FC10000) in TestBitmapCopy()
394 if (safeSize.fHi != 0x470DE4 || in TestBitmapCopy()
395 safeSize.fLo != 0xDF820000) in TestBitmapCopy()
400 if (safeSize.fHi != 0x8E1BC9 || in TestBitmapCopy()
401 safeSize.fLo != 0xBF040000) in TestBitmapCopy()
/external/skia/src/core/
DSkBitmap.cpp235 Sk64 safeSize; in ComputeSafeSize64() local
236 safeSize.setZero(); in ComputeSafeSize64()
238 safeSize.set(ComputeRowBytes(config, width)); in ComputeSafeSize64()
241 safeSize.add(sizeAllButLastRow); in ComputeSafeSize64()
243 SkASSERT(!safeSize.isNeg()); in ComputeSafeSize64()
244 return safeSize; in ComputeSafeSize64()
251 Sk64 safeSize = ComputeSafeSize64(config, width, height, rowBytes); in ComputeSafeSize() local
252 return (safeSize.is32() ? safeSize.get32() : 0); in ComputeSafeSize()
473 size_t safeSize = getSafeSize(); in copyPixelsTo() local
474 if (safeSize > dstSize || safeSize == 0) in copyPixelsTo()
[all …]