Home
last modified time | relevance | path

Searched refs:inSize (Results 1 – 25 of 52) sorted by relevance

123

/external/lzma/C/
D7zDec.c66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodePpmd() argument
116 else if (s.processed + (s.cur - s.begin) != inSize || !Ppmd7z_RangeDec_IsFinishedOK(&rc)) in SzDecodePpmd()
127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma() argument
143 if (lookahead > inSize) in SzDecodeLzma()
144 lookahead = (size_t)inSize; in SzDecodeLzma()
154 inSize -= inProcessed; in SzDecodeLzma()
175 static SRes SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma2() argument
193 if (lookahead > inSize) in SzDecodeLzma2()
194 lookahead = (size_t)inSize; in SzDecodeLzma2()
204 inSize -= inProcessed; in SzDecodeLzma2()
[all …]
DLzma2Dec.c173 SizeT inSize = *srcLen; in Lzma2Dec_DecodeToDic() local
189 if (*srcLen == inSize) in Lzma2Dec_DecodeToDic()
200 SizeT srcSizeCur = inSize - *srcLen; in Lzma2Dec_DecodeToDic()
211 if (*srcLen == inSize) in Lzma2Dec_DecodeToDic()
293 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Dec_DecodeToBuf() local
297 SizeT srcSizeCur = inSize, outSizeCur, dicPos; in Lzma2Dec_DecodeToBuf()
316 inSize -= srcSizeCur; in Lzma2Dec_DecodeToBuf()
335 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Decode() local
348 *srcLen = inSize; in Lzma2Decode()
DLzmaDec.c487 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) in LzmaDec_TryDummy() argument
491 const Byte *bufLimit = buf + inSize; in LzmaDec_TryDummy()
722 SizeT inSize = *srcLen; in LzmaDec_DecodeToDic() local
734 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) in LzmaDec_DecodeToDic()
776 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) in LzmaDec_DecodeToDic()
778 int dummyRes = LzmaDec_TryDummy(p, src, inSize); in LzmaDec_DecodeToDic()
781 memcpy(p->tempBuf, src, inSize); in LzmaDec_DecodeToDic()
782 p->tempBufSize = (unsigned)inSize; in LzmaDec_DecodeToDic()
783 (*srcLen) += inSize; in LzmaDec_DecodeToDic()
795 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; in LzmaDec_DecodeToDic()
[all …]
DMtCoder.c56 static SRes Progress(ICompressProgress *p, UInt64 inSize, UInt64 outSize) in Progress() argument
58 return (p && p->Progress(p, inSize, outSize) != SZ_OK) ? SZ_ERROR_PROGRESS : SZ_OK; in Progress()
80 SRes MtProgress_Set(CMtProgress *p, unsigned index, UInt64 inSize, UInt64 outSize) in MtProgress_Set() argument
84 UPDATE_PROGRESS(inSize, p->inSizes[index], p->totalInSize) in MtProgress_Set()
/external/chromium_org/third_party/lzma_sdk/
D7zDec.c66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodePpmd() argument
116 else if (s.processed + (s.cur - s.begin) != inSize || !Ppmd7z_RangeDec_IsFinishedOK(&rc)) in SzDecodePpmd()
127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma() argument
143 if (lookahead > inSize) in SzDecodeLzma()
144 lookahead = (size_t)inSize; in SzDecodeLzma()
154 inSize -= inProcessed; in SzDecodeLzma()
175 static SRes SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma2() argument
193 if (lookahead > inSize) in SzDecodeLzma2()
194 lookahead = (size_t)inSize; in SzDecodeLzma2()
204 inSize -= inProcessed; in SzDecodeLzma2()
[all …]
DLzma2Dec.c173 SizeT inSize = *srcLen; in Lzma2Dec_DecodeToDic() local
189 if (*srcLen == inSize) in Lzma2Dec_DecodeToDic()
200 SizeT srcSizeCur = inSize - *srcLen; in Lzma2Dec_DecodeToDic()
211 if (*srcLen == inSize) in Lzma2Dec_DecodeToDic()
293 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Dec_DecodeToBuf() local
297 SizeT srcSizeCur = inSize, outSizeCur, dicPos; in Lzma2Dec_DecodeToBuf()
316 inSize -= srcSizeCur; in Lzma2Dec_DecodeToBuf()
335 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Decode() local
348 *srcLen = inSize; in Lzma2Decode()
DLzmaDec.c487 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) in LzmaDec_TryDummy() argument
491 const Byte *bufLimit = buf + inSize; in LzmaDec_TryDummy()
722 SizeT inSize = *srcLen; in LzmaDec_DecodeToDic() local
734 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) in LzmaDec_DecodeToDic()
776 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) in LzmaDec_DecodeToDic()
778 int dummyRes = LzmaDec_TryDummy(p, src, inSize); in LzmaDec_DecodeToDic()
781 memcpy(p->tempBuf, src, inSize); in LzmaDec_DecodeToDic()
782 p->tempBufSize = (unsigned)inSize; in LzmaDec_DecodeToDic()
783 (*srcLen) += inSize; in LzmaDec_DecodeToDic()
795 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; in LzmaDec_DecodeToDic()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
DStrings.java11 int inSize; in fromStream() local
13 while ((inSize = inputStream.read(buffer)) > 0) { in fromStream()
14 stringBuilder.append(new String(buffer, 0, inSize)); in fromStream()
/external/lzma/CPP/7zip/Common/
DProgressUtils.cpp21 STDMETHODIMP CLocalProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) in SetRatioInfo() argument
24 if (inSize) in SetRatioInfo()
25 inSizeNew += (*inSize); in SetRatioInfo()
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/
DParticle.vert19 attribute float inSize;
35 gl_PointSize = max(1.0, (inSize * SIZE_MULTIPLIER * m_Quadratic) / d);
38 //gl_PointSize = (inSize * SIZE_MULTIPLIER * m_Quadratic)*100.0 / worldViewPos.z;
DSoftParticle.vert24 attribute float inSize;
46 gl_PointSize = max(1.0, (inSize * SIZE_MULTIPLIER * m_Quadratic) / d);
49 //gl_PointSize = (inSize * SIZE_MULTIPLIER * m_Quadratic)*100.0 / worldViewPos.z;
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
DLzmaDec.c488 static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) in LzmaDec_TryDummy() argument
492 const Byte *bufLimit = buf + inSize; in LzmaDec_TryDummy()
723 SizeT inSize = *srcLen; in LzmaDec_DecodeToDic() local
735 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) in LzmaDec_DecodeToDic()
777 if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) in LzmaDec_DecodeToDic()
779 int dummyRes = LzmaDec_TryDummy(p, src, inSize); in LzmaDec_DecodeToDic()
782 memcpy(p->tempBuf, src, inSize); in LzmaDec_DecodeToDic()
783 p->tempBufSize = (unsigned)inSize; in LzmaDec_DecodeToDic()
784 (*srcLen) += inSize; in LzmaDec_DecodeToDic()
796 bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; in LzmaDec_DecodeToDic()
[all …]
/external/lzma/CPP/7zip/Archive/Common/
DCrossThreadProgress.cpp7 STDMETHODIMP CCrossThreadProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) in SetRatioInfo() argument
9 InSize = inSize; in SetRatioInfo()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp309 size_t inSize = (size_t)fileSize; in main2() local
311 if (inSize != 0) in main2()
313 inBuffer = (Byte *)MyAlloc((size_t)inSize); in main2()
318 if (ReadStream_FAIL(inStream, inBuffer, inSize) != S_OK) in main2()
335 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize, in main2()
346 if (Lzma86_GetUnpackSize(inBuffer, inSize, &outSize64) != 0) in main2()
357 int res = Lzma86_Decode(outBuffer, &outSize, inBuffer, &inSize); in main2()
358 if (inSize != (size_t)fileSize) in main2()
/external/mdnsresponder/mDNSShared/
DDebugServices.c83 static OSStatus DebugPrint( DebugLevel inLevel, char *inData, size_t inSize );
89 static void DebugFPrintFPrint( char *inData, size_t inSize );
96 static void DebugiDebugPrint( char *inData, size_t inSize );
102 static void DebugKPrintFPrint( char *inData, size_t inSize );
108 static void DebugMacOSXIOLogPrint( char *inData, size_t inSize );
115 static void DebugMacOSXLogPrint( char *inData, size_t inSize );
121 static void DebugWindowsDebuggerPrint( char *inData, size_t inSize );
128 static void DebugWindowsEventLogPrint( DebugLevel inLevel, char *inData, size_t inSize );
552 static OSStatus DebugPrint( DebugLevel inLevel, char *inData, size_t inSize ) in DebugPrint() argument
593 gDebugCustomOutputFunction( inData, inSize, gDebugCustomOutputContext ); in DebugPrint()
[all …]
/external/lzma/CPP/Windows/
DFileIO.h68 bool DeviceIoControl(DWORD controlCode, LPVOID inBuffer, DWORD inSize, in DeviceIoControl() argument
71 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize, in DeviceIoControl()
76 DWORD inSize, LPVOID outBuffer, DWORD outSize) const in DeviceIoControl() argument
79 return DeviceIoControl(controlCode, inBuffer, inSize, outBuffer, outSize, &ret, 0); in DeviceIoControl()
/external/lzma/C/Util/Lzma/
DLzmaUtil.c61 size_t inPos = 0, inSize = 0, outPos = 0; in Decode2() local
65 if (inPos == inSize) in Decode2()
67 inSize = IN_BUF_SIZE; in Decode2()
68 RINOK(inStream->Read(inStream, inBuf, &inSize)); in Decode2()
73 SizeT inProcessed = inSize - inPos; in Decode2()
/external/lzma/CS/7zip/
DICoder.cs34 void SetProgress(Int64 inSize, Int64 outSize); in SetProgress() argument
61 Int64 inSize, Int64 outSize, ICodeProgress progress); in Code() argument
/external/lzma/Java/SevenZip/
DLzmaBench.java202 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()
DICodeProgress.java5 public void SetProgress(long inSize, long outSize); in SetProgress() argument
/external/lzma/CPP/7zip/
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/Archive/
DXzHandler.cpp300 static SRes OpenCallbackProgress(void *pp, UInt64 inSize, UInt64 /* outSize */) in OpenCallbackProgress() argument
303 p->Res = p->OpenCallback->SetCompleted(NULL, &inSize); in OpenCallbackProgress()
492 UInt32 inSize = 0; in Extract() local
506 if (inPos == inSize) in Extract()
508 inPos = inSize = 0; in Extract()
509 RINOK(_seqStream->Read(xzu.InBuf, kInBufSize, &inSize)); in Extract()
512 SizeT inLen = inSize - inPos; in Extract()
518 (inSize == 0 ? CODER_FINISH_END : CODER_FINISH_ANY), &status); in Extract()
/external/lzma/CPP/7zip/Compress/
DBcj2Coder.cpp71 UInt64 inSize = 0; in CodeReal() local
75 inSize = *inSizes[0]; in CodeReal()
76 if (inSize <= kDefaultLimit) in CodeReal()
198 convert = (dest < inSize); in CodeReal()
211 convert = (dest < inSize); in CodeReal()
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaBench.cs152 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()
/external/lzma/CPP/7zip/UI/Common/
DUpdateCallback.h18 virtual HRESULT SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) x; \
49 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);

123