Home
last modified time | relevance | path

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

123

/external/qemu/android/filesystems/
Dramdisk_extractor_unittest.cpp59 size_t outSize = 0; in TEST_F() local
62 EXPECT_TRUE(android_extractRamdiskFile(path(), "foo", &out, &outSize)); in TEST_F()
63 EXPECT_EQ(kExpectedSize, outSize); in TEST_F()
65 EXPECT_TRUE(!memcmp(out, kExpected, outSize)); in TEST_F()
73 size_t outSize = 0; in TEST_F() local
76 EXPECT_TRUE(android_extractRamdiskFile(path(), "bar2", &out, &outSize)); in TEST_F()
77 EXPECT_EQ(kExpectedSize, outSize); in TEST_F()
79 EXPECT_TRUE(!memcmp(out, kExpected, outSize)); in TEST_F()
85 size_t outSize = 0; in TEST_F() local
87 EXPECT_FALSE(android_extractRamdiskFile(path(), "zoolander", &out, &outSize)); in TEST_F()
Dramdisk_extractor.cpp194 size_t* outSize) { in android_extractRamdiskFile() argument
196 *outSize = 0; in android_extractRamdiskFile()
302 *outSize = entrySize; in android_extractRamdiskFile()
/external/lzma/C/
DBcj2.c38 Byte *outBuf, SizeT outSize) in Bcj2_Decode() argument
55 if (outSize == 0) in Bcj2_Decode()
66 if (outSize - outPos < limit) in Bcj2_Decode()
67 limit = outSize - outPos; in Bcj2_Decode()
79 if (limit == 0 || outPos == outSize) in Bcj2_Decode()
120 if (outPos == outSize) in Bcj2_Decode()
123 if (outPos == outSize) in Bcj2_Decode()
126 if (outPos == outSize) in Bcj2_Decode()
131 return (outPos == outSize) ? SZ_OK : SZ_ERROR_DATA; in Bcj2_Decode()
D7zDec.c67 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodePpmd() argument
107 for (i = 0; i < outSize; i++) in SzDecodePpmd()
114 if (i != outSize) in SzDecodePpmd()
128 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodeLzma() argument
136 state.dicBufSize = outSize; in SzDecodeLzma()
152 res = LzmaDec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); in SzDecodeLzma()
159 if (state.dicBufSize != outSize || lookahead != 0 || in SzDecodeLzma()
176 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodeLzma2() argument
186 state.decoder.dicBufSize = outSize; in SzDecodeLzma2()
202 res = Lzma2Dec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); in SzDecodeLzma2()
[all …]
DLzma2Dec.c293 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Dec_DecodeToBuf() local
303 if (outSize > p->decoder.dicBufSize - dicPos) in Lzma2Dec_DecodeToBuf()
310 outSizeCur = dicPos + outSize; in Lzma2Dec_DecodeToBuf()
321 outSize -= outSizeCur; in Lzma2Dec_DecodeToBuf()
325 if (outSizeCur == 0 || outSize == 0) in Lzma2Dec_DecodeToBuf()
335 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Decode() local
343 decoder.decoder.dicBufSize = outSize; in Lzma2Decode()
349 res = Lzma2Dec_DecodeToDic(&decoder, outSize, src, srcLen, finishMode, status); in Lzma2Decode()
/external/chromium_org/third_party/lzma_sdk/
DBcj2.c38 Byte *outBuf, SizeT outSize) in Bcj2_Decode() argument
55 if (outSize == 0) in Bcj2_Decode()
66 if (outSize - outPos < limit) in Bcj2_Decode()
67 limit = outSize - outPos; in Bcj2_Decode()
79 if (limit == 0 || outPos == outSize) in Bcj2_Decode()
120 if (outPos == outSize) in Bcj2_Decode()
123 if (outPos == outSize) in Bcj2_Decode()
126 if (outPos == outSize) in Bcj2_Decode()
131 return (outPos == outSize) ? SZ_OK : SZ_ERROR_DATA; in Bcj2_Decode()
D7zDec.c67 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodePpmd() argument
107 for (i = 0; i < outSize; i++) in SzDecodePpmd()
114 if (i != outSize) in SzDecodePpmd()
128 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodeLzma() argument
136 state.dicBufSize = outSize; in SzDecodeLzma()
152 res = LzmaDec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); in SzDecodeLzma()
159 if (state.dicBufSize != outSize || lookahead != 0 || in SzDecodeLzma()
176 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodeLzma2() argument
186 state.decoder.dicBufSize = outSize; in SzDecodeLzma2()
202 res = Lzma2Dec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); in SzDecodeLzma2()
[all …]
DLzma2Dec.c293 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Dec_DecodeToBuf() local
303 if (outSize > p->decoder.dicBufSize - dicPos) in Lzma2Dec_DecodeToBuf()
310 outSizeCur = dicPos + outSize; in Lzma2Dec_DecodeToBuf()
321 outSize -= outSizeCur; in Lzma2Dec_DecodeToBuf()
325 if (outSizeCur == 0 || outSize == 0) in Lzma2Dec_DecodeToBuf()
335 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Decode() local
343 decoder.decoder.dicBufSize = outSize; in Lzma2Decode()
349 res = Lzma2Dec_DecodeToDic(&decoder, outSize, src, srcLen, finishMode, status); in Lzma2Decode()
/external/lzma/CPP/7zip/Compress/
DLzmaDecoder.cpp70 void CDecoder::SetOutStreamSizeResume(const UInt64 *outSize) in SetOutStreamSizeResume() argument
72 _outSizeDefined = (outSize != NULL); in SetOutStreamSizeResume()
74 _outSize = *outSize; in SetOutStreamSizeResume()
80 STDMETHODIMP CDecoder::SetOutStreamSize(const UInt64 *outSize) in SetOutStreamSize() argument
84 SetOutStreamSizeResume(outSize); in SetOutStreamSize()
160 const UInt64 * /* inSize */, const UInt64 *outSize, ICompressProgressInfo *progress) in Code() argument
164 SetOutStreamSize(outSize); in Code()
214 HRESULT CDecoder::CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgr… in CodeResume() argument
216 SetOutStreamSizeResume(outSize); in CodeResume()
DCopyCoder.cpp22 const UInt64 * /* inSize */, const UInt64 *outSize, in Code() argument
36 if (outSize != 0) in Code()
37 if (size > *outSize - TotalSize) in Code()
38 size = (UInt32)(*outSize - TotalSize); in Code()
DLzmaDecoder.h43 void SetOutStreamSizeResume(const UInt64 *outSize);
58 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
60 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize);
70 …HRESULT CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgressInfo *…
DLzma2Decoder.cpp62 STDMETHODIMP CDecoder::SetOutStreamSize(const UInt64 *outSize) in SetOutStreamSize() argument
64 _outSizeDefined = (outSize != NULL); in SetOutStreamSize()
66 _outSize = *outSize; in SetOutStreamSize()
77 const UInt64 *outSize, ICompressProgressInfo *progress) in Code() argument
81 SetOutStreamSize(outSize); in Code()
DLzma2Decoder.h51 ISequentialOutStream *outStream, const UInt64 *_inSize, const UInt64 *outSize,
60 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize);
DPpmdDecoder.h56 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
58 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize);
/external/lzma/CPP/Windows/
DFileIO.h69 LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned, LPOVERLAPPED overlapped) const in DeviceIoControl() argument
72 outBuffer, outSize, bytesReturned, overlapped)); 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()
82 bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize) const in DeviceIoControlOut() argument
83 { return DeviceIoControl(controlCode, NULL, 0, outBuffer, outSize); } in DeviceIoControlOut()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp322 size_t outSize; in main2() local
326 outSize = (size_t)fileSize / 20 * 21 + (1 << 16); in main2()
327 if (outSize != 0) in main2()
329 outBuffer = (Byte *)MyAlloc((size_t)outSize); in main2()
335 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize, in main2()
348 outSize = (size_t)outSize64; in main2()
349 if (outSize != outSize64) in main2()
351 if (outSize != 0) in main2()
353 outBuffer = (Byte *)MyAlloc(outSize); in main2()
357 int res = Lzma86_Decode(outBuffer, &outSize, inBuffer, &inSize); in main2()
[all …]
/external/lzma/CPP/7zip/Common/
DProgressUtils.cpp21 STDMETHODIMP CLocalProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) in SetRatioInfo() argument
26 if (outSize) in SetRatioInfo()
27 outSizeNew += (*outSize); in SetRatioInfo()
/external/lzma/CPP/7zip/Archive/Common/
DCrossThreadProgress.cpp7 STDMETHODIMP CCrossThreadProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) in SetRatioInfo() argument
10 OutSize = outSize; in SetRatioInfo()
/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/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
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/CPP/7zip/
DICoder.h12 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize) PURE;
18 const UInt64 *inSize, const UInt64 *outSize,
107 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize) PURE;
/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/UI/Common/
DUpdateCallback.h18 virtual HRESULT SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) x; \
49 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);

123