Home
last modified time | relevance | path

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

1234567

/external/zlib/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/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp105 unsigned AbbrevToUse, BitstreamWriter &Stream) { in WriteStringRecord() argument
116 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
121 BitstreamWriter &Stream) { in WriteAttributeTable() argument
125 Stream.EnterSubblock(bitc::PARAMATTR_BLOCK_ID, 3); in WriteAttributeTable()
146 Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY, Record); in WriteAttributeTable()
150 Stream.ExitBlock(); in WriteAttributeTable()
154 static void WriteTypeTable(const ValueEnumerator &VE, BitstreamWriter &Stream) { in WriteTypeTable() argument
157 Stream.EnterSubblock(bitc::TYPE_BLOCK_ID_NEW, 4 /*count from # abbrevs */); in WriteTypeTable()
166 unsigned PtrAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
176 unsigned FunctionAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
[all …]
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp324 static bool ParseBlock(BitstreamCursor &Stream, unsigned IndentLevel) { in ParseBlock() argument
326 uint64_t BlockBitStart = Stream.GetCurrentBitNo(); in ParseBlock()
327 unsigned BlockID = Stream.ReadSubBlockID(); 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()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp382 if (Stream.EnterSubBlock(bitc::PARAMATTR_BLOCK_ID)) in ParseAttributeBlock()
394 unsigned Code = Stream.ReadCode(); in ParseAttributeBlock()
396 if (Stream.ReadBlockEnd()) in ParseAttributeBlock()
403 Stream.ReadSubBlockID(); in ParseAttributeBlock()
404 if (Stream.SkipBlock()) in ParseAttributeBlock()
410 Stream.ReadAbbrevRecord(); in ParseAttributeBlock()
416 switch (Stream.ReadRecord(Code, Record)) { in ParseAttributeBlock()
484 if (Stream.EnterSubBlock(bitc::TYPE_BLOCK_ID_NEW)) in ParseTypeTable()
501 unsigned Code = Stream.ReadCode(); in ParseTypeTableBody()
505 if (Stream.ReadBlockEnd()) in ParseTypeTableBody()
[all …]
/external/clang/lib/Serialization/
DASTWriter.cpp606 llvm::BitstreamWriter &Stream, in EmitBlockID() argument
610 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record); in EmitBlockID()
617 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record); in EmitBlockID()
621 llvm::BitstreamWriter &Stream, in EmitRecordID() argument
627 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record); in EmitRecordID()
630 static void AddStmtsExprs(llvm::BitstreamWriter &Stream, in AddStmtsExprs() argument
632 #define RECORD(X) EmitRecordID(X, #X, Stream, Record) in AddStmtsExprs()
738 Stream.EnterSubblock(llvm::bitc::BLOCKINFO_BLOCK_ID, 3); in WriteBlockInfoBlock()
740 #define BLOCK(X) EmitBlockID(X ## _ID, #X, Stream, Record) in WriteBlockInfoBlock()
741 #define RECORD(X) EmitRecordID(X, #X, Stream, Record) in WriteBlockInfoBlock()
[all …]
/external/clang/test/Sema/
Dparentheses.cpp20 class Stream { class
23 Stream &operator<<(int);
24 Stream &operator<<(const char*);
27 void f(Stream& s, bool b) { in f()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
Dtoplevel.ml7 match Stream.peek stream with
12 Stream.junk stream;
28 with Stream.Error s ->
30 Stream.junk stream;
Dparser.ml47 | [< >] -> raise (Stream.Error "unknown token when expecting an expression.")
52 match Stream.peek stream with
61 Stream.junk stream;
68 match Stream.peek stream with
107 raise (Stream.Error "expected function name in prototype")
/external/llvm/include/llvm/Support/
DFormattedStream.h84 formatted_raw_ostream(raw_ostream &Stream, bool Delete = false)
86 setStream(Stream, Delete); in raw_ostream()
98 void setStream(raw_ostream &Stream, bool Delete = false) {
101 TheStream = &Stream;
Dcircular_raw_ostream.h109 circular_raw_ostream(raw_ostream &Stream, const char *Header,
121 setStream(Stream, Owns); in raw_ostream()
145 void setStream(raw_ostream &Stream, bool Owns = REFERENCE_ONLY) {
147 TheStream = &Stream;
/external/webkit/Source/WebKit2/WebProcess/Plugins/
DPluginView.cpp86 class PluginView::Stream : public RefCounted<PluginView::Stream>, NetscapePlugInStreamLoaderClient { class in WebKit::PluginView
88 …static PassRefPtr<Stream> create(PluginView* pluginView, uint64_t streamID, const ResourceRequest&… in create()
90 return adoptRef(new Stream(pluginView, streamID, request)); in create()
92 ~Stream();
100 Stream(PluginView* pluginView, uint64_t streamID, const ResourceRequest& request) in Stream() function in WebKit::PluginView::Stream
125 PluginView::Stream::~Stream() in ~Stream()
130 void PluginView::Stream::start() in start()
140 void PluginView::Stream::cancel() in cancel()
182 void PluginView::Stream::didReceiveResponse(NetscapePlugInStreamLoader*, const ResourceResponse& re… in didReceiveResponse()
198 void PluginView::Stream::didReceiveData(NetscapePlugInStreamLoader*, const char* bytes, int length) in didReceiveData()
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dtoplevel.ml9 match Stream.peek stream with
14 Stream.junk stream;
33 with Stream.Error s | Codegen.Error s ->
35 Stream.junk stream;
Dparser.ml47 | [< >] -> raise (Stream.Error "unknown token when expecting an expression.")
52 match Stream.peek stream with
61 Stream.junk stream;
68 match Stream.peek stream with
107 raise (Stream.Error "expected function name in prototype")
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dtoplevel.ml10 match Stream.peek stream with
15 Stream.junk stream;
43 with Stream.Error s | Codegen.Error s ->
45 Stream.junk stream;
Dparser.ml77 raise (Stream.Error "expected 'in' after for")
80 raise (Stream.Error "expected '=' after for")
83 | [< >] -> raise (Stream.Error "unknown token when expecting an expression.")
88 match Stream.peek stream with
97 Stream.junk stream;
104 match Stream.peek stream with
143 raise (Stream.Error "expected function name in prototype")
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dtoplevel.ml10 match Stream.peek stream with
15 Stream.junk stream;
43 with Stream.Error s | Codegen.Error s ->
45 Stream.junk stream;
Dparser.ml47 | [< >] -> raise (Stream.Error "unknown token when expecting an expression.")
52 match Stream.peek stream with
61 Stream.junk stream;
68 match Stream.peek stream with
107 raise (Stream.Error "expected function name in prototype")
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dtoplevel.ml10 match Stream.peek stream with
15 Stream.junk stream;
43 with Stream.Error s | Codegen.Error s ->
45 Stream.junk stream;
Dparser.ml77 raise (Stream.Error "expected 'in' after for")
80 raise (Stream.Error "expected '=' after for")
83 | [< >] -> raise (Stream.Error "unknown token when expecting an expression.")
99 match Stream.peek stream with
108 Stream.junk stream;
115 match Stream.peek stream with
173 then raise (Stream.Error "invalid number of operands for operator")
180 raise (Stream.Error "expected function name in prototype")
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dtoplevel.ml10 match Stream.peek stream with
15 Stream.junk stream;
43 with Stream.Error s | Codegen.Error s ->
45 Stream.junk stream;
Dparser.ml78 raise (Stream.Error "expected 'in' after for")
81 raise (Stream.Error "expected '=' after for")
97 | [< >] -> raise (Stream.Error "unknown token when expecting an expression.")
113 match Stream.peek stream with
122 Stream.junk stream;
129 match Stream.peek stream with
199 then raise (Stream.Error "invalid number of operands for operator")
206 raise (Stream.Error "expected function name in prototype")
/external/clang/lib/AST/
DMangle.cpp95 llvm::raw_svector_ostream Stream(Buffer); in mangleBlock() local
97 mangleObjCMethodName(Method, Stream); in mangleBlock()
101 Stream << II->getName(); in mangleBlock()
108 mangleName(ND, Stream); in mangleBlock()
111 Stream.flush(); in mangleBlock()
/external/llvm/test/FrontendAda/
Dreal_cst.adb4 procedure Write (Stream : access Ada.Streams.Root_Stream_Type'Class) is
6 Float'Write (Stream, Cst);

1234567