Home
last modified time | relevance | path

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

/external/antlr/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.c1813 trie = (pANTLR3_INT_TRIE) ANTLR3_CALLOC(1, sizeof(ANTLR3_INT_TRIE)); /* Base memory required */ in antlr3IntTrieNew()
1824 trie->root = (pANTLR3_INT_TRIE_NODE) ANTLR3_CALLOC(1, sizeof(ANTLR3_INT_TRIE)); in antlr3IntTrieNew()
2006 newEnt = (pANTLR3_TRIE_ENTRY)ANTLR3_CALLOC(1, sizeof(ANTLR3_TRIE_ENTRY)); in intTrieAdd()
2153 nextNode = (pANTLR3_INT_TRIE_NODE)ANTLR3_CALLOC(1, sizeof(ANTLR3_INT_TRIE_NODE)); in intTrieAdd()
2163 newEnt = (pANTLR3_TRIE_ENTRY)ANTLR3_CALLOC(1, sizeof(ANTLR3_TRIE_ENTRY)); in intTrieAdd()
2380 topo->edges = (pANTLR3_BITSET*)ANTLR3_CALLOC(sizeof(pANTLR3_BITSET) * (maxEdge + 1), 1); in addEdge()
Dantlr3commontoken.c182 ANTLR3_CALLOC(1, (size_t)(sizeof(ANTLR3_COMMON_TOKEN) * ANTLR3_FACTORY_POOL_SIZE)); in newPool()
333 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.c359 tree = (pANTLR3_COMMON_TREE)ANTLR3_CALLOC(1, sizeof(ANTLR3_COMMON_TREE)); in antlr3CommonTreeNew()
Dantlr3bitset.c401 newBits = (pANTLR3_BITWORD) ANTLR3_CALLOC(1, (size_t)(newSize * sizeof(ANTLR3_BITWORD))); in grow()
Dantlr3lexer.c107 …lexer->rec->state->tokSource = (pANTLR3_TOKEN_SOURCE)ANTLR3_CALLOC(1, sizeof(ANTLR3_TOKEN_SOURCE)); in antlr3LexerNew()
Dantlr3debughandlers.c97 delboy = (pANTLR3_DEBUG_EVENT_LISTENER)ANTLR3_CALLOC(1, sizeof(ANTLR3_DEBUG_EVENT_LISTENER)); in antlr3DebugListenerNew()
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/runtime/C/include/
Dantlr3defs.h465 #ifndef ANTLR3_CALLOC
469 #define ANTLR3_CALLOC(numEl, elSize) calloc (numEl, (size_t)(elSize)) macro
/external/antlr/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>));