Home
last modified time | relevance | path

Searched refs:ANTLR3_INT32 (Results 1 – 25 of 31) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3cyclicdfa.h65 const ANTLR3_INT32 decisionNumber;
71ANTLR3_INT32 (*specialStateTransition) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR…
73ANTLR3_INT32 (*specialTransition) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_I…
75ANTLR3_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 …]
Dantlr3commontreenodestream.h78 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);
Dantlr3commontoken.h136 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;
Dantlr3basetree.h91 …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 );
Dantlr3defs.h162 typedef INT32 ANTLR3_INT32, *pANTLR3_INT32; typedef
181 typedef int32_t ANTLR3_INT32, *pANTLR3_INT32;
213 typedef ANTLR3_INT32 ANTLR3_MARKER;
399 typedef int32_t ANTLR3_INT32, *pANTLR3_INT32; typedef
426 typedef ANTLR3_INT32 ANTLR3_MARKER;
534 ANTLR3_API pANTLR3_BITSET antlr3BitsetOf (ANTLR3_INT32 bit, ...);
593ANTLR3_INT32 antlr3dfaspecialTransition (void * ctx, pANTLR3_BASE_RECOGNIZER rec, p…
594ANTLR3_INT32 antlr3dfaspecialStateTransition (void * ctx, pANTLR3_BASE_RECOGNIZER rec, p…
595 ANTLR3_API ANTLR3_INT32 antlr3dfapredict (void * ctx, pANTLR3_BASE_RECOGNI…
Dantlr3recognizersharedstate.h111 ANTLR3_INT32 backtracking;
166 ANTLR3_INT32 tokenStartLine;
171 ANTLR3_INT32 tokenStartCharPositionInLine;
Dantlr3input.h110 ANTLR3_INT32 charPositionInLine;
158 void * (*_LT) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_INT32 lt);
264 ANTLR3_INT32 charPositionInLine;
Dantlr3collections.h134ANTLR3_INT32 (*put) (struct ANTLR3_HASH_TABLE_struct * table, void * key, void * element, voi…
140ANTLR3_INT32 (*putI) (struct ANTLR3_HASH_TABLE_struct * table, ANTLR3_INTKEY key, void * elem…
190ANTLR3_INT32 (*add) (struct ANTLR3_LIST_struct * list, void * element, void (ANTLR3_CDECL *fre…
191ANTLR3_INT32 (*put) (struct ANTLR3_LIST_struct * list, ANTLR3_INTKEY key, void * element, void…
293 ANTLR3_INT32 thisPool;
Dantlr3tokenstream.h130 … 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);
Dantlr3string.h141 …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);
Dantlr3commontree.h74 ANTLR3_INT32 childIndex;
120 ANTLR3_INT32 thisPool;
Dantlr3basetreeadaptor.h113ANTLR3_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
Dantlr3bitset.h97 void (*add) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_INT32 bit);
98 void (*grow) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_INT32 newSize);
Dantlr3exception.h177 ANTLR3_INT32 charPositionInLine;
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3cyclicdfa.c78 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()
Dantlr3tokenstream.c43 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 …]
Dantlr3bitset.c45 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);
317 antlr3BitsetOf(ANTLR3_INT32 bit, ...) in antlr3BitsetOf()
379 antlr3BitsetAdd(pANTLR3_BITSET bitset, ANTLR3_INT32 bit) in antlr3BitsetAdd()
395 grow(pANTLR3_BITSET bitset, ANTLR3_INT32 newSize) in grow()
421 growToInclude(pANTLR3_BITSET bitset, ANTLR3_INT32 bit) in growToInclude()
486 ANTLR3_INT32 i; in antlr3BitsetSize()
514 ANTLR3_INT32 minimum; in antlr3BitsetEquals()
515 ANTLR3_INT32 i; in antlr3BitsetEquals()
[all …]
Dantlr3basetree.c46 …c void replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32
339 replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildInd… in replaceChildren()
341 ANTLR3_INT32 replacingHowMany; // How many nodes will go away in replaceChildren()
342 ANTLR3_INT32 replacingWithHowMany; // How many nodes will replace them in replaceChildren()
343 ANTLR3_INT32 numNewChildren; // Tracking variable in replaceChildren()
344 ANTLR3_INT32 delta; // Difference in new vs existing count in replaceChildren()
346 ANTLR3_INT32 i; in replaceChildren()
347 ANTLR3_INT32 j; in replaceChildren()
419 for (j = indexToDelete; j <= (ANTLR3_INT32)stopChildIndex; j++) in replaceChildren()
Dantlr3commontreeadaptor.c56 …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
Dantlr3inputstream.c43 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 …]
Dantlr3commontoken.c47 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token);
48 static void setCharPositionInLine (pANTLR3_COMMON_TOKEN token, ANTLR3_INT32 pos);
245 ANTLR3_INT32 poolCount; in factoryClose()
484 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token) in getCharPositionInLine()
489 static void setCharPositionInLine (pANTLR3_COMMON_TOKEN token, ANTLR3_INT32 pos) in setCharPositionInLine()
560 outtext->addi (outtext, (ANTLR3_INT32)token->getTokenIndex(token)); in toString()
562 outtext->addi (outtext, (ANTLR3_INT32)token->getStartIndex(token)); in toString()
564 outtext->addi (outtext, (ANTLR3_INT32)token->getStopIndex(token)); in toString()
574 outtext->addi (outtext, (ANTLR3_INT32)token->getChannel(token)); in toString()
579 outtext->addi (outtext, (ANTLR3_INT32)token->getLine(token)); in toString()
Dantlr3commontreenodestream.c48 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 …]
Dantlr3string.c71 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);
530 ANTLR3_INT32 inSize; in newPtrUTF16_8()
984 addi8 (pANTLR3_STRING string, ANTLR3_INT32 i) in addi8()
993 addiUTF16 (pANTLR3_STRING string, ANTLR3_INT32 i) in addiUTF16()
1003 inserti8 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i) in inserti8()
[all …]
Dantlr3commontree.c51 static void setChildIndex (pANTLR3_BASE_TREE tree, ANTLR3_INT32 i);
52 static ANTLR3_INT32 getChildIndex (pANTLR3_BASE_TREE tree);
254 ANTLR3_INT32 poolCount; in factoryClose()
516 setChildIndex (pANTLR3_BASE_TREE tree, ANTLR3_INT32 i) in setChildIndex()
520 static ANTLR3_INT32
Dantlr3debughandlers.c438 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()

12