/external/skia/tests/ |
PackBitsTest.cpp | 36 size_t dstSize = SkPackBits::Pack16(gTests[i].fSrc, 39 int srcCount = SkPackBits::Unpack16(dst, dstSize, src); 51 size_t dstSize = SkPackBits::Pack16(src, size, dst); 53 REPORTER_ASSERT(reporter, maxSize >= dstSize); 55 size_t srcCount = SkPackBits::Unpack16(dst, dstSize, src2); 88 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, 90 REPORTER_ASSERT(reporter, dstSize <= maxSize); 92 int srcCount = SkPackBits::Unpack8(dst, dstSize, src); 105 size_t dstSize = SkPackBits::Pack8(src, size, dst); 107 REPORTER_ASSERT(reporter, maxSize >= dstSize); [all...] |
/external/webkit/Source/WebCore/platform/text/brew/ |
TextCodecBrew.cpp | 112 int dstSize = dstBuffer.size() * sizeof(UChar); 114 code = ICharsetConv_CharsetConvert(m_charsetConverter, &src, &srcSize, &dst, &dstSize, &numCharsConverted); 177 int dstSize = dstBuffer.size(); 179 code = ICharsetConv_CharsetConvert(m_charsetConverter, &src, &srcSize, &dst, &dstSize, &numCharsConverted);
|
/external/icu4c/common/ |
unistr_cnv.cpp | 132 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; [all...] |
unistr.cpp | 813 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); [all...] |
/external/webkit/Source/WebCore/platform/win/ |
DragImageCGWin.cpp | 90 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;
|
DragImageCairoWin.cpp | 112 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/ |
PlatformContextSkia.h | 174 void getImageResamplingHint(IntSize* srcSize, FloatSize* dstSize) const; 175 void setImageResamplingHint(const IntSize& srcSize, const FloatSize& dstSize);
|
ImageSkia.cpp | 74 FloatSize dstSize; 75 platformContext->getImageResamplingHint(&srcSize, &dstSize); 78 destWidth = dstSize.width(); 79 destHeight = dstSize.height();
|
PlatformContextSkia.cpp | 625 void PlatformContextSkia::getImageResamplingHint(IntSize* srcSize, FloatSize* dstSize) const 628 *dstSize = m_imageResamplingHintDstSize; 631 void PlatformContextSkia::setImageResamplingHint(const IntSize& srcSize, const FloatSize& dstSize) 634 m_imageResamplingHintDstSize = dstSize;
|
/frameworks/base/cmds/installd/ |
utils.c | 392 const size_t dstSize = dst->len + 1; 393 dst->path = (char*) malloc(dstSize); 396 || snprintf(dst->path, dstSize, "%s%s", src->path, suffix)
|
/frameworks/base/media/jni/ |
android_media_MediaExtractor.cpp | 118 jlong dstSize; 139 dstSize = env->GetArrayLength(byteArray); 141 dstSize = env->GetDirectBufferCapacity(byteBuf); 144 if (dstSize < offset) { 152 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset);
|
/external/skia/src/effects/ |
SkBlurMask.cpp | 592 size_t dstSize = dst->computeImageSize(); 593 if (0 == dstSize) { 600 uint8_t* dp = SkMask::AllocImage(dstSize); 623 SkAutoTMalloc<uint8_t> tmpBuffer(dstSize);
|
/external/skia/include/core/ |
SkBitmap.h | 250 @param dstSize Size of destination buffer. Must be large enough to hold 256 bool copyPixelsTo(void* const dst, size_t dstSize, int dstRowBytes = -1, [all...] |
/frameworks/av/media/libstagefright/matroska/ |
MatroskaExtractor.cpp | 548 size_t dstSize = 0; 595 dstSize = dstOffset; 597 buffer = new MediaBuffer(dstSize);
|
/external/skia/src/core/ |
SkBitmap.cpp | 460 bool SkBitmap::copyPixelsTo(void* const dst, size_t dstSize, 474 if (safeSize > dstSize || safeSize == 0) 488 dstSize) [all...] |