/external/antlr/runtime/C/include/ |
D | antlr3cyclicdfa.h | 65 const ANTLR3_INT32 decisionNumber; 71 …ANTLR3_INT32 (*specialStateTransition) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR… 73 …ANTLR3_INT32 (*specialTransition) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_I… 75 …ANTLR3_INT32 (*predict) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM … 77 const ANTLR3_INT32 * const eot; 78 const ANTLR3_INT32 * const eof; 79 const ANTLR3_INT32 * const min; 80 const ANTLR3_INT32 * const max; 81 const ANTLR3_INT32 * const accept; 82 const ANTLR3_INT32 * const special; [all …]
|
D | antlr3commontreenodestream.h | 78 pANTLR3_BASE_TREE (*_LT) (struct ANTLR3_TREE_NODE_STREAM_struct * tns, ANTLR3_INT32 k); 125 pANTLR3_BASE_TREE (*get) (struct ANTLR3_TREE_NODE_STREAM_struct * tns, ANTLR3_INT32 i); 139 …EE_NODE_STREAM_struct * tns, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 … 220 ANTLR3_INT32 p; 233 ANTLR3_INT32 currentChildIndex; 268 void (*fill) (struct ANTLR3_COMMON_TREE_NODE_STREAM_struct * ctns, ANTLR3_INT32 k); 293 void (*push) (struct ANTLR3_COMMON_TREE_NODE_STREAM_struct * ctns, ANTLR3_INT32 index); 295 ANTLR3_INT32 (*pop) (struct ANTLR3_COMMON_TREE_NODE_STREAM_struct * ctns);
|
D | antlr3commontoken.h | 136 ANTLR3_INT32 charPosition; 262 ANTLR3_INT32 (*getCharPositionInLine) (struct ANTLR3_COMMON_TOKEN_struct * token); 266 void (*setCharPositionInLine) (struct ANTLR3_COMMON_TOKEN_struct * token, ANTLR3_INT32 pos); 323 ANTLR3_INT32 thisPool; 327 ANTLR3_INT32 maxPool;
|
D | antlr3defs.h | 166 typedef INT32 ANTLR3_INT32, *pANTLR3_INT32; typedef 185 typedef int32_t ANTLR3_INT32, *pANTLR3_INT32; 217 typedef ANTLR3_INT32 ANTLR3_MARKER; 403 typedef int32_t ANTLR3_INT32, *pANTLR3_INT32; typedef 430 typedef ANTLR3_INT32 ANTLR3_MARKER; 538 ANTLR3_API pANTLR3_BITSET antlr3BitsetOf (ANTLR3_INT32 bit, ...); 597 …ANTLR3_INT32 antlr3dfaspecialTransition (void * ctx, pANTLR3_BASE_RECOGNIZER rec, p… 598 …ANTLR3_INT32 antlr3dfaspecialStateTransition (void * ctx, pANTLR3_BASE_RECOGNIZER rec, p… 599 ANTLR3_API ANTLR3_INT32 antlr3dfapredict (void * ctx, pANTLR3_BASE_RECOGNI…
|
D | antlr3basetree.h | 91 …ceChildren) (struct ANTLR3_BASE_TREE_struct * parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 … 101 void (*setChildIndex) (struct ANTLR3_BASE_TREE_struct * tree, ANTLR3_INT32 ); 103 ANTLR3_INT32 (*getChildIndex) (struct ANTLR3_BASE_TREE_struct * tree );
|
D | antlr3recognizersharedstate.h | 111 ANTLR3_INT32 backtracking; 166 ANTLR3_INT32 tokenStartLine; 171 ANTLR3_INT32 tokenStartCharPositionInLine;
|
D | antlr3collections.h | 134 …ANTLR3_INT32 (*put) (struct ANTLR3_HASH_TABLE_struct * table, void * key, void * element, voi… 140 …ANTLR3_INT32 (*putI) (struct ANTLR3_HASH_TABLE_struct * table, ANTLR3_INTKEY key, void * elem… 190 …ANTLR3_INT32 (*add) (struct ANTLR3_LIST_struct * list, void * element, void (ANTLR3_CDECL *fre… 191 …ANTLR3_INT32 (*put) (struct ANTLR3_LIST_struct * list, ANTLR3_INTKEY key, void * element, void… 293 ANTLR3_INT32 thisPool;
|
D | antlr3input.h | 110 ANTLR3_INT32 charPositionInLine; 158 void * (*_LT) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_INT32 lt); 264 ANTLR3_INT32 charPositionInLine;
|
D | antlr3tokenstream.h | 130 … pANTLR3_COMMON_TOKEN (*_LT) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream, ANTLR3_INT32 k); 239 ANTLR3_INT32 p; 253 …discardTokenType) (struct ANTLR3_COMMON_TOKEN_STREAM_struct * tokenStream, ANTLR3_INT32 ttype);
|
D | antlr3string.h | 141 …LR3_UINT8 (*inserti) (struct ANTLR3_STRING_struct * string, ANTLR3_UINT32 point, ANTLR3_INT32 i); 151 pANTLR3_UINT8 (*addi) (struct ANTLR3_STRING_struct * string, ANTLR3_INT32 i); 184 ANTLR3_INT32 (*toInt32) (struct ANTLR3_STRING_struct * string);
|
D | antlr3basetreeadaptor.h | 113 … ANTLR3_INT32 (*getChildIndex) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t); 142 …LR3_BASE_TREE_ADAPTOR_struct * adaptor, void * parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 …
|
D | antlr3commontree.h | 74 ANTLR3_INT32 childIndex; 120 ANTLR3_INT32 thisPool;
|
D | antlr3bitset.h | 97 void (*add) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_INT32 bit); 98 void (*grow) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_INT32 newSize);
|
/external/antlr/runtime/C/src/ |
D | antlr3cyclicdfa.c | 78 ANTLR3_API ANTLR3_INT32 82 ANTLR3_INT32 s; in antlr3dfapredict() 83 ANTLR3_INT32 specialState; in antlr3dfapredict() 84 ANTLR3_INT32 c; in antlr3dfapredict() 135 ANTLR3_INT32 snext; in antlr3dfapredict() 192 ANTLR3_API ANTLR3_INT32 193 … pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA dfa, ANTLR3_INT32 s) in antlr3dfaspecialStateTransition() 200 ANTLR3_API ANTLR3_INT32 201 … pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA dfa, ANTLR3_INT32 s) in antlr3dfaspecialTransition()
|
D | antlr3tokenstream.c | 43 static void discardTokenType (pANTLR3_COMMON_TOKEN_STREAM cts, ANTLR3_INT32 ttype); 54 static pANTLR3_COMMON_TOKEN tokLT (pANTLR3_TOKEN_STREAM ts, ANTLR3_INT32 k); 55 static pANTLR3_COMMON_TOKEN dbgTokLT (pANTLR3_TOKEN_STREAM ts, ANTLR3_INT32 k); 68 static ANTLR3_UINT32 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i); 69 static ANTLR3_UINT32 dbgLA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i); 88 …c ANTLR3_UINT32 skipOffTokenChannels (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT32 i); 89 …3_UINT32 skipOffTokenChannelsReverse (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT32 i); 90 static pANTLR3_COMMON_TOKEN LB (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT32 i); 352 tokLT (pANTLR3_TOKEN_STREAM ts, ANTLR3_INT32 k) in tokLT() 354 ANTLR3_INT32 i; in tokLT() [all …]
|
D | antlr3bitset.c | 45 static void antlr3BitsetAdd (pANTLR3_BITSET bitset, ANTLR3_INT32 bit); 55 static void growToInclude (pANTLR3_BITSET bitset, ANTLR3_INT32 bit); 56 static void grow (pANTLR3_BITSET bitset, ANTLR3_INT32 newSize); 316 antlr3BitsetOf(ANTLR3_INT32 bit, ...) in antlr3BitsetOf() 378 antlr3BitsetAdd(pANTLR3_BITSET bitset, ANTLR3_INT32 bit) in antlr3BitsetAdd() 394 grow(pANTLR3_BITSET bitset, ANTLR3_INT32 newSize) in grow() 420 growToInclude(pANTLR3_BITSET bitset, ANTLR3_INT32 bit) in growToInclude() 485 ANTLR3_INT32 i; in antlr3BitsetSize() 513 ANTLR3_INT32 minimum; in antlr3BitsetEquals() 514 ANTLR3_INT32 i; in antlr3BitsetEquals() [all …]
|
D | antlr3basetree.c | 46 …c void replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 … 343 replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildInd… in replaceChildren() 345 ANTLR3_INT32 replacingHowMany; // How many nodes will go away in replaceChildren() 346 ANTLR3_INT32 replacingWithHowMany; // How many nodes will replace them in replaceChildren() 347 ANTLR3_INT32 numNewChildren; // Tracking variable in replaceChildren() 348 ANTLR3_INT32 delta; // Difference in new vs existing count in replaceChildren() 350 ANTLR3_INT32 i; in replaceChildren() 351 ANTLR3_INT32 j; in replaceChildren() 423 for (j = indexToDelete; j <= (ANTLR3_INT32)stopChildIndex; j++) in replaceChildren()
|
D | antlr3inputstream.c | 43 static ANTLR3_UCHAR antlr38BitLA (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 44 static ANTLR3_UCHAR antlr38BitLA_ucase (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 58 static void * antlr38BitLT (pANTLR3_INPUT_STREAM input, ANTLR3_INT32 lt); 75 static ANTLR3_UCHAR antlr3UTF16LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 77 static ANTLR3_UCHAR antlr3UTF16LALE (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 79 static ANTLR3_UCHAR antlr3UTF16LABE (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 93 static ANTLR3_UCHAR antlr3UTF32LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 94 static ANTLR3_UCHAR antlr3UTF32LALE (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 95 static ANTLR3_UCHAR antlr3UTF32LABE (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 107 static ANTLR3_UCHAR antlr3UTF8LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); [all …]
|
D | antlr3commontreeadaptor.c | 56 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 … 58 … void setChildIndex (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, ANTLR3_INT32 i); 59 static ANTLR3_INT32 getChildIndex (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t); 136 cta->baseAdaptor.getChildIndex = (ANTLR3_INT32 (*) (pANTLR3_BASE_TREE_ADAPTOR, void *)) in ANTLR3_TREE_ADAPTORNew() 142 …ceChildren = (void (*) (pANTLR3_BASE_TREE_ADAPTOR, void *, ANTLR3_INT32, ANTLR3_INT32, void *)) in ANTLR3_TREE_ADAPTORNew() 445 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 … in replaceChildren() 477 setChildIndex (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, ANTLR3_INT32 i) in setChildIndex() 482 static ANTLR3_INT32
|
D | antlr3commontreenodestream.c | 48 static void push (pANTLR3_COMMON_TREE_NODE_STREAM ctns, ANTLR3_INT32 index); 49 static ANTLR3_INT32 pop (pANTLR3_COMMON_TREE_NODE_STREAM ctns); 56 static pANTLR3_BASE_TREE _LT (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k); 57 static pANTLR3_BASE_TREE get (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k); 62 …ANTLR3_TREE_NODE_STREAM tns, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 … 68 static ANTLR3_UINT32 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i); 551 LB(pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k) in LB() 577 _LT (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k) in _LT() 595 if (( tns->ctns->p + k - 1) >= (ANTLR3_INT32)(tns->ctns->nodes->count)) in _LT() 631 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i) in _LA() [all …]
|
D | antlr3commontoken.c | 47 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token); 48 static void setCharPositionInLine (pANTLR3_COMMON_TOKEN token, ANTLR3_INT32 pos); 268 ANTLR3_INT32 poolCount; in factoryClose() 507 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token) in getCharPositionInLine() 512 static void setCharPositionInLine (pANTLR3_COMMON_TOKEN token, ANTLR3_INT32 pos) in setCharPositionInLine() 583 outtext->addi (outtext, (ANTLR3_INT32)token->getTokenIndex(token)); in toString() 585 outtext->addi (outtext, (ANTLR3_INT32)token->getStartIndex(token)); in toString() 587 outtext->addi (outtext, (ANTLR3_INT32)token->getStopIndex(token)); in toString() 597 outtext->addi (outtext, (ANTLR3_INT32)token->getChannel(token)); in toString() 602 outtext->addi (outtext, (ANTLR3_INT32)token->getLine(token)); in toString()
|
D | antlr3string.c | 71 static pANTLR3_UINT8 addi8 (pANTLR3_STRING string, ANTLR3_INT32 i); 72 static pANTLR3_UINT8 addiUTF16 (pANTLR3_STRING string, ANTLR3_INT32 i); 73 static pANTLR3_UINT8 inserti8 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i); 74 static pANTLR3_UINT8 insertiUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i… 84 static ANTLR3_INT32 toInt32_8 (pANTLR3_STRING string); 85 static ANTLR3_INT32 toInt32_UTF16 (pANTLR3_STRING string); 535 ANTLR3_INT32 inSize; in newPtrUTF16_8() 1029 addi8 (pANTLR3_STRING string, ANTLR3_INT32 i) in addi8() 1038 addiUTF16 (pANTLR3_STRING string, ANTLR3_INT32 i) in addiUTF16() 1048 inserti8 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i) in inserti8() [all …]
|
D | antlr3commontree.c | 51 static void setChildIndex (pANTLR3_BASE_TREE tree, ANTLR3_INT32 i); 52 static ANTLR3_INT32 getChildIndex (pANTLR3_BASE_TREE tree); 273 ANTLR3_INT32 poolCount; in factoryClose() 537 setChildIndex (pANTLR3_BASE_TREE tree, ANTLR3_INT32 i) in setChildIndex() 541 static ANTLR3_INT32
|
D | antlr3debughandlers.c | 438 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(t->getTokenIndex(t))); in serializeToken() 440 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(t->getType(t))); in serializeToken() 442 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(t->getChannel(t))); in serializeToken() 444 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(t->getLine(t))); in serializeToken() 446 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(t->getCharPositionInLine(t))); in serializeToken() 514 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(token->getLine(token))); in serializeNode() 516 …delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(token->getCharPositionInLine(token))… in serializeNode() 767 …sprintf(buffer, "exception\t%s\t%d\t%d\t%d\n", (char *)(e->name), (ANTLR3_INT32)(e->index), e->lin… in recognitionException()
|
D | antlr3collections.c | 50 static ANTLR3_INT32 antlr3HashPut (pANTLR3_HASH_TABLE table, void * key, void * element, void (AN… 57 static ANTLR3_INT32 antlr3HashPutI (pANTLR3_HASH_TABLE table, ANTLR3_INTKEY key, void * element, … 74 static ANTLR3_INT32 antlr3ListPut (pANTLR3_LIST list, ANTLR3_INTKEY key, void * element, void (ANT… 75 static ANTLR3_INT32 antlr3ListAdd (pANTLR3_LIST list, void * element, void (ANTLR3_CDECL *freept… 522 static ANTLR3_INT32 593 static ANTLR3_INT32 929 static ANTLR3_INT32 antlr3ListAdd (pANTLR3_LIST list, void * element, void (ANTLR3_CDECL *freeptr… in antlr3ListAdd() 957 static ANTLR3_INT32 1565 ANTLR3_INT32 poolCount; in closeVectorFactory()
|