Searched refs:ANTLR3_CALLOC (Results 1 – 14 of 14) sorted by relevance
/external/antlr/runtime/C/src/ |
D | antlr3intstream.c | 47 stream = (pANTLR3_INT_STREAM) ANTLR3_CALLOC(1, sizeof(ANTLR3_INT_STREAM)); in antlr3IntStreamNew()
|
D | antlr3filestream.c | 323 ANTLR3_CALLOC(1, sizeof(ANTLR3_INPUT_STREAM)); in antlr3CreateFileStream() 456 ANTLR3_CALLOC(1, sizeof(ANTLR3_INPUT_STREAM)); in antlr3CreateStringStream()
|
D | antlr3exception.c | 78 ex = (pANTLR3_EXCEPTION) ANTLR3_CALLOC(1, sizeof(ANTLR3_EXCEPTION)); in antlr3ExceptionNew()
|
D | antlr3collections.c | 1813 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()
|
D | antlr3commontoken.c | 182 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()
|
D | antlr3commontreenodestream.c | 94 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()
|
D | antlr3commontree.c | 359 tree = (pANTLR3_COMMON_TREE)ANTLR3_CALLOC(1, sizeof(ANTLR3_COMMON_TREE)); in antlr3CommonTreeNew()
|
D | antlr3bitset.c | 401 newBits = (pANTLR3_BITWORD) ANTLR3_CALLOC(1, (size_t)(newSize * sizeof(ANTLR3_BITWORD))); in grow()
|
D | antlr3debughandlers.c | 97 delboy = (pANTLR3_DEBUG_EVENT_LISTENER)ANTLR3_CALLOC(1, sizeof(ANTLR3_DEBUG_EVENT_LISTENER)); in antlr3DebugListenerNew()
|
D | antlr3lexer.c | 107 …lexer->rec->state->tokSource = (pANTLR3_TOKEN_SOURCE)ANTLR3_CALLOC(1, sizeof(ANTLR3_TOKEN_SOURCE)); in antlr3LexerNew()
|
D | antlr3string.c | 104 factory = (pANTLR3_STRING_FACTORY) ANTLR3_CALLOC(1, sizeof(ANTLR3_STRING_FACTORY)); in antlr3StringFactoryNew()
|
D | antlr3baserecognizer.c | 105 …recognizer->state = (pANTLR3_RECOGNIZER_SHARED_STATE) ANTLR3_CALLOC(1, (size_t)sizeof(ANTLR3_RECOG… in antlr3BaseRecognizerNew()
|
/external/antlr/runtime/C/include/ |
D | antlr3defs.h | 465 #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/ |
D | C.stg | 965 ctx = (p<name>) ANTLR3_CALLOC(1, sizeof(<name>)); 1269 ctx = (p<name>) ANTLR3_CALLOC(1, sizeof(<name>));
|