Home
last modified time | relevance | path

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

123

/external/lzma/C/
D7zDec.c74 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodePpmd() argument
114 for (i = 0; i < outSize; i++) in SzDecodePpmd()
121 if (i != outSize) in SzDecodePpmd()
135 Byte *outBuffer, SizeT outSize, ISzAlloc *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, ISzAlloc *allocMain) in SzDecodeLzma2() argument
205 state.decoder.dicBufSize = outSize; in SzDecodeLzma2()
[all …]
DLzma2Dec.c321 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Dec_DecodeToBuf() local
331 if (outSize > p->decoder.dicBufSize - dicPos) in Lzma2Dec_DecodeToBuf()
338 outSizeCur = dicPos + outSize; in Lzma2Dec_DecodeToBuf()
349 outSize -= outSizeCur; in Lzma2Dec_DecodeToBuf()
353 if (outSizeCur == 0 || outSize == 0) in Lzma2Dec_DecodeToBuf()
363 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Decode() local
369 p.decoder.dicBufSize = outSize; in Lzma2Decode()
372 res = Lzma2Dec_DecodeToDic(&p, outSize, src, srcLen, finishMode, status); in Lzma2Decode()
/external/lz4/tests/
Dfullbench.c258 static int local_LZ4_decompress_fast(const char* in, char* out, int inSize, int outSize) in local_LZ4_decompress_fast() argument
261 LZ4_decompress_fast(in, out, outSize); in local_LZ4_decompress_fast()
262 return outSize; in local_LZ4_decompress_fast()
265 static int local_LZ4_decompress_fast_usingDict(const char* in, char* out, int inSize, int outSize) in local_LZ4_decompress_fast_usingDict() argument
268 LZ4_decompress_fast_usingDict(in, out, outSize, out - 65536, 65536); in local_LZ4_decompress_fast_usingDict()
269 return outSize; in local_LZ4_decompress_fast_usingDict()
272 static int local_LZ4_decompress_safe_usingDict(const char* in, char* out, int inSize, int outSize) in local_LZ4_decompress_safe_usingDict() argument
275 LZ4_decompress_safe_usingDict(in, out, inSize, outSize, out - 65536, 65536); in local_LZ4_decompress_safe_usingDict()
276 return outSize; in local_LZ4_decompress_safe_usingDict()
280 extern int LZ4_decompress_safe_forceExtDict(const char* in, char* out, int inSize, int outSize, con…
[all …]
Dfasttest.c24 int test_compress(const char *input, int inSize, char *output, int outSize) in test_compress() argument
37 if (outSize - (outOffset + 8) < LZ4_compressBound(length)) return -3; in test_compress()
40 lz4Stream, input + inOffset, output + outOffset + 8, length, outSize-outOffset, 1); in test_compress()
48 if (outOffset + 8 > outSize) return -5; in test_compress()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp206 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);
222 STDMETHODIMP CProgressPrint::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) in SetRatioInfo() argument
230 if (outSize) in SetRatioInfo()
231 v2 = *outSize >> 20; in SetRatioInfo()
534 size_t outSize; in main2() local
541 outSize = (size_t)outSize64; in main2()
543 if (outSize != outSize64) in main2()
546 if (outSize != 0) in main2()
548 outBuffer = (Byte *)MyAlloc((size_t)outSize); in main2()
553 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize, in main2()
[all …]
/external/lzma/CPP/7zip/Compress/
DLzmaDecoder.cpp67 void CDecoder::SetOutStreamSizeResume(const UInt64 *outSize) in SetOutStreamSizeResume() argument
69 _outSizeDefined = (outSize != NULL); in SetOutStreamSizeResume()
71 _outSize = *outSize; in SetOutStreamSizeResume()
77 STDMETHODIMP CDecoder::SetOutStreamSize(const UInt64 *outSize) in SetOutStreamSize() argument
82 SetOutStreamSizeResume(outSize); in SetOutStreamSize()
176 const UInt64 * /* inSize */, const UInt64 *outSize, ICompressProgressInfo *progress) in Code() argument
180 SetOutStreamSize(outSize); in Code()
230 HRESULT CDecoder::CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgr… in CodeResume() argument
232 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()
DLzmaDecoder.h44 void SetOutStreamSizeResume(const UInt64 *outSize);
60 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
63 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize);
73 …HRESULT CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgressInfo *…
DCopyCoder.cpp20 const UInt64 * /* inSize */, const UInt64 *outSize, in Code() argument
35 if (outSize && size > *outSize - TotalSize) in Code()
36 size = (UInt32)(*outSize - TotalSize); in Code()
DLzma2Decoder.cpp70 STDMETHODIMP CDecoder::SetOutStreamSize(const UInt64 *outSize) in SetOutStreamSize() argument
72 _outSizeDefined = (outSize != NULL); in SetOutStreamSize()
75 _outSize = *outSize; in SetOutStreamSize()
92 const UInt64 *outSize, ICompressProgressInfo *progress) in Code() argument
96 SetOutStreamSize(outSize); in Code()
DPpmdDecoder.h56 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
58 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize);
DLzma2Decoder.h61 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
75 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize);
/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/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.h75 LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned, LPOVERLAPPED overlapped = NULL) const
78 outBuffer, outSize, bytesReturned, overlapped));
81 …bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned)… in DeviceIoControlOut() argument
83 return DeviceIoControl(controlCode, NULL, 0, outBuffer, outSize, bytesReturned); in DeviceIoControlOut()
86 bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize) const in DeviceIoControlOut() argument
89 return DeviceIoControlOut(controlCode, outBuffer, outSize, &bytesReturned); in DeviceIoControlOut()
/external/lz4/programs/
Dlz4io.c354 unsigned int outSize; in LZ4IO_compressFilename_Legacy() local
362outSize = compressionFunction(in_buff, out_buff+4, (int)inSize, outBuffSize, compressionlevel); in LZ4IO_compressFilename_Legacy()
363 compressedfilesize += outSize+4; in LZ4IO_compressFilename_Legacy()
367 LZ4IO_writeLE32(out_buff, outSize); in LZ4IO_compressFilename_Legacy()
368 { size_t const sizeCheck = fwrite(out_buff, 1, outSize+4, foutput); in LZ4IO_compressFilename_Legacy()
369 … if (sizeCheck!=(size_t)(outSize+4)) EXM_THROW(24, "Write error : cannot write compressed block"); in LZ4IO_compressFilename_Legacy()
504 size_t outSize; in LZ4IO_compressFilename_extRess() local
507 outSize = LZ4F_compressUpdate(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, NULL); in LZ4IO_compressFilename_extRess()
508 … if (LZ4F_isError(outSize)) EXM_THROW(35, "Compression failed : %s", LZ4F_getErrorName(outSize)); in LZ4IO_compressFilename_extRess()
509 compressedfilesize += outSize; in LZ4IO_compressFilename_extRess()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplay.java145 public void getSizeInternal(Point outSize, boolean doCompat) { in getSizeInternal() argument
146 outSize.x = width; in getSizeInternal()
147 outSize.y = height; in getSizeInternal()
159 public 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()
/external/lzma/CPP/7zip/
DICoder.h12 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize) PURE;
27 const UInt64 *inSize, const UInt64 *outSize,
215 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize) PURE;

123