/external/lz4/lib/ |
D | lz4frame.c | 220 size_t LZ4F_compressFrameBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr) in LZ4F_compressFrameBound() argument 232 if (srcSize <= maxBlockSize) in LZ4F_compressFrameBound() 244 streamSize = LZ4F_compressBound(srcSize, &prefs); in LZ4F_compressFrameBound() 259 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize… in LZ4F_compressFrame() argument 279 if (srcSize <= maxBlockSize) in LZ4F_compressFrame() 289 if (srcSize <= LZ4F_getBlockSize(prefs.frameInfo.blockSizeID)) in LZ4F_compressFrame() 294 if (dstMaxSize < LZ4F_compressFrameBound(srcSize, &prefs)) in LZ4F_compressFrame() 302 errorCode = LZ4F_compressUpdate(&cctxI, dstPtr, dstMaxSize, srcBuffer, srcSize, &options); in LZ4F_compressFrame() 437 size_t LZ4F_compressBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr) in LZ4F_compressBound() argument 443 unsigned nbBlocks = (unsigned)(srcSize / blockSize) + 1; in LZ4F_compressBound() [all …]
|
D | lz4frame.h | 88 size_t LZ4F_compressFrameBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr); 90 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize… 139 size_t LZ4F_compressBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr); 146 …ntext, void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_compr…
|
/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/deqp/modules/glshared/ |
D | glsTextureTestUtil.cpp | 235 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, deInt32 srcSize, c… in computeNonProjectedTriLod() argument 237 float dux = (sq.z() - sq.x()) * (float)srcSize; in computeNonProjectedTriLod() 238 float duy = (sq.y() - sq.x()) * (float)srcSize; in computeNonProjectedTriLod() 273 …jectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec2& srcSize, const tcu::Vec3&… in computeNonProjectedTriLod() argument 275 float dux = (sq.z() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod() 276 float duy = (sq.y() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod() 277 float dvx = (tq.z() - tq.x()) * (float)srcSize.y(); in computeNonProjectedTriLod() 278 float dvy = (tq.y() - tq.x()) * (float)srcSize.y(); in computeNonProjectedTriLod() 314 …jectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec3& srcSize, const tcu::Vec3&… in computeNonProjectedTriLod() argument 316 float dux = (sq.z() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod() [all …]
|
/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/icu/icu4c/source/test/cintltst/ |
D | cbiditst.c | 736 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local 737 int32_t destSize = srcSize*2; in testReorder() 742 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder() 744 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec); in testReorder() 753 }else if(destSize!=srcSize){ in testReorder() 754 … log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); in testReorder() 760 if(destSize!=srcSize){ in testReorder() 771 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local 772 int32_t destSize = srcSize*2; in testReorder() 777 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder() [all …]
|
/external/lz4/programs/ |
D | frametest.c | 422 size_t srcSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1; in fuzzerTests() local 423 size_t srcStart = FUZ_rand(&randState) % (srcDataLength - srcSize); in fuzzerTests() 437 crcOrig = XXH64((BYTE*)srcBuffer+srcStart, (U32)srcSize, 1); in fuzzerTests() 441 …Frame(compressedBuffer, LZ4F_compressFrameBound(srcSize, prefsPtr), (char*)srcBuffer + srcStart, s… in fuzzerTests() 447 const BYTE* const iend = ip + srcSize; in fuzzerTests() 450 unsigned maxBits = FUZ_highbit((U32)srcSize); in fuzzerTests() 504 …ecksum_invalid) locateBuffDiff((BYTE*)srcBuffer+srcStart, decodedBuffer, srcSize, nonContiguousDst… in fuzzerTests() 514 …ded != crcOrig) locateBuffDiff((BYTE*)srcBuffer+srcStart, decodedBuffer, srcSize, nonContiguousDst… in fuzzerTests()
|
D | fullbench.c | 391 size_t srcSize = inSize; in local_LZ4F_decompress() local 394 result = LZ4F_decompress(g_dCtx, out, &dstSize, in, &srcSize, NULL); in local_LZ4F_decompress() 396 …if (srcSize != (size_t)inSize) { DISPLAY("Error decompressing frame : read size incorrect\n"); exi… in local_LZ4F_decompress()
|
/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 …]
|
D | es3fVertexTextureTests.cpp | 643 const Vec2 srcSize = Vec2((float)refTexture.getWidth(), (float)refTexture.getHeight()); in calculateLod() local 644 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod() 964 const Vec2 srcSize = Vec2((float)refTexture.getSize(), (float)refTexture.getSize()); in calculateLod() local 965 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
|
/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/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/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 | 611 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() local 614 if (cpyLen < srcSize) in performCallSlotOptzn() 629 if (destSize < srcSize) in performCallSlotOptzn() 632 if (A->getDereferenceableBytes() < srcSize) { in performCallSlotOptzn() 647 if (destSize < srcSize) in performCallSlotOptzn() 713 AliasAnalysis::ModRefResult MR = AA.getModRefInfo(C, cpyDest, srcSize); in performCallSlotOptzn() 716 MR = AA.callCapturesBefore(C, cpyDest, srcSize, &DT); in performCallSlotOptzn()
|
/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/deqp/modules/gles31/functional/ |
D | es31fPrimitiveBoundingBoxTests.cpp | 3246 …const tcu::IVec2 srcSize = (m_src == TARGET_DEFAULT) ? (tcu::IVec2(m_context.getRenderTarget().get… in init() local 3251 << "srcSize = " << srcSize << "\n" in init() 3261 …const tcu::IVec2 unionSize = tcu::IVec2(de::min(srcSize.x(), dstSize.x()), de::min(srcSize.y(), ds… in init() 3276 const int srcWidth = rnd.getInt(1, srcSize.x()); in init() 3277 const int srcHeight = rnd.getInt(1, srcSize.y()); in init() 3278 const int srcX = rnd.getInt(0, srcSize.x() - srcWidth); in init() 3279 const int srcY = rnd.getInt(0, srcSize.y() - srcHeight); in init() 3435 …const tcu::IVec2 srcSize = (m_src == TARGET_DEFAULT) ? (tcu::IVec2(m_context.getRenderTarget().g… in fillSourceWithPattern() local 3439 gl.viewport(0, 0, srcSize.x(), srcSize.y()); in fillSourceWithPattern()
|
D | es31fCopyImageTests.cpp | 1856 const IVec3 srcSize = getLevelSize(srcInfo.getTarget(), srcInfo.getSize(), srcLevel); in generateCopies() local 1860 …cCompleteBlockSize = IVec3(srcSize.x() / srcBlockPixelSize.x(), srcSize.y() / srcBlockPixelSize.y(… in generateCopies() 2088 …const IVec3 srcSize = getTestedSize(srcTarget, srcFormat, (srcIs3D ? targetSize3D : targetSize2… in addCopyTests() local 2092 ImageInfo(srcFormat, srcTarget, srcSize), in addCopyTests()
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 1823 size_t srcSize = CFDataGetLength(srcData); in onGetTableData() local 1824 if (offset >= srcSize) { in onGetTableData() 1827 if (length > srcSize - offset) { in onGetTableData() 1828 length = srcSize - offset; in onGetTableData()
|
/external/opencv/cvaux/src/ |
D | cvtrifocal.cpp | 474 int srcSize; in icvSelectColsByNumbers() local 477 srcSize = srcMatr->cols; in icvSelectColsByNumbers() 488 if( src >=0 && src < srcSize ) in icvSelectColsByNumbers()
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 37 size_t srcSize = src.getSize(); in test_cache() local 48 size_t maxCacheSize = initialCacheSize + 10*srcSize; in test_cache()
|