Home
last modified time | relevance | path

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

/external/skia/tests/
DPackBitsTest.cpp29 size_t dstSize = SkPackBits::Pack16(gTests[i].fSrc, in test_pack16() local
32 int srcCount = SkPackBits::Unpack16(dst, dstSize, src); in test_pack16()
44 size_t dstSize = SkPackBits::Pack16(src, size, dst); in test_pack16() local
46 REPORTER_ASSERT(reporter, maxSize >= dstSize); in test_pack16()
48 size_t srcCount = SkPackBits::Unpack16(dst, dstSize, src2); in test_pack16()
81 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() local
83 REPORTER_ASSERT(reporter, dstSize <= maxSize); in test_pack8()
85 int srcCount = SkPackBits::Unpack8(dst, dstSize, src); in test_pack8()
98 size_t dstSize = SkPackBits::Pack8(src, size, dst); in test_pack8() local
100 REPORTER_ASSERT(reporter, maxSize >= dstSize); in test_pack8()
[all …]
/external/icu4c/common/
Dunistr_cnv.cpp111 uint32_t dstSize, in extract() argument
115 if(/*dstSize < 0 || */(dstSize > 0 && target == 0)) { in extract()
128 if(dstSize >= 0x80000000) { in extract()
131 dstSize=0x7fffffff; in extract()
133 return u_terminateChars(target, dstSize, 0, &status); in extract()
144 if(dstSize >= 0x80000000) { in extract()
147 dstSize=0x7fffffff; in extract()
148 } else if(length <= (int32_t)dstSize) { in extract()
151 destLength = (int32_t)dstSize; in extract()
154 return u_terminateChars(target, (int32_t)dstSize, length, &status); in extract()
[all …]
/external/webkit/WebCore/platform/win/
DDragImageCairoWin.cpp115 …IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height… in scaleDragImage()
125 hbmp = allocImage(dstDC, dstSize, &targetContext); in scaleDragImage()
134 cairo_translate(targetContext, 0, dstSize.height()); in scaleDragImage()
DDragImageCGWin.cpp94 …IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height… in scaleDragImage()
101 hbmp = allocImage(dstDC, dstSize, &targetContext); in scaleDragImage()
110 rect.size = dstSize; in scaleDragImage()
/external/skia/src/effects/
DSkBlurMask.cpp272 size_t dstSize = dst->computeImageSize(); in Blur() local
273 if (0 == dstSize) { in Blur()
280 uint8_t* dp = SkMask::AllocImage(dstSize); in Blur()