Searched refs:dstSize (Results 1 - 13 of 13) sorted by relevance

/external/skia/tests/
H A DPackBitsTest.cpp36 size_t dstSize = SkPackBits::Pack16(gTests[i].fSrc, local
39 int srcCount = SkPackBits::Unpack16(dst, dstSize, src);
51 size_t dstSize = SkPackBits::Pack16(src, size, dst); local
53 REPORTER_ASSERT(reporter, maxSize >= dstSize);
55 size_t srcCount = SkPackBits::Unpack16(dst, dstSize, src2);
88 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, local
90 REPORTER_ASSERT(reporter, dstSize <= maxSize);
92 int srcCount = SkPackBits::Unpack8(dst, dstSize, src);
105 size_t dstSize = SkPackBits::Pack8(src, size, dst); local
107 REPORTER_ASSERT(reporter, maxSize >= dstSize);
[all...]
/external/webkit/Source/WebCore/platform/text/brew/
H A DTextCodecBrew.cpp112 int dstSize = dstBuffer.size() * sizeof(UChar); local
114 code = ICharsetConv_CharsetConvert(m_charsetConverter, &src, &srcSize, &dst, &dstSize, &numCharsConverted);
177 int dstSize = dstBuffer.size(); local
179 code = ICharsetConv_CharsetConvert(m_charsetConverter, &src, &srcSize, &dst, &dstSize, &numCharsConverted);
/external/icu4c/common/
H A Dunistr_cnv.cpp132 uint32_t dstSize) const {
133 return extract(start, length, target, dstSize, 0);
143 uint32_t dstSize,
147 if(/*dstSize < 0 || */(dstSize > 0 && target == 0)) {
154 // We need to cast dstSize to int32_t for all subsequent code.
156 // Also, dstSize==0xffffffff means "unlimited" but if we use target+dstSize
160 if(dstSize < 0x7fffffff) {
162 capacity = (int32_t)dstSize;
140 extract(int32_t start, int32_t length, char *target, uint32_t dstSize, const char *codepage) const argument
[all...]
H A Dunistr.cpp813 char *target, uint32_t dstSize) const {
815 if(/*dstSize < 0 || */(dstSize > 0 && target == 0)) {
818 return toUTF8(start, len, target, dstSize <= 0x7fffffff ? (int32_t)dstSize : 0x7fffffff);
/external/webkit/Source/WebCore/platform/win/
H A DDragImageCGWin.cpp90 IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height() * scale.height()));
97 hbmp = allocImage(dstDC, dstSize, &targetContext);
106 rect.size = dstSize;
H A DDragImageCairoWin.cpp112 IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height() * scale.height()));
122 hbmp = allocImage(dstDC, dstSize, &targetContext);
132 cairo_translate(cr, 0, dstSize.height());
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DPlatformContextSkia.h174 void getImageResamplingHint(IntSize* srcSize, FloatSize* dstSize) const;
175 void setImageResamplingHint(const IntSize& srcSize, const FloatSize& dstSize);
H A DImageSkia.cpp74 FloatSize dstSize; local
75 platformContext->getImageResamplingHint(&srcSize, &dstSize);
78 destWidth = dstSize.width();
79 destHeight = dstSize.height();
H A DPlatformContextSkia.cpp625 void PlatformContextSkia::getImageResamplingHint(IntSize* srcSize, FloatSize* dstSize) const
628 *dstSize = m_imageResamplingHintDstSize;
631 void PlatformContextSkia::setImageResamplingHint(const IntSize& srcSize, const FloatSize& dstSize) argument
634 m_imageResamplingHintDstSize = dstSize;
/external/qemu/android/
H A Dopengles.c179 static void extractBaseString(char* dst, const char* src, size_t dstSize) argument
185 strncpy_safe(dst, src, dstSize);
195 if (end - begin + 1 > dstSize) {
196 end = begin + dstSize - 1;
/external/skia/src/effects/
H A DSkBlurMask.cpp592 size_t dstSize = dst->computeImageSize(); local
593 if (0 == dstSize) {
600 uint8_t* dp = SkMask::AllocImage(dstSize);
623 SkAutoTMalloc<uint8_t> tmpBuffer(dstSize);
/external/skia/src/core/
H A DSkBitmap.cpp460 bool SkBitmap::copyPixelsTo(void* const dst, size_t dstSize, argument
474 if (safeSize > dstSize || safeSize == 0)
488 dstSize)
/external/skia/include/core/
H A DSkBitmap.h250 @param dstSize Size of destination buffer. Must be large enough to hold
256 bool copyPixelsTo(void* const dst, size_t dstSize, int dstRowBytes = -1,

Completed in 211 milliseconds