Searched refs:inSize (Results 1 - 25 of 60) sorted by relevance

123

/external/lzma/Java/SevenZip/
H A DICodeProgress.java5 public void SetProgress(long inSize, long outSize); argument
/external/lzma/CPP/7zip/Archive/Common/
H A DCrossThreadProgress.cpp7 STDMETHODIMP CCrossThreadProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) argument
9 InSize = inSize;
H A DCrossThreadProgress.h34 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
H A DStrings.java11 int inSize;
13 while ((inSize = inputStream.read(buffer)) > 0) {
14 stringBuilder.append(new String(buffer, 0, inSize));
/external/lzma/CPP/7zip/Common/
H A DProgressUtils.cpp21 STDMETHODIMP CLocalProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) argument
24 if (inSize)
25 inSizeNew += (*inSize);
H A DProgressUtils.h31 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);
/external/lzma/CS/7zip/
H A DICoder.cs28 /// <param name="inSize">
34 void SetProgress(Int64 inSize, Int64 outSize); argument
48 /// <param name="inSize">
61 Int64 inSize, Int64 outSize, ICodeProgress progress);
60 Code(System.IO.Stream inStream, System.IO.Stream outStream, Int64 inSize, Int64 outSize, ICodeProgress progress) argument
/external/lzma/CPP/7zip/Compress/
H A DCopyCoder.h26 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
H A DLzma2Encoder.h26 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
H A DLzmaEncoder.h26 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
H A DPpmdDecoder.h56 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
H A DBcj2Coder.cpp71 UInt64 inSize = 0; local
75 inSize = *inSizes[0];
76 if (inSize <= kDefaultLimit)
198 convert = (dest < inSize);
211 convert = (dest < inSize);
/external/chromium_org/third_party/lzma_sdk/
H A D7zDec.c66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, argument
116 else if (s.processed + (s.cur - s.begin) != inSize || !Ppmd7z_RangeDec_IsFinishedOK(&rc))
127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, argument
143 if (lookahead > inSize)
144 lookahead = (size_t)inSize;
154 inSize -= inProcessed;
175 static SRes SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, argument
193 if (lookahead > inSize)
194 lookahead = (size_t)inSize;
204 inSize
224 SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer) argument
355 UInt64 inSize; local
[all...]
H A DLzma2Dec.c173 SizeT inSize = *srcLen; local
189 if (*srcLen == inSize)
200 SizeT srcSizeCur = inSize - *srcLen;
211 if (*srcLen == inSize)
293 SizeT outSize = *destLen, inSize = *srcLen; local
297 SizeT srcSizeCur = inSize, outSizeCur, dicPos;
316 inSize -= srcSizeCur;
335 SizeT outSize = *destLen, inSize = *srcLen; local
348 *srcLen = inSize;
H A DLzmaDec.c487 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) argument
491 const Byte *bufLimit = buf + inSize;
722 SizeT inSize = *srcLen; local
734 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--)
776 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow)
778 int dummyRes = LzmaDec_TryDummy(p, src, inSize);
781 memcpy(p->tempBuf, src, inSize);
782 p->tempBufSize = (unsigned)inSize;
783 (*srcLen) += inSize;
843 SizeT inSize = *srcLen; local
975 SizeT inSize = *srcLen; local
[all...]
/external/lzma/C/
H A D7zDec.c66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, argument
116 else if (s.processed + (s.cur - s.begin) != inSize || !Ppmd7z_RangeDec_IsFinishedOK(&rc))
127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, argument
143 if (lookahead > inSize)
144 lookahead = (size_t)inSize;
154 inSize -= inProcessed;
175 static SRes SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, argument
193 if (lookahead > inSize)
194 lookahead = (size_t)inSize;
204 inSize
224 SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer) argument
355 UInt64 inSize; local
[all...]
H A DLzma2Dec.c173 SizeT inSize = *srcLen; local
189 if (*srcLen == inSize)
200 SizeT srcSizeCur = inSize - *srcLen;
211 if (*srcLen == inSize)
293 SizeT outSize = *destLen, inSize = *srcLen; local
297 SizeT srcSizeCur = inSize, outSizeCur, dicPos;
316 inSize -= srcSizeCur;
335 SizeT outSize = *destLen, inSize = *srcLen; local
348 *srcLen = inSize;
H A DLzmaDec.c487 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) argument
491 const Byte *bufLimit = buf + inSize;
722 SizeT inSize = *srcLen; local
734 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--)
776 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow)
778 int dummyRes = LzmaDec_TryDummy(p, src, inSize);
781 memcpy(p->tempBuf, src, inSize);
782 p->tempBufSize = (unsigned)inSize;
783 (*srcLen) += inSize;
843 SizeT inSize = *srcLen; local
975 SizeT inSize = *srcLen; local
[all...]
/external/lzma/CPP/Windows/
H A DFileIO.h68 bool DeviceIoControl(DWORD controlCode, LPVOID inBuffer, DWORD inSize, argument
71 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize,
76 DWORD inSize, LPVOID outBuffer, DWORD outSize) const
79 return DeviceIoControl(controlCode, inBuffer, inSize, outBuffer, outSize, &ret, 0);
75 DeviceIoControl(DWORD controlCode, LPVOID inBuffer, DWORD inSize, LPVOID outBuffer, DWORD outSize) const argument
/external/lzma/CPP/7zip/UI/Common/
H A DUpdateCallback.h18 virtual HRESULT SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) x; \
49 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);
H A DBench.h29 UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 freq, UInt64 outSize, UInt64 inSize, UInt32 numIterations);
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
H A DLzmaDec.c488 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) argument
492 const Byte *bufLimit = buf + inSize;
723 SizeT inSize = *srcLen; local
735 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--)
777 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow)
779 int dummyRes = LzmaDec_TryDummy(p, src, inSize);
782 memcpy(p->tempBuf, src, inSize);
783 p->tempBufSize = (unsigned)inSize;
784 (*srcLen) += inSize;
844 SizeT inSize = *srcLen; local
976 SizeT inSize = *srcLen; local
[all...]
/external/lzma/C/Util/Lzma/
H A DLzmaUtil.c61 size_t inPos = 0, inSize = 0, outPos = 0; local
65 if (inPos == inSize)
67 inSize = IN_BUF_SIZE;
68 RINOK(inStream->Read(inStream, inBuf, &inSize));
73 SizeT inProcessed = inSize - inPos;
/external/lzma/CPP/7zip/
H A DICoder.h12 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize) PURE;
18 const UInt64 *inSize, const UInt64 *outSize,
102 STDMETHOD(SetInStreamSize)(const UInt64 *inSize) PURE;
/external/lzma/CPP/7zip/Bundles/LzmaCon/
H A DLzmaAlone.cpp309 size_t inSize = (size_t)fileSize; local
311 if (inSize != 0)
313 inBuffer = (Byte *)MyAlloc((size_t)inSize);
318 if (ReadStream_FAIL(inStream, inBuffer, inSize) != S_OK)
335 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize,
346 if (Lzma86_GetUnpackSize(inBuffer, inSize, &outSize64) != 0)
357 int res = Lzma86_Decode(outBuffer, &outSize, inBuffer, &inSize);
358 if (inSize != (size_t)fileSize)

Completed in 1504 milliseconds

123