Home
last modified time | relevance | path

Searched refs:outStream (Results 1 – 25 of 75) sorted by relevance

123

/external/lzma/CPP/7zip/UI/Console/
DUserInputUtils.cpp23 NUserAnswerMode::EEnum ScanUserYesNoAllQuit(CStdOutStream *outStream) in ScanUserYesNoAllQuit() argument
25 (*outStream) << kFirstQuestionMessage; in ScanUserYesNoAllQuit()
28 (*outStream) << kHelpQuestionMessage; in ScanUserYesNoAllQuit()
29 outStream->Flush(); in ScanUserYesNoAllQuit()
51 UString GetPassword(CStdOutStream *outStream) in GetPassword() argument
53 (*outStream) << "\nEnter password" in GetPassword()
58 outStream->Flush(); in GetPassword()
70 (*outStream) << "\n"; in GetPassword()
71 outStream->Flush(); in GetPassword()
DUpdateCallbackConsole.h31 void Init(CStdOutStream *outStream) in Init() argument
35 OutStream = outStream; in Init()
36 m_PercentPrinter.OutStream = outStream; in Init()
65 void Init(CStdOutStream *outStream) in Init() argument
69 CCallbackConsoleBase::Init(outStream); in Init()
DUserInputUtils.h21 NUserAnswerMode::EEnum ScanUserYesNoAllQuit(CStdOutStream *outStream);
22 UString GetPassword(CStdOutStream *outStream);
/external/lzma/C/Util/Lzma/
DLzmaUtil.c55 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream, in Decode2() argument
89 if (outStream) in Decode2()
90 if (outStream->Write(outStream, outBuf, outPos) != outPos) in Decode2()
108 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream) in Decode() argument
129 res = Decode2(&state, outStream, inStream, unpackSize); in Decode()
134 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs) in Encode() argument
158 if (outStream->Write(outStream, header, headerSize) != headerSize) in Encode()
163 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc); in Encode()
173 CFileOutStream outStream; in main2() local
182 FileOutStream_CreateVTable(&outStream); in main2()
[all …]
/external/lzma/CPP/7zip/Compress/
DCopyCoder.cpp21 ISequentialOutStream *outStream, in Code() argument
41 if (outStream) in Code()
43 RINOK(WriteStream(outStream, _buffer, size)); in Code()
60 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres… in CopyStream() argument
63 return copyCoder->Code(inStream, outStream, NULL, NULL, progress); in CopyStream()
66 HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64… in CopyStream_ExactSize() argument
70 RINOK(copyCoder->Code(inStream, outStream, NULL, &size, progress)); in CopyStream_ExactSize()
DCopyCoder.h25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
30 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres…
31 HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64…
DLzma2Encoder.cpp71 STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
74 return WriteStream(outStream, &prop, 1); in WriteCoderProperties()
77 STDMETHODIMP CEncoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
81 CSeqOutStreamWrap outWrap(outStream); in Code()
DLzmaDecoder.cpp90 HRESULT CDecoder::CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompres… in CodeSpec() argument
135 HRESULT res2 = WriteStream(outStream, _state.dic + _wrPos, _state.dicPos - _wrPos); in CodeSpec()
173 STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
179 return CodeSpec(inStream, outStream, progress); in Code()
228 HRESULT CDecoder::CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgr… in CodeResume() argument
231 return CodeSpec(_inStream, outStream, progress); in CodeResume()
DPpmdEncoder.cpp101 STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
107 return WriteStream(outStream, props, kPropSize); in WriteCoderProperties()
110 HRESULT CEncoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
124 _outStream.Stream = outStream; in Code()
DLzmaEncoder.cpp135 STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
140 return WriteStream(outStream, props, size); in WriteCoderProperties()
143 STDMETHODIMP CEncoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
147 CSeqOutStreamWrap outWrap(outStream); in Code()
DLzmaDecoder.h42 …HRESULT CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgress…
57 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
70 …HRESULT CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgressInfo *…
/external/skia/tests/
DAnnotationTest.cpp44 SkDynamicMemoryWStream outStream; in DEF_TEST() local
45 SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&outStream)); in DEF_TEST()
55 SkAutoDataUnref out(outStream.copyToData()); in DEF_TEST()
63 SkDynamicMemoryWStream outStream; in DEF_TEST() local
64 SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&outStream)); in DEF_TEST()
73 SkAutoDataUnref out(outStream.copyToData()); in DEF_TEST()
/external/lzma/CPP/7zip/Common/
DFilterCoder.cpp26 HRESULT CFilterCoder::WriteWithLimit(ISequentialOutStream *outStream, UInt32 size) in WriteWithLimit() argument
34 RINOK(WriteStream(outStream, _buffer, size)); in WriteWithLimit()
39 STDMETHODIMP CFilterCoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
69 return WriteWithLimit(outStream, endPos); in Code()
71 RINOK(WriteWithLimit(outStream, bufferPos)); in Code()
84 STDMETHODIMP CFilterCoder::SetOutStream(ISequentialOutStream *outStream) in SetOutStream() argument
87 _outStream = outStream; in SetOutStream()
244 STDMETHODIMP CFilterCoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
246 return _writeCoderProperties->WriteCoderProperties(outStream); in WriteCoderProperties()
DFilterCoder.h72 HRESULT WriteWithLimit(ISequentialOutStream *outStream, UInt32 size);
97 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
102 STDMETHOD(SetOutStream)(ISequentialOutStream *outStream);
116 STDMETHOD(WriteCoderProperties)(ISequentialOutStream *outStream);
/external/lzma/C/
DLzma2Enc.c75 size_t *packSizeRes, ISeqOutStream *outStream) in Lzma2EncInt_EncodeSubblock() argument
124 if (outStream) in Lzma2EncInt_EncodeSubblock()
127 if (outStream->Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
160 if (outStream) in Lzma2EncInt_EncodeSubblock()
161 if (outStream->Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
281 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress) in Lzma2Enc_EncodeMt1() argument
298 res = Lzma2EncInt_EncodeSubblock(p, mainEncoder->outBuf, &packSize, outStream); in Lzma2Enc_EncodeMt1()
312 if (outStream->Write(outStream, &b, 1) != 1) in Lzma2Enc_EncodeMt1()
451 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress) in Lzma2Enc_Encode() argument
470 return Lzma2Enc_EncodeMt1(&p->coders[0], p, outStream, inStream, progress); in Lzma2Enc_Encode()
[all …]
DXzEnc.h32 SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,
35 SRes Xz_EncodeEmpty(ISeqOutStream *outStream);
/external/lzma/Java/SevenZip/
DLzmaAlone.java196 …java.io.BufferedOutputStream outStream = new java.io.BufferedOutputStream(new java.io.FileOutputSt… in main() local
215 encoder.WriteCoderProperties(outStream); in main()
222 outStream.write((int)(fileSize >>> (8 * i)) & 0xFF); in main()
223 encoder.Code(inStream, outStream, -1, -1, null); in main()
242 if (!decoder.Code(inStream, outStream, outSize)) in main()
245 outStream.flush(); in main()
246 outStream.close(); in main()
/external/skia/tools/skiaserve/urlhandlers/
DDownloadHandler.cpp40 SkDynamicMemoryWStream outStream; in handle() local
43 picture->serialize(&outStream, serializer); in handle()
45 SkAutoTUnref<SkData> data(outStream.copyToData()); in handle()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DDumpFields.java117 FileOutputStream outStream = new FileOutputStream(outFile); in main() local
123 outStream.write(className.getBytes()); in main()
126 outStream.write(field.getBytes()); in main()
128 outStream.write("\n".getBytes()); in main()
130 outStream.close(); in main()
DDumpVtables.java115 FileOutputStream outStream = new FileOutputStream(outFile); in main() local
121 outStream.write(className.getBytes()); in main()
130 outStream.write(methodString.getBytes()); in main()
132 outStream.write("\n".getBytes()); in main()
134 outStream.close(); in main()
/external/lzma/CPP/7zip/Crypto/
D7zAes.cpp136 STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
150 RINOK(outStream->Write(&firstByte, 1, NULL)); in WriteCoderProperties()
156 RINOK(outStream->Write(&secondByte, 1, NULL)); in WriteCoderProperties()
159 RINOK(WriteStream(outStream, _key.Salt, _key.SaltSize)); in WriteCoderProperties()
163 RINOK(WriteStream(outStream, _iv, ivSize)); in WriteCoderProperties()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp317 CMyComPtr<ISequentialOutStream> outStream; in main2() local
321 outStream = new CStdOutFileStream; in main2()
330 outStream = outStreamSpec; in main2()
402 if (WriteStream(outStream, outBuffer, outSize) != S_OK) in main2()
485 encoderSpec->WriteCoderProperties(outStream); in main2()
495 if (outStream->Write(&b, 1, 0) != S_OK) in main2()
501 HRESULT result = encoder->Code(inStream, outStream, 0, 0, 0); in main2()
535 … HRESULT res = decoder->Code(inStream, outStream, 0, isSizeDefined ? &fileSize : NULL, 0) != S_OK; in main2()
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaAlone.cs223 FileStream outStream = null; in Main2()
233 outStream = new FileStream(outputName, FileMode.Create, FileAccess.Write); in Main2()
297 encoder.WriteCoderProperties(outStream); in Main2()
304 outStream.WriteByte((Byte)(fileSize >> (8 * i))); in Main2()
319 encoder.Code(inStream, outStream, -1, -1, null); in Main2()
342 decoder.Code(inStream, outStream, compressedSize, outSize, null); in Main2()
/external/lzma/CPP/7zip/Archive/Common/
DDummyOutStream.h17 void SetStream(ISequentialOutStream *outStream) { _stream = outStream; } in SetStream() argument
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp87 …HRESULT Code(const CHeader &header, ISequentialOutStream *outStream, ICompressProgressInfo *progre…
132 HRESULT CDecoder::Code(const CHeader &header, ISequentialOutStream *outStream, in Code() argument
155 RINOK(setOutStream->SetOutStream(outStream)); in Code()
156 outStream = _bcjStream; in Code()
160 HRESULT res = _lzmaDecoderSpec->CodeResume(outStream, Size, progress); in Code()
450 CMyComPtr<ISequentialOutStream> outStream(outStreamSpec); in Extract() local
509 result = decoder.Code(st, outStream, progress); in Extract()
563 outStream.Release(); in Extract()

123