Searched defs:NodeFactory (Results 1 - 2 of 2) sorted by relevance

/frameworks/compile/mclinker/include/mcld/ADT/
H A DTreeAllocator.h19 /** \class NodeFactory
20 * \brief NodeFactory manages the creation and destruction of mcld::Node.
22 * NodeFactory guarantees all allocated memory are released finally. When
23 * the destructor of NodeFactory is called, all allocated memory are freed.
25 * NodeFactory provides delegation of memory. Sometimes, we have to merge two
26 * NodeFactories, and NodeFactory::delegate() can move the memory from one
32 class NodeFactory : public GCFactory<Node<DataType>, 64> { class in namespace:mcld
52 void delegate(NodeFactory& pClient) {
75 void replace(NodeFactory& pClient) {
83 void concatenate(NodeFactory
[all...]
/frameworks/compile/mclinker/unittests/
H A DGCFactoryListTraitsTest.h33 class NodeFactory;
36 friend class NodeFactory;
54 class NodeFactory : public mcld::GCFactory<Node, 0> { class in class:mcldtest::GCFactoryListTraitsTest
56 NodeFactory() : mcld::GCFactory<Node, 0>(16) {} function in class:mcldtest::GCFactoryListTraitsTest::NodeFactory
87 NodeFactory m_NodeFactory;

Completed in 22 milliseconds