/external/chromium_org/third_party/WebKit/Source/platform/ |
D | DragImage.cpp | 212 void DragImage::fitToMaxSize(const IntSize& srcSize, const IntSize& maxSize) in fitToMaxSize() argument 219 if (srcSize.width() > maxSize.width()) { in fitToMaxSize() 220 widthResizeRatio = maxSize.width() / static_cast<float>(srcSize.width()); in fitToMaxSize() 224 if (srcSize.height() > maxSize.height()) { in fitToMaxSize() 225 heightResizeRatio = maxSize.height() / static_cast<float>(srcSize.height()); in fitToMaxSize() 230 if (srcSize == originalSize) { in fitToMaxSize() 237 float scaleX = srcSize.width() / static_cast<float>(originalSize.width()); in fitToMaxSize() 238 float scaleY = srcSize.height() / static_cast<float>(originalSize.height()); in fitToMaxSize()
|
D | DragImage.h | 50 void fitToMaxSize(const IntSize& srcSize, const IntSize& maxSize);
|
/external/skia/src/images/ |
D | SkImageDecoder_wbmp.cpp | 135 size_t srcSize = height * srcRB; in onDecode() local 136 uint8_t* src = dst + decodedBitmap->getSize() - srcSize; in onDecode() 137 if (stream->read(src, srcSize) != srcSize) { in onDecode()
|
/external/chromium_org/third_party/skia/src/images/ |
D | SkImageDecoder_wbmp.cpp | 135 size_t srcSize = height * srcRB; in onDecode() local 136 uint8_t* src = dst + decodedBitmap->getSize() - srcSize; in onDecode() 137 if (stream->read(src, srcSize) != srcSize) { in onDecode()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkPackBits.h | 54 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]); 63 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
|
/external/skia/include/core/ |
D | SkPackBits.h | 54 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]); 63 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
|
/external/deqp/modules/glshared/ |
D | glsTextureTestUtil.cpp | 244 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, deInt32 srcSize, c… in computeNonProjectedTriLod() argument 246 float dux = (sq.z() - sq.x()) * (float)srcSize; in computeNonProjectedTriLod() 247 float duy = (sq.y() - sq.x()) * (float)srcSize; in computeNonProjectedTriLod() 282 …jectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec2& srcSize, const tcu::Vec3&… in computeNonProjectedTriLod() argument 284 float dux = (sq.z() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod() 285 float duy = (sq.y() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod() 286 float dvx = (tq.z() - tq.x()) * (float)srcSize.y(); in computeNonProjectedTriLod() 287 float dvy = (tq.y() - tq.x()) * (float)srcSize.y(); in computeNonProjectedTriLod() 323 …jectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec3& srcSize, const tcu::Vec3&… in computeNonProjectedTriLod() argument 325 float dux = (sq.z() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod() [all …]
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cbiditst.c | 732 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local 733 int32_t destSize = srcSize*2; in testReorder() 738 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder() 740 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec); in testReorder() 749 }else if(destSize!=srcSize){ in testReorder() 750 … log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); in testReorder() 756 if(destSize!=srcSize){ in testReorder() 767 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local 768 int32_t destSize = srcSize*2; in testReorder() 773 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiditst.c | 734 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local 735 int32_t destSize = srcSize*2; in testReorder() 740 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder() 742 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec); in testReorder() 751 }else if(destSize!=srcSize){ in testReorder() 752 … log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); in testReorder() 758 if(destSize!=srcSize){ in testReorder() 769 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local 770 int32_t destSize = srcSize*2; in testReorder() 775 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferCopyTests.cpp | 54 int srcSize, in BasicBufferCopyCase() argument 65 , m_srcSize (srcSize) in BasicBufferCopyCase() 285 int srcSize; in init() member 310 srcTarget, cases[ndx].srcSize, hint, in init()
|
D | es3fFramebufferBlitTests.cpp | 58 …ntext, const char* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& src… in BlitRectCase() argument 61 , m_srcSize (srcSize) in BlitRectCase() 167 …Case (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& src… 172 …Case (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& src… in BlitNearestFilterConsistencyCase() argument 173 : BlitRectCase(context, name, desc, GL_NEAREST, srcSize, srcRect, dstSize, dstRect, 1) in BlitNearestFilterConsistencyCase() 459 …me, const char* desc, deUint32 format, deUint32 srcBuffers, const IVec2& srcSize, const IVec4& src… in BlitDepthStencilCase() argument 463 , m_srcSize (srcSize) in BlitDepthStencilCase() 974 const IVec2 srcSize(127, 119); in init() local 990 …new BlitRectCase(m_context, (name + "_nearest").c_str(), "", GL_NEAREST, srcSize, srcRect, dstSize… in init() 991 …(new BlitRectCase(m_context, (name + "_linear").c_str(), "", GL_LINEAR, srcSize, srcRect, dstSize… in init() [all …]
|
/external/skia/src/core/ |
D | SkBitmapScaler.cpp | 42 void computeFilters(int srcSize, 112 void SkResizeFilter::computeFilters(int srcSize, in computeFilters() argument 156 int srcEnd = SkTMin(srcSize - 1, SkScalarCeilToInt(srcPixel + srcSupport)); in computeFilters()
|
D | SkPackBits.cpp | 282 int SkPackBits::Unpack16(const uint8_t* SK_RESTRICT src, size_t srcSize, in Unpack16() argument 285 const uint8_t* stop = src + srcSize; in Unpack16() 304 int SkPackBits::Unpack8(const uint8_t* SK_RESTRICT src, size_t srcSize, in Unpack8() argument 307 const uint8_t* stop = src + srcSize; in Unpack8()
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkBlurMask.cpp | 589 size_t srcSize = src.computeImageSize(); in BoxBlur() local 590 if (0 == srcSize) { in BoxBlur() 593 dst->fImage = SkMask::AllocImage(srcSize); in BoxBlur() 806 size_t srcSize = (size_t)(src.width() * src.height()); in BlurRect() local 807 if (0 == srcSize) { in BlurRect() 810 dst->fImage = SkMask::AllocImage(srcSize); in BlurRect() 973 size_t srcSize = src.computeImageSize(); in BlurGroundTruth() local 974 if (0 == srcSize) { in BlurGroundTruth() 977 dst->fImage = SkMask::AllocImage(srcSize); in BlurGroundTruth()
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 589 size_t srcSize = src.computeImageSize(); in BoxBlur() local 590 if (0 == srcSize) { in BoxBlur() 593 dst->fImage = SkMask::AllocImage(srcSize); in BoxBlur() 806 size_t srcSize = (size_t)(src.width() * src.height()); in BlurRect() local 807 if (0 == srcSize) { in BlurRect() 810 dst->fImage = SkMask::AllocImage(srcSize); in BlurRect() 973 size_t srcSize = src.computeImageSize(); in BlurGroundTruth() local 974 if (0 == srcSize) { in BlurGroundTruth() 977 dst->fImage = SkMask::AllocImage(srcSize); in BlurGroundTruth()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkPackBits.cpp | 282 int SkPackBits::Unpack16(const uint8_t* SK_RESTRICT src, size_t srcSize, in Unpack16() argument 285 const uint8_t* stop = src + srcSize; in Unpack16() 304 int SkPackBits::Unpack8(const uint8_t* SK_RESTRICT src, size_t srcSize, in Unpack8() argument 307 const uint8_t* stop = src + srcSize; in Unpack8()
|
D | SkBitmapScaler.cpp | 42 void computeFilters(int srcSize, 112 void SkResizeFilter::computeFilters(int srcSize, in computeFilters() argument 156 int srcEnd = SkTMin(srcSize - 1, SkScalarCeilToInt(srcPixel + srcSupport)); in computeFilters()
|
/external/lzma/C/ |
D | Lzma2Enc.c | 311 const Byte *src, size_t srcSize, int finished) in MtCallbackImp_Code() argument 322 if (srcSize != 0) in MtCallbackImp_Code() 326 RINOK(LzmaEnc_MemPrepare(p->enc, src, srcSize, LZMA2_KEEP_WINDOW_SIZE, in MtCallbackImp_Code() 329 while (p->srcPos < srcSize) in MtCallbackImp_Code()
|
D | MtCoder.h | 70 const Byte *src, size_t srcSize, int finished);
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 613 uint64_t srcSize = DL->getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() local 616 if (cpyLen < srcSize) in performCallSlotOptzn() 631 if (destSize < srcSize) in performCallSlotOptzn() 648 if (destSize < srcSize) in performCallSlotOptzn() 699 AliasAnalysis::ModRefResult MR = AA.getModRefInfo(C, cpyDest, srcSize); in performCallSlotOptzn() 702 MR = AA.callCapturesBefore(C, cpyDest, srcSize, &DT); in performCallSlotOptzn()
|
/external/chromium_org/third_party/skia/tests/ |
D | ResourceCacheTest.cpp | 28 size_t srcSize = src.getSize(); in test_cache() local 39 size_t maxCacheSize = initialCacheSize + 10*srcSize; in test_cache()
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 27 size_t srcSize = src.getSize(); in test_cache() local 38 size_t maxCacheSize = initialCacheSize + 10*srcSize; in test_cache()
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexTextureTests.cpp | 542 const Vec2 srcSize = Vec2((float)refTexture.getWidth(), (float)refTexture.getHeight()); in calculateLod() local 543 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod() 860 const Vec2 srcSize = Vec2((float)refTexture.getSize(), (float)refTexture.getSize()); in calculateLod() local 861 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
D | Renderer9.cpp | 2511 gl::Extents srcSize(readRenderTarget->getWidth(), readRenderTarget->getHeight(), 1); in blitRect() local 2579 if (srcRect.right > srcSize.width) in blitRect() 2581 dstRect.right -= (srcRect.right - srcSize.width); in blitRect() 2582 srcRect.right = srcSize.width; in blitRect() 2589 if (srcRect.bottom > srcSize.height) in blitRect() 2591 dstRect.bottom -= (srcRect.bottom - srcSize.height); in blitRect() 2592 srcRect.bottom = srcSize.height; in blitRect()
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 1806 size_t srcSize = CFDataGetLength(srcData); in onGetTableData() local 1807 if (offset >= srcSize) { in onGetTableData() 1810 if (length > srcSize - offset) { in onGetTableData() 1811 length = srcSize - offset; in onGetTableData()
|