/external/skia/tests/ |
D | PackBitsTest.cpp | 36 size_t dstSize = SkPackBits::Pack16(gTests[i].fSrc, in test_pack16() local 39 int srcCount = SkPackBits::Unpack16(dst, dstSize, src); in test_pack16() 51 size_t dstSize = SkPackBits::Pack16(src, size, dst); in test_pack16() local 53 REPORTER_ASSERT(reporter, maxSize >= dstSize); in test_pack16() 55 size_t srcCount = SkPackBits::Unpack16(dst, dstSize, src2); in test_pack16() 88 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() local 90 REPORTER_ASSERT(reporter, dstSize <= maxSize); in test_pack8() 92 int srcCount = SkPackBits::Unpack8(dst, dstSize, src); in test_pack8() 105 size_t dstSize = SkPackBits::Pack8(src, size, dst); in test_pack8() local 107 REPORTER_ASSERT(reporter, maxSize >= dstSize); in test_pack8() [all …]
|
/external/icu4c/common/ |
D | unistr_cnv.cpp | 132 uint32_t dstSize) const { in extract() 133 return extract(start, length, target, dstSize, 0); in extract() 143 uint32_t dstSize, in extract() argument 147 if(/*dstSize < 0 || */(dstSize > 0 && target == 0)) { in extract() 160 if(dstSize < 0x7fffffff) { in extract() 162 capacity = (int32_t)dstSize; in extract()
|
D | unistr.cpp | 813 char *target, uint32_t dstSize) const { in extract() 815 if(/*dstSize < 0 || */(dstSize > 0 && target == 0)) { in extract() 818 return toUTF8(start, len, target, dstSize <= 0x7fffffff ? (int32_t)dstSize : 0x7fffffff); in extract()
|
/external/webkit/Source/WebCore/platform/text/brew/ |
D | TextCodecBrew.cpp | 112 int dstSize = dstBuffer.size() * sizeof(UChar); in decode() local 114 …code = ICharsetConv_CharsetConvert(m_charsetConverter, &src, &srcSize, &dst, &dstSize, &numCharsCo… in decode() 177 int dstSize = dstBuffer.size(); in encode() local 179 …code = ICharsetConv_CharsetConvert(m_charsetConverter, &src, &srcSize, &dst, &dstSize, &numCharsCo… in encode()
|
/external/qemu/android/ |
D | opengles.c | 179 static void extractBaseString(char* dst, const char* src, size_t dstSize) in extractBaseString() argument 185 strncpy_safe(dst, src, dstSize); in extractBaseString() 195 if (end - begin + 1 > dstSize) { in extractBaseString() 196 end = begin + dstSize - 1; in extractBaseString()
|
/external/webkit/Source/WebCore/platform/win/ |
D | DragImageCairoWin.cpp | 112 …IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height… in scaleDragImage() 122 hbmp = allocImage(dstDC, dstSize, &targetContext); in scaleDragImage() 132 cairo_translate(cr, 0, dstSize.height()); in scaleDragImage()
|
D | DragImageCGWin.cpp | 90 …IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height… in scaleDragImage() 97 hbmp = allocImage(dstDC, dstSize, &targetContext); in scaleDragImage() 106 rect.size = dstSize; in scaleDragImage()
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
D | PlatformContextSkia.h | 174 void getImageResamplingHint(IntSize* srcSize, FloatSize* dstSize) const; 175 void setImageResamplingHint(const IntSize& srcSize, const FloatSize& dstSize);
|
D | ImageSkia.cpp | 74 FloatSize dstSize; in computeResamplingMode() local 75 platformContext->getImageResamplingHint(&srcSize, &dstSize); in computeResamplingMode() 78 destWidth = dstSize.width(); in computeResamplingMode() 79 destHeight = dstSize.height(); in computeResamplingMode()
|
D | PlatformContextSkia.cpp | 625 void PlatformContextSkia::getImageResamplingHint(IntSize* srcSize, FloatSize* dstSize) const in getImageResamplingHint() 628 *dstSize = m_imageResamplingHintDstSize; in getImageResamplingHint() 631 void PlatformContextSkia::setImageResamplingHint(const IntSize& srcSize, const FloatSize& dstSize) in setImageResamplingHint() argument 634 m_imageResamplingHintDstSize = dstSize; in setImageResamplingHint()
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 592 size_t dstSize = dst->computeImageSize(); in Blur() local 593 if (0 == dstSize) { in Blur() 600 uint8_t* dp = SkMask::AllocImage(dstSize); in Blur() 623 SkAutoTMalloc<uint8_t> tmpBuffer(dstSize); in Blur()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 460 bool SkBitmap::copyPixelsTo(void* const dst, size_t dstSize, in copyPixelsTo() argument 474 if (safeSize > dstSize || safeSize == 0) in copyPixelsTo() 488 dstSize) in copyPixelsTo()
|
/external/skia/include/core/ |
D | SkBitmap.h | 256 bool copyPixelsTo(void* const dst, size_t dstSize, int dstRowBytes = -1,
|