Home
last modified time | relevance | path

Searched refs:Stream (Results 1 – 25 of 795) sorted by relevance

12345678910>>...32

/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tests.pas47 Stream: IANTLRStringStream;
49 Stream := TANTLRStringStream.Create('One'#13#10'Two');
50 CheckEquals(0, Stream.Index);
51 CheckEquals(0, Stream.CharPositionInLine);
52 CheckEquals(1, Stream.Line);
54 Stream.Consume; // O
55 CheckEquals(1, Stream.Index);
56 CheckEquals(1, Stream.CharPositionInLine);
57 CheckEquals(1, Stream.Line);
59 Stream.Consume; // n
[all …]
DAntlr.Runtime.Tree.Tests.pas653 Stream: ITreeNodeStream;
661 Stream := CreateCommonTreeNodeStream(T);
662 CheckEquals(GetStringOfEntireStreamContentsWithNodeTypesOnly(Stream),' 101 102 103 104');
663 CheckEquals(Stream.ToString, ' 101 2 102 2 103 3 104 3');
669 Stream: ITreeNodeStream;
674 Stream := CreateCommonTreeNodeStream(T);
675 CheckEquals(GetStringOfEntireStreamContentsWithNodeTypesOnly(Stream),' 101 102');
676 CheckEquals(Stream.ToString, ' 101 2 102 3');
682 Stream: ITreeNodeStream;
707 Stream := CreateUnBufferedTreeNodeStream(T);
[all …]
/external/zlib/src/contrib/ada/
Dzlib-streams.adb19 procedure Close (Stream : in out Stream_Type) is
23 if Stream.Mode = Out_Stream or Stream.Mode = Duplex then
26 Flush (Stream, Finish);
28 Close (Stream.Writer);
31 if Stream.Mode = In_Stream or Stream.Mode = Duplex then
32 Close (Stream.Reader);
33 Free (Stream.Buffer);
42 (Stream : out Stream_Type;
78 Stream.Back := Back;
79 Stream.Mode := Mode;
[all …]
Dzlib-streams.ads21 (Stream : in out Stream_Type;
26 (Stream : in out Stream_Type;
30 (Stream : in out Stream_Type;
37 function Read_Total_In (Stream : in Stream_Type) return Count;
41 function Read_Total_Out (Stream : in Stream_Type) return Count;
45 function Write_Total_In (Stream : in Stream_Type) return Count;
49 function Write_Total_Out (Stream : in Stream_Type) return Count;
54 (Stream : out Stream_Type;
80 function Is_Open (Stream : Stream_Type) return Boolean;
82 procedure Close (Stream : in out Stream_Type);
Dtest.adb119 Compare_Streams (Stream (Left_File).all, Stream (Right_File).all);
351 (Stream => File_Z,
354 (Stream (File_Back)),
361 (Source => Stream (File_In).all,
383 (Stream => File_Z,
386 (Stream (File_Back)),
391 Compare_Streams (Stream (File_In).all, File_Z);
406 (Stream => File_Z,
409 (Stream (File_Back)),
418 Target => Stream (File_Out).all);
[all …]
/external/lldb/source/Core/
DStream.cpp22 Stream::Stream (uint32_t flags, uint32_t addr_size, ByteOrder byte_order) : in Stream() function in Stream
30 Stream::Stream () : in Stream() function in Stream
41 Stream::~Stream () in ~Stream()
46 Stream::SetByteOrder (ByteOrder byte_order) in SetByteOrder()
58 Stream::Offset (uint32_t uval, const char *format) in Offset()
68 Stream::PutSLEB128 (int64_t sval) in PutSLEB128()
102 Stream::PutULEB128 (uint64_t uval) in PutULEB128()
131 Stream::PutCString (const char *cstr) in PutCString()
145 Stream::QuotedCString (const char *cstr, const char *format) in QuotedCString()
155 Stream::Address (uint64_t addr, uint32_t addr_size, const char *prefix, const char *suffix) in Address()
[all …]
/external/llvm/lib/IR/
DDiagnosticPrinter.cpp23 Stream << C; in operator <<()
28 Stream << C; in operator <<()
33 Stream << C; in operator <<()
38 Stream << Str; in operator <<()
43 Stream << Str; in operator <<()
49 Stream << Str; in operator <<()
54 Stream << N; in operator <<()
58 Stream << N; in operator <<()
64 Stream << N; in operator <<()
69 Stream << N; in operator <<()
[all …]
/external/chromium_org/content/browser/streams/
Dstream_unittest.cc48 void Read(Stream* stream) { in Read()
54 Stream::StreamState state = in Read()
57 case Stream::STREAM_HAS_DATA: in Read()
62 case Stream::STREAM_COMPLETE: in Read()
65 case Stream::STREAM_EMPTY: in Read()
68 case Stream::STREAM_ABORTED: in Read()
79 virtual void OnDataAvailable(Stream* stream) OVERRIDE { in OnDataAvailable()
99 void Write(Stream* stream, in Write()
105 virtual void OnSpaceAvailable(Stream* stream) OVERRIDE { in OnSpaceAvailable()
108 virtual void OnClose(Stream* stream) OVERRIDE { in OnClose()
[all …]
Dstream.cc25 Stream::Stream(StreamRegistry* registry, in Stream() function in content::Stream
45 writer_->RegisterCallback(base::Bind(&Stream::OnSpaceAvailable, in Stream()
47 reader_->RegisterCallback(base::Bind(&Stream::OnDataAvailable, in Stream()
53 Stream::~Stream() { in ~Stream()
56 bool Stream::SetReadObserver(StreamReadObserver* observer) { in SetReadObserver()
63 void Stream::RemoveReadObserver(StreamReadObserver* observer) { in RemoveReadObserver()
68 void Stream::RemoveWriteObserver(StreamWriteObserver* observer) { in RemoveWriteObserver()
73 void Stream::Abort() { in Abort()
83 void Stream::AddData(scoped_refptr<net::IOBuffer> buffer, size_t size) { in AddData()
102 void Stream::AddData(const char* data, size_t size) { in AddData()
[all …]
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoder.cs9 System.IO.Stream Stream; field in SevenZip.Compression.RangeCoder.Encoder
18 public void SetStream(System.IO.Stream stream) in SetStream()
20 Stream = stream; in SetStream()
25 Stream = null; in ReleaseStream()
30 StartPosition = Stream.Position; in Init()
46 Stream.Flush(); in FlushStream()
51 Stream.Close(); in CloseStream()
72 Stream.WriteByte((byte)(temp + (Low >> 32))); in ShiftLow()
117 Stream.Position - StartPosition + 4; in GetProcessedSizeAdd()
128 public System.IO.Stream Stream; field in SevenZip.Compression.RangeCoder.Decoder
[all …]
/external/llvm/unittests/Support/
DYAMLParserTest.cpp35 yaml::Stream Stream(Input, SM); in ExpectParseError() local
37 EXPECT_FALSE(Stream.validate()) << Message << ": " << Input; in ExpectParseError()
38 EXPECT_TRUE(Stream.failed()) << Message << ": " << Input; in ExpectParseError()
44 yaml::Stream Stream(Input, SM); in ExpectParseSuccess() local
45 EXPECT_TRUE(Stream.validate()) << Message << ": " << Input; in ExpectParseSuccess()
149 yaml::Stream Stream(StringInArray, SM); in ExpectCanParseString() local
151 = dyn_cast<yaml::SequenceNode>(Stream.begin()->getRoot()); in ExpectCanParseString()
186 yaml::Stream Stream("[\"1\", \"2\", \"3\", \"4\", \"5\", \"6\"]", SM); in TEST() local
188 = dyn_cast<yaml::SequenceNode>(Stream.begin()->getRoot()); in TEST()
200 yaml::Stream UnnamedStream("[]", SM); in TEST()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/streams/
DStream.cpp40 Stream::Stream(ExecutionContext* context, const String& mediaType) in Stream() function in blink::Stream
51 void Stream::addData(const char* data, size_t len) in addData()
59 void Stream::finalize() in finalize()
64 void Stream::abort() in abort()
69 Stream::~Stream() in ~Stream()
74 void Stream::suspend() in suspend()
78 void Stream::resume() in resume()
82 void Stream::stop() in stop()
DStream.h46 class Stream FINAL : public RefCountedWillBeGarbageCollectedFinalized<Stream>, public ScriptWrappab…
49 static PassRefPtrWillBeRawPtr<Stream> create(ExecutionContext* context, const String& mediaType) in create()
51 RefPtrWillBeRawPtr<Stream> stream = adoptRefWillBeNoop(new Stream(context, mediaType)); in create()
56 virtual ~Stream();
88 Stream(ExecutionContext*, const String& mediaType);
/external/lzma/CPP/7zip/Compress/
DRangeCoder.h23 COutBuffer Stream; variable
24 bool Create(UInt32 bufferSize) { return Stream.Create(bufferSize); } in Create()
26 void SetStream(ISequentialOutStream *stream) { Stream.SetStream(stream); } in SetStream()
29 Stream.Init(); in Init()
43 HRESULT FlushStream() { return Stream.Flush(); } in FlushStream()
45 void ReleaseStream() { Stream.ReleaseStream(); } in ReleaseStream()
65 Stream.WriteByte((Byte)(temp + (Byte)(Low >> 32))); in ShiftLow()
106 UInt64 GetProcessedSize() { return Stream.GetProcessedSize() + _cacheSize + 4; } in GetProcessedSize()
112 CInBuffer Stream;
115 bool Create(UInt32 bufferSize) { return Stream.Create(bufferSize); } in Create()
[all …]
/external/lldb/include/lldb/Core/
DStream.h24 class Stream
45 Stream (uint32_t flags,
54 Stream ();
60 ~Stream ();
210 Stream&
223 Stream&
236 Stream&
249 Stream&
262 Stream&
275 Stream&
[all …]
/external/clang/lib/Frontend/
DSerializedDiagnosticPrinter.cpp191 : DiagOpts(diags), Stream(Buffer), OS(os), EmittedAnyDiagBlocks(false) { } in SharedState()
200 llvm::BitstreamWriter Stream; member
251 llvm::BitstreamWriter &Stream, in EmitBlockID() argument
255 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record); in EmitBlockID()
266 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record); in EmitBlockID()
271 llvm::BitstreamWriter &Stream, in EmitRecordID() argument
279 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record); in EmitRecordID()
331 State->Stream.EmitRecordWithBlob(State->Abbrevs.get(RECORD_FILENAME), Record, in getEmitFile()
342 State->Stream.EmitRecordWithAbbrev(State->Abbrevs.get(RECORD_SOURCE_RANGE), in EmitCharSourceRange()
349 State->Stream.Emit((unsigned)'D', 8); in EmitPreamble()
[all …]
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp148 unsigned AbbrevToUse, BitstreamWriter &Stream) { in WriteStringRecord() argument
159 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
254 BitstreamWriter &Stream) { in WriteAttributeGroupTable() argument
258 Stream.EnterSubblock(bitc::PARAMATTR_GROUP_BLOCK_ID, 3); in WriteAttributeGroupTable()
293 Stream.EmitRecord(bitc::PARAMATTR_GRP_CODE_ENTRY, Record); in WriteAttributeGroupTable()
298 Stream.ExitBlock(); in WriteAttributeGroupTable()
302 BitstreamWriter &Stream) { in WriteAttributeTable() argument
306 Stream.EnterSubblock(bitc::PARAMATTR_BLOCK_ID, 3); in WriteAttributeTable()
314 Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY, Record); in WriteAttributeTable()
318 Stream.ExitBlock(); in WriteAttributeTable()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DANTLRInputStream.cs36 using Stream = System.IO.Stream; typedef
47 public ANTLRInputStream( Stream input ) in ANTLRInputStream()
52 public ANTLRInputStream( Stream input, int size ) in ANTLRInputStream()
57 public ANTLRInputStream( Stream input, Encoding encoding ) in ANTLRInputStream()
62 public ANTLRInputStream( Stream input, int size, Encoding encoding ) in ANTLRInputStream()
67 public ANTLRInputStream( Stream input, int size, int readBufferSize, Encoding encoding ) in ANTLRInputStream()
72 private static StreamReader GetStreamReader(Stream input, Encoding encoding) in GetStreamReader()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DANTLRInputStream.cs35 using Stream = System.IO.Stream; typedef
45 public ANTLRInputStream(Stream input) in ANTLRInputStream()
49 public ANTLRInputStream(Stream input, int size) in ANTLRInputStream()
53 public ANTLRInputStream(Stream input, Encoding encoding) in ANTLRInputStream()
57 public ANTLRInputStream(Stream input, int size, Encoding encoding) in ANTLRInputStream()
61 public ANTLRInputStream(Stream input, int size, int readBufferSize, Encoding encoding) in ANTLRInputStream()
65 private static StreamReader GetStreamReader(Stream input, Encoding encoding) { in GetStreamReader()
/external/clang/tools/libclang/
DCXLoadedDiagnostic.cpp211 LoadResult readMetaBlock(llvm::BitstreamCursor &Stream);
213 LoadResult readDiagnosticBlock(llvm::BitstreamCursor &Stream,
217 StreamResult readToNextRecordOrBlock(llvm::BitstreamCursor &Stream,
275 llvm::BitstreamCursor Stream; in load() local
276 Stream.init(StreamFile); in load()
279 if (Stream.Read(8) != 'D' || in load()
280 Stream.Read(8) != 'I' || in load()
281 Stream.Read(8) != 'A' || in load()
282 Stream.Read(8) != 'G') { in load()
293 StreamResult Res = readToNextRecordOrBlock(Stream, "Top-level", in load()
[all …]
/external/lldb/include/lldb/DataFormatters/
DCXXFormatterFunctions.h37 Stream &stream);
58 Char16StringSummaryProvider (ValueObject& valobj, Stream& stream); // char16_t* and unichar*
61 Char32StringSummaryProvider (ValueObject& valobj, Stream& stream); // char32_t*
64 WCharStringSummaryProvider (ValueObject& valobj, Stream& stream); // wchar_t*
67 Char16SummaryProvider (ValueObject& valobj, Stream& stream); // char16_t and unichar
70 Char32SummaryProvider (ValueObject& valobj, Stream& stream); // char32_t
73 WCharSummaryProvider (ValueObject& valobj, Stream& stream); // wchar_t
76 LibcxxStringSummaryProvider (ValueObject& valobj, Stream& stream); // libc++ std::string
79 LibcxxWStringSummaryProvider (ValueObject& valobj, Stream& stream); // libc++ std::wstring
82 ObjCClassSummaryProvider (ValueObject& valobj, Stream& stream);
[all …]
/external/clang/test/Sema/
Dparentheses.cpp32 class Stream { class
35 Stream &operator<<(int);
36 Stream &operator<<(const char*);
37 Stream &operator>>(int);
38 Stream &operator>>(const char*);
41 void f(Stream& s, bool b) { in f()
98 Stream() << b + c; in test()
99Stream() >> b + c; // expected-warning {{operator '>>' has lower precedence than '+'; '+' will be … in test()
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp324 static bool ParseBlock(BitstreamCursor &Stream, unsigned BlockID, in ParseBlock() argument
327 uint64_t BlockBitStart = Stream.GetCurrentBitNo(); in ParseBlock()
337 if (Stream.ReadBlockInfoBlock()) in ParseBlock()
339 uint64_t BlockBitEnd = Stream.GetCurrentBitNo(); in ParseBlock()
345 if (Stream.EnterSubBlock(BlockID, &NumWords)) in ParseBlock()
351 if ((BlockName = GetBlockName(BlockID, *Stream.getBitStreamReader()))) in ParseBlock()
360 << " BlockCodeSize=" << Stream.getAbbrevIDWidth() << ">\n"; in ParseBlock()
367 if (Stream.AtEndOfStream()) in ParseBlock()
370 uint64_t RecordStartBit = Stream.GetCurrentBitNo(); in ParseBlock()
373 Stream.advance(BitstreamCursor::AF_DontAutoprocessAbbrevs); in ParseBlock()
[all …]
/external/lldb/include/lldb/Expression/
DClangFunction.h135 CompileFunction (Stream &errors);
158 Stream &errors);
174 Stream &errors);
196 Stream &errors);
227 Stream &errors);
279 Stream &errors,
303 Stream &errors,
329 Stream &errors, bool stop_others,
361 Stream &errors,
405 Stream &errors,
[all …]
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DDecoder.java15 java.io.InputStream Stream; field in Decoder
19 Stream = stream; in SetStream()
24 Stream = null; in ReleaseStream()
32 Code = (Code << 8) | Stream.read(); in Init()
47 Code = (Code << 8) | Stream.read(); in DecodeDirectBits()
64 Code = (Code << 8) | Stream.read(); in DecodeBit()
76 Code = (Code << 8) | Stream.read(); in DecodeBit()

12345678910>>...32