Searched refs:ANTLR3_CALLOC (Results 1 – 14 of 14) sorted by relevance
/external/antlr/antlr-3.4/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 | 1772 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()
|
D | antlr3commontoken.c | 174 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()
|
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 | 340 tree = ANTLR3_CALLOC(1, sizeof(ANTLR3_COMMON_TREE)); in antlr3CommonTreeNew()
|
D | antlr3bitset.c | 402 newBits = (pANTLR3_BITWORD) ANTLR3_CALLOC(1, (size_t)(newSize * sizeof(ANTLR3_BITWORD))); in grow()
|
D | antlr3debughandlers.c | 97 delboy = 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/antlr-3.4/runtime/C/include/ |
D | antlr3defs.h | 461 #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/ |
D | C.stg | 965 ctx = (p<name>) ANTLR3_CALLOC(1, sizeof(<name>)); 1269 ctx = (p<name>) ANTLR3_CALLOC(1, sizeof(<name>));
|