Home
last modified time | relevance | path

Searched refs:tstream (Results 1 – 18 of 18) sorted by relevance

/external/antlr/runtime/C/src/
Dantlr3tokenstream.c126 if (stream->tstream->super == stream) in antlr3CTSFree()
128 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()
133 stream->tstream->free(stream->tstream); in antlr3CTSFree()
216 stream->tstream->debugger = debugger; in antlr3CommonTokenDebugStreamSourceNew()
220 stream->tstream->initialStreamState = ANTLR3_FALSE; in antlr3CommonTokenDebugStreamSourceNew()
222 stream->tstream->_LT = dbgTokLT; in antlr3CommonTokenDebugStreamSourceNew()
224 stream->tstream->istream->consume = dbgConsume; in antlr3CommonTokenDebugStreamSourceNew()
225 stream->tstream->istream->_LA = dbgLA; in antlr3CommonTokenDebugStreamSourceNew()
[all …]
Dantlr3parser.c44 antlr3ParserNewStreamDbg (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_DEBUG_EVEN… in antlr3ParserNewStreamDbg() argument
48 parser = antlr3ParserNewStream(sizeHint, tstream, state); in antlr3ParserNewStreamDbg()
102 antlr3ParserNewStream (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_RECOGNIZER_SHA… in antlr3ParserNewStream() argument
116 parser->setTokenStream(parser, tstream); in antlr3ParserNewStream()
162 if (parser->tstream != NULL) in setDebugListener()
164 parser->tstream->setDebugListener(parser->tstream, dbg); in setDebugListener()
169 setTokenStream (pANTLR3_PARSER parser, pANTLR3_TOKEN_STREAM tstream) in setTokenStream() argument
171 parser->tstream = tstream; in setTokenStream()
178 return parser->tstream; in getTokenStream()
Dantlr3baserecognizer.c302 cts = (pANTLR3_COMMON_TOKEN_STREAM)(parser->tstream->super); in antlr3RecognitionExceptionNew()
303 is = parser->tstream->istream; in antlr3RecognitionExceptionNew()
347 ex->token = cts->tstream->_LT (cts->tstream, 1); /* Current input token */ in antlr3RecognitionExceptionNew()
350 ex->index = cts->tstream->istream->index (cts->tstream->istream); in antlr3RecognitionExceptionNew()
429 is = parser->tstream->istream; in match()
501 is = parser->tstream->istream; in matchAny()
659 is = parser->tstream->istream; in mismatch()
1064 is = parser->tstream->istream; in displayRecognitionError()
1335 is = parser->tstream->istream; in recover()
1447 is = parser->tstream->istream; in recoverFromMismatchedToken()
[all …]
/external/antlr/runtime/Cpp/tests/
Dt051.cpp40 t051lexerTraits::TokenStreamType* tstream; in parseFile() local
64 tstream = new t051lexerTraits::TokenStreamType(ANTLR_SIZE_HINT, lxr->get_tokSource()); in parseFile()
71 T = tstream->_LA(1); in parseFile()
72 t051lexerTraits::CommonTokenType const* token = tstream->_LT(1); in parseFile()
76 tstream->_LT(1)->getText().c_str() in parseFile()
78 tstream->consume(); in parseFile()
82 tstream->_LT(1); // Don't do this mormally, just causes lexer to run for timings here in parseFile()
84 delete tstream; in parseFile()
Dt003.cpp83 …t003lexerTraits::TokenStreamType *tstream = new t003lexerTraits::TokenStreamType(ANTLR_SIZE_HINT, … in testIteratorInterface() local
84 t003lexerTraits::CommonTokenType const *token0 = tstream->_LT(1); in testIteratorInterface()
85 t003lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface()
86 t003lexerTraits::CommonTokenType const *token2 = tstream->_LT(3); in testIteratorInterface()
87 t003lexerTraits::CommonTokenType const *token3 = tstream->_LT(4); in testIteratorInterface()
94 delete tstream; in testIteratorInterface()
Dt002.cpp73 …t002lexerTraits::TokenStreamType *tstream = new t002lexerTraits::TokenStreamType(ANTLR_SIZE_HINT, … in testIteratorInterface() local
74 t002lexerTraits::CommonTokenType const *token0 = tstream->_LT(1); in testIteratorInterface()
75 t002lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface()
76 t002lexerTraits::CommonTokenType const *token2 = tstream->_LT(3); in testIteratorInterface()
82 delete tstream; in testIteratorInterface()
Dt001.cpp64 …t001lexerTraits::TokenStreamType *tstream = new t001lexerTraits::TokenStreamType(ANTLR_SIZE_HINT, … in testIteratorInterface() local
65 t001lexerTraits::CommonTokenType const *token0 = tstream->_LT(1); in testIteratorInterface()
66 t001lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface()
71 delete tstream; in testIteratorInterface()
Dt039.cpp75 …t039labelsLexerTraits::TokenStreamType *tstream = new t039labelsLexerTraits::TokenStreamType(ANTLR… in testValid() local
76 t039labelsParser *psr = new t039labelsParser(tstream); in testValid()
/external/antlr/runtime/Cpp/include/
Dantlr3parser.hpp74 Parser( ANTLR_UINT32 sizeHint, TokenStreamType* tstream, RecognizerSharedStateType* state );
75 Parser( ANTLR_UINT32 sizeHint, TokenStreamType* tstream, DebugEventListenerType* dbg,
Dantlr3parser.inl11 Parser<ImplTraits>::Parser( ANTLR_UINT32 sizeHint, TokenStreamType* tstream, argument
15 this->setTokenStream( tstream );
19 Parser<ImplTraits>::Parser( ANTLR_UINT32 sizeHint, TokenStreamType* tstream, argument
24 this->setTokenStream( tstream );
166 ANTLR_INLINE void Parser<ImplTraits>::setTokenStream(TokenStreamType* tstream) argument
168 m_tstream = tstream;
/external/antlr/runtime/C/include/
Dantlr3parser.h64 pANTLR3_TOKEN_STREAM tstream; member
Dantlr3tokenstream.h198 pANTLR3_TOKEN_STREAM tstream; member
Dantlr3defs.h576 …reamDbg (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_DEBUG_EV…
577 …ream (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_RECOGNIZ…
/external/antlr/runtime/C/doxygen/
Dbuildrec.dox115 /// pANTLR3_COMMON_TOKEN_STREAM tstream;
197 /// tstream = antlr3CommonTokenStreamSourceNew(ANTLR3_SIZE_HINT, lxr->pLexer->tokSource);
199 /// if (tstream == NULL)
207 /// psr = LangParserNew(tstream); // CParserNew is generated by ANTLR3
262 /// tstream ->free (tstream); tstream = NULL;
Dchanges31.dox53 /// tstream = antlr3CommonTokenStreamSourceNew(ANTLR3_SIZE_HINT, TOKENSOURCE(lxr));
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DAST.stg44 ADAPTOR = ANTLR3_TREE_ADAPTORNew(instream->tstream->tokenSource->strFactory);<\n>
DC.stg373 #define INPUT PARSER->tstream
1292 ctx->pParser = antlr3ParserNewStream(ANTLR3_SIZE_HINT, instream->tstream, state);
/external/deqp/external/vulkancts/framework/vulkan/
DvkStrUtilImpl.inl10586 s << "\tstream = " << value.stream << '\n';