/external/antlr/runtime/C/src/ |
D | antlr3lexer.c | 55 static ANTLR3_MARKER getCharIndex (pANTLR3_LEXER lexer); 142 lexer->getCharIndex = getCharIndex; in antlr3LexerNew() 263 teof->setStartIndex (teof, lexer->getCharIndex(lexer)); in nextTokenStr() 264 teof->setStopIndex (teof, lexer->getCharIndex(lexer)); in nextTokenStr() 661 token->stop = lexer->getCharIndex(lexer) - 1; in emit() 873 static ANTLR3_MARKER getCharIndex (pANTLR3_LEXER lexer) in getCharIndex() function 889 lexer->getCharIndex(lexer) - lexer->input->charByteSize in getText()
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
D | Lexer.java | 169 …t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharIndex()-1); in emit() 241 public int getCharIndex() { in getCharIndex() method in Lexer 252 return input.substring(state.tokenStartCharIndex,getCharIndex()-1); in getText()
|
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/ |
D | Lexer.js | 112 …input, this.state.type, this.state.channel, this.state.tokenStartCharIndex, this.getCharIndex()-1); 184 getCharIndex: function() { 195 return this.input.substring(this.state.tokenStartCharIndex,this.getCharIndex()-1);
|
/external/antlr/runtime/C/include/ |
D | antlr3lexer.h | 174 ANTLR3_MARKER (*getCharIndex) (struct ANTLR3_LEXER_struct * lexer); member
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3lexer.hpp | 222 ANTLR_MARKER getCharIndex();
|
D | antlr3lexer.inl | 207 token->set_stopIndex( this->getCharIndex() - 1 ); 358 ANTLR_MARKER Lexer<ImplTraits>::getCharIndex() function in Lexer 379 this->getCharIndex() - this->get_input()->get_charByteSize()
|
D | antlr3tokenstream.inl | 92 teof.set_startIndex(lexer->getCharIndex()); 93 teof.set_stopIndex(lexer->getCharIndex()); 177 teof.set_startIndex(lexer->getCharIndex()); 178 teof.set_stopIndex(lexer->getCharIndex());
|
/external/antlr/runtime/Python/antlr3/ |
D | recognizers.py | 1178 stop=self.getCharIndex()-1 1238 def getCharIndex(self): member in Lexer 1254 self.getCharIndex()-1
|
/external/antlr/runtime/Python3/antlr3/ |
D | recognizers.py | 1153 stop=self.getCharIndex()-1 1213 def getCharIndex(self): member in Lexer 1229 self.getCharIndex()-1
|
/external/icu/icu4c/source/i18n/ |
D | collationfastlatin.h | 191 static inline int32_t getCharIndex(UChar c) { in getCharIndex() function
|
D | collationfastlatinbuilder.cpp | 364 int32_t x = CollationFastLatin::getCharIndex(suffix.charAt(0)); in getCEsFromContractionCE32()
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | JavaScript.stg | 713 var <label>Start = this.getCharIndex(); 715 ….INVALID_TOKEN_TYPE, org.antlr.runtime.Token.DEFAULT_CHANNEL, <label>Start, this.getCharIndex()-1); 766 var <label>Start<elementIndex> = this.getCharIndex(); 768 …_TYPE, org.antlr.runtime.Token.DEFAULT_CHANNEL, <label>Start<elementIndex>, this.getCharIndex()-1); 783 var <label>Start<elementIndex> = this.getCharIndex(); 785 …s.EOF, org.antlr.runtime.Token.DEFAULT_CHANNEL, <label>Start<elementIndex>, this.getCharIndex()-1); 1300 lexerRulePropertyRef_stop(scope,attr) ::= "(this.getCharIndex()-1)"
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | Perl5.stg | 735 int <label>Start = getCharIndex(); 737 …ommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <label>Start, getCharIndex()-1); 796 int <label>Start<elementIndex> = getCharIndex(); 798 …ut, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <label>Start<elementIndex>, getCharIndex()-1); 813 int <label>Start<elementIndex> = getCharIndex(); 815 …= new CommonToken(input, EOF, Token.DEFAULT_CHANNEL, <label>Start<elementIndex>, getCharIndex()-1); 1338 lexerRulePropertyRef_stop(scope,attr) ::= "(getCharIndex()-1)"
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | Python3.stg | 847 <label>Start = self.getCharIndex() 851 …, type=INVALID_TOKEN_TYPE, channel=DEFAULT_CHANNEL, start=<label>Start, stop=self.getCharIndex()-1) 909 <label>Start<elementIndex> = self.getCharIndex() 918 stop=self.getCharIndex()-1) 935 <label>Start<elementIndex> = self.getCharIndex() 939 …t, type=EOF, channel=DEFAULT_CHANNEL, start=<label>Start<elementIndex>, stop=self.getCharIndex()-1) 1460 lexerRulePropertyRef_stop(scope,attr) ::= "(self.getCharIndex()-1)"
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
D | Scala.stg | 740 val <label>Start = getCharIndex() 745 …<labelType>(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <label>Start, getCharIndex()-1) 808 val <label>Start<elementIndex> = getCharIndex() 813 …put, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <label>Start<elementIndex>, getCharIndex()-1) 831 val <label>Start<elementIndex> = getCharIndex() 836 … = new <labelType>(input, EOF, Token.DEFAULT_CHANNEL, <label>Start<elementIndex>, getCharIndex()-1) 1354 lexerRulePropertyRef_stop(scope,attr) ::= "(getCharIndex()-1)"
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | Java.stg | 773 int <label>Start = getCharIndex(); 777 …labelType>(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <label>Start, getCharIndex()-1); 837 int <label>Start<elementIndex> = getCharIndex(); 841 …ut, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <label>Start<elementIndex>, getCharIndex()-1); 858 int <label>Start<elementIndex> = getCharIndex(); 862 …= new <labelType>(input, EOF, Token.DEFAULT_CHANNEL, <label>Start<elementIndex>, getCharIndex()-1); 1423 lexerRulePropertyRef_stop(scope,attr) ::= "(getCharIndex()-1)"
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | Python.stg | 840 <label>Start = self.getCharIndex() 844 …, type=INVALID_TOKEN_TYPE, channel=DEFAULT_CHANNEL, start=<label>Start, stop=self.getCharIndex()-1) 902 <label>Start<elementIndex> = self.getCharIndex() 911 stop=self.getCharIndex()-1) 928 <label>Start<elementIndex> = self.getCharIndex() 932 …t, type=EOF, channel=DEFAULT_CHANNEL, start=<label>Start<elementIndex>, stop=self.getCharIndex()-1) 1442 lexerRulePropertyRef_stop(scope,attr) ::= "(self.getCharIndex()-1)"
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/ |
D | Cpp.stg | 763 teof.set_startIndex(lexer->getCharIndex()); 764 teof.set_stopIndex(lexer->getCharIndex()); 1687 ANTLR_MARKER <label>Start = this->getCharIndex(); 1695 <label>->set_stopIndex( this->getCharIndex()-1); 1760 ANTLR_MARKER <label>Start<elementIndex> = this->getCharIndex(); 1768 <label>->set_stopIndex( this->getCharIndex()-1 ); 1793 <label>Start<elementIndex> = this->getCharIndex(); 1799 <label>->set_stopIndex(this->getCharIndex()-1); 2543 lexerRulePropertyRef_stop(scope,attr) ::= "(this->getCharIndex()-1)"
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationFastLatinBuilder.java | 347 int x = CollationFastLatin.getCharIndex(suffix.charAt(0)); in getCEsFromContractionCE32()
|
D | CollationFastLatin.java | 187 static int getCharIndex(char c) { in getCharIndex() method in CollationFastLatin
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationFastLatinBuilder.java | 346 int x = CollationFastLatin.getCharIndex(suffix.charAt(0)); in getCEsFromContractionCE32()
|
D | CollationFastLatin.java | 183 static int getCharIndex(char c) { in getCharIndex() method in CollationFastLatin
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | C.stg | 242 #define GETCHARINDEX() LEXER->getCharIndex(LEXER) 1127 teof->setStartIndex (teof, lexer->getCharIndex(lexer)); 1128 teof->setStopIndex (teof, lexer->getCharIndex(lexer)); 3194 lexerRulePropertyRef_stop(scope,attr) ::= "(LEXER->getCharIndex(LEXER)-1)"
|