Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/telemetry/telemetry/
Dbenchmark_runner_unittest.py36 self._stream = stream.TestOutputStream()
49 [BenchmarkFoo, BenchmarkBar], self._mock_possible_browser, self._stream)
50 self.assertEquals(expected_printed_stream, self._stream.output_data)
69 [BenchmarkFoo, BenchmarkBar], self._mock_possible_browser, self._stream)
70 self.assertEquals(expected_printed_stream, self._stream.output_data)
88 [BenchmarkFoo, BenchmarkBar], self._mock_possible_browser, self._stream)
89 self.assertEquals(expected_printed_stream, self._stream.output_data)
112 [BenchmarkFoo, BenchmarkBar], self._mock_possible_browser, self._stream)
115 [BenchmarkFoo, BenchmarkBar], self._mock_possible_browser, self._stream)
116 self.assertEquals(expected_printed_stream, self._stream.output_data)
/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/Common/
DLimitedStreams.h15 CMyComPtr<ISequentialInStream> _stream; variable
20 void SetStream(ISequentialInStream *stream) { _stream = stream; } in SetStream()
21 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
40 CMyComPtr<IInStream> _stream; variable
46 HRESULT SeekToPhys() { return _stream->Seek(_physPos, STREAM_SEEK_SET, NULL); } in SeekToPhys()
48 void SetStream(IInStream *stream) { _stream = stream; } in SetStream()
140 CMyComPtr<ISequentialOutStream> _stream; variable
147 void SetStream(ISequentialOutStream *stream) { _stream = stream; } in SetStream()
148 void ReleaseStream() { _stream.Release(); } in ReleaseStream()
186 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()
DLockedStream.cpp11 RINOK(_stream->Seek(startPos, STREAM_SEEK_SET, NULL)); in Read()
12 return _stream->Read(data, size, processedSize); in Read()
DLockedStream.h12 CMyComPtr<IInStream> _stream; variable
16 { _stream = stream; } in Init()
DLimitedStreams.cpp15 result = _stream->Read(data, sizeToRead, &realProcessedSize); in Read()
44 HRESULT res = _stream->Read(data, size, &size); in Read()
216 if (_stream) in Write()
217 result = _stream->Write(data, size, &size); in Write()
290 res = _stream->Read(data, size, &size); in Read()
/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()
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/
DStdOutStream.h13 FILE *_stream; variable
16 CStdOutStream(): _stream(0), _streamIsOpen(false) {}; in CStdOutStream()
17 CStdOutStream(FILE *stream): _stream(stream), _streamIsOpen(false) {}; in CStdOutStream()
23 operator FILE *() { return _stream; }
36 fputs(s, _stream);
42 fputc(c, _stream);
DStdInStream.cpp26 _stream = _tfopen(fileName, kFileOpenMode); in Open()
27 _streamIsOpen = (_stream != 0); in Open()
35 _streamIsOpen = (fclose(_stream) != 0); in Close()
85 return (feof(_stream) != 0); in Eof()
90 int c = fgetc(_stream); // getc() doesn't work in BeOS? in GetChar()
DStdOutStream.cpp24 _stream = fopen(fileName, kFileOpenMode); in Open()
25 _streamIsOpen = (_stream != 0); in Open()
33 if (fclose(_stream) != 0) in Close()
35 _stream = 0; in Close()
42 return (fflush(_stream) == 0); in Flush()
DStdInStream.h13 FILE *_stream; variable
16 CStdInStream(): _stream(0), _streamIsOpen(false) {}; in CStdInStream()
17 CStdInStream(FILE *stream): _stream(stream), _streamIsOpen(false) {}; in CStdInStream()
/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/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/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/7z/
D7zSpecStream.h15 CMyComPtr<ISequentialInStream> _stream; variable
21 _stream = stream; in Init()
23 _stream.QueryInterface(IID_ICompressGetSubStreamSize, &_getSubStreamSize); in Init()
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp194 CMyComPtr<IInStream> _stream; member in NArchive::NLzma::CHandler
286 case kpidSize: if (_stream && _header.HasSize()) prop = _header.Size; break; in GetProperty()
289 if (_stream) in GetProperty()
367 _stream = inStream; in Open()
397 _stream.Release(); in Close()
461 if (!_stream) in Extract()
463 RINOK(_stream->Seek(0, STREAM_SEEK_SET, NULL)); in Extract()

12