Home
last modified time | relevance | path

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

1234

/external/lzma/CPP/7zip/UI/Console/
DUserInputUtils.cpp23 NUserAnswerMode::EEnum ScanUserYesNoAllQuit(CStdOutStream *outStream) in ScanUserYesNoAllQuit() argument
25 if (outStream) in ScanUserYesNoAllQuit()
26 *outStream << kFirstQuestionMessage; in ScanUserYesNoAllQuit()
29 if (outStream) in ScanUserYesNoAllQuit()
31 *outStream << kHelpQuestionMessage; in ScanUserYesNoAllQuit()
32 outStream->Flush(); in ScanUserYesNoAllQuit()
55 UString GetPassword(CStdOutStream *outStream) in GetPassword() argument
57 if (outStream) in GetPassword()
59 *outStream << "\nEnter password" in GetPassword()
64 outStream->Flush(); in GetPassword()
[all …]
DExtractCallbackConsole.h35 void Init(CStdOutStream *outStream, CStdOutStream *errorStream, CStdOutStream *percentStream) in Init() argument
37 _so = outStream; in Init()
142 void Init(CStdOutStream *outStream, CStdOutStream *errorStream, CStdOutStream *percentStream) in Init() argument
144 COpenCallbackConsole::Init(outStream, errorStream, percentStream); in Init()
DUserInputUtils.h21 NUserAnswerMode::EEnum ScanUserYesNoAllQuit(CStdOutStream *outStream);
22 UString GetPassword(CStdOutStream *outStream);
/external/lzma/C/Util/Lzma/
DLzmaUtil.c51 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream, in Decode2() argument
85 if (outStream) in Decode2()
86 if (outStream->Write(outStream, outBuf, outPos) != outPos) in Decode2()
104 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream) in Decode() argument
125 res = Decode2(&state, outStream, inStream, unpackSize); in Decode()
130 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs) in Encode() argument
154 if (outStream->Write(outStream, header, headerSize) != headerSize) in Encode()
159 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc); in Encode()
169 CFileOutStream outStream; in main2() local
178 FileOutStream_CreateVTable(&outStream); in main2()
[all …]
/external/skia/tests/
DAnnotationTest.cpp54 SkDynamicMemoryWStream outStream; in DEF_TEST() local
55 sk_sp<SkDocument> doc(SkDocument::MakePDF(&outStream)); in DEF_TEST()
65 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
73 SkDynamicMemoryWStream outStream; in DEF_TEST() local
74 sk_sp<SkDocument> doc(SkDocument::MakePDF(&outStream)); in DEF_TEST()
83 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
95 SkDynamicMemoryWStream outStream; in DEF_TEST() local
96 std::unique_ptr<SkXMLWriter> xmlWriter(new SkXMLStreamWriter(&outStream)); in DEF_TEST()
106 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
114 SkDynamicMemoryWStream outStream; in DEF_TEST() local
[all …]
/external/lzma/CPP/7zip/Compress/
DCopyCoder.cpp19 ISequentialOutStream *outStream, in Code() argument
45 if (outStream) in Code()
51 HRESULT res = outStream->Write(_buf + pos, curSize, &curSize); in Code()
101 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres… in CopyStream() argument
104 return copyCoder->Code(inStream, outStream, NULL, NULL, progress); in CopyStream()
107 HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64… in CopyStream_ExactSize() argument
111 RINOK(copyCoder->Code(inStream, outStream, NULL, &size, progress)); in CopyStream_ExactSize()
DLzma2Encoder.cpp76 STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
79 return WriteStream(outStream, &prop, 1); in WriteCoderProperties()
82 STDMETHODIMP CEncoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
86 CSeqOutStreamWrap outWrap(outStream); in Code()
DLzmaDecoder.cpp92 HRESULT CDecoder::CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompres… in CodeSpec() argument
137 HRESULT res2 = WriteStream(outStream, _state.dic + _wrPos, _state.dicPos - _wrPos); in CodeSpec()
175 STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
181 return CodeSpec(inStream, outStream, progress); in Code()
230 HRESULT CDecoder::CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgr… in CodeResume() argument
233 return CodeSpec(_inStream, outStream, progress); in CodeResume()
DCopyCoder.h33 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
41 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres…
42 HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64…
DPpmdEncoder.cpp97 STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
103 return WriteStream(outStream, props, kPropSize); in WriteCoderProperties()
106 HRESULT CEncoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
120 _outStream.Stream = outStream; in Code()
DLzmaEncoder.cpp126 STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
131 return WriteStream(outStream, props, size); in WriteCoderProperties()
134 STDMETHODIMP CEncoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
138 CSeqOutStreamWrap outWrap(outStream); in Code()
DLzmaDecoder.h43 …HRESULT CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgress…
59 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
73 …HRESULT CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgressInfo *…
DDeltaFilter.cpp39 STDMETHOD(WriteCoderProperties)(ISequentialOutStream *outStream);
81 STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
84 return outStream->Write(&prop, 1, NULL); in WriteCoderProperties()
/external/skqp/tests/
DAnnotationTest.cpp43 SkDynamicMemoryWStream outStream; in DEF_TEST() local
44 sk_sp<SkDocument> doc(SkDocument::MakePDF(&outStream)); in DEF_TEST()
54 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
62 SkDynamicMemoryWStream outStream; in DEF_TEST() local
63 sk_sp<SkDocument> doc(SkDocument::MakePDF(&outStream)); in DEF_TEST()
72 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
/external/lzma/C/
DLzma2Enc.c75 size_t *packSizeRes, ISeqOutStream *outStream) in Lzma2EncInt_EncodeSubblock() argument
126 if (outStream) in Lzma2EncInt_EncodeSubblock()
129 if (outStream->Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
164 if (outStream) in Lzma2EncInt_EncodeSubblock()
165 if (outStream->Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
295 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress) in Lzma2Enc_EncodeMt1() argument
314 res = Lzma2EncInt_EncodeSubblock(p, mainEncoder->outBuf, &packSize, outStream); in Lzma2Enc_EncodeMt1()
330 if (outStream->Write(outStream, &b, 1) != 1) in Lzma2Enc_EncodeMt1()
475 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress) in Lzma2Enc_Encode() argument
501 p->mtCoder.outStream = outStream; in Lzma2Enc_Encode()
[all …]
DXzEnc.c410 ISeqOutStream *outStream, ISeqInStream *inStream, in Xz_Compress() argument
416 RINOK(Xz_WriteHeader(xz->flags, outStream)); in Xz_Compress()
455 seqSizeOutStream.realStream = outStream; in Xz_Compress()
507 return Xz_WriteFooter(xz, outStream); in Xz_Compress()
511 SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream, in Xz_Encode() argument
521 res = Xz_Compress(&xz, &lzmaf, outStream, inStream, props, progress); in Xz_Encode()
528 SRes Xz_EncodeEmpty(ISeqOutStream *outStream) in Xz_EncodeEmpty() argument
533 res = Xz_WriteHeader(xz.flags, outStream); in Xz_EncodeEmpty()
535 res = Xz_WriteFooter(&xz, outStream); in Xz_EncodeEmpty()
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/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp88 …HRESULT Code(const CHeader &header, ISequentialOutStream *outStream, ICompressProgressInfo *progre…
126 HRESULT CDecoder::Code(const CHeader &header, ISequentialOutStream *outStream, in Code() argument
144 RINOK(_filterCoder->SetOutStream(outStream)); in Code()
145 outStream = _bcjStream; in Code()
150 HRESULT res = _lzmaDecoderSpec->CodeResume(outStream, Size, progress); in Code()
431 CMyComPtr<ISequentialOutStream> outStream(outStreamSpec); in Extract() local
488 result = decoder.Code(st, outStream, progress); in Extract()
542 outStream.Release(); in Extract()
DSplitHandler.cpp302 CMyComPtr<ISequentialOutStream> outStream; in Extract() local
306 RINOK(extractCallback->GetStream(0, &outStream, askMode)); in Extract()
307 if (!testMode && !outStream) in Extract()
324 RINOK(copyCoder->Code(inStream, outStream, NULL, NULL, progress)); in Extract()
327 outStream.Release(); in Extract()
/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/Common/
DFilterCoder.cpp67 STDMETHODIMP CFilterCoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
117 RINOK(WriteStream(outStream, _buf, size)); in Code()
139 STDMETHODIMP CFilterCoder::SetOutStream(ISequentialOutStream *outStream) in SetOutStream() argument
141 _outStream = outStream; in SetOutStream()
403 STDMETHODIMP CFilterCoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
404 { return _WriteCoderProperties->WriteCoderProperties(outStream); } in WriteCoderProperties()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
DAsyncHttpURLConnection.java91 OutputStream outStream = connection.getOutputStream(); in sendHttpMessage() local
92 outStream.write(postData); in sendHttpMessage()
93 outStream.close(); in sendHttpMessage()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp461 CMyComPtr<ISequentialOutStream> outStream; in main2() local
466 outStream = new CStdOutFileStream; in main2()
473 outStream = outStreamSpec; in main2()
590 if (WriteStream(outStream, outBuffer, outSize) != S_OK) in main2()
681 if (encoderSpec->WriteCoderProperties(outStream) != S_OK) in main2()
695 if (WriteStream(outStream, temp, 8) != S_OK) in main2()
699 res = encoder->Code(inStream, outStream, NULL, NULL, progress); in main2()
733 …HRESULT res = decoder->Code(inStream, outStream, NULL, unpackSizeDefined ? &unpackSize : NULL, pro… in main2()
/external/lzma/CPP/7zip/Archive/Common/
DDummyOutStream.h17 void SetStream(ISequentialOutStream *outStream) { _stream = outStream; } in SetStream() argument

1234