Home
last modified time | relevance | path

Searched refs:_stream (Results 1 – 25 of 66) sorted by relevance

123

/external/lzma/CPP/7zip/Common/
DLimitedStreams.h15 CMyComPtr<ISequentialInStream> _stream; variable
20 void SetStream(ISequentialInStream *stream) { _stream = stream; } in SetStream()
21 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
41 CMyComPtr<IInStream> _stream; variable
47 HRESULT SeekToPhys() { return _stream->Seek(_physPos, STREAM_SEEK_SET, NULL); } in SeekToPhys()
49 void SetStream(IInStream *stream) { _stream = stream; } in SetStream()
141 CMyComPtr<ISequentialOutStream> _stream; variable
148 void SetStream(ISequentialOutStream *stream) { _stream = stream; } in SetStream()
149 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
187 CMyComPtr<IInStream> _stream; variable
[all …]
DOffsetStream.cpp12 _stream = stream; in Init()
13 return _stream->Seek(offset, STREAM_SEEK_SET, NULL); in Init()
18 return _stream->Write(data, size, processedSize); in Write()
30 HRESULT result = _stream->Seek(offset, seekOrigin, &absoluteNewPosition); in Seek()
38 return _stream->SetSize(_offset + newSize); in SetSize()
DOutBuffer.h25 ISequentialOutStream *_stream; variable
36 COutBuffer(): _buf(0), _pos(0), _stream(0), _buf2(0) {} in COutBuffer()
43 void SetStream(ISequentialOutStream *stream) { _stream = stream; } in SetStream()
/external/lzma/CPP/7zip/Archive/Common/
DInStreamWithCRC.h21 CMyComPtr<ISequentialInStream> _stream;
26 void SetStream(ISequentialInStream *stream) { _stream = stream; } in SetStream()
33 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
49 CMyComPtr<IInStream> _stream;
54 void SetStream(IInStream *stream) { _stream = stream; } in SetStream()
61 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
DInStreamWithCRC.cpp11 if (_stream) in Read()
12 result = _stream->Read(data, size, &realProcessed); in Read()
26 if (_stream) in Read()
27 result = _stream->Read(data, size, &realProcessed); in Read()
45 return _stream->Seek(offset, seekOrigin, newPosition); in Seek()
DDummyOutStream.h14 CMyComPtr<ISequentialOutStream> _stream; variable
17 void SetStream(ISequentialOutStream *outStream) { _stream = outStream; } in SetStream()
18 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
DOutStreamWithCRC.h16 CMyComPtr<ISequentialOutStream> _stream; variable
23 void SetStream(ISequentialOutStream *stream) { _stream = stream; } in SetStream()
24 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
DCoderMixer2.h40 CMyComPtr<ISequentialInStream> _stream;
44 void SetStream(ISequentialInStream *stream) { _stream = stream; } in SetStream()
50 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
61 CMyComPtr<ISequentialOutStream> _stream; variable
69 void SetStream(ISequentialOutStream *stream) { _stream = stream; } in SetStream()
70 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
DDummyOutStream.cpp11 if (_stream) in Write()
12 res = _stream->Write(data, size, &realProcessedSize); in Write()
DOutStreamWithCRC.cpp10 if (_stream) in Write()
11 result = _stream->Write(data, size, &size); in Write()
/external/lzma/CPP/Common/
DStdInStream.h13 FILE *_stream; variable
16 CStdInStream(): _stream(0), _streamIsOpen(false) {}; in CStdInStream()
17 CStdInStream(FILE *stream): _stream(stream), _streamIsOpen(false) {}; in CStdInStream()
30 bool Eof() const throw() { return (feof(_stream) != 0); } in Eof()
31 bool Error() const throw() { return (ferror(_stream) != 0); } in Error()
DStdOutStream.h13 FILE *_stream; variable
18 CStdOutStream(): _stream(0), _streamIsOpen(false), IsTerminalMode(false) {}; in CStdOutStream()
19 CStdOutStream(FILE *stream): _stream(stream), _streamIsOpen(false) {}; in CStdOutStream()
25 operator FILE *() { return _stream; }
38 fputs(s, _stream);
44 fputc((unsigned char)c, _stream);
DStdInStream.cpp24 _stream = _tfopen(fileName, kFileOpenMode); in Open()
25 _streamIsOpen = (_stream != 0); in Open()
33 _streamIsOpen = (fclose(_stream) != 0); in Close()
88 return fgetc(_stream); // getc() doesn't work in BeOS? in GetChar()
DStdOutStream.cpp22 _stream = fopen(fileName, kFileOpenMode); in Open()
23 _streamIsOpen = (_stream != 0); in Open()
31 if (fclose(_stream) != 0) in Close()
33 _stream = 0; in Close()
40 return (fflush(_stream) == 0); in Flush()
/external/mesa3d/src/gallium/auxiliary/util/
Du_dump_state.c169 #define util_dump_arg(_stream, _type, _arg) \ argument
171 util_dump_arg_begin(_stream, #_arg); \
172 util_dump_##_type(_stream, _arg); \
173 util_dump_arg_end(_stream); \
176 #define util_dump_ret(_stream, _type, _arg) \ argument
178 util_dump_ret_begin(_stream); \
179 util_dump_##_type(_stream, _arg); \
180 util_dump_ret_end(_stream); \
183 #define util_dump_array(_stream, _type, _obj, _size) \ argument
186 util_dump_array_begin(_stream); \
[all …]
/external/antlr/runtime/Python/
Dxmlrunner.py162 self._stream = stream
169 if self._stream == None:
174 stream = self._stream
201 if self._stream == None:
218 self._stream = StringIO()
230 runner = XMLTestRunner(self._stream)
233 got = self._stream.getvalue()
352 runner = XMLTestRunner(self._stream)
364 runner = XMLTestRunner(self._stream)
/external/lzma/CPP/7zip/Archive/7z/
D7zFolderInStream.cpp27 _stream.Release(); in Init()
47 _stream = stream; in OpenStream()
81 if (_stream) in Read()
87 RINOK(_stream->Read(data, cur, &cur)); in Read()
97 _stream.Release(); in Read()
D7zSpecStream.h15 CMyComPtr<ISequentialInStream> _stream; variable
23 _stream = stream; in Init()
24 _stream.QueryInterface(IID_ICompressGetSubStreamSize, &_getSubStreamSize); in Init()
/external/lzma/Java/SevenZip/Compression/LZ/
DOutWindow.java13 java.io.OutputStream _stream; field in OutWindow
27 _stream = stream; in SetStream()
33 _stream = null; in ReleaseStream()
50 _stream.write(_buffer, _streamPos, size); in Flush()
DInWindow.java10 java.io.InputStream _stream; field in InWindow
48 int numReadBytes = _stream.read(_bufferBase, _bufferOffset + _streamPos, size); in ReadBlock()
81 public void SetStream(java.io.InputStream stream) { _stream = stream; } in SetStream()
82 public void ReleaseStream() { _stream = null; } in ReleaseStream()
/external/lzma/CS/7zip/Compress/LZ/
DLzOutWindow.cs11 System.IO.Stream _stream; field in SevenZip.Compression.LZ.OutWindow
30 _stream = stream; in Init()
66 _stream = null; in ReleaseStream()
74 _stream.Write(_buffer, (int)_streamPos, (int)size); in Flush()
DLzInWindow.cs10 System.IO.Stream _stream; field in SevenZip.Compression.LZ.InWindow
48 int numReadBytes = _stream.Read(_bufferBase, (int)(_bufferOffset + _streamPos), size); in ReadBlock()
81 public void SetStream(System.IO.Stream stream) { _stream = stream; } in SetStream()
82 public void ReleaseStream() { _stream = null; } in ReleaseStream()
/external/fonttools/Lib/fontTools/misc/
Dpy23.py481 _stream = None variable in _RedirectStream
489 self._old_targets.append(getattr(sys, self._stream))
490 setattr(sys, self._stream, self._new_target)
494 setattr(sys, self._stream, self._old_targets.pop())
508 _stream = "stdout" variable in redirect_stdout
514 _stream = "stderr" variable in redirect_stderr
/external/python/cpython3/Lib/
Dcontextlib.py303 _stream = None variable in _RedirectStream
311 self._old_targets.append(getattr(sys, self._stream))
312 setattr(sys, self._stream, self._new_target)
316 setattr(sys, self._stream, self._old_targets.pop())
332 _stream = "stdout" variable in redirect_stdout
338 _stream = "stderr" variable in redirect_stderr
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp177 CMyComPtr<IInStream> _stream; member in NArchive::NLzma::CHandler
272 if (!_stream) in GetMethod()
303 case kpidSize: if (_stream && _header.HasSize()) prop = _header.Size; break; in GetProperty()
403 _stream = inStream; in Open()
433 _stream.Release(); in Close()
498 if (!_stream) in Extract()
500 RINOK(_stream->Seek(0, STREAM_SEEK_SET, NULL)); in Extract()

123