/external/skia/tests/ |
PackBitsTest.cpp | 29 size_t dstSize = SkPackBits::Pack16(gTests[i].fSrc, 32 int srcCount = SkPackBits::Unpack16(dst, dstSize, src); 44 size_t dstSize = SkPackBits::Pack16(src, size, dst); 46 REPORTER_ASSERT(reporter, maxSize >= dstSize); 48 size_t srcCount = SkPackBits::Unpack16(dst, dstSize, src2); 81 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, 83 REPORTER_ASSERT(reporter, dstSize <= maxSize); 85 int srcCount = SkPackBits::Unpack8(dst, dstSize, src); 98 size_t dstSize = SkPackBits::Pack8(src, size, dst); 100 REPORTER_ASSERT(reporter, maxSize >= dstSize); [all...] |
/external/skia/src/core/ |
SkBitmapProcState_sample.h | 3 #if DSTSIZE==32 5 #elif DSTSIZE==16 8 #error "need DSTSIZE to be 32 or 16" 11 #if (DSTSIZE == 32) 13 #elif (DSTSIZE == 16) 16 #error "unsupported DSTSIZE" 206 #undef DSTSIZE
|
SkBitmapProcState.cpp | 83 #define DSTSIZE 32 95 #define DSTSIZE 32 114 #define DSTSIZE 32 130 #define DSTSIZE 32 145 #define DSTSIZE 32 159 #define DSTSIZE 32 176 #define DSTSIZE 32 192 #define DSTSIZE 32 211 #define DSTSIZE 32 237 #define DSTSIZE 1 [all...] |
SkBitmap.cpp | 458 bool SkBitmap::copyPixelsTo(void* const dst, size_t dstSize, int dstRowBytes) 472 if (safeSize > dstSize || safeSize == 0) 486 dstSize) [all...] |
/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 | 812 char *target, uint32_t dstSize) const { 814 if(/*dstSize < 0 || */(dstSize > 0 && target == 0)) { 817 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/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/dropbear/ |
loginrec.c | 407 line_fullname(char *dst, const char *src, size_t dstsize) 409 memset(dst, '\0', dstsize); 410 if ((strncmp(src, "/dev/", 5) == 0) || (dstsize < (strlen(src) + 5))) { 411 strlcpy(dst, src, dstsize); 413 strlcpy(dst, "/dev/", dstsize); 414 strlcat(dst, src, dstsize); 421 line_stripname(char *dst, const char *src, size_t dstsize) 423 memset(dst, '\0', dstsize); 425 strlcpy(dst, src + 5, dstsize); 427 strlcpy(dst, src, dstsize); [all...] |
loginrec.h | 181 char *line_fullname(char *dst, const char *src, size_t dstsize); 182 char *line_stripname(char *dst, const char *src, size_t dstsize); 183 char *line_abbrevname(char *dst, const char *src, size_t dstsize);
|
/bionic/libc/netbsd/nameser/ |
ns_samedomain.c | 160 * ns_makecanon(src, dst, dstsize) 171 ns_makecanon(const char *src, char *dst, size_t dstsize) { 174 if (n + sizeof "." > dstsize) { /* Note: sizeof == 2 */
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
3dfx_regs.h | 55 #define DSTSIZE (0x00100000 + 0x68)
|
SDL_fb3dfx.c | 82 tdfx_out32(DSTSIZE, rect->w | (rect->h << 16)); 158 tdfx_out32(DSTSIZE, dstrect->w | (dstrect->h << 16));
|
/external/opencv/cv/src/ |
cvutils.cpp | 484 CvSize srcsize, dstsize; local 506 dstsize = cvGetMatSize(dst); 517 dst->data.ptr, dststep, dstsize, 523 dst->data.ptr, dststep, dstsize, 531 dst->data.ptr, dststep, dstsize,
|
/external/skia/src/effects/ |
SkBlurMask.cpp | 281 size_t dstSize = dst->computeImageSize(); 282 if (0 == dstSize) { 289 uint8_t* dp = SkMask::AllocImage(dstSize); 311 SkAutoTMalloc<uint8_t> tmpBuffer(dstSize);
|
/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;
|
/external/opencv/cxcore/src/ |
cxcopy.cpp | 997 CvSize srcsize, dstsize; local [all...] |
/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/libstagefright/matroska/ |
MatroskaExtractor.cpp | 443 size_t dstSize = 0; 490 dstSize = dstOffset; 492 buffer = new MediaBuffer(dstSize);
|
/external/clang/lib/CodeGen/ |
CGCall.cpp | 382 /// with an in-memory size smaller than DstSize. 386 uint64_t DstSize, CodeGenFunction &CGF) { 396 if (FirstEltSize < DstSize && 407 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF); 460 uint64_t DstSize = CGF.CGM.getTargetData().getTypeAllocSize(Ty); 463 SrcPtr = EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF); 478 if (SrcSize >= DstSize) { 479 // Generally SrcSize is never greater than DstSize, since this means we are 561 uint64_t DstSize = CGF.CGM.getTargetData().getTypeAllocSize(DstTy); 564 if (SrcSize <= DstSize) { [all...] |
CGBuiltin.cpp | 551 llvm::APSInt Size, DstSize; 553 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext())) 555 if (Size.ugt(DstSize)) 575 llvm::APSInt Size, DstSize; 577 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext())) 579 if (Size.ugt(DstSize)) 607 llvm::APSInt Size, DstSize; 609 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext())) 611 if (Size.ugt(DstSize)) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 806 unsigned DstSize = CI.getType()->getScalarSizeInBits(); 808 // SrcSize < DstSize: zext(a & mask) 809 // SrcSize == DstSize: a & mask 810 // SrcSize > DstSize: trunc(a) & mas [all...] |