Home
last modified time | relevance | path

Searched refs:ANTLR3_CALLOC (Results 1 – 14 of 14) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3intstream.c47 stream = (pANTLR3_INT_STREAM) ANTLR3_CALLOC(1, sizeof(ANTLR3_INT_STREAM)); in antlr3IntStreamNew()
Dantlr3filestream.c323 ANTLR3_CALLOC(1, sizeof(ANTLR3_INPUT_STREAM)); in antlr3CreateFileStream()
456 ANTLR3_CALLOC(1, sizeof(ANTLR3_INPUT_STREAM)); in antlr3CreateStringStream()
Dantlr3exception.c78 ex = (pANTLR3_EXCEPTION) ANTLR3_CALLOC(1, sizeof(ANTLR3_EXCEPTION)); in antlr3ExceptionNew()
Dantlr3collections.c1772 trie = (pANTLR3_INT_TRIE) ANTLR3_CALLOC(1, sizeof(ANTLR3_INT_TRIE)); /* Base memory required */ in antlr3IntTrieNew()
1783 trie->root = (pANTLR3_INT_TRIE_NODE) ANTLR3_CALLOC(1, sizeof(ANTLR3_INT_TRIE)); in antlr3IntTrieNew()
1966 newEnt = (pANTLR3_TRIE_ENTRY)ANTLR3_CALLOC(1, sizeof(ANTLR3_TRIE_ENTRY)); in intTrieAdd()
2113 nextNode = (pANTLR3_INT_TRIE_NODE)ANTLR3_CALLOC(1, sizeof(ANTLR3_INT_TRIE_NODE)); in intTrieAdd()
2123 newEnt = (pANTLR3_TRIE_ENTRY)ANTLR3_CALLOC(1, sizeof(ANTLR3_TRIE_ENTRY)); in intTrieAdd()
2340 topo->edges = ANTLR3_CALLOC(sizeof(pANTLR3_BITSET) * (maxEdge + 1), 1); in addEdge()
Dantlr3commontoken.c174 ANTLR3_CALLOC(1, (size_t)(sizeof(ANTLR3_COMMON_TOKEN) * ANTLR3_FACTORY_POOL_SIZE)); in newPool()
310 token = (pANTLR3_COMMON_TOKEN) ANTLR3_CALLOC(1, (size_t)(sizeof(ANTLR3_COMMON_TOKEN))); in newToken()
Dantlr3commontreenodestream.c94 stream = (pANTLR3_TREE_NODE_STREAM) ANTLR3_CALLOC(1, sizeof(ANTLR3_TREE_NODE_STREAM)); in antlr3TreeNodeStreamNew()
138 …stream = (pANTLR3_COMMON_TREE_NODE_STREAM) ANTLR3_CALLOC(1, sizeof(ANTLR3_COMMON_TREE_NODE_STREAM… in antlr3CommonTreeNodeStreamNewStream()
277 …stream = (pANTLR3_COMMON_TREE_NODE_STREAM) ANTLR3_CALLOC(1, sizeof(ANTLR3_COMMON_TREE_NODE_STREAM… in antlr3CommonTreeNodeStreamNew()
Dantlr3commontree.c340 tree = ANTLR3_CALLOC(1, sizeof(ANTLR3_COMMON_TREE)); in antlr3CommonTreeNew()
Dantlr3bitset.c402 newBits = (pANTLR3_BITWORD) ANTLR3_CALLOC(1, (size_t)(newSize * sizeof(ANTLR3_BITWORD))); in grow()
Dantlr3debughandlers.c97 delboy = ANTLR3_CALLOC(1, sizeof(ANTLR3_DEBUG_EVENT_LISTENER)); in antlr3DebugListenerNew()
Dantlr3lexer.c107 …lexer->rec->state->tokSource = (pANTLR3_TOKEN_SOURCE)ANTLR3_CALLOC(1, sizeof(ANTLR3_TOKEN_SOURCE)); in antlr3LexerNew()
Dantlr3string.c104 factory = (pANTLR3_STRING_FACTORY) ANTLR3_CALLOC(1, sizeof(ANTLR3_STRING_FACTORY)); in antlr3StringFactoryNew()
Dantlr3baserecognizer.c105 …recognizer->state = (pANTLR3_RECOGNIZER_SHARED_STATE) ANTLR3_CALLOC(1, (size_t)sizeof(ANTLR3_RECOG… in antlr3BaseRecognizerNew()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3defs.h461 #ifndef ANTLR3_CALLOC
465 #define ANTLR3_CALLOC(numEl, elSize) calloc (numEl, (size_t)(elSize)) macro
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg965 ctx = (p<name>) ANTLR3_CALLOC(1, sizeof(<name>));
1269 ctx = (p<name>) ANTLR3_CALLOC(1, sizeof(<name>));