/external/chromium_org/third_party/skia/src/effects/ |
SkStippleMaskFilter.cpp | 26 size_t dstSize = dst->computeImageSize(); 27 if (0 == dstSize) { 31 dst->fImage = SkMask::AllocImage(dstSize);
|
SkBlurMask.cpp | 536 size_t dstSize = dst->computeImageSize(); 537 if (0 == dstSize) { 544 uint8_t* dp = SkMask::AllocImage(dstSize); 548 SkAutoTMalloc<uint8_t> tmpBuffer(dstSize); 777 size_t dstSize = dst->computeImageSize(); 778 if (0 == dstSize) { 782 uint8_t* dp = SkMask::AllocImage(dstSize); 897 size_t dstSize = dst->computeImageSize(); 898 if (0 == dstSize) { 907 uint8_t* dstPixels = SkMask::AllocImage(dstSize); [all...] |
/external/skia/src/effects/ |
SkStippleMaskFilter.cpp | 26 size_t dstSize = dst->computeImageSize(); 27 if (0 == dstSize) { 31 dst->fImage = SkMask::AllocImage(dstSize);
|
SkBlurMask.cpp | 536 size_t dstSize = dst->computeImageSize(); 537 if (0 == dstSize) { 544 uint8_t* dp = SkMask::AllocImage(dstSize); 548 SkAutoTMalloc<uint8_t> tmpBuffer(dstSize); 777 size_t dstSize = dst->computeImageSize(); 778 if (0 == dstSize) { 782 uint8_t* dp = SkMask::AllocImage(dstSize); 897 size_t dstSize = dst->computeImageSize(); 898 if (0 == dstSize) { 907 uint8_t* dstPixels = SkMask::AllocImage(dstSize); [all...] |
/external/chromium_org/third_party/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/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...] |
/frameworks/av/media/libstagefright/include/ |
SoftVideoEncoderOMXComponent.h | 49 uint8_t *dst, size_t dstSize, const uint8_t *src, size_t srcSize,
|
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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 | 854 char *target, uint32_t dstSize) const { 856 if(/*dstSize < 0 || */(dstSize > 0 && target == 0)) { 859 return toUTF8(start, len, target, dstSize <= 0x7fffffff ? (int32_t)dstSize : 0x7fffffff); [all...] |
/frameworks/base/media/jni/ |
android_media_MediaMuxer.cpp | 86 jlong dstSize; 103 dstSize = env->GetArrayLength(byteArray); 105 dstSize = env->GetDirectBufferCapacity(byteBuf); 108 if (dstSize < (offset + size)) { 109 ALOGE("writeSampleData saw wrong dstSize %lld, size %d, offset %d", 110 dstSize, size, offset);
|
android_media_MediaExtractor.cpp | 208 size_t dstSize; 229 dstSize = (size_t) env->GetArrayLength(byteArray); 231 dstSize = (size_t) env->GetDirectBufferCapacity(byteBuf); 234 if (dstSize < offset) { 242 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset);
|
/external/qemu/android/ |
opengles.c | 203 static void extractBaseString(char* dst, const char* src, size_t dstSize) 209 strncpy_safe(dst, src, dstSize); 219 if (end - begin + 1 > dstSize) { 220 end = begin + dstSize - 1;
|
/external/deqp/modules/gles3/functional/ |
es3fBufferCopyTests.cpp | 57 int dstSize, 68 , m_dstSize (dstSize) 286 int dstSize; 292 // srcSize dstSize srcOffs dstOffs copySize 311 dstTarget, cases[ndx].dstSize, hint,
|
es3fVertexTextureTests.cpp | 499 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const; 640 float Vertex2DTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const 644 const Vec2 sizeRatio = texScale*srcSize / dstSize; 805 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const; [all...] |
es3fFramebufferBlitTests.cpp | 58 BlitRectCase (Context& context, const char* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect, int cellSize = 8) 63 , m_dstSize (dstSize) 167 BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect); 172 BlitNearestFilterConsistencyCase::BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect) 173 : BlitRectCase(context, name, desc, GL_NEAREST, srcSize, srcRect, dstSize, dstRect, 1) 459 BlitDepthStencilCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 srcBuffers, const IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers, const IVec2& dstSize, const IVec4& dstRect, deUint32 copyBuffers) 466 , m_dstSize (dstSize) [all...] |
/frameworks/av/media/libstagefright/omx/ |
SoftVideoEncoderOMXComponent.cpp | 173 uint8_t *dst, size_t dstSize, 233 if (dstSize < neededSize) { 234 ALOGE("destination buffer is too small (%zu vs %zu)", dstSize, neededSize);
|
/external/deqp/modules/glshared/ |
glsTextureTestUtil.cpp | 239 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, deInt32 srcSize, const tcu::Vec3& sq) 243 float dx = (float)dstSize.x(); 244 float dy = (float)dstSize.y(); 277 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec2& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq) 283 float dx = (float)dstSize.x(); 284 float dy = (float)dstSize.y(); 318 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec3& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq, const tcu::Vec3& rq) 326 float dx = (float)dstSize.x(); 327 float dy = (float)dstSize.y(); 437 tcu::IVec2 dstSize = tcu::IVec2(dst.getWidth(), dst.getHeight()) [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
AutoScrollHelper.java | 538 int direction, float coordinate, float srcSize, float dstSize) { 550 final float targetVelocity = relativeVelocity * dstSize; [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
SkGpuDevice.cpp | [all...] |
/external/skia/src/gpu/ |
SkGpuDevice.cpp | [all...] |
/external/deqp/modules/gles2/functional/ |
es2fVertexTextureTests.cpp | 401 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const; 539 float Vertex2DTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const 543 const Vec2 sizeRatio = texScale*srcSize / dstSize; 704 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const; 857 float VertexCubeTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const 861 const Vec2 sizeRatio = texScale*srcSize / dstSize; [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
AutoScrollHelper.java | 537 int direction, float coordinate, float srcSize, float dstSize) { 549 final float targetVelocity = relativeVelocity * dstSize; [all...] |
/frameworks/av/media/libstagefright/matroska/ |
MatroskaExtractor.cpp | 615 size_t dstSize = 0; 662 dstSize = dstOffset; 664 buffer = new MediaBuffer(dstSize);
|