/external/srec/srec/EventLog/include/ |
D | SR_EventLog.h | 57 #define SR_EventLogToken_BASIC(log, loglevel, tokenName, value) \ argument 59 log->token(log, tokenName, value) : ESR_SUCCESS ) \ 64 #define SR_EventLogTokenInt_BASIC(log, loglevel, tokenName, value) \ argument 66 log->tokenInt(log, tokenName, value) : ESR_SUCCESS ) \ 71 #define SR_EventLogTokenUint16_t_BASIC(log, loglevel, tokenName, value) \ argument 73 log->tokenUint16_t(log, tokenName, value) : ESR_SUCCESS ) \ 78 #define SR_EventLogTokenSize_t_BASIC(log, loglevel, tokenName, value) \ argument 80 log->tokenSize_t(log, tokenName, value) : ESR_SUCCESS ) \ 85 #define SR_EventLogTokenBool_BASIC(log, loglevel, tokenName, value) \ argument 87 log->tokenBool(log, tokenName, value) : ESR_SUCCESS ) \ [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | BaseRecognizer.java | 223 String tokenName="<unknown>"; in getErrorMessage() local 225 tokenName = "EOF"; in getErrorMessage() 228 tokenName = tokenNames[ute.expecting]; in getErrorMessage() 231 " expecting "+tokenName; in getErrorMessage() 235 String tokenName="<unknown>"; in getErrorMessage() local 237 tokenName = "EOF"; in getErrorMessage() 240 tokenName = tokenNames[mte.expecting]; in getErrorMessage() 242 msg = "missing "+tokenName+" at "+getTokenErrorDisplay(e.token); in getErrorMessage() 246 String tokenName="<unknown>"; in getErrorMessage() local 248 tokenName = "EOF"; in getErrorMessage() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | BaseRecognizer.cs | 254 string tokenName = "<unknown>"; in GetErrorMessage() 256 tokenName = "EndOfFile"; in GetErrorMessage() 258 tokenName = tokenNames[ute.Expecting]; in GetErrorMessage() 261 " expecting " + tokenName; in GetErrorMessage() 264 string tokenName = "<unknown>"; in GetErrorMessage() 266 tokenName = "EndOfFile"; in GetErrorMessage() 268 tokenName = tokenNames[mte.Expecting]; in GetErrorMessage() 270 msg = "missing " + tokenName + " at " + GetTokenErrorDisplay(e.Token); in GetErrorMessage() 273 string tokenName = "<unknown>"; in GetErrorMessage() 275 tokenName = "EndOfFile"; in GetErrorMessage() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | BaseRecognizer.cs | 279 string tokenName = "<unknown>"; in GetErrorMessage() 282 tokenName = "EndOfFile"; in GetErrorMessage() 286 tokenName = tokenNames[ute.Expecting]; in GetErrorMessage() 289 " expecting " + tokenName; in GetErrorMessage() 294 string tokenName = "<unknown>"; in GetErrorMessage() 297 tokenName = "EndOfFile"; in GetErrorMessage() 301 tokenName = tokenNames[mte.Expecting]; in GetErrorMessage() 303 msg = "missing " + tokenName + " at " + GetTokenErrorDisplay( e.Token ); in GetErrorMessage() 308 string tokenName = "<unknown>"; in GetErrorMessage() 311 tokenName = "EndOfFile"; in GetErrorMessage() [all …]
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | BaseRecognizer.js | 295 tokenName; 298 tokenName="<unknown>"; 300 tokenName = "EOF"; 302 tokenName = tokenNames[ute.expecting]; 305 " expecting "+tokenName; 309 tokenName="<unknown>"; 311 tokenName = "EOF"; 313 tokenName = tokenNames[mte.expecting]; 315 msg = "missing "+tokenName+" at "+this.getTokenErrorDisplay(e.token); 319 tokenName="<unknown>"; [all …]
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | GrammarNonDeterminismMessage.java | 78 String tokenName = in toString() local 82 probe.dfa.nfa.grammar.getRuleStartState(tokenName); in toString() 85 st.add("disabled", tokenName); in toString() 114 String tokenName = in toString() local 116 st.add("conflictingTokens", tokenName); in toString()
|
D | GrammarUnreachableAltsMessage.java | 70 String tokenName = in toString() local 74 probe.dfa.nfa.grammar.getRuleStartState(tokenName); in toString() 77 st.add("tokens", tokenName); in toString()
|
D | Interp.java | 117 String tokenName = tk.nextToken(); in main() local 118 tokens.setTokenTypeChannel(lexer.getTokenType(tokenName), 99); in main()
|
D | Grammar.java | 2077 public int getTokenType(String tokenName) { in getTokenType() argument 2079 if ( tokenName.charAt(0)=='\'') { in getTokenType() 2080 I = (Integer)composite.stringLiteralToTypeMap.get(tokenName); in getTokenType() 2083 I = (Integer)composite.tokenIDToTypeMap.get(tokenName); in getTokenType() 2413 String tokenName = null; in getTokenDisplayName() local 2423 tokenName = (String)composite.typeToTokenList.get(Label.NUM_FAUX_LABELS+ttype); in getTokenDisplayName() 2431 tokenName = (String)composite.typeToTokenList.get(index); in getTokenDisplayName() 2432 if ( tokenName!=null && in getTokenDisplayName() 2433 tokenName.startsWith(AUTO_GENERATED_TOKEN_NAME_PREFIX) ) in getTokenDisplayName() 2435 tokenName = composite.typeToStringLiteralList.get(ttype); in getTokenDisplayName() [all …]
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | recognizers.py | 322 tokenName = "<unknown>" 324 tokenName = "EOF" 327 tokenName = self.tokenNames[e.expecting] 331 tokenName 335 tokenName = "<unknown>" 337 tokenName = "EOF" 340 tokenName = self.tokenNames[e.expecting] 343 tokenName, self.getTokenErrorDisplay(e.token) 347 tokenName = "<unknown>" 349 tokenName = "EOF" [all …]
|
D | treewizard.py | 242 tokenName = self.tokenizer.sval 245 if tokenName == "nil": 248 text = tokenName 257 treeNodeType = self.wizard.getTokenType(tokenName) 339 def getTokenType(self, tokenName): argument 343 return self.tokenNameToTypeMap[tokenName]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | TreePatternParser.cs | 126 string tokenName = tokenizer.sval.ToString(); in ParseNode() 128 if (tokenName.Equals("nil")) { in ParseNode() 131 string text = tokenName; in ParseNode() 141 int treeNodeType = wizard.GetTokenType(tokenName); in ParseNode()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | TreePatternParser.cs | 148 string tokenName = tokenizer.sval.ToString(); in ParseNode() 150 if ( tokenName.Equals( "nil" ) ) in ParseNode() 154 string text = tokenName; in ParseNode() 165 int treeNodeType = wizard.GetTokenType( tokenName ); in ParseNode()
|
D | TreeWizard.cs | 217 public virtual int GetTokenType( string tokenName ) in GetTokenType() argument 225 if ( tokenNameToTypeMap.TryGetValue( tokenName, out value ) ) in GetTokenType()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | TreePatternParser.java | 125 String tokenName = tokenizer.sval.toString(); in parseNode() local 127 if ( tokenName.equals("nil") ) { in parseNode() 130 String text = tokenName; in parseNode() 140 int treeNodeType = wizard.getTokenType(tokenName); in parseNode()
|
D | TreeWizard.java | 156 public int getTokenType(String tokenName) { in getTokenType() argument 160 Integer ttypeI = (Integer)tokenNameToTypeMap.get(tokenName); in getTokenType()
|
/external/smali/smali/src/test/java/ |
D | LexerTest.java | 182 if (!tokenTypesByName.containsKey(expectedToken.tokenName)) { in runTest() 183 Assert.fail("Unknown token: " + expectedToken.tokenName); in runTest() 185 int expectedTokenType = tokenTypesByName.get(expectedToken.tokenName); in runTest() 189 … expectedTokenIndex-1, expectedToken.tokenName, getTokenName(token.getType()), token.getText())); in runTest()
|
/external/smali/smali/src/test/antlr3/org/jf/smali/ |
D | expectedTokensTestGrammar.g | 84 public final String tokenName; 87 public ExpectedToken(String tokenName, String tokenText) { 88 this.tokenName = tokenName; 92 public ExpectedToken(String tokenName) { 93 this.tokenName = tokenName;
|
/external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/ |
D | json_reader.cpp | 482 Token tokenName; in readObject() local 485 while ( readToken( tokenName ) ) in readObject() 488 while ( tokenName.type_ == tokenComment && initialTokenOk ) in readObject() 489 initialTokenOk = readToken( tokenName ); in readObject() 492 if ( tokenName.type_ == tokenObjectEnd && name.empty() ) // empty object in readObject() 494 if ( tokenName.type_ != tokenString ) in readObject() 498 if ( !decodeString( tokenName, name ) ) in readObject() 533 tokenName, in readObject()
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRTreePatternParser.m | 164 NSString *tokenName = [tokenizer toString]; 166 if ( [tokenName isEqualToString:@"nil"] ) { 169 NSString *text = tokenName; 179 int treeNodeType = [wizard getTokenType:tokenName];
|
D | ANTLRBaseRecognizer.m | 355 NSString *tokenName=@"<unknown>"; 357 tokenName = @"EOF"; 360 tokenName = (NSString *)[theTokNams objectAtIndex:ute.expecting]; 363 tokenName]; 367 NSString *tokenName=@"<unknown>"; 369 tokenName = @"EOF"; 372 tokenName = [theTokNams objectAtIndex:mte.expecting]; 374 …msg = [NSString stringWithFormat:@"missing %@ at %@", tokenName, [self getTokenErrorDisplay:(e.tok… 378 NSString *tokenName=@"<unknown>"; 380 tokenName = @"EOF"; [all …]
|
/external/srec/srec/Nametag/src/ |
D | NametagsImpl.c | 90 LCHAR tokenName[TOKEN_LENGTH]; in SR_NametagsLoadImpl() local 172 psprintf(tokenName, L("nametag[%s]"), id); in SR_NametagsLoadImpl() 173 CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, tokenName, value)); in SR_NametagsLoadImpl() 209 LCHAR tokenName[TOKEN_LENGTH]; in SR_NametagsSaveImpl() local 260 psprintf(tokenName, L("nametag[%s]"), id); in SR_NametagsSaveImpl() 261 CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, tokenName, nametag->value)); in SR_NametagsSaveImpl()
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | BaseRecognizer.as | 199 var tokenName:String = null; 202 tokenName="<unknown>"; 204 tokenName = "EOF"; 207 tokenName = tokenNames[ute.expecting]; 210 " expecting "+tokenName; 214 tokenName="<unknown>"; 216 tokenName = "EOF"; 219 tokenName = tokenNames[mite.expecting]; 221 msg = "missing "+tokenName+" at "+getTokenErrorDisplay(e.token); 225 tokenName="<unknown>"; [all …]
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestSymbolDefinitions.java | 886 String tokenName = st.nextToken(); in checkSymbols() local 887 assertTrue("token "+tokenName+" expected", in checkSymbols() 888 g.getTokenType(tokenName)!=Label.INVALID); in checkSymbols() 889 tokens.remove(tokenName); in checkSymbols() 893 String tokenName = (String) iter.next(); in checkSymbols() local 894 assertTrue("unexpected token name "+tokenName, in checkSymbols() 895 g.getTokenType(tokenName)<Label.MIN_TOKEN_TYPE); in checkSymbols()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
D | CodeGenerator.java | 829 String tokenName = grammar.getTokenDisplayName(t); in genTokenTypeNames() local 830 if ( tokenName!=null ) { in genTokenTypeNames() 831 tokenName=target.getTargetStringLiteralFromString(tokenName, true); in genTokenTypeNames() 832 code.add("tokenNames", tokenName); in genTokenTypeNames()
|