/kernel/linux/linux-6.6/include/linux/ |
H A D | lz4.h | 331 * @srcSize: size of the input data. Max supported value is LZ4_MAX_INPUT_SIZE 342 * `dstCapacity >= LZ4_compressBound(srcSize) 346 int LZ4_compress_HC(const char *src, char *dst, int srcSize, int dstCapacity, 386 * @srcSize: size of the input data. Max supported value is LZ4_MAX_INPUT_SIZE 416 char *dst, int srcSize, int maxDstSize); 493 * @srcSize: size of the input data. Max supported value is LZ4_MAX_INPUT_SIZE 502 * If maxDstSize >= LZ4_compressBound(srcSize), 508 char *dst, int srcSize, int maxDstSize, int acceleration);
|
/third_party/lzma/C/ |
H A D | MtDec.h | 72 size_t srcSize;
member 73 // in : (srcSize == 0) is allowed
92 const Byte *src, size_t srcSize, int srcFinished,
111 const Byte *src, size_t srcSize, BoolInt isCross,
|
H A D | XzDec.c | 1673 size_t srcSize = cc->srcSize;
in XzDecMt_Callback_Parse() local 1675 cc->srcSize = 0;
in XzDecMt_Callback_Parse() 1727 size_t srcSize2 = srcSize;
in XzDecMt_Callback_Parse() 1744 cc->srcSize += srcSize2;
in XzDecMt_Callback_Parse() 1745 srcSize -= srcSize2;
in XzDecMt_Callback_Parse() 1810 size_t cur = srcSize;
in XzDecMt_Callback_Parse() 1813 cc->srcSize += cur;
in XzDecMt_Callback_Parse() 1815 srcSize -= cur;
in XzDecMt_Callback_Parse() 1819 if (srcSize in XzDecMt_Callback_Parse() 1926 XzDecMt_Callback_Code(void *pp, unsigned coderIndex, const Byte *src, size_t srcSize, int srcFinished, UInt64 *inCodePos, UInt64 *outCodePos, int *stop) XzDecMt_Callback_Code() argument 2007 XzDecMt_Callback_Write(void *pp, unsigned coderIndex, BoolInt needWriteToStream, const Byte *src, size_t srcSize, BoolInt isCross, BoolInt *needContinue, BoolInt *canRecode) XzDecMt_Callback_Write() argument [all...] |
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_compress_internal.h | 433 * In this mode we use both the srcSize and the dictSize 437 * In this mode we only take the srcSize into account when selecting 453 void const* src, size_t srcSize); 503 MEM_STATIC size_t ZSTD_noCompressBlock (void* dst, size_t dstCapacity, const void* src, size_t srcSize, U32 lastBlock) in ZSTD_noCompressBlock() argument 505 U32 const cBlockHeader24 = lastBlock + (((U32)bt_raw)<<1) + (U32)(srcSize << 3); in ZSTD_noCompressBlock() 506 RETURN_ERROR_IF(srcSize + ZSTD_blockHeaderSize > dstCapacity, in ZSTD_noCompressBlock() 509 ZSTD_memcpy((BYTE*)dst + ZSTD_blockHeaderSize, src, srcSize); in ZSTD_noCompressBlock() 510 return ZSTD_blockHeaderSize + srcSize; in ZSTD_noCompressBlock() 513 MEM_STATIC size_t ZSTD_rleCompressBlock (void* dst, size_t dstCapacity, BYTE src, size_t srcSize, U32 lastBlock) in ZSTD_rleCompressBlock() argument 516 U32 const cBlockHeader = lastBlock + (((U32)bt_rle)<<1) + (U32)(srcSize << in ZSTD_rleCompressBlock() [all...] |
H A D | hist.c | 30 const void* src, size_t srcSize) in HIST_count_simple() 33 const BYTE* const end = ip + srcSize; in HIST_count_simple() 38 if (srcSize==0) { *maxSymbolValuePtr = 0; return 0; } in HIST_count_simple() 29 HIST_count_simple(unsigned* count, unsigned* maxSymbolValuePtr, const void* src, size_t srcSize) HIST_count_simple() argument
|
H A D | zstd_compress_superblock.h | 29 void const* src, size_t srcSize,
|
/kernel/linux/linux-6.6/lib/zstd/common/ |
H A D | fse.h | 57 Compress content of buffer 'src', of size 'srcSize', into destination buffer 'dst'. 58 'dst' buffer must be already allocated. Compression runs faster is dstCapacity >= FSE_compressBound(srcSize). 61 if return == 1, srcData is a single byte symbol * srcSize times. Use RLE compression instead. 65 const void* src, size_t srcSize); 99 if return == 1, srcData is a single byte symbol * srcSize times. Use RLE compression. 102 FSE_PUBLIC_API size_t FSE_compress2 (void* dst, size_t dstSize, const void* src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog); 132 FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue); 146 const unsigned* count, size_t srcSize, unsigned maxSymbolValue, unsigned useLowProbCount); 177 FSE_PUBLIC_API size_t FSE_compress_usingCTable (void* dst, size_t dstCapacity, const void* src, size_t srcSize, const FSE_CTable* ct); 184 'src' is a table of bytes of size 'srcSize' [all...] |
H A D | zstd_internal.h | 247 MEM_STATIC size_t ZSTD_limitCopy(void* dst, size_t dstCapacity, const void* src, size_t srcSize) in ZSTD_limitCopy() argument 249 size_t const length = MIN(dstCapacity, srcSize); in ZSTD_limitCopy() 424 size_t ZSTD_getcBlockSize(const void* src, size_t srcSize, 431 const void* src, size_t srcSize);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | Framebuffer9.cpp | 259 gl::Extents srcSize(readRenderTarget->getWidth(), readRenderTarget->getHeight(), 1); in blitImpl() 327 if (srcRect.right > srcSize.width) in blitImpl() 329 dstRect.right -= (srcRect.right - srcSize.width); in blitImpl() 330 srcRect.right = srcSize.width; in blitImpl() 337 if (srcRect.bottom > srcSize.height) in blitImpl() 339 dstRect.bottom -= (srcRect.bottom - srcSize.height); in blitImpl() 340 srcRect.bottom = srcSize.height; in blitImpl()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureTestUtil.cpp | 198 float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, deInt32 srcSize, const tcu::Vec3& sq) in computeNonProjectedTriLod() argument 200 float dux = (sq.z() - sq.x()) * (float)srcSize; in computeNonProjectedTriLod() 201 float duy = (sq.y() - sq.x()) * (float)srcSize; in computeNonProjectedTriLod() 236 float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec2& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq) in computeNonProjectedTriLod() argument 238 float dux = (sq.z() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod() 239 float duy = (sq.y() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod() 240 float dvx = (tq.z() - tq.x()) * (float)srcSize.y(); in computeNonProjectedTriLod() 241 float dvy = (tq.y() - tq.x()) * (float)srcSize.y(); in computeNonProjectedTriLod() 277 float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec3& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq, const tcu::Vec3& rq) in computeNonProjectedTriLod() argument 279 float dux = (sq.z() - sq.x()) * (float)srcSize in computeNonProjectedTriLod() 401 int srcSize = src.getWidth(); sampleTextureNonProjected() local 437 tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); sampleTextureNonProjected() local 662 const int srcSize = src.getSize(); sampleTextureCube() local 731 tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); sampleTextureNonProjected() local 780 deInt32 srcSize = src.getWidth(); sampleTextureNonProjected() local 826 tcu::IVec3 srcSize = tcu::IVec3(src.getWidth(), src.getHeight(), src.getDepth()); sampleTextureNonProjected() local 1312 const int srcSize = src.getWidth(); computeTextureLookupDiff() local 1428 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); computeTextureLookupDiff() local 1645 const int srcSize = src.getSize(); computeTextureLookupDiff() local 1842 const tcu::IVec3 srcSize = tcu::IVec3(src.getWidth(), src.getHeight(), src.getDepth()); computeTextureLookupDiff() local 2019 const float srcSize = float(src.getWidth()); // For lod computation, thus #layers is ignored. computeTextureLookupDiff() local 2127 const tcu::Vec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()).asFloat(); // For lod computation, thus #layers is ignored. computeTextureLookupDiff() local 2325 const int srcSize = src.getSize(); computeTextureLookupDiff() local 2505 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); computeTextureCompareDiff() local 2620 const int srcSize = src.getSize(); computeTextureCompareDiff() local 2744 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); computeTextureCompareDiff() local 2858 const float srcSize = float(src.getWidth()); computeTextureCompareDiff() local 2964 const float srcSize = float(src.getWidth()); computeTextureCompareDiff() local 3073 const int srcSize = src.getSize(); computeTextureCompareDiff() local [all...] |
/kernel/linux/linux-6.6/lib/zstd/decompress/ |
H A D | zstd_decompress_block.c | 56 size_t ZSTD_getcBlockSize(const void* src, size_t srcSize, in ZSTD_getcBlockSize() argument 59 RETURN_ERROR_IF(srcSize < ZSTD_blockHeaderSize, srcSize_wrong, ""); in ZSTD_getcBlockSize() 109 const void* src, size_t srcSize, 117 * @return : nb of bytes read from src (< srcSize ) 120 const void* src, size_t srcSize, /* note : srcSize < BLOCKSIZE */ in ZSTD_decodeLiteralsBlock() 124 RETURN_ERROR_IF(srcSize < MIN_CBLOCK_SIZE, corruption_detected, ""); in ZSTD_decodeLiteralsBlock() 137 RETURN_ERROR_IF(srcSize < 5, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 3; here we need up to 5 for case 3"); in ZSTD_decodeLiteralsBlock() 168 RETURN_ERROR_IF(litCSize + lhSize > srcSize, corruption_detecte in ZSTD_decodeLiteralsBlock() 119 ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, const void* src, size_t srcSize, void* dst, size_t dstCapacity, const streaming_operation streaming) ZSTD_decodeLiteralsBlock() argument 605 ZSTD_buildSeqTable(ZSTD_seqSymbol* DTableSpace, const ZSTD_seqSymbol** DTablePtr, symbolEncodingType_e type, unsigned max, U32 maxLog, const void* src, size_t srcSize, const U32* baseValue, const U8* nbAdditionalBits, const ZSTD_seqSymbol* defaultTable, U32 flagRepeatTable, int ddictIsCold, int nbSeq, U32* wksp, size_t wkspSize, int bmi2) ZSTD_buildSeqTable() argument 653 ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr, const void* src, size_t srcSize) ZSTD_decodeSeqHeaders() argument 1978 ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const int frame, const streaming_operation streaming) global() argument 2063 ZSTD_decompressBlock(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize) global() argument [all...] |
H A D | zstd_decompress_block.h | 50 const void* src, size_t srcSize, const int frame, const streaming_operation streaming);
|
/third_party/lz4/tests/ |
H A D | frametest.c | 243 /* LZ4F_compressBound() : special case : srcSize == 0 */ in basicTests() 589 size_t const srcSize = 65 KB; /* must be > 64 KB to avoid short-size optimizations */ in basicTests() local 590 size_t const dstCapacity = LZ4F_compressFrameBound(srcSize, NULL); in basicTests() 606 CNBuffer, srcSize, in basicTests() 615 CNBuffer, srcSize, in basicTests() 618 (unsigned)srcSize, (unsigned)cSizeWithDict); in basicTests() 623 crcOrig = XXH64(CNBuffer, srcSize, 0); in basicTests() 627 size_t decodedSize = srcSize; in basicTests() 636 if (decodedSize != srcSize) goto _output_error; in basicTests() 1027 size_t const srcSize in fuzzerTests() local [all...] |
H A D | fullbench.c | 378 size_t srcSize = (size_t)inSize; in local_LZ4F_decompress() local 383 result = LZ4F_decompress(g_dCtx, out, &dstSize, in, &srcSize, NULL); in local_LZ4F_decompress() 385 if (srcSize != (size_t)inSize) { DISPLAY("Error decompressing frame : read size incorrect \n"); exit(9); } in local_LZ4F_decompress() 389 static int local_LZ4F_decompress_followHint(const char* src, char* dst, int srcSize, int dstSize) in local_LZ4F_decompress_followHint() argument 391 size_t totalInSize = (size_t)srcSize; in local_LZ4F_decompress_followHint() 424 static int local_LZ4F_decompress_noHint(const char* src, char* dst, int srcSize, int dstSize) in local_LZ4F_decompress_noHint() argument 426 size_t totalInSize = (size_t)srcSize; in local_LZ4F_decompress_noHint()
|
/third_party/lz4/ossfuzz/ |
H A D | round_trip_frame_uncompressed_fuzzer.c | 29 size_t srcSize = (const char *) srcEnd - (const char *) srcPtr; in decompress() local 30 ret = LZ4F_decompress(dctx, dstPtr, &dstSize, srcPtr, &srcSize, in decompress() 35 srcPtr = (const char *) srcPtr + srcSize; in decompress()
|
H A D | lz4_helpers.h | 11 const void* src, const size_t srcSize);
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fBufferCopyTests.cpp | 54 int srcSize, in BasicBufferCopyCase() 65 , m_srcSize (srcSize) in BasicBufferCopyCase() 285 int srcSize; in init() member 292 // srcSize dstSize srcOffs dstOffs copySize in init() 310 srcTarget, cases[ndx].srcSize, hint, in init() 50 BasicBufferCopyCase(Context& context, const char* name, const char* desc, deUint32 srcTarget, int srcSize, deUint32 srcHint, deUint32 dstTarget, int dstSize, deUint32 dstHint, int copySrcOffset, int copyDstOffset, int copySize, VerifyType verifyType) BasicBufferCopyCase() argument
|
/kernel/linux/linux-5.10/lib/lz4/ |
H A D | lz4_decompress.c | 63 int srcSize, in LZ4_decompress_generic() 84 const BYTE * const iend = ip + srcSize; in LZ4_decompress_generic() 103 DEBUGLOG(5, "%s (srcSize:%i, dstSize:%i)", __func__, in LZ4_decompress_generic() 104 srcSize, outputSize); in LZ4_decompress_generic() 112 return ((srcSize == 1) && (*ip == 0)) ? 0 : -1; in LZ4_decompress_generic() 117 if ((endOnInput) && unlikely(srcSize == 0)) in LZ4_decompress_generic() 60 LZ4_decompress_generic( const char * const src, char * const dst, int srcSize, int outputSize, endCondition_directive endOnInput, earlyEnd_directive partialDecoding, dict_directive dict, const BYTE * const lowPrefix, const BYTE * const dictStart, const size_t dictSize ) LZ4_decompress_generic() argument
|
H A D | lz4hc_compress.c | 585 int srcSize, in LZ4_compress_HC_extStateHC() 600 if (maxDstSize < LZ4_compressBound(srcSize)) in LZ4_compress_HC_extStateHC() 602 srcSize, maxDstSize, compressionLevel, limitedOutput); in LZ4_compress_HC_extStateHC() 605 srcSize, maxDstSize, compressionLevel, noLimit); in LZ4_compress_HC_extStateHC() 608 int LZ4_compress_HC(const char *src, char *dst, int srcSize, in LZ4_compress_HC() argument 612 srcSize, maxDstSize, compressionLevel); in LZ4_compress_HC() 581 LZ4_compress_HC_extStateHC( void *state, const char *src, char *dst, int srcSize, int maxDstSize, int compressionLevel) LZ4_compress_HC_extStateHC() argument
|
/kernel/linux/linux-6.6/lib/lz4/ |
H A D | lz4_decompress.c | 63 int srcSize, in LZ4_decompress_generic() 84 const BYTE * const iend = ip + srcSize; in LZ4_decompress_generic() 103 DEBUGLOG(5, "%s (srcSize:%i, dstSize:%i)", __func__, in LZ4_decompress_generic() 104 srcSize, outputSize); in LZ4_decompress_generic() 112 return ((srcSize == 1) && (*ip == 0)) ? 0 : -1; in LZ4_decompress_generic() 117 if ((endOnInput) && unlikely(srcSize == 0)) in LZ4_decompress_generic() 60 LZ4_decompress_generic( const char * const src, char * const dst, int srcSize, int outputSize, endCondition_directive endOnInput, earlyEnd_directive partialDecoding, dict_directive dict, const BYTE * const lowPrefix, const BYTE * const dictStart, const size_t dictSize ) LZ4_decompress_generic() argument
|
H A D | lz4hc_compress.c | 585 int srcSize, in LZ4_compress_HC_extStateHC() 600 if (maxDstSize < LZ4_compressBound(srcSize)) in LZ4_compress_HC_extStateHC() 602 srcSize, maxDstSize, compressionLevel, limitedOutput); in LZ4_compress_HC_extStateHC() 605 srcSize, maxDstSize, compressionLevel, noLimit); in LZ4_compress_HC_extStateHC() 608 int LZ4_compress_HC(const char *src, char *dst, int srcSize, in LZ4_compress_HC() argument 612 srcSize, maxDstSize, compressionLevel); in LZ4_compress_HC() 581 LZ4_compress_HC_extStateHC( void *state, const char *src, char *dst, int srcSize, int maxDstSize, int compressionLevel) LZ4_compress_HC_extStateHC() argument
|
/third_party/skia/src/core/ |
H A D | SkBlurMask.cpp | 461 size_t srcSize = (size_t)(src.width() * src.height()); in BlurRect() local 462 if (0 == srcSize) { in BlurRect() 465 dst->fImage = SkMask::AllocImage(srcSize); in BlurRect() 638 size_t srcSize = src.computeImageSize(); in BlurGroundTruth() local 639 if (0 == srcSize) { in BlurGroundTruth() 642 dst->fImage = SkMask::AllocImage(srcSize); in BlurGroundTruth()
|
/third_party/lzma/CPP/Common/ |
H A D | UTFConvert.cpp | 660 bool Convert_UTF8_Buf_To_Unicode(const char *src, size_t srcSize, UString &dest, unsigned flags)
in Convert_UTF8_Buf_To_Unicode() argument 664 Utf8_To_Utf16(NULL, &destLen, src, src + srcSize, flags);
in Convert_UTF8_Buf_To_Unicode() 665 bool res = Utf8_To_Utf16(dest.GetBuf((unsigned)destLen), &destLen, src, src + srcSize, flags);
in Convert_UTF8_Buf_To_Unicode()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cbiditst.c | 746 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local 747 int32_t destSize = srcSize*2; in testReorder() 752 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder() 754 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec); in testReorder() 763 }else if(destSize!=srcSize){ in testReorder() 764 log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); in testReorder() 770 if(destSize!=srcSize){ in testReorder() 771 log_err("ubidi_writeReordered() destSize and srcSize do not match\n"); in testReorder() 781 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local 782 int32_t destSize = srcSize* in testReorder() 815 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); testReorder() local 846 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); testReorder() local 880 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); testReorder() local 1008 int32_t srcSize = u_strlen(logicalOrder[i]); testReorderArabicMathSymbols() local 1857 int32_t srcSize, count, paraStart, paraLimit, paraIndex, length; testMultipleParagraphs() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ubiditransform.cpp | 84 uint32_t srcSize; /* input text capacity excluding the trailing zero */ member 230 if (newSize > pTransform->srcSize) { in updateSrc() 239 //pTransform->srcLength = pTransform->srcSize = 0; in updateSrc() 242 pTransform->srcSize = newSize; in updateSrc() 246 pTransform->srcSize, newLength, pErrorCode); in updateSrc()
|