Home
last modified time | relevance | path

Searched refs:ANTLR3_FREE (Results 1 – 19 of 19) sorted by relevance

/external/antlr/runtime/C/src/
Dantlr3collections.c149 ANTLR3_FREE((void *)table); in antlr3HashTableNew()
240 ANTLR3_FREE(entry->keybase.key.sKey); in antlr3HashFree()
245 ANTLR3_FREE(entry); in antlr3HashFree()
256 ANTLR3_FREE(table->buckets); in antlr3HashFree()
261 ANTLR3_FREE(table); in antlr3HashFree()
371 ANTLR3_FREE(entry->keybase.key.sKey); in antlr3HashRemove()
413 ANTLR3_FREE(entry); in antlr3HashDeleteI()
437 ANTLR3_FREE(entry); in antlr3HashDelete()
826 ANTLR3_FREE(en); in antlr3EnumFree()
912 ANTLR3_FREE(list); in antlr3ListFree()
[all …]
Dantlr3exception.c171 ANTLR3_FREE(ex->message); in antlr3ExceptionFree()
183 ANTLR3_FREE(ex); in antlr3ExceptionFree()
Dantlr3bitset.c67 ANTLR3_FREE(bitset->blist.bits); in antlr3BitsetFree()
70 ANTLR3_FREE(bitset); in antlr3BitsetFree()
106 ANTLR3_FREE(bitset); in antlr3BitsetNew()
171 ANTLR3_FREE(bitset); in antlr3BitsetCopy()
410 ANTLR3_FREE(bitset->blist.bits); in grow()
Dantlr3commontreenodestream.c112 ANTLR3_FREE(stream); in antlr3TreeNodeStreamFree()
436 ANTLR3_FREE(ctns->INVALID_NODE.token); in antlr3CommonTreeNodeStreamFree()
437 ANTLR3_FREE(ctns->EOF_NODE.token); in antlr3CommonTreeNodeStreamFree()
438 ANTLR3_FREE(ctns->DOWN.token); in antlr3CommonTreeNodeStreamFree()
439 ANTLR3_FREE(ctns->UP.token); in antlr3CommonTreeNodeStreamFree()
450 ANTLR3_FREE(ctns); in antlr3CommonTreeNodeStreamFree()
Dantlr3intstream.c62 ANTLR3_FREE(stream); in freeStream()
Dantlr3commontree.c292 ANTLR3_FREE(factory->pools[poolCount]); in factoryClose()
299 ANTLR3_FREE(factory->pools); in factoryClose()
303 ANTLR3_FREE(factory); in factoryClose()
Dantlr3commontoken.c311 ANTLR3_FREE(factory->pools[poolCount]); in factoryClose()
318 ANTLR3_FREE(factory->pools); in factoryClose()
322 ANTLR3_FREE(factory); in factoryClose()
Dantlr3parser.c142 ANTLR3_FREE(parser); in freeParser()
Dantlr3string.c118 ANTLR3_FREE(factory); in antlr3StringFactoryNew()
245 ANTLR3_FREE(string->chars); in stringFree()
250 ANTLR3_FREE(string); in stringFree()
378 ANTLR3_FREE(utf8String->chars); in toUTF8_UTF16()
796 ANTLR3_FREE((void *)factory); in closeFactory()
Dantlr3basetree.c454 ANTLR3_FREE(newChildren->elements); in replaceChildren()
457 ANTLR3_FREE(newChildren); // Will not free the nodes in replaceChildren()
Dantlr3baserecognizer.c109 ANTLR3_FREE(recognizer); in antlr3BaseRecognizerNew()
138 ANTLR3_FREE(recognizer->state); in antlr3BaseRecognizerNew()
139 ANTLR3_FREE(recognizer); in antlr3BaseRecognizerNew()
237 ANTLR3_FREE(recognizer->state); in freeBR()
242 ANTLR3_FREE(recognizer); in freeBR()
Dantlr3treeparser.c147 ANTLR3_FREE(parser); in freeParser()
Dantlr3lexer.c708 ANTLR3_FREE(lexer->rec->state->tokSource); in freeLexer()
717 ANTLR3_FREE(lexer); in freeLexer()
Dantlr3tokenstream.c117 ANTLR3_FREE(stream); in antlr3TokenStreamFree()
156 ANTLR3_FREE(stream); in antlr3CTSFree()
Dantlr3commontreeadaptor.c233 ANTLR3_FREE(adaptor->super); in ctaFree()
Dantlr3inputstream.c224 ANTLR3_FREE(input->data); in antlr3InputClose()
232 ANTLR3_FREE(input); in antlr3InputClose()
Dantlr3rewritestreams.c181 ANTLR3_FREE(stream); in expungeRS()
/external/antlr/runtime/C/include/
Dantlr3defs.h478 #ifndef ANTLR3_FREE
482 #define ANTLR3_FREE(ptr) free ((void *)(ptr)) macro
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg913 ANTLR3_FREE(ctx);
992 ANTLR3_FREE(ctx);
1227 * We cannot just use ANTLR3_FREE because in debug tracking mode, this is a macro.
1231 ANTLR3_FREE(scope);
1402 ANTLR3_FREE(ctx);
2916 ANTLR3_FREE(scope);