/third_party/lz4/tests/ |
D | fullbench.c | 182 static int local_LZ4_saveDict(const char* in, char* out, int inSize) in local_LZ4_saveDict() argument 185 return LZ4_saveDict(&LZ4_stream, out, inSize); in local_LZ4_saveDict() 188 static int local_LZ4_compress_default_large(const char* in, char* out, int inSize) in local_LZ4_compress_default_large() argument 190 return LZ4_compress_default(in, out, inSize, LZ4_compressBound(inSize)); in local_LZ4_compress_default_large() 193 static int local_LZ4_compress_default_small(const char* in, char* out, int inSize) in local_LZ4_compress_default_small() argument 195 return LZ4_compress_default(in, out, inSize, LZ4_compressBound(inSize)-1); in local_LZ4_compress_default_small() 198 static int local_LZ4_compress_destSize(const char* in, char* out, int inSize) in local_LZ4_compress_destSize() argument 200 return LZ4_compress_destSize(in, out, &inSize, LZ4_compressBound(inSize)-1); in local_LZ4_compress_destSize() 203 static int local_LZ4_compress_fast0(const char* in, char* out, int inSize) in local_LZ4_compress_fast0() argument 205 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast0() [all …]
|
D | frametest.c | 669 size_t const inSize = dictSize * 3; in basicTests() local 670 size_t const outCapacity = LZ4F_compressFrameBound(inSize, NULL); in basicTests() 677 CNBuffer, inSize, in basicTests() 680 (unsigned)inSize, (unsigned)cSizeContiguous); in basicTests() 693 if (decodedSize != inSize) goto _output_error; in basicTests() 694 crcOrig = XXH64(CNBuffer, inSize, 0); in basicTests() 705 size_t const inSize = dictSize * 3; in basicTests() local 706 size_t const outCapacity = LZ4F_compressFrameBound(inSize, NULL); in basicTests() 713 CNBuffer, inSize, in basicTests() 716 (unsigned)inSize, (unsigned)cSizeIndep); in basicTests() [all …]
|
/third_party/lzma/C/ |
D | 7zDec.c | 98 static SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inS… in SzDecodePpmd() argument 153 else if (s.processed + (size_t)(s.cur - s.begin) != inSize) in SzDecodePpmd() 163 static SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inS… in SzDecodeLzma() argument 179 if (lookahead > inSize) in SzDecodeLzma() 180 lookahead = (size_t)inSize; in SzDecodeLzma() 190 inSize -= inProcessed; in SzDecodeLzma() 196 if (outSize != state.dicPos || inSize != 0) in SzDecodeLzma() 201 … if (outSize == state.dicPos && inSize == 0 && status == LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK) in SzDecodeLzma() 223 static SRes SzDecodeLzma2(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr in… in SzDecodeLzma2() argument 241 if (lookahead > inSize) in SzDecodeLzma2() [all …]
|
D | Lzma2Dec.c | 179 SizeT inSize = *srcLen; in Lzma2Dec_DecodeToDic() local 203 if (*srcLen == inSize) in Lzma2Dec_DecodeToDic() 216 SizeT inCur = inSize - *srcLen; in Lzma2Dec_DecodeToDic() 312 SizeT inSize = *srcLen; in Lzma2Dec_Parse() local 325 if (*srcLen == inSize) in Lzma2Dec_Parse() 361 SizeT inCur = inSize - *srcLen; in Lzma2Dec_Parse() 430 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Dec_DecodeToBuf() local 435 SizeT inCur = inSize, outCur, dicPos; in Lzma2Dec_DecodeToBuf() 454 inSize -= inCur; in Lzma2Dec_DecodeToBuf() 474 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Decode() local [all …]
|
D | LzmaDec.c | 955 SizeT inSize = *srcLen; in LzmaDec_DecodeToDic() local 964 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) in LzmaDec_DecodeToDic() 1044 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) in LzmaDec_DecodeToDic() 1046 const Byte *bufOut = src + inSize; in LzmaDec_DecodeToDic() 1053 if (inSize >= LZMA_REQUIRED_INPUT_MAX) in LzmaDec_DecodeToDic() 1055 (*srcLen) += inSize; in LzmaDec_DecodeToDic() 1056 p->tempBufSize = (unsigned)inSize; in LzmaDec_DecodeToDic() 1057 for (i = 0; i < inSize; i++) in LzmaDec_DecodeToDic() 1082 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; in LzmaDec_DecodeToDic() 1093 if (processed > inSize) in LzmaDec_DecodeToDic() [all …]
|
D | MtDec.c | 45 SRes MtProgress_ProgressAdd(CMtProgress *p, UInt64 inSize, UInt64 outSize) in MtProgress_ProgressAdd() argument 50 p->totalInSize += inSize; in MtProgress_ProgressAdd() 184 static SRes MtDec_Progress_GetError_Spec(CMtDec *p, UInt64 inSize, UInt64 outSize, UInt64 interrupt… in MtDec_Progress_GetError_Spec() argument 189 p->mtProgress.totalInSize += inSize; in MtDec_Progress_GetError_Spec() 610 size_t inSize; in MtDec_ThreadFunc2() local 614 inSize = inDataSize_Start; in MtDec_ThreadFunc2() 618 inSize = p->inBufSize; in MtDec_ThreadFunc2() 619 if (inSize > rem) in MtDec_ThreadFunc2() 620 inSize = (size_t)rem; in MtDec_ThreadFunc2() 623 inCodePos += inSize; in MtDec_ThreadFunc2() [all …]
|
D | MtCoder.c | 10 static SRes MtProgressThunk_Progress(ICompressProgressPtr pp, UInt64 inSize, UInt64 outSize) in MtProgressThunk_Progress() argument 15 if (inSize != (UInt64)(Int64)-1) in MtProgressThunk_Progress() 17 inSize2 = inSize - p->inSize; in MtProgressThunk_Progress() 18 p->inSize = inSize; in MtProgressThunk_Progress()
|
D | MtCoder.h | 34 UInt64 inSize; member 40 #define MtProgressThunk_INIT(p) { (p)->inSize = 0; (p)->outSize = 0; }
|
D | 7zTypes.h | 447 SRes (*Progress)(ICompressProgressPtr p, UInt64 inSize, UInt64 outSize); in Z7_C_IFACE_DECL() 452 #define ICompressProgress_Progress(p, inSize, outSize) (p)->Progress(p, inSize, outSize) argument
|
/third_party/lzma/CPP/7zip/Bundles/LzmaCon/ |
D | LzmaAlone.cpp | 249 Z7_COM7F_IMF(CProgressPrint::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize)) 253 if (inSize) 255 UInt64 v1 = *inSize >> 20; 546 size_t inSize = (size_t)fileSize; 548 if (inSize != fileSize) 553 if (inSize != 0) 555 inBuffer = (Byte *)MyAlloc((size_t)inSize); 560 if (ReadStream_FAIL(inStream, inBuffer, inSize) != S_OK) 583 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize, 596 if (Lzma86_GetUnpackSize(inBuffer, inSize, &outSize64) != 0) [all …]
|
/third_party/lzma/CPP/7zip/Common/ |
D | ProgressUtils.cpp | 23 Z7_COM7F_IMF(CLocalProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize)) in Z7_COM7F_IMF() argument 28 if (inSize) in Z7_COM7F_IMF() 29 inSize2 += (*inSize); in Z7_COM7F_IMF()
|
D | CWrappers.cpp | 60 static SRes CompressProgress(ICompressProgressPtr pp, UInt64 inSize, UInt64 outSize) throw() in CompressProgress() argument 63 p->Res = p->Progress->SetRatioInfo(CONVERT_PR_VAL(inSize), CONVERT_PR_VAL(outSize)); in CompressProgress()
|
/third_party/lzma/C/Util/Lzma/ |
D | LzmaUtil.c | 111 size_t inPos = 0, inSize = 0, outPos = 0; in Decode2() local 115 if (inPos == inSize) in Decode2() 117 inSize = IN_BUF_SIZE; in Decode2() 118 RINOK(inStream->Read(inStream, inBuf, &inSize)) in Decode2() 123 SizeT inProcessed = inSize - inPos; in Decode2()
|
/third_party/lzma/CPP/7zip/Compress/ |
D | LzmaDecoder.cpp | 211 const UInt64 inSize = _inProcessed - startInProgress; in CodeSpec() local 212 RINOK(progress->SetRatioInfo(&inSize, &_outProcessed)) in CodeSpec() 219 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress)) in Z7_COM7F_IMF() argument 226 if (FinishStream && inSize && *inSize != _inProcessed) in Z7_COM7F_IMF()
|
D | PpmdDecoder.cpp | 133 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress)) in Z7_COM7F_IMF() argument 162 if (FinishStream && inSize && *inSize != _inStream.GetProcessed()) in Z7_COM7F_IMF()
|
D | Lzma2Decoder.cpp | 85 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress)) in Z7_COM7F_IMF() argument 179 if (inSize && *inSize != inProcessed) in Z7_COM7F_IMF()
|
D | Bcj2Coder.cpp | 149 const UInt64 inSize = *inSizes[0]; in CodeReal() local 151 if (inSize <= BCJ2_ENC_FileSize_MAX) in CodeReal() 153 fileSize_minus1 = BCJ2_ENC_GET_FileSizeField_VAL_FROM_FileSize(inSize); in CodeReal() 599 const UInt64 inSize = processed + in Z7_COM7F_IMF() local 603 RINOK(progress->SetRatioInfo(&inSize, &prevProgress)) in Z7_COM7F_IMF()
|
/third_party/lzma/Java/SevenZip/ |
D | LzmaBench.java | 202 public void SetProgress(long inSize, long outSize) in SetProgress() argument 204 if (inSize >= ApprovedStart && InSize == 0) in SetProgress() 207 InSize = inSize; in SetProgress() 244 static long GetDecompressRating(long elapsedTime, long outSize, long inSize) in GetDecompressRating() argument 246 long numCommands = inSize * 220 + outSize * 20; in GetDecompressRating()
|
D | ICodeProgress.java | 5 public void SetProgress(long inSize, long outSize); in SetProgress() argument
|
/third_party/lzma/CS/7zip/Compress/LzmaAlone/ |
D | LzmaBench.cs | 152 public void SetProgress(Int64 inSize, Int64 outSize) in SetProgress() argument 154 if (inSize >= ApprovedStart && InSize == 0) in SetProgress() 157 InSize = inSize; in SetProgress() 194 static UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 outSize, UInt64 inSize) in GetDecompressRating() argument 196 UInt64 numCommands = inSize * 220 + outSize * 20; in GetDecompressRating()
|
/third_party/lzma/CS/7zip/ |
D | ICoder.cs | 34 void SetProgress(Int64 inSize, Int64 outSize); in SetProgress() argument 61 Int64 inSize, Int64 outSize, ICodeProgress progress); in Code() argument
|
/third_party/lz4/examples/ |
D | frameCompress.c | 87 long long inSize = IN_CHUNK_SIZE; in compress_file_internal() local 93 inSize = bytesToOffset; in compress_file_internal() 99 size_t const readSize = fread(inBuff, 1, inSize, f_unc); in compress_file_internal() 110 size_t const readSize = fread(inBuff, 1, inSize, f_in); in compress_file_internal()
|
/third_party/lzma/CPP/7zip/Archive/ |
D | XzHandler.cpp | 429 static SRes OpenCallbackProgress(ICompressProgressPtr pp, UInt64 inSize, UInt64 /* outSize */) 433 p->Res = p->OpenCallback->SetCompleted(NULL, &inSize); 820 UInt32 inSize = 0; 828 if (inPos == inSize && readRes == S_OK) 831 inSize = 0; 836 readRes = seqInStream->Read(xzu.InBuf, rem, &inSize); 839 SizeT inLen = inSize - inPos;
|
/third_party/lzma/CPP/7zip/UI/FileManager/ |
D | ProgressDialog2.cpp | 167 void CProgressSync::Set_Ratio(const UInt64 *inSize, const UInt64 *outSize) in Set_Ratio() argument 170 if (inSize) in Set_Ratio() 171 _inSize = *inSize; in Set_Ratio() 691 UInt64 total, completed, totalFiles, completedFiles, inSize, outSize; in UpdateStatInfo() local 704 inSize = Sync._inSize; in UpdateStatInfo() 864 const UInt64 packSize = CompressingMode ? outSize : inSize; in UpdateStatInfo() 865 const UInt64 unpackSize = CompressingMode ? inSize : outSize; in UpdateStatInfo()
|
/third_party/lzma/CPP/7zip/ |
D | ICoder.h | 15 x(SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize)) 29 const UInt64 *inSize, const UInt64 *outSize, \
|