Home
last modified time | relevance | path

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

12

/external/lzma/CPP/Common/
DStdOutStream.cpp29 _stream = fopen(fileName, kFileOpenMode); in Open()
30 _streamIsOpen = (_stream != 0); in Open()
38 if (fclose(_stream) != 0) in Close()
40 _stream = 0; in Close()
47 return (fflush(_stream) == 0); in Flush()
68 fputs(s, _stream); in operator <<()
88 fputc(c, _stream); in operator <<()
DStdInStream.cpp32 _stream = _tfopen(fileName, kFileOpenMode); in Open()
33 _streamIsOpen = (_stream != 0); in Open()
41 _streamIsOpen = (fclose(_stream) != 0); in Close()
96 return (feof(_stream) != 0); in Eof()
101 int c = fgetc(_stream); // getc() doesn't work in BeOS? in GetChar()
DStdOutStream.h13 FILE *_stream; variable
15 CStdOutStream (): _streamIsOpen(false), _stream(0) {}; in CStdOutStream()
16 CStdOutStream (FILE *stream): _streamIsOpen(false), _stream(stream) {}; in CStdOutStream()
18 operator FILE *() { return _stream; }
DStdInStream.h14 FILE *_stream; variable
17 CStdInStream(FILE *stream): _streamIsOpen(false), _stream(stream) {}; in CStdInStream()
/external/lzma/CPP/7zip/Common/
DLimitedStreams.h14 CMyComPtr<ISequentialInStream> _stream; variable
19 void SetStream(ISequentialInStream *stream) { _stream = stream; } in SetStream()
20 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
39 CMyComPtr<IInStream> _stream; variable
45 HRESULT SeekToPhys() { return _stream->Seek(_physPos, STREAM_SEEK_SET, NULL); } in SeekToPhys()
47 void SetStream(IInStream *stream) { _stream = stream; } in SetStream()
106 CMyComPtr<ISequentialOutStream> _stream; variable
113 void SetStream(ISequentialOutStream *stream) { _stream = stream; } in SetStream()
114 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
DOffsetStream.cpp11 _stream = stream; in Init()
12 return _stream->Seek(offset, STREAM_SEEK_SET, NULL); in Init()
17 return _stream->Write(data, size, processedSize); in Write()
26 HRESULT result = _stream->Seek(offset, seekOrigin, &absoluteNewPosition); in Seek()
34 return _stream->SetSize(_offset + newSize); in SetSize()
DOutBuffer.h25 CMyComPtr<ISequentialOutStream> _stream; variable
36 COutBuffer(): _buffer(0), _pos(0), _stream(0), _buffer2(0) {} in COutBuffer()
47 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
DInBuffer.cpp13 _stream(0), in CInBuffer()
38 _stream = stream; in SetStream()
62 HRESULT result = _stream->Read(_bufferBase, _bufferSize, &numProcessedBytes); in ReadBlock()
DOutBuffer.cpp30 _stream = stream; in SetStream()
68 if (_stream != 0 in FlushPart()
75 result = _stream->Write(_buffer + _streamPos, size, &processedSize); in FlushPart()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_dump_state.c159 #define util_dump_arg(_stream, _type, _arg) \ argument
161 util_dump_arg_begin(_stream, #_arg); \
162 util_dump_##_type(_stream, _arg); \
163 util_dump_arg_end(_stream); \
166 #define util_dump_ret(_stream, _type, _arg) \ argument
168 util_dump_ret_begin(_stream); \
169 util_dump_##_type(_stream, _arg); \
170 util_dump_ret_end(_stream); \
173 #define util_dump_array(_stream, _type, _obj, _size) \ argument
176 util_dump_array_begin(_stream); \
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_dump_state.c159 #define util_dump_arg(_stream, _type, _arg) \ argument
161 util_dump_arg_begin(_stream, #_arg); \
162 util_dump_##_type(_stream, _arg); \
163 util_dump_arg_end(_stream); \
166 #define util_dump_ret(_stream, _type, _arg) \ argument
168 util_dump_ret_begin(_stream); \
169 util_dump_##_type(_stream, _arg); \
170 util_dump_ret_end(_stream); \
173 #define util_dump_array(_stream, _type, _obj, _size) \ argument
176 util_dump_array_begin(_stream); \
[all …]
/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()
DDummyOutStream.h13 CMyComPtr<ISequentialOutStream> _stream; variable
16 void SetStream(ISequentialOutStream *outStream) { _stream = outStream; } in SetStream()
17 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()
DInStreamWithCRC.cpp10 HRESULT result = _stream->Read(data, size, &realProcessedSize); in Read()
23 HRESULT result = _stream->Read(data, size, &realProcessedSize); in Read()
41 return _stream->Seek(offset, seekOrigin, newPosition); in Seek()
DDummyOutStream.cpp11 if(!_stream) in Write()
17 result = _stream->Write(data, size, &realProcessedSize); in Write()
DOutStreamWithCRC.cpp10 if (_stream) in Write()
11 result = _stream->Write(data, size, &size); in Write()
/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/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/
Dmetered_stream.py55 self._stream = stream or sys.stderr
59 self._isatty = self._stream.isatty()
108 self._stream.write(msg)
115 self._stream.write(self._erasure(self._last_partial_line))
120 self._stream.write('\n')
122 self._stream.flush()
/external/antlr/antlr-3.4/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/
D7zSpecStream.h15 CMyComPtr<ISequentialInStream> _stream; variable
21 _stream = stream; in Init()
23 _stream.QueryInterface(IID_ICompressGetSubStreamSize, &_getSubStreamSize); in Init()
/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/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp184 CMyComPtr<IInStream> _stream; member in NArchive::NLzma::CHandler
261 case kpidSize: if (_stream && _header.HasSize()) prop = _header.Size; break; in GetProperty()
264 if (_stream) in GetProperty()
300 _stream = inStream; in Open()
315 _stream.Release(); in Close()
330 if (_stream) in Extract()
354 if (_stream) in Extract()
356 RINOK(_stream->Seek(_startPosition, STREAM_SEEK_SET, NULL)); in Extract()

12