Home
last modified time | relevance | path

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

1234

/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()
62 UString GetPassword(CStdOutStream *outStream) in GetPassword() argument
64 (*outStream) << "\nEnter password" in GetPassword()
69 outStream->Flush(); in GetPassword()
81 (*outStream) << "\n"; in GetPassword()
82 outStream->Flush(); in GetPassword()
DUpdateCallbackConsole.h43 void Init(CStdOutStream *outStream) in Init() argument
49 OutStream = outStream; in Init()
50 m_PercentPrinter.OutStream = 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/skia/tests/
DAnnotationTest.cpp43 SkDynamicMemoryWStream outStream; in DEF_TEST() local
44 SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&outStream)); in DEF_TEST()
54 SkAutoDataUnref out(outStream.copyToData()); in DEF_TEST()
61 SkDynamicMemoryWStream outStream; in DEF_TEST() local
62 SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&outStream)); in DEF_TEST()
71 SkAutoDataUnref out(outStream.copyToData()); in DEF_TEST()
/external/lzma/CPP/7zip/Compress/
DCopyCoder.cpp21 ISequentialOutStream *outStream, in Code() argument
42 if (outStream) in Code()
44 RINOK(WriteStream(outStream, _buffer, size)); in Code()
61 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres… in CopyStream() argument
64 return copyCoder->Code(inStream, outStream, NULL, NULL, progress); in CopyStream()
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()
DPpmdEncoder.cpp64 STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
70 return WriteStream(outStream, props, kPropSize); in WriteCoderProperties()
73 HRESULT CEncoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
87 _outStream.Stream = outStream; in Code()
DLzmaDecoder.cpp88 HRESULT CDecoder::CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompres… in CodeSpec() argument
133 HRESULT res2 = WriteStream(outStream, _state.dic + _wrPos, _state.dicPos - _wrPos); in CodeSpec()
159 STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
165 return CodeSpec(inStream, outStream, progress); in Code()
214 HRESULT CDecoder::CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgr… in CodeResume() argument
217 return CodeSpec(_inStream, outStream, progress); in CodeResume()
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 *…
DLzmaEncoder.cpp124 STDMETHODIMP CEncoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
129 return WriteStream(outStream, props, size); in WriteCoderProperties()
132 STDMETHODIMP CEncoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument
136 CSeqOutStreamWrap outWrap(outStream); in Code()
/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()
226 STDMETHODIMP CFilterCoder::WriteCoderProperties(ISequentialOutStream *outStream) in WriteCoderProperties() argument
228 return _writeCoderProperties->WriteCoderProperties(outStream); in WriteCoderProperties()
DFilterCoder.h65 HRESULT WriteWithLimit(ISequentialOutStream *outStream, UInt32 size);
89 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
94 STDMETHOD(SetOutStream)(ISequentialOutStream *outStream);
105 STDMETHOD(WriteCoderProperties)(ISequentialOutStream *outStream);
/external/lzma/C/
DLzma2Enc.c73 size_t *packSizeRes, ISeqOutStream *outStream) in Lzma2EncInt_EncodeSubblock() argument
122 if (outStream) in Lzma2EncInt_EncodeSubblock()
125 if (outStream->Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
158 if (outStream) in Lzma2EncInt_EncodeSubblock()
159 if (outStream->Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
265 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress) in Lzma2Enc_EncodeMt1() argument
282 res = Lzma2EncInt_EncodeSubblock(p, mainEncoder->outBuf, &packSize, outStream); in Lzma2Enc_EncodeMt1()
296 if (outStream->Write(outStream, &b, 1) != 1) in Lzma2Enc_EncodeMt1()
435 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress) in Lzma2Enc_Encode() argument
454 return Lzma2Enc_EncodeMt1(&p->coders[0], p, outStream, inStream, progress); in Lzma2Enc_Encode()
[all …]
DXzEnc.c391 ISeqOutStream *outStream, in Xz_Compress() argument
400 RINOK(Xz_WriteHeader(xz->flags, outStream)); in Xz_Compress()
426 seqSizeOutStream.realStream = outStream; in Xz_Compress()
466 return Xz_WriteFooter(xz, outStream); in Xz_Compress()
469 SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream, in Xz_Encode() argument
480 res = Xz_Compress(&xz, &lzmaf, outStream, inStream, in Xz_Encode()
487 SRes Xz_EncodeEmpty(ISeqOutStream *outStream) in Xz_EncodeEmpty() argument
492 res = Xz_WriteHeader(xz.flags, outStream); in Xz_EncodeEmpty()
494 res = Xz_WriteFooter(&xz, outStream); in Xz_EncodeEmpty()
DXzEnc.h15 SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,
19 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/src/svg/
Dskp2svg.cpp46 SkAutoTDelete<SkWStream> outStream; in tool_main() local
53 outStream.reset(fileStream); in tool_main()
55 outStream.reset(SkNEW(SkDebugWStream)); in tool_main()
58 SkAutoTDelete<SkXMLWriter> xmlWriter(SkNEW_ARGS(SkXMLStreamWriter, (outStream.get()))); in tool_main()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DDumpFields.java113 FileOutputStream outStream = new FileOutputStream(outFile); in main() local
119 outStream.write(className.getBytes()); in main()
122 outStream.write(field.getBytes()); in main()
124 outStream.write("\n".getBytes()); in main()
126 outStream.close(); in main()
DDumpVtables.java111 FileOutputStream outStream = new FileOutputStream(outFile); in main() local
117 outStream.write(className.getBytes()); in main()
126 outStream.write(methodString.getBytes()); in main()
128 outStream.write("\n".getBytes()); in main()
130 outStream.close(); in main()
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp79 …HRESULT Code(const CHeader &header, ISequentialOutStream *outStream, ICompressProgressInfo *progre…
123 HRESULT CDecoder::Code(const CHeader &header, ISequentialOutStream *outStream, in Code() argument
146 RINOK(setOutStream->SetOutStream(outStream)); in Code()
147 outStream = _bcjStream; in Code()
151 HRESULT res = _lzmaDecoderSpec->CodeResume(outStream, Size, progress); in Code()
345 CMyComPtr<ISequentialOutStream> outStream(outStreamSpec); in Extract() local
389 result = decoder.Code(st, outStream, progress); in Extract()
404 outStream.Release(); in Extract()
/external/lzma/CPP/7zip/UI/Common/
DArchiveExtractCallback.cpp147 STDMETHODIMP CArchiveExtractCallback::GetStream(UInt32 index, ISequentialOutStream **outStream, Int… in GetStream() argument
151 *outStream = 0; in GetStream()
195 *outStream = outStreamLoc.Detach(); in GetStream()
373 *outStream = outStreamLoc.Detach(); in GetStream()
379 *outStream = NULL; in GetStream()
386 _crcStreamSpec->SetStream(*outStream); in GetStream()
387 if (*outStream) in GetStream()
388 (*outStream)->Release(); in GetStream()
389 *outStream = crcStream.Detach(); in GetStream()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp278 CMyComPtr<ISequentialOutStream> outStream; in main2() local
282 outStream = new CStdOutFileStream; in main2()
291 outStream = outStreamSpec; in main2()
363 if (WriteStream(outStream, outBuffer, outSize) != S_OK) in main2()
446 encoderSpec->WriteCoderProperties(outStream); in main2()
456 if (outStream->Write(&b, 1, 0) != S_OK) in main2()
462 HRESULT result = encoder->Code(inStream, outStream, 0, 0, 0); in main2()
495 …if (decoder->Code(inStream, outStream, 0, (fileSize == (UInt64)(Int64)-1) ? 0 : &fileSize, 0) != S… 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.h16 void SetStream(ISequentialOutStream *outStream) { _stream = outStream; } in SetStream() argument

1234