/external/qemu/android/filesystems/ |
D | ramdisk_extractor_unittest.cpp | 59 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()
|
D | ramdisk_extractor.cpp | 194 size_t* outSize) { in android_extractRamdiskFile() argument 196 *outSize = 0; in android_extractRamdiskFile() 302 *outSize = entrySize; in android_extractRamdiskFile()
|
/external/lzma/C/ |
D | Bcj2.c | 38 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()
|
D | 7zDec.c | 67 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 …]
|
D | Lzma2Dec.c | 293 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/ |
D | Bcj2.c | 38 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()
|
D | 7zDec.c | 67 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 …]
|
D | Lzma2Dec.c | 293 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/ |
D | LzmaDecoder.cpp | 70 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()
|
D | CopyCoder.cpp | 22 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()
|
D | LzmaDecoder.h | 43 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 *…
|
D | Lzma2Decoder.cpp | 62 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()
|
D | Lzma2Decoder.h | 51 ISequentialOutStream *outStream, const UInt64 *_inSize, const UInt64 *outSize, 60 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize);
|
D | PpmdDecoder.h | 56 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress); 58 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize);
|
/external/lzma/CPP/Windows/ |
D | FileIO.h | 69 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/ |
D | LzmaAlone.cpp | 322 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/ |
D | ProgressUtils.cpp | 21 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/ |
D | CrossThreadProgress.cpp | 7 STDMETHODIMP CCrossThreadProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) in SetRatioInfo() argument 10 OutSize = outSize; in SetRatioInfo()
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidNativeActivity.cpp | 39 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/ |
D | ICoder.cs | 34 void SetProgress(Int64 inSize, Int64 outSize); in SetProgress() argument 61 Int64 inSize, Int64 outSize, ICodeProgress progress); in Code() argument
|
/external/lzma/Java/SevenZip/ |
D | LzmaBench.java | 202 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()
|
D | LzmaAlone.java | 234 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/ |
D | ICoder.h | 12 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/ |
D | LzmaBench.cs | 152 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/ |
D | UpdateCallback.h | 18 virtual HRESULT SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) x; \ 49 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);
|