Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3baserecognizer.c115 recognizer->state->errorRecovery = ANTLR3_FALSE; in antlr3BaseRecognizerNew()
117 recognizer->state->failed = ANTLR3_FALSE; in antlr3BaseRecognizerNew()
328 ANTLR3_FALSE); in antlr3RecognitionExceptionNew()
444 return ANTLR3_FALSE; in match()
458 recognizer->state->errorRecovery = ANTLR3_FALSE; // Not in error recovery now (if we were) in match()
459 recognizer->state->failed = ANTLR3_FALSE; // The match was a success in match()
520 recognizer->state->errorRecovery = ANTLR3_FALSE; in matchAny()
521 recognizer->state->failed = ANTLR3_FALSE; in matchAny()
545 return ANTLR3_FALSE; // Neither this token, nor the one following is the one we wanted in mismatchIsUnwantedToken()
565 return ANTLR3_FALSE; in mismatchIsMissingToken()
[all …]
Dantlr3filestream.c149 isBigEndian = ANTLR3_FALSE; in setupInputStream()
204 antlr3UTF16SetupStream(input, isBigEndian, ANTLR3_FALSE); in setupInputStream()
243 antlr3UTF32SetupStream(input, isBigEndian, ANTLR3_FALSE); in setupInputStream()
264 antlr3UTF16SetupStream(input, isBigEndian, ANTLR3_FALSE); in setupInputStream()
278 antlr3UTF32SetupStream(input, isBigEndian, ANTLR3_FALSE); in setupInputStream()
466 input->isAllocated = ANTLR3_FALSE; in antlr3CreateStringStream()
Dantlr3lexer.c237 state->error = ANTLR3_FALSE; // Start out without an exception in nextTokenStr()
238 state->failed = ANTLR3_FALSE; in nextTokenStr()
271 state->error = ANTLR3_FALSE; // Start out without an exception in nextTokenStr()
272 state->failed = ANTLR3_FALSE; in nextTokenStr()
736 return ANTLR3_FALSE; in matchs()
745 return ANTLR3_FALSE; in matchs()
755 lexer->rec->state->failed = ANTLR3_FALSE; in matchs()
780 lexer->rec->state->failed = ANTLR3_FALSE; in matchc()
790 return ANTLR3_FALSE; in matchc()
799 return ANTLR3_FALSE; in matchc()
[all …]
Dantlr3basetree.c242 tree->children->set(tree->children, i, child, NULL, ANTLR3_FALSE); in setChild()
304 if (tree->isNilNode(tree) == ANTLR3_FALSE) in toStringTree()
325 if (tree->isNilNode(tree) == ANTLR3_FALSE) in toStringTree()
364 freeNewChildren = ANTLR3_FALSE; // We must NO free this memory in replaceChildren()
398 parent->children->set(parent->children, i, child, NULL, ANTLR3_FALSE); in replaceChildren()
412 …->set(parent->children, startChildIndex + j, newChildren->get(newChildren, j), NULL, ANTLR3_FALSE); in replaceChildren()
435 …->set(parent->children, startChildIndex + j, newChildren->get(newChildren, j), NULL, ANTLR3_FALSE); in replaceChildren()
Dantlr3bitset.c519 return ANTLR3_FALSE; in antlr3BitsetEquals()
539 return ANTLR3_FALSE; in antlr3BitsetEquals()
552 return ANTLR3_FALSE; in antlr3BitsetEquals()
562 return ANTLR3_FALSE; in antlr3BitsetEquals()
579 return ANTLR3_FALSE; in antlr3BitsetMember()
584 return ANTLR3_FALSE; in antlr3BitsetMember()
613 return ANTLR3_FALSE; in antlr3BitsetIsNil()
Dantlr3rewritestreams.c95 stream->freeElements = ANTLR3_FALSE; // Just in case in freeRS()
164 stream->freeElements = ANTLR3_FALSE; // Just in case in freeNodeRS()
219 stream->freeElements = ANTLR3_FALSE; in antlr3RewriteRuleElementStreamNewAE()
243 stream->dirty = ANTLR3_FALSE; in antlr3RewriteRuleElementStreamNewAE()
297 …if (stream->elements != NULL && stream->elements->factoryMade == ANTLR3_FALSE && stream->freeEleme… in antlr3RewriteRuleElementStreamNewAEV()
302 stream->freeElements = ANTLR3_FALSE; in antlr3RewriteRuleElementStreamNewAEV()
759 return ANTLR3_FALSE; in hasNext()
Dantlr3collections.c168 table->allowDups = ANTLR3_FALSE; in antlr3HashTableNew()
551 if (table->allowDups == ANTLR3_FALSE) in antlr3HashPutI()
622 if (table->allowDups == ANTLR3_FALSE) in antlr3HashPut()
1127 vector->factoryMade = ANTLR3_FALSE; in antlr3SetVectorApi()
1179 if (vector->factoryMade == ANTLR3_FALSE) in antlr3VectorFree()
1403 return ANTLR3_FALSE; in antlr3VectorSwap()
1898 return ANTLR3_FALSE; in intTrieDel()
1972 return ANTLR3_FALSE; in intTrieAdd()
2007 return ANTLR3_FALSE; in intTrieAdd()
2118 return ANTLR3_FALSE; in intTrieAdd()
[all …]
Dantlr3tokenstream.c200 cts->discardOffChannel = ANTLR3_FALSE; in reset()
220 stream->tstream->initialStreamState = ANTLR3_FALSE; in antlr3CommonTokenDebugStreamSourceNew()
245 stream->discardOffChannel = ANTLR3_FALSE; in antlr3CommonTokenStreamSourceNew()
336 ts->initialStreamState = ANTLR3_FALSE; in setDebugListener()
430 ts->initialStreamState = ANTLR3_FALSE; in consumeInitialHiddenTokens()
968 discard = ANTLR3_FALSE; /* Assume we are not discarding */ in fillBuffer()
1003 if (discard == ANTLR3_FALSE) in fillBuffer()
Dantlr3debughandlers.c182 return ANTLR3_FALSE; in sockSend()
220 if (delboy->initialized == ANTLR3_FALSE) in handshake()
255 return ANTLR3_FALSE; in handshake()
271 return ANTLR3_FALSE; in handshake()
281 return ANTLR3_FALSE; in handshake()
296 return ANTLR3_FALSE; in handshake()
Dantlr3commontreenodestream.c228 stream->uniqueNavigationNodes = ANTLR3_FALSE; in antlr3CommonTreeNodeStreamNewStream()
370 stream->uniqueNavigationNodes = ANTLR3_FALSE; in antlr3CommonTreeNodeStreamNew()
485 if (nilNode == ANTLR3_FALSE) in fillBuffer()
495 if (nilNode == ANTLR3_FALSE && nCount>0) in fillBuffer()
512 if (nilNode == ANTLR3_FALSE && nCount > 0) in fillBuffer()
Dantlr3inputstream.c290 input->isAllocated = ANTLR3_FALSE; in antlr38BitReuse()
745 case ANTLR3_FALSE: in antlr3UTF16SetupStream()
751 if (inputBigEndian == ANTLR3_FALSE) in antlr3UTF16SetupStream()
1541 case ANTLR3_FALSE: in antlr3UTF32SetupStream()
1547 if (inputBigEndian == ANTLR3_FALSE) in antlr3UTF32SetupStream()
Dantlr3commontree.c418 return ANTLR3_FALSE; in isNilNode()
Dantlr3commontoken.c320 token->factoryMade = ANTLR3_FALSE; in newToken()
Dantlr3string.c1329 negate = ANTLR3_FALSE; in toInt32_UTF16()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3errors.h37 #define ANTLR3_FALSE 0 macro
Dantlr3convertutf.h121 #define false ANTLR3_FALSE
/external/antlr/antlr-3.4/runtime/C/doxygen/
Datsections.dox51 /// hasUsing = ANTLR3_FALSE;
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg43 "ANTLR3_BOOLEAN" : "ANTLR3_FALSE", // Booleans start out being Antlr C for false
1107 state ->error = ANTLR3_FALSE; /* Start out without an exception */
1108 state ->failed = ANTLR3_FALSE;
1134 state->error = ANTLR3_FALSE; /* Start out without an exception */
1141 state->failed = ANTLR3_FALSE;
1551 FAILEDFLAG = ANTLR3_FALSE;
2123 PERRORRECOVERY=ANTLR3_FALSE;
2125 <if(backtracking)>FAILEDFLAG=ANTLR3_FALSE;<\n><endif>
3256 false_value() ::= "ANTLR3_FALSE"