Home
last modified time | relevance | path

Searched refs:msgID (Results 1 – 12 of 12) sorted by relevance

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DErrorManager.java514 public static ST getMessage(int msgID) { in getMessage() argument
515 String msgName = idToMessageTemplateName[msgID]; in getMessage()
518 public static String getMessageType(int msgID) { in getMessageType() argument
519 if (getErrorState().warningMsgIDs.member(msgID)) { in getMessageType()
522 else if (getErrorState().errorMsgIDs.member(msgID)) { in getMessageType()
525 …assertTrue(false, "Assertion failed! Message ID " + msgID + " created but is not present in errorM… in getMessageType()
579 public static void error(int msgID) { in error() argument
581 getErrorState().errorMsgIDs.add(msgID); in error()
582 getErrorListener().error(new ToolMessage(msgID)); in error()
585 public static void error(int msgID, Throwable e) { in error() argument
[all …]
DToolMessage.java44 public ToolMessage(int msgID) { in ToolMessage() argument
45 super(msgID, null, null); in ToolMessage()
47 public ToolMessage(int msgID, Object arg) { in ToolMessage() argument
48 super(msgID, arg, null); in ToolMessage()
50 public ToolMessage(int msgID, Throwable e) { in ToolMessage() argument
51 super(msgID); in ToolMessage()
54 public ToolMessage(int msgID, Object arg, Object arg2) { in ToolMessage() argument
55 super(msgID, arg, arg2); in ToolMessage()
57 public ToolMessage(int msgID, Object arg, Throwable e) { in ToolMessage() argument
58 super(msgID,arg,null); in ToolMessage()
DMessage.java49 public int msgID; field in Message
61 public Message(int msgID) { in Message() argument
62 this(msgID, null, null); in Message()
65 public Message(int msgID, Object arg, Object arg2) { in Message() argument
66 setMessageID(msgID); in Message()
79 public void setMessageID(int msgID) { in setMessageID() argument
80 this.msgID = msgID; in setMessageID()
81 msgST = ErrorManager.getMessage(msgID); in setMessageID()
113 messageFormatST.add("id", msgID); in toString()
120 reportST.add("type", ErrorManager.getMessageType(msgID)); in toString()
DNameSpaceChecker.java99 int msgID = 0; in checkForRuleDefinitionProblems() local
103 msgID = ErrorManager.MSG_LEXER_RULES_NOT_ALLOWED; in checkForRuleDefinitionProblems()
109 msgID = ErrorManager.MSG_PARSER_RULES_NOT_ALLOWED; in checkForRuleDefinitionProblems()
112 msgID = ErrorManager.MSG_SYMBOL_CONFLICTS_WITH_GLOBAL_SCOPE; in checkForRuleDefinitionProblems()
114 if ( msgID!=0 ) { in checkForRuleDefinitionProblems()
115 ErrorManager.grammarError(msgID, grammar, ruleToken, ruleName); in checkForRuleDefinitionProblems()
198 int msgID = 0; in checkForRuleScopeAttributeConflict() local
202 msgID = ErrorManager.MSG_ATTRIBUTE_CONFLICTS_WITH_RULE; in checkForRuleScopeAttributeConflict()
208 msgID = ErrorManager.MSG_ATTRIBUTE_CONFLICTS_WITH_RULE_ARG_RETVAL; in checkForRuleScopeAttributeConflict()
211 if ( msgID!=0 ) { in checkForRuleScopeAttributeConflict()
[all …]
DGrammarSemanticsMessage.java43 public GrammarSemanticsMessage(int msgID, in GrammarSemanticsMessage() argument
47 this(msgID,g,offendingToken,null,null); in GrammarSemanticsMessage()
50 public GrammarSemanticsMessage(int msgID, in GrammarSemanticsMessage() argument
55 this(msgID,g,offendingToken,arg,null); in GrammarSemanticsMessage()
58 public GrammarSemanticsMessage(int msgID, in GrammarSemanticsMessage() argument
64 super(msgID,arg,arg2); in GrammarSemanticsMessage()
DGrammarSyntaxMessage.java43 public GrammarSyntaxMessage(int msgID, in GrammarSyntaxMessage() argument
48 this(msgID,grammar,offendingToken,null,exception); in GrammarSyntaxMessage()
51 public GrammarSyntaxMessage(int msgID, in GrammarSyntaxMessage() argument
57 super(msgID, arg, null); in GrammarSyntaxMessage()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DBaseTest.java444 if (m.msgID==expectedMessage.msgID ) { in checkGrammarSemanticsError()
448 assertNotNull("no error; "+expectedMessage.msgID+" expected", foundMsg); in checkGrammarSemanticsError()
464 if (m.msgID==expectedMessage.msgID ) { in checkGrammarSemanticsWarning()
468 assertNotNull("no error; "+expectedMessage.msgID+" expected", foundMsg); in checkGrammarSemanticsWarning()
482 if (m.msgID==expectedMessage.msgID ) { in checkError()
486 assertTrue("no error; "+expectedMessage.msgID+" expected", equeue.errors.size()>0); in checkError()
488 assertNotNull("couldn't find expected error: "+expectedMessage.msgID, foundMsg); in checkError()
DTestTemplates.java357 if (m.msgID==expectedMessage.msgID ) { in checkError()
361 assertTrue("no error; "+expectedMessage.msgID+" expected", equeue.errors.size()>0); in checkError()
363 assertTrue("couldn't find expected error: "+expectedMessage.msgID, foundMsg!=null); in checkError()
DTestAttributes.java3082 if (m.msgID==expectedMessage.msgID ) { in checkError()
3086 assertTrue("no error; "+expectedMessage.msgID+" expected", equeue.errors.size() > 0); in checkError()
3087 assertNotNull("couldn't find expected error: "+expectedMessage.msgID+" in "+equeue, foundMsg); in checkError()
3105 if (m.msgID==em.msgID && m.arg.equals(em.arg) && m.arg2.equals(em.arg2)) { in checkErrors()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.util_1.0.200.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/mdnsresponder/mDNSShared/
Ddnsextd.c1896 mDNSOpaque16 msgID; in SendEvents() local
1901 msgID.NotAnInteger = random(); in SendEvents()
1903 InitializeDNSMessage(&response.msg.h, msgID, ResponseFlags); in SendEvents()
2119 mDNSlocal void LLQRefresh(DaemonInfo *d, LLQEntry *e, LLQOptData *llq, mDNSOpaque16 msgID, TCPSocke… in LLQRefresh() argument
2139 InitializeDNSMessage(&ack.msg.h, msgID, ResponseFlags); in LLQRefresh()
2155 mDNSlocal void LLQCompleteHandshake(DaemonInfo *d, LLQEntry *e, LLQOptData *llq, mDNSOpaque16 msgID in LLQCompleteHandshake() argument
2182 InitializeDNSMessage(&ack.msg.h, msgID, ResponseFlags); in LLQCompleteHandshake()
2205 mDNSlocal void LLQSetupChallenge(DaemonInfo *d, LLQEntry *e, LLQOptData *llq, mDNSOpaque16 msgID) in LLQSetupChallenge() argument
2228 InitializeDNSMessage(&challenge.msg.h, msgID, ResponseFlags); in LLQSetupChallenge()
2240 mDNSlocal void UpdateLLQ(DaemonInfo *d, LLQEntry *e, LLQOptData *llq, mDNSOpaque16 msgID, TCPSocket… in UpdateLLQ() argument
[all …]
/external/antlr/antlr-3.4/lib/
Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/ ...