/external/antlr/runtime/C/src/ |
D | antlr3convertutf.c | 291 default: return ANTLR3_FALSE; in isLegalUTF8() 293 case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return ANTLR3_FALSE; in isLegalUTF8() 294 case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return ANTLR3_FALSE; in isLegalUTF8() 295 case 2: if ((a = (*--srcptr)) > 0xBF) return ANTLR3_FALSE; in isLegalUTF8() 299 case 0xE0: if (a < 0xA0) return ANTLR3_FALSE; break; in isLegalUTF8() 300 case 0xED: if (a > 0x9F) return ANTLR3_FALSE; break; in isLegalUTF8() 301 case 0xF0: if (a < 0x90) return ANTLR3_FALSE; break; in isLegalUTF8() 302 case 0xF4: if (a > 0x8F) return ANTLR3_FALSE; break; in isLegalUTF8() 303 default: if (a < 0x80) return ANTLR3_FALSE; in isLegalUTF8() 306 case 1: if (*source >= 0x80 && *source < 0xC2) return ANTLR3_FALSE; in isLegalUTF8() [all …]
|
D | antlr3baserecognizer.c | 115 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 …]
|
D | antlr3filestream.c | 149 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()
|
D | antlr3lexer.c | 237 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() 737 return ANTLR3_FALSE; in matchs() 746 return ANTLR3_FALSE; in matchs() 756 lexer->rec->state->failed = ANTLR3_FALSE; in matchs() 781 lexer->rec->state->failed = ANTLR3_FALSE; in matchc() 791 return ANTLR3_FALSE; in matchc() 800 return ANTLR3_FALSE; in matchc() [all …]
|
D | antlr3bitset.c | 518 return ANTLR3_FALSE; in antlr3BitsetEquals() 538 return ANTLR3_FALSE; in antlr3BitsetEquals() 551 return ANTLR3_FALSE; in antlr3BitsetEquals() 561 return ANTLR3_FALSE; in antlr3BitsetEquals() 578 return ANTLR3_FALSE; in antlr3BitsetMember() 583 return ANTLR3_FALSE; in antlr3BitsetMember() 612 return ANTLR3_FALSE; in antlr3BitsetIsNil()
|
D | antlr3basetree.c | 246 tree->children->set(tree->children, i, child, NULL, ANTLR3_FALSE); in setChild() 308 if (tree->isNilNode(tree) == ANTLR3_FALSE) in toStringTree() 329 if (tree->isNilNode(tree) == ANTLR3_FALSE) in toStringTree() 368 freeNewChildren = ANTLR3_FALSE; // We must NO free this memory in replaceChildren() 402 parent->children->set(parent->children, i, child, NULL, ANTLR3_FALSE); in replaceChildren() 416 …->set(parent->children, startChildIndex + j, newChildren->get(newChildren, j), NULL, ANTLR3_FALSE); in replaceChildren() 439 …->set(parent->children, startChildIndex + j, newChildren->get(newChildren, j), NULL, ANTLR3_FALSE); in replaceChildren()
|
D | antlr3collections.c | 168 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() 1317 return ANTLR3_FALSE; in antlr3VectorResize() 1332 return ANTLR3_FALSE; in antlr3VectorResize() 1425 return ANTLR3_FALSE; in antlr3VectorSwap() 1535 return ANTLR3_FALSE; in newPool() 1548 return ANTLR3_FALSE; in newPool() [all …]
|
D | antlr3rewritestreams.c | 95 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()
|
D | antlr3tokenstream.c | 200 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()
|
D | antlr3debughandlers.c | 182 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()
|
D | antlr3commontree.c | 142 return ANTLR3_FALSE; in newPool() 155 return ANTLR3_FALSE; in newPool() 437 return ANTLR3_FALSE; in isNilNode()
|
D | antlr3commontoken.c | 173 return ANTLR3_FALSE; in newPool() 187 return ANTLR3_FALSE; in newPool() 343 token->factoryMade = ANTLR3_FALSE; in newToken()
|
D | antlr3commontreenodestream.c | 228 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()
|
D | antlr3inputstream.c | 290 input->isAllocated = ANTLR3_FALSE; in antlr38BitReuse() 752 case ANTLR3_FALSE: in antlr3UTF16SetupStream() 758 if (inputBigEndian == ANTLR3_FALSE) in antlr3UTF16SetupStream() 1548 case ANTLR3_FALSE: in antlr3UTF32SetupStream() 1554 if (inputBigEndian == ANTLR3_FALSE) in antlr3UTF32SetupStream()
|
D | antlr3string.c | 1389 negate = ANTLR3_FALSE; in toInt32_UTF16()
|
/external/antlr/runtime/C/include/ |
D | antlr3errors.h | 37 #define ANTLR3_FALSE 0 macro
|
/external/antlr/runtime/C/doxygen/ |
D | atsections.dox | 51 /// hasUsing = ANTLR3_FALSE;
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | C.stg | 43 "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> 3251 false_value() ::= "ANTLR3_FALSE"
|