Home
last modified time | relevance | path

Searched refs:outSize (Results 1 – 25 of 84) sorted by relevance

1234

/external/lzma/C/
D7zDec.c74 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodePpmd() argument
114 for (i = 0; i < outSize; i++) in SzDecodePpmd()
121 if (i != outSize) in SzDecodePpmd()
135 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodeLzma() argument
143 state.dicBufSize = outSize; in SzDecodeLzma()
159 res = LzmaDec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); in SzDecodeLzma()
167 if (outSize != state.dicPos || inSize != 0) in SzDecodeLzma()
172 … if (outSize == state.dicPos && inSize == 0 && status == LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK) in SzDecodeLzma()
195 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodeLzma2() argument
205 state.decoder.dicBufSize = outSize; in SzDecodeLzma2()
[all …]
DLzma2Dec.c307 SizeT outSize, in Lzma2Dec_Parse() argument
319 if (outSize == 0 && !checkFinishBlock) in Lzma2Dec_Parse()
342 if (outSize == 0 && p->state != LZMA2_STATE_FINISHED) in Lzma2Dec_Parse()
356 if (outSize == 0) in Lzma2Dec_Parse()
368 if (inCur > outSize) in Lzma2Dec_Parse()
369 inCur = outSize; in Lzma2Dec_Parse()
373 outSize -= inCur; in Lzma2Dec_Parse()
407 SizeT rem = outSize; in Lzma2Dec_Parse()
412 outSize -= rem; in Lzma2Dec_Parse()
429 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Dec_DecodeToBuf() local
[all …]
DLzma2DecMt.c99 UInt64 outSize; member
287 UInt64 rem = me->outSize - me->outProcessed_Parse; in Lzma2DecMt_MtCallback_Parse()
718 const UInt64 rem = p->outSize - p->outProcessed; in Lzma2Dec_Decode_ST()
736 outFinished = (p->outSize_Defined && p->outSize <= p->outProcessed); in Lzma2Dec_Decode_ST()
767 if (p->outSize_Defined && p->outSize != p->outProcessed) in Lzma2Dec_Decode_ST()
828 p->outSize = 0; in Lzma2DecMt_Decode()
833 p->outSize = *outDataSize; in Lzma2DecMt_Decode()
991 p->outSize = 0; in Lzma2DecMt_Init()
996 p->outSize = *outDataSize; in Lzma2DecMt_Init()
1011 Byte *data, size_t *outSize, in Lzma2DecMt_Read() argument
[all …]
DMtCoder.c10 SRes MtProgressThunk_Progress(const ICompressProgress *pp, UInt64 inSize, UInt64 outSize) in MtProgressThunk_Progress() argument
20 if (outSize != (UInt64)(Int64)-1) in MtProgressThunk_Progress()
22 outSize2 = outSize - thunk->outSize; in MtProgressThunk_Progress()
23 thunk->outSize = outSize; in MtProgressThunk_Progress()
/external/u-boot/lib/lzma/
DLzmaTools.c48 SizeT outSize; in lzmaBuffToBuffDecompress() local
61 outSize = 0; in lzmaBuffToBuffDecompress()
67 outSize += (UInt32)(b) << (i * 8); in lzmaBuffToBuffDecompress()
73 outSizeFull = (SizeT)outSize; in lzmaBuffToBuffDecompress()
80 } else if (outSizeHigh != 0 || (UInt32)(SizeT)outSize != outSize) { in lzmaBuffToBuffDecompress()
87 if (outSizeHigh != (SizeT)-1 || outSize != (SizeT)-1) { in lzmaBuffToBuffDecompress()
/external/lz4/tests/
Dfullbench.c271 static int local_LZ4_decompress_fast(const char* in, char* out, int inSize, int outSize) in local_LZ4_decompress_fast() argument
274 LZ4_decompress_fast(in, out, outSize); in local_LZ4_decompress_fast()
275 return outSize; in local_LZ4_decompress_fast()
278 … int local_LZ4_decompress_fast_usingDict_prefix(const char* in, char* out, int inSize, int outSize) in local_LZ4_decompress_fast_usingDict_prefix() argument
281 LZ4_decompress_fast_usingDict(in, out, outSize, out - 65536, 65536); in local_LZ4_decompress_fast_usingDict_prefix()
282 return outSize; in local_LZ4_decompress_fast_usingDict_prefix()
285 …atic int local_LZ4_decompress_fast_usingExtDict(const char* in, char* out, int inSize, int outSize) in local_LZ4_decompress_fast_usingExtDict() argument
288 LZ4_decompress_fast_usingDict(in, out, outSize, out - 65536, 65535); in local_LZ4_decompress_fast_usingExtDict()
289 return outSize; in local_LZ4_decompress_fast_usingExtDict()
292 static int local_LZ4_decompress_safe_usingDict(const char* in, char* out, int inSize, int outSize) in local_LZ4_decompress_safe_usingDict() argument
[all …]
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp227 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);
243 STDMETHODIMP CProgressPrint::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) in SetRatioInfo() argument
251 if (outSize) in SetRatioInfo()
252 v2 = *outSize >> 20; in SetRatioInfo()
555 size_t outSize; in main2() local
562 outSize = (size_t)outSize64; in main2()
564 if (outSize != outSize64) in main2()
567 if (outSize != 0) in main2()
569 outBuffer = (Byte *)MyAlloc((size_t)outSize); in main2()
574 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize, in main2()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayTest.java96 Point outSize = new Point(); in shouldProvideDisplaySize() local
110 display.getSize(outSize); in shouldProvideDisplaySize()
111 assertEquals(400, outSize.x); in shouldProvideDisplaySize()
112 assertEquals(600, outSize.y); in shouldProvideDisplaySize()
118 display.getRealSize(outSize); in shouldProvideDisplaySize()
119 assertEquals(480, outSize.x); in shouldProvideDisplaySize()
120 assertEquals(800, outSize.y); in shouldProvideDisplaySize()
/external/lzma/CPP/7zip/Compress/
DLzmaDecoder.cpp80 void CDecoder::SetOutStreamSizeResume(const UInt64 *outSize) in SetOutStreamSizeResume() argument
82 _outSizeDefined = (outSize != NULL); in SetOutStreamSizeResume()
85 _outSize = *outSize; in SetOutStreamSizeResume()
93 STDMETHODIMP CDecoder::SetOutStreamSize(const UInt64 *outSize) in SetOutStreamSize() argument
97 SetOutStreamSizeResume(outSize); in SetOutStreamSize()
214 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress) in Code() argument
218 SetOutStreamSize(outSize); in Code()
299 HRESULT CDecoder::CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgr… in CodeResume() argument
301 SetOutStreamSizeResume(outSize); in CodeResume()
DPpmdDecoder.cpp96 const UInt64 * /* inSize */, const UInt64 *outSize, ICompressProgressInfo *progress) in Code() argument
106 SetOutStreamSize(outSize); in Code()
127 STDMETHODIMP CDecoder::SetOutStreamSize(const UInt64 *outSize) in SetOutStreamSize() argument
129 _outSizeDefined = (outSize != NULL); in SetOutStreamSize()
131 _outSize = *outSize; in SetOutStreamSize()
DLzma2Decoder.cpp85 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress) in Code() argument
153 &outWrap.vt, outSize, _finishMode, in Code()
181 if (outSize && *outSize != outWrap.Processed) in Code()
215 STDMETHODIMP CDecoder::SetOutStreamSize(const UInt64 *outSize) in SetOutStreamSize() argument
233 SRes res = Lzma2DecMt_Init(_dec, _prop, &props, outSize, _finishMode, &_inWrap.vt); in SetOutStreamSize()
DLzmaDecoder.h54 void SetOutStreamSizeResume(const UInt64 *outSize);
71 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
75 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize);
89 …HRESULT CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgressInfo *…
DCopyCoder.cpp25 const UInt64 * /* inSize */, const UInt64 *outSize, in Code() argument
40 if (outSize && size > *outSize - TotalSize) in Code()
41 size = (UInt32)(*outSize - TotalSize); in Code()
DPpmdDecoder.h62 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
66 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize);
/external/lzma/CPP/7zip/Common/
DFilterCoder.cpp68 const UInt64 * /* inSize */, const UInt64 *outSize, ICompressProgressInfo *progress) in Code() argument
76 while (!outSize || nowPos64 < *outSize) in Code()
110 if (outSize) in Code()
112 UInt64 remSize = *outSize - nowPos64; in Code()
282 STDMETHODIMP CFilterCoder::SetOutStreamSize(const UInt64 *outSize) in SetOutStreamSize() argument
285 if (outSize) in SetOutStreamSize()
287 _outSize = *outSize; in SetOutStreamSize()
DProgressUtils.cpp23 STDMETHODIMP CLocalProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) in SetRatioInfo() argument
30 if (outSize) in SetRatioInfo()
31 outSize2 += (*outSize); in SetRatioInfo()
/external/lzma/CPP/Windows/
DFileIO.h79 LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned, LPOVERLAPPED overlapped = NULL) const
82 outBuffer, outSize, bytesReturned, overlapped));
85 …bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned)… in DeviceIoControlOut() argument
87 return DeviceIoControl(controlCode, NULL, 0, outBuffer, outSize, bytesReturned); in DeviceIoControlOut()
90 bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize) const in DeviceIoControlOut() argument
93 return DeviceIoControlOut(controlCode, outBuffer, outSize, &bytesReturned); in DeviceIoControlOut()
/external/lz4/programs/
Dlz4io.c365 unsigned int outSize; in LZ4IO_compressFilename_Legacy() local
373outSize = compressionFunction(in_buff, out_buff+4, (int)inSize, outBuffSize, compressionlevel); in LZ4IO_compressFilename_Legacy()
374 compressedfilesize += outSize+4; in LZ4IO_compressFilename_Legacy()
379 LZ4IO_writeLE32(out_buff, outSize); in LZ4IO_compressFilename_Legacy()
380 { size_t const sizeCheck = fwrite(out_buff, 1, outSize+4, foutput); in LZ4IO_compressFilename_Legacy()
381 if (sizeCheck!=(size_t)(outSize+4)) in LZ4IO_compressFilename_Legacy()
598 size_t outSize; in LZ4IO_compressFilename_extRess() local
601 outSize = LZ4F_compressUpdate(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, NULL); in LZ4IO_compressFilename_extRess()
602 … if (LZ4F_isError(outSize)) EXM_THROW(35, "Compression failed : %s", LZ4F_getErrorName(outSize)); in LZ4IO_compressFilename_extRess()
603 compressedfilesize += outSize; in LZ4IO_compressFilename_extRess()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplay.java145 protected void getSizeInternal(Point outSize, boolean doCompat) { in getSizeInternal() argument
146 outSize.x = width; in getSizeInternal()
147 outSize.y = height; in getSizeInternal()
159 protected void getRealSize(Point outSize) { in getRealSize() argument
160 outSize.set(realWidth, realHeight); in getRealSize()
/external/deqp/framework/platform/android/
DtcuAndroidNativeActivity.cpp39 static void* onSaveInstanceStateCallback (ANativeActivity* activity, size_t* outSize) in onSaveInstanceStateCallback() argument
41 …return static_cast<tcu::Android::NativeActivity*>(activity->instance)->onSaveInstanceState(outSize in onSaveInstanceStateCallback()
150 void* NativeActivity::onSaveInstanceState (size_t* outSize) in onSaveInstanceState() argument
152 *outSize = 0; in onSaveInstanceState()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DDisplayFacade.java73 Point outSize = new Point(); in displayGetSize() local
75 d.getSize(outSize); in displayGetSize()
76 return outSize; in displayGetSize()
/external/lzma/Java/SevenZip/
DLzmaBench.java202 public void SetProgress(long inSize, long outSize) in SetProgress() argument
244 static long GetDecompressRating(long elapsedTime, long outSize, long inSize) in GetDecompressRating() argument
246 long numCommands = inSize * 220 + outSize * 20; in GetDecompressRating()
365 long outSize = kBufferSize; in LzmaBenchmark() local
367 if (!decoder.Code(inputCompressedStream, crcOutStream, outSize)) in LzmaBenchmark()
DLzmaAlone.java234 long outSize = 0; in main() local
240 outSize |= ((long)v) << (8 * i); in main()
242 if (!decoder.Code(inStream, outStream, outSize)) in main()
/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/CS/7zip/Compress/LzmaAlone/
DLzmaBench.cs152 public void SetProgress(Int64 inSize, Int64 outSize) in SetProgress() argument
194 static UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 outSize, UInt64 inSize) in GetDecompressRating() argument
196 UInt64 numCommands = inSize * 220 + outSize * 20; in GetDecompressRating()
312 UInt64 outSize = kBufferSize; in LzmaBenchmark()
314 decoder.Code(compressedStream, crcOutStream, 0, (Int64)outSize, null); in LzmaBenchmark()

1234