Home
last modified time | relevance | path

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

12345678910>>...14

/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/tflite-support/tensorflow_lite_support/cc/utils/
Dcommon_utils.cc31 std::istream* istream, in ReadIStreamLineByLine() argument
34 while (std::getline(*istream, str)) { in ReadIStreamLineByLine()
42 std::istream* istream) { in ReadIStreamLineSplits() argument
45 ReadIStreamLineByLine(istream, [&vocab_index_map](const std::string& str) { in ReadIStreamLineSplits()
52 std::vector<std::string> ReadIStreamByLine(std::istream* istream) { in ReadIStreamByLine() argument
56 ReadIStreamLineByLine(istream, [&vocab_from_file](const std::string& str) { in ReadIStreamByLine()
74 std::istream in(&sbuf); in LoadVocabFromBuffer()
90 std::istream in(&sbuf); in LoadVocabAndIndexFromBuffer()
/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/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/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/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream_sentry/
Dctor.pass.cpp57 std::istream is((testbuf<char>*)0); in main()
58 std::istream::sentry sen(is, true); in main()
74 std::istream is(&sb); in main()
75 std::istream::sentry sen(is, true); in main()
94 std::istream is(&sb); in main()
95 std::istream::sentry sen(is); in main()
112 std::istream is(&sb); in main()
113 std::istream::sentry sen(is); in main()
122 std::istream is(&sb); in main()
123 std::istream::sentry sen(is, true); in main()
/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/llvm-project/clang/test/Analysis/Inputs/
Dno-store-suppression.h4 class istream {
10 istream &operator>>(istream &is, char &c) {
16 extern istream cin;
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
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()
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()
/external/marisa-trie/include/marisa/
Diostream.h10 std::istream &read(std::istream &stream, Trie *trie);
13 std::istream &operator>>(std::istream &stream, Trie &trie);
/external/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
Dstreambuf.pass.cpp71 std::istream is(&sb); in main()
82 is.exceptions(std::istream::eofbit); in main()
98 is.exceptions(std::istream::eofbit); in main()
115 is.exceptions(std::istream::failbit); in main()
131 is.exceptions(std::istream::failbit); in main()
147 is.exceptions(std::istream::failbit); in main()
162 is.exceptions(std::istream::failbit); 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()
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()
/external/libabigail/include/
Dabg-reader.h38 read_translation_unit_from_istream(std::istream* in,
50 create_native_xml_read_context(std::istream* in, environment* env);
56 read_corpus_from_native_xml(std::istream* in,
70 read_corpus_group_from_native_xml(std::istream* in,
/external/libcxx/include/
Diostream19 #include <istream>
24 extern istream cin;
40 #include <istream>
50 extern _LIBCPP_FUNC_VIS istream cin;
/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/llvm-project/libcxx/include/
Diostream18 #include <istream>
23 extern istream cin;
39 #include <istream>
49 extern _LIBCPP_FUNC_VIS istream cin;
/external/mesa3d/src/gallium/frontends/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()
220 module::deserialize(std::istream &is) { in deserialize()
/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()

12345678910>>...14