Home
last modified time | relevance | path

Searched refs:ANTLR_UINT8 (Results 1 – 25 of 44) sorted by relevance

12

/external/antlr/runtime/Cpp/include/
Dantlr3rewritestreams.hpp105 RewriteRuleElementStream(TreeAdaptorType* adaptor, RecognizerType* rec, ANTLR_UINT8* description);
106 …RewriteRuleElementStream(TreeAdaptorType* adaptor, RecognizerType* rec, ANTLR_UINT8* description, …
107 …RewriteRuleElementStream(TreeAdaptorType* adaptor, RecognizerType* rec, ANTLR_UINT8* description, …
164 void init(TreeAdaptorType* adaptor, RecognizerType* rec, ANTLR_UINT8* description);
185 RewriteRuleTokenStream(TreeAdaptorType* adaptor, RecognizerType* rec, ANTLR_UINT8* description);
186 …RewriteRuleTokenStream(TreeAdaptorType* adaptor, RecognizerType* rec, ANTLR_UINT8* description, To…
187 …RewriteRuleTokenStream(TreeAdaptorType* adaptor, RecognizerType* rec, ANTLR_UINT8* description, co…
212 RewriteRuleSubtreeStream(TreeAdaptorType* adaptor, RecognizerType* rec, ANTLR_UINT8* description);
213 …RewriteRuleSubtreeStream(TreeAdaptorType* adaptor, RecognizerType* rec, ANTLR_UINT8* description, …
214 …RewriteRuleSubtreeStream(TreeAdaptorType* adaptor, RecognizerType* rec, ANTLR_UINT8* description, …
[all …]
Dantlr3input.hpp125 ANTLR_UINT8 m_charByteSize;
138 InputStream(const ANTLR_UINT8* fileName, ANTLR_UINT32 encoding);
139 InputStream(const ANTLR_UINT8* data, ANTLR_UINT32 encoding, ANTLR_UINT32 size, ANTLR_UINT8* name);
153 ANTLR_UINT8 get_charByteSize() const;
168 void set_charByteSize( ANTLR_UINT8 charByteSize );
184 void reuse(ANTLR_UINT8* inString, ANTLR_UINT32 size, ANTLR_UINT8* name);
253 void createFileStream(const ANTLR_UINT8* fileName);
262 void createStringStream(const ANTLR_UINT8* data);
Dantlr3input.inl4 InputStream<ImplTraits>::InputStream(const ANTLR_UINT8* fileName, ANTLR_UINT32 encoding)
30 …utStream<ImplTraits>::InputStream(const ANTLR_UINT8* data, ANTLR_UINT32 encoding, ANTLR_UINT32 siz…
60 void InputStream<ImplTraits>::createStringStream(const ANTLR_UINT8* data)
80 void InputStream<ImplTraits>::createFileStream(const ANTLR_UINT8* fileName)
183 ANTLR_INLINE ANTLR_UINT8 InputStream<ImplTraits>::get_charByteSize() const
253 ANTLR_INLINE void InputStream<ImplTraits>::set_charByteSize( ANTLR_UINT8 charByteSize )
296 void InputStream<ImplTraits>::reuse(ANTLR_UINT8* inString, ANTLR_UINT32 size, ANTLR_UINT8* name)
454 if (*((ANTLR_UINT8*)(&bomTest)) == 0xFE)
498 if ( (ANTLR_UINT8)(*((ANTLR_UINT8*)m_nextChar)) == 0xFE
499 && (ANTLR_UINT8)(*((ANTLR_UINT8*)m_nextChar+1)) == 0xFF
[all …]
Dantlr3rewritestreams.inl5 RecognizerType* rec, ANTLR_UINT8* description)
12 RecognizerType* rec, ANTLR_UINT8* description, TokenType* oneElement)
21 RecognizerType* rec, ANTLR_UINT8* description, const ElementsType& elements)
29 RecognizerType* rec, ANTLR_UINT8* description)
40 RecognizerType* rec, ANTLR_UINT8* description)
47 ANTLR_UINT8* description, TokenType* oneElement)
54 RecognizerType* rec, ANTLR_UINT8* description, const ElementsType& elements)
61 RecognizerType* rec, ANTLR_UINT8* description)
68 ANTLR_UINT8* description, TokenType* oneElement)
75 RecognizerType* rec, ANTLR_UINT8* description, const ElementsType& elements)
[all …]
Dantlr3filestream.hpp49 static ANTLR_FDSC AntlrFopen(const ANTLR_UINT8* filename, const char * mode);
56 static ANTLR_UINT32 AntlrFsize(const ANTLR_UINT8* filename);
58 static ANTLR_UINT32 AntlrRead8Bit(InputStreamType* input, const ANTLR_UINT8* fileName);
Dantlr3commontreeadaptor.hpp72 …createTypeTokenText ( ANTLR_UINT32 tokenType, CommonTokenType* fromToken, const ANTLR_UINT8* text);
73 TreeType* createTypeText ( ANTLR_UINT32 tokenType, const ANTLR_UINT8* text);
88 CommonTokenType* createToken( ANTLR_UINT32 tokenType, const ANTLR_UINT8* text);
148 …TreeType* createTypeTokenText(ANTLR_UINT32 tokenType, CommonTokenType* fromToken, ANTLR_UINT8* tex…
149 TreeType* createTypeText( ANTLR_UINT32 tokenType, ANTLR_UINT8* text);
Dantlr3recognizersharedstate.hpp155 ANTLR_UINT8** m_tokenNames;
220 ANTLR_UINT8** get_tokenNames() const;
221 ANTLR_UINT8* get_tokenName( ANTLR_UINT32 i ) const;
242 void set_tokenNames( ANTLR_UINT8** tokenNames );
Dantlr3intstream.inl51 const ANTLR_UINT8* nextChar = input->get_nextChar();
52 const ANTLR_UINT8* data = input->get_data();
80 const ANTLR_UINT8* nextChar = input->get_nextChar();
81 const ANTLR_UINT8* data = input->get_data();
214 input->set_nextChar((ANTLR_UINT8*) seekPoint);
457 …while (--la > 0 && (ANTLR_UINT8*)nextChar < ((ANTLR_UINT8*)input->get_data()) + input->get_sizeB…
472 … if ((ANTLR_UINT8*)(nextChar) < (((ANTLR_UINT8*)input->get_data()) + input->get_sizeBuf() ))
504 while (la++ < 0 && (ANTLR_UINT8*)nextChar > (ANTLR_UINT8*)input->get_data() )
530 if ( (ANTLR_UINT8*)nextChar >= (((ANTLR_UINT8*)input->get_data()) + input->get_sizeBuf() ))
547 … if ((ANTLR_UINT8*)(nextChar) < (((ANTLR_UINT8*)input->get_data()) + input->get_sizeBuf()))
[all …]
Dantlr3filestream.inl4 ANTLR_FDSC FileUtils<ImplTraits>::AntlrFopen(const ANTLR_UINT8* filename, const char * mode)
16 ANTLR_UINT32 FileUtils<ImplTraits>::AntlrFsize(const ANTLR_UINT8* filename)
33 ANTLR_UINT32 FileUtils<ImplTraits>::AntlrRead8Bit(InputStreamType* input, const ANTLR_UINT8* fileNa…
Dantlr3defs.hpp163 typedef UINT8 ANTLR_UINT8; typedef
182 typedef uint8_t ANTLR_UINT8; typedef
266 typedef uint8_t ANTLR_UINT8; typedef
Dantlr3traits.hpp147 ANTLR_UINT8 >::selected StreamDataType;
297 …RewriteStreamType(TreeAdaptorType* adaptor = NULL, Recognizer_Type* rec=NULL, ANTLR_UINT8* descrip… in RewriteStreamType()
301 …RewriteStreamType(TreeAdaptorType* adaptor, Recognizer_Type* rec, ANTLR_UINT8* description, TokenT… in RewriteStreamType()
305 …RewriteStreamType(TreeAdaptorType* adaptor, Recognizer_Type* rec, ANTLR_UINT8* description, const … in RewriteStreamType()
/external/antlr/runtime/Cpp/tests/
Dt001.cpp29 …t001lexerTraits::InputStreamType* input = new t001lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
32 (ANTLR_UINT8*)"t001"); in testValid()
53 …t001lexerTraits::InputStreamType* input = new t001lexerTraits::InputStreamType((const ANTLR_UINT8 in testIteratorInterface()
56 (ANTLR_UINT8*)"t001"); in testIteratorInterface()
79 …t001lexerTraits::InputStreamType* input = new t001lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput()
82 (ANTLR_UINT8*)"t001"); in testMalformedInput()
Dt012.cpp34 …StreamType* input = new t012lexerXMLLexerTraits::InputStreamType((const ANTLR_UINT8 *)data.c_str(), in testValid()
37 (ANTLR_UINT8*)inFilename.c_str()); in testValid()
66 …StreamType* input = new t012lexerXMLLexerTraits::InputStreamType((const ANTLR_UINT8 *)data.c_str(), in testMalformedInput1()
69 (ANTLR_UINT8*)"t012"); in testMalformedInput1()
104 …StreamType* input = new t012lexerXMLLexerTraits::InputStreamType((const ANTLR_UINT8 *)data.c_str(), in testMalformedInput2()
107 (ANTLR_UINT8*)"t012"); in testMalformedInput2()
142 …StreamType* input = new t012lexerXMLLexerTraits::InputStreamType((const ANTLR_UINT8 *)data.c_str(), in testMalformedInput3()
145 (ANTLR_UINT8*)"t012"); in testMalformedInput3()
Dt002.cpp35 …t002lexerTraits::InputStreamType* input = new t002lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
38 (ANTLR_UINT8*)"t002"); in testValid()
62 …t002lexerTraits::InputStreamType* input = new t002lexerTraits::InputStreamType((const ANTLR_UINT8 in testIteratorInterface()
65 (ANTLR_UINT8*)"t002"); in testIteratorInterface()
90 …t002lexerTraits::InputStreamType* input = new t002lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput()
93 (ANTLR_UINT8*)"t002"); in testMalformedInput()
Dt005.cpp46 …t005lexerTraits::InputStreamType* input = new t005lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
49 (ANTLR_UINT8*)"t005"); in testValid()
86 …t005lexerTraits::InputStreamType* input = new t005lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput1()
89 (ANTLR_UINT8*)"t005"); in testMalformedInput1()
111 …t005lexerTraits::InputStreamType* input = new t005lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput2()
114 (ANTLR_UINT8*)"t005"); in testMalformedInput2()
Dt003.cpp45 …t003lexerTraits::InputStreamType* input = new t003lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
48 (ANTLR_UINT8*)"t003"); in testValid()
72 …t003lexerTraits::InputStreamType* input = new t003lexerTraits::InputStreamType((const ANTLR_UINT8 in testIteratorInterface()
75 (ANTLR_UINT8*)"t003"); in testIteratorInterface()
102 …t003lexerTraits::InputStreamType* input = new t003lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput()
105 (ANTLR_UINT8*)"t003"); in testMalformedInput()
Dt009.cpp44 …t009lexerTraits::InputStreamType* input = new t009lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
47 (ANTLR_UINT8*)"t009"); in testValid()
84 …t009lexerTraits::InputStreamType* input = new t009lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput()
87 (ANTLR_UINT8*)"t009"); in testMalformedInput()
Dt004.cpp43 …t004lexerTraits::InputStreamType* input = new t004lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
46 (ANTLR_UINT8*)"t004"); in testValid()
83 …t004lexerTraits::InputStreamType* input = new t004lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput()
86 (ANTLR_UINT8*)"t004"); in testMalformedInput()
Dt007.cpp43 …t007lexerTraits::InputStreamType* input = new t007lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
46 (ANTLR_UINT8*)"t007"); in testValid()
83 …t007lexerTraits::InputStreamType* input = new t007lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput()
86 (ANTLR_UINT8*)"t007"); in testMalformedInput()
Dt011.cpp46 …t011lexerTraits::InputStreamType* input = new t011lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
49 (ANTLR_UINT8*)"t011"); in testValid()
86 …t011lexerTraits::InputStreamType* input = new t011lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput()
89 (ANTLR_UINT8*)"t011"); in testMalformedInput()
Dt006.cpp43 …t006lexerTraits::InputStreamType* input = new t006lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
46 (ANTLR_UINT8*)"t006"); in testValid()
83 …t006lexerTraits::InputStreamType* input = new t006lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput()
86 (ANTLR_UINT8*)"t006"); in testMalformedInput()
Dt008.cpp44 …t008lexerTraits::InputStreamType* input = new t008lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
47 (ANTLR_UINT8*)"t008"); in testValid()
84 …t008lexerTraits::InputStreamType* input = new t008lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput()
87 (ANTLR_UINT8*)"t008"); in testMalformedInput()
Dt010.cpp46 …t010lexerTraits::InputStreamType* input = new t010lexerTraits::InputStreamType((const ANTLR_UINT8 in testValid()
49 (ANTLR_UINT8*)"t010"); in testValid()
86 …t010lexerTraits::InputStreamType* input = new t010lexerTraits::InputStreamType((const ANTLR_UINT8 in testMalformedInput()
89 (ANTLR_UINT8*)"t010"); in testMalformedInput()
Dt039.cpp64 …utStreamType* input = new t039labelsLexerTraits::InputStreamType((const ANTLR_UINT8 *)data.c_str(), in testValid()
67 (ANTLR_UINT8*)"t039"); in testValid()
Dt051.cpp44 input = new t051lexerTraits::InputStreamType((const ANTLR_UINT8 *)data.c_str(), in parseFile()
47 (ANTLR_UINT8*)fName); in parseFile()

12