Home
last modified time | relevance | path

Searched refs:istream (Results 1 – 25 of 223) sorted by relevance

123456789

/external/antlr/runtime/C/src/
Dantlr3tokenstream.c128 if (stream->tstream->istream->super == stream->tstream) in antlr3CTSFree()
130 stream->tstream->istream->free(stream->tstream->istream); in antlr3CTSFree()
131 stream->tstream->istream = NULL; in antlr3CTSFree()
224 stream->tstream->istream->consume = dbgConsume; in antlr3CommonTokenDebugStreamSourceNew()
225 stream->tstream->istream->_LA = dbgLA; in antlr3CommonTokenDebugStreamSourceNew()
226 stream->tstream->istream->mark = dbgMark; in antlr3CommonTokenDebugStreamSourceNew()
227 stream->tstream->istream->rewind = dbgRewindStream; in antlr3CommonTokenDebugStreamSourceNew()
228 stream->tstream->istream->rewindLast = dbgRewindLast; in antlr3CommonTokenDebugStreamSourceNew()
229 stream->tstream->istream->seek = dbgSeek; in antlr3CommonTokenDebugStreamSourceNew()
274 stream->tstream->istream = antlr3IntStreamNew(); in antlr3CommonTokenStreamNew()
[all …]
Dantlr3commontreenodestream.c170 stream->tnstream->istream = antlr3IntStreamNew(); in antlr3CommonTreeNodeStreamNewStream()
172 if (stream->tnstream->istream == NULL) in antlr3CommonTreeNodeStreamNewStream()
206 stream->tnstream->istream->consume = consume; in antlr3CommonTreeNodeStreamNewStream()
207 stream->tnstream->istream->index = tindex; in antlr3CommonTreeNodeStreamNewStream()
208 stream->tnstream->istream->_LA = _LA; in antlr3CommonTreeNodeStreamNewStream()
209 stream->tnstream->istream->mark = mark; in antlr3CommonTreeNodeStreamNewStream()
210 stream->tnstream->istream->release = release; in antlr3CommonTreeNodeStreamNewStream()
211 stream->tnstream->istream->rewind = rewindMark; in antlr3CommonTreeNodeStreamNewStream()
212 stream->tnstream->istream->rewindLast = rewindLast; in antlr3CommonTreeNodeStreamNewStream()
213 stream->tnstream->istream->seek = seek; in antlr3CommonTreeNodeStreamNewStream()
[all …]
Dantlr3inputstream.c143 input->istream = antlr3IntStreamNew(); in antlr3GenericSetupStream()
144 input->istream->type = ANTLR3_CHARSTREAM; in antlr3GenericSetupStream()
145 input->istream->super = input; in antlr3GenericSetupStream()
149 …input->istream->consume = antlr38BitConsume; // Consume the next 8 bit character in the bu… in antlr3GenericSetupStream()
150 …input->istream->_LA = antlr38BitLA; // Return the UTF32 character at offset n (1 … in antlr3GenericSetupStream()
151 …input->istream->index = antlr38BitIndex; // Current index (offset from first chara… in antlr3GenericSetupStream()
152 …input->istream->mark = antlr38BitMark; // Record the current lex state for later restore … in antlr3GenericSetupStream()
153 input->istream->rewind = antlr38BitRewind; // How to rewind the input in antlr3GenericSetupStream()
154 input->istream->rewindLast = antlr38BitRewindLast; // How to rewind the input in antlr3GenericSetupStream()
155 …input->istream->seek = antlr38BitSeek; // How to seek to a specific point in the stream … in antlr3GenericSetupStream()
[all …]
Dantlr3lexer.c62 … void * getCurrentInputSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream);
63 static void * getMissingSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream
222 pANTLR3_INT_STREAM istream; in nextTokenStr() local
227 istream = input->istream; in nextTokenStr()
256 if (istream->_LA(istream, 1) == ANTLR3_CHARSTREAM_EOF) in nextTokenStr()
587 lexer->input->istream->mark(lexer->input->istream); in pushCharStream()
631 lexer->input->istream->rewindLast(lexer->input->istream); in popCharStream()
732 if (lexer->input->istream->_LA(lexer->input->istream, 1) != (*string)) in matchs()
751 lexer->input->istream->consume(lexer->input->istream); in matchs()
773 if (lexer->input->istream->_LA(lexer->input->istream, 1) == c) in matchc()
[all …]
Dantlr3baserecognizer.c78 … void * getCurrentInputSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream);
79 static void * getMissingSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream
295 is = ins->istream; in antlr3RecognitionExceptionNew()
303 is = parser->tstream->istream; in antlr3RecognitionExceptionNew()
311 is = tns->istream; in antlr3RecognitionExceptionNew()
350 ex->index = cts->tstream->istream->index (cts->tstream->istream); in antlr3RecognitionExceptionNew()
367 ex->index = tns->istream->index (tns->istream); in antlr3RecognitionExceptionNew()
429 is = parser->tstream->istream; in match()
437 is = tparser->ctnstream->tnstream->istream; in match()
501 is = parser->tstream->istream; in matchAny()
[all …]
Dantlr3treeparser.c46 …tic void * getCurrentInputSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream);
47 static void * getMissingSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream, p…
189 getCurrentInputSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream) in getCurrentInputSymbol() argument
194 tns = (pANTLR3_TREE_NODE_STREAM)(istream->super); in getCurrentInputSymbol()
204 getMissingSymbol (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream, pANTLR3_EXCEPTI… in getMissingSymbol() argument
217 tns = (pANTLR3_TREE_NODE_STREAM)(istream->super); in getMissingSymbol()
/external/nanopb-c/tests/fixed_count/
Dfixed_count_unittests.c19 pb_istream_t istream; in main() local
30 istream = pb_istream_from_buffer(buffer, message_length); in main()
31 TEST(pb_decode(&istream, Message1_fields, &msg_b)); in main()
33 TEST(istream.bytes_left == 0); in main()
43 pb_istream_t istream; in main() local
57 istream = pb_istream_from_buffer(buffer, message_length); in main()
58 TEST(pb_decode(&istream, Message2_fields, &msg_b)); in main()
60 TEST(istream.bytes_left == 0); in main()
70 pb_istream_t istream; in main() local
105 istream = pb_istream_from_buffer(buffer, message_length); in main()
[all …]
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream_sentry/
Dctor.pass.cpp56 std::istream is((testbuf<char>*)0); in main()
57 std::istream::sentry sen(is, true); in main()
73 std::istream is(&sb); in main()
74 std::istream::sentry sen(is, true); in main()
93 std::istream is(&sb); in main()
94 std::istream::sentry sen(is); in main()
111 std::istream is(&sb); in main()
112 std::istream::sentry sen(is); in main()
121 std::istream is(&sb); in main()
122 std::istream::sentry sen(is, true); in main()
/external/nanopb-c/tests/inline/
Dinline_unittests.c24 pb_istream_t istream = pb_istream_from_buffer(msg1_buffer, Message1_size); in main() local
33 TEST(pb_decode(&istream, Message1_fields, &msg1_deserialized)); in main()
35 TEST(istream.bytes_left == 0); in main()
45 pb_istream_t istream = pb_istream_from_buffer(msg2_buffer, Message2_size); in main() local
54 TEST(pb_decode(&istream, Message2_fields, &msg2_deserialized)); in main()
56 TEST(istream.bytes_left == 0); in main()
63 istream = pb_istream_from_buffer(msg2_buffer, Message2_size); in main()
64 TEST(pb_decode(&istream, Message2_fields, &msg2_deserialized)); in main()
/external/grpc-grpc/third_party/nanopb/tests/inline/
Dinline_unittests.c24 pb_istream_t istream = pb_istream_from_buffer(msg1_buffer, Message1_size); in main() local
33 TEST(pb_decode(&istream, Message1_fields, &msg1_deserialized)); in main()
35 TEST(istream.bytes_left == 0); in main()
45 pb_istream_t istream = pb_istream_from_buffer(msg2_buffer, Message2_size); in main() local
54 TEST(pb_decode(&istream, Message2_fields, &msg2_deserialized)); in main()
56 TEST(istream.bytes_left == 0); in main()
63 istream = pb_istream_from_buffer(msg2_buffer, Message2_size); in main()
64 TEST(pb_decode(&istream, Message2_fields, &msg2_deserialized)); in main()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
Dsigned_char_pointer.pass.cpp46 std::istream is(&sb); in main()
55 std::istream is(&sb); in main()
67 std::istream is(&sb); in main()
77 std::istream is(&sb); in main()
87 std::istream is(&sb); in main()
99 std::istream is(&sb); in main()
Dunsigned_char_pointer.pass.cpp46 std::istream is(&sb); in main()
55 std::istream is(&sb); in main()
67 std::istream is(&sb); in main()
77 std::istream is(&sb); in main()
87 std::istream is(&sb); in main()
99 std::istream is(&sb); in main()
Dwchar_t_pointer.pass.cpp46 std::istream is(&sb); in main()
56 std::istream is(&sb); in main()
98 std::istream is(&sb); in main()
110 std::istream is(&sb); in main()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVEntry.h72 void decode(std::istream &I);
81 void Ty::decode(std::istream &I) {}
84 void Ty::decode(std::istream &I) { getDecoder(I) >> x;}
87 void Ty::decode(std::istream &I) { getDecoder(I) >> x >> y;}
90 void Ty::decode(std::istream &I) { getDecoder(I) >> x >> y >> z;}
94 void Ty::decode(std::istream &I) { getDecoder(I) >> x >> y >> z >> u;}
98 void Ty::decode(std::istream &I) { getDecoder(I) >> x >> y >> z >> u >> v;}
102 void Ty::decode(std::istream &I) { getDecoder(I) >> x >> y >> z >> u >> \
107 void Ty::decode(std::istream &I) { getDecoder(I) >> x >> y >> z >> u >> \
112 void Ty::decode(std::istream &I) { getDecoder(I) >> x >> y >> z >> u >> \
[all …]
DSPIRVEntry.cpp141 SPIRVEntry::getDecoder(std::istream& I){ in getDecoder()
203 SPIRVEntry::decode(std::istream &I) { in decode()
409 std::istream &
410 operator>>(std::istream &I, SPIRVEntry &E) { in operator >>()
428 SPIRVEntryPoint::decode(std::istream &I) { in decode()
440 SPIRVExecutionMode::decode(std::istream &I) { in decode()
481 SPIRVName::decode(std::istream &I) { in decode()
500 SPIRVLine::decode(std::istream &I) { in decode()
535 SPIRVExtInstImport::decode(std::istream &I) { in decode()
553 SPIRVMemoryModel::decode(std::istream &I) { in decode()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dmodule.cpp44 _proc(std::istream &is, T &x) { in _proc()
50 _proc(std::istream &is) { in _proc()
73 proc(std::istream &is, T &x) { in proc()
97 proc(std::istream &is, std::vector<T> &v) { in proc()
125 proc(std::istream &is, std::vector<T> &v) { in proc()
147 proc(std::istream &is, std::string &s) { in proc()
218 module::deserialize(std::istream &is) { in deserialize()
/external/antlr/runtime/Cpp/include/
Dantlr3baserecognizer.hpp452 const UnitType* getCurrentInputSymbol(IntStreamType* istream);
453 const UnitType* getCurrentInputSymbol(IntStreamType* istream, ClassForwarder<LexerType>);
454 const UnitType* getCurrentInputSymbol(IntStreamType* istream, ClassForwarder<ParserType>);
455 const UnitType* getCurrentInputSymbol(IntStreamType* istream, ClassForwarder<TreeParserType>);
476 UnitType* getMissingSymbol( IntStreamType* istream, ExceptionBaseType* e,
/external/libcxx/include/
Diostream19 #include <istream>
24 extern istream cin;
40 #include <istream>
50 extern _LIBCPP_FUNC_VIS istream cin;
Dstrstream132 #include <istream>
232 : public istream
237 : istream(&__sb_), __sb_(__s, 0) {}
240 : istream(&__sb_), __sb_(__s, 0) {}
243 : istream(&__sb_), __sb_(__s, __n) {}
246 : istream(&__sb_), __sb_(__s, __n) {}
251 : istream(_VSTD::move(__rhs)),
254 istream::set_rdbuf(&__sb_);
260 istream::operator=(_VSTD::move(__rhs));
271 istream::swap(__rhs);
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/
Dpointer.pass.cpp51 std::istream is((std::streambuf*)0); in main()
58 std::istream is(&sb); in main()
67 std::istream is(&sb); in main()
85 std::istream is(&sb); in main()
Dlong_long.pass.cpp47 std::istream is((std::streambuf*)0); in main()
54 std::istream is(&sb); in main()
63 std::istream is(&sb); in main()
/external/image_io/src/utils/
Dfile_utils.cc14 using std::istream;
43 unique_ptr<istream> OpenInputFile(const std::string& file_name, in OpenInputFile()
53 return unique_ptr<istream>(file_stream); in OpenInputFile()
61 unique_ptr<istream> shared_istream = in ReadEntireFile()
/external/python/cpython2/Lib/test/
Dmultibytecodec_support.py163 istream = UTF8Reader(StringIO(self.tstring[1]))
168 data = istream.read(sizehint)
170 data = istream.read()
183 istream = StringIO(self.tstring[0])
187 data = istream.read(sizehint)
221 istream = self.reader(StringIO(self.tstring[0]))
223 func = getattr(istream, name)
241 istream = UTF8Reader(StringIO(self.tstring[1]))
243 func = getattr(istream, name)
/external/python/cpython3/Lib/test/
Dmultibytecodec_support.py177 istream = UTF8Reader(BytesIO(self.tstring[1]))
182 data = istream.read(sizehint)
184 data = istream.read()
197 istream = BytesIO(self.tstring[0])
201 data = istream.read(sizehint)
235 istream = self.reader(BytesIO(self.tstring[0]))
237 func = getattr(istream, name)
255 istream = UTF8Reader(BytesIO(self.tstring[1]))
257 func = getattr(istream, name)
/external/libcxx/src/
Diostream.cpp21 _ALIGNAS_TYPE (istream) _LIBCPP_FUNC_VIS char cin[sizeof(istream)]
85 istream* cin_ptr = ::new(cin) istream(::new(__cin) __stdinbuf <char>(stdin, &mb_cin)); in Init()

123456789