Home
last modified time | relevance | path

Searched refs:AllocPolicyType (Results 1 – 22 of 22) sorted by relevance

/external/antlr/runtime/Cpp/include/
Dantlr3rewritestreams.hpp57 class RewriteRuleElementStream : public ImplTraits::AllocPolicyType
61 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in RewriteRuleElementStream
67 typedef typename AllocPolicyType::template VectorType< TokenType* > ElementsType;
174 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in RewriteRuleTokenStream
180 typedef typename AllocPolicyType::template VectorType< TokenType* > ElementsType;
201 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in RewriteRuleSubtreeStream
208 typedef typename AllocPolicyType::template VectorType< TokenType* > ElementsType;
229 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in RewriteRuleNodeStream
236 typedef typename AllocPolicyType::template VectorType< TokenType* > ElementsType;
Dantlr3bitset.hpp66 class BitsetList : public ImplTraits::AllocPolicyType
69 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in BitsetList
124 class Bitset : public ImplTraits::AllocPolicyType
127 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in Bitset
128 typedef typename AllocPolicyType::template ListType<ANTLR_UINT32> IntListType;
Dantlr3collections.hpp41 class TrieEntry : public ImplTraits::AllocPolicyType
44 typedef typename ImplTraits::AllocPolicyType AllocPolicy;
61 class IntTrieNode : public ImplTraits::AllocPolicyType
114 class IntTrie : public ImplTraits::AllocPolicyType, public IntTrieBase
169 class Topo : public ImplTraits::AllocPolicyType
173 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in Topo
Dantlr3commontreenodestream.hpp58 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in CommonTreeNodeStream
59 typedef typename AllocPolicyType::template VectorType<TreeType*> NodesType;
60 typedef typename AllocPolicyType::template VectorType< TreeWalkState<ImplTraits> > MarkersType;
61 typedef typename AllocPolicyType::template StackType< ANTLR_INT32 > NodeStackType;
294 class TreeWalkState : public ImplTraits::AllocPolicyType
Dantlr3commontree.hpp41 class CommonTree : public ImplTraits::AllocPolicyType
44 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in CommonTree
49 typedef typename AllocPolicyType::template VectorType<TreeType*> ChildrenType;
50 typedef typename AllocPolicyType::template ListType<TreeType*> ChildListType;
Dantlr3recognizersharedstate.hpp55 class RecognizerSharedState : public ImplTraits::AllocPolicyType
58 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in RecognizerSharedState
70 typedef typename AllocPolicyType::template StackType< BitsetListType > FollowingType;
71 …typedef typename AllocPolicyType::template StackType< typename ImplTraits::InputStreamType* > Inpu…
73 typedef typename AllocPolicyType::template VectorType<RewriteStreamType> RewriteStreamsType;
Dantlr3tokenstream.hpp241 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in CommonTokenStream
246 typedef typename AllocPolicyType::template ListType<TokenType> TokensListType;
247 typedef typename AllocPolicyType::template OrderedMapType<ANTLR_MARKER, TokenType> TokensMapType;
251 …typedef typename AllocPolicyType::template UnOrderedMapType<ANTLR_UINT32, ANTLR_UINT32> ChannelOve…
252 typedef typename AllocPolicyType::template OrderedSetType<ANTLR_UINT32> DiscardSetType;
253 typedef typename AllocPolicyType::template ListType<ANTLR_UINT32> IntListType;
Dantlr3baserecognizer.hpp47 class BaseRecognizer : public ImplTraits::AllocPolicyType
50 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in BaseRecognizer
64 typedef typename AllocPolicyType::template StackType<StringType> StringStackType;
65 typedef typename AllocPolicyType::template ListType<StringType> StringListType;
Dantlr3input.hpp53 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in InputStream
60 typedef typename AllocPolicyType::template VectorType<LexStateType> MarkersType;
276 class LexState : public ImplTraits::AllocPolicyType
Dantlr3interfaces.hpp113 template<class AllocPolicyType>
239 template< class DataType, class AllocPolicyType >
Dantlr3exception.hpp59 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in ANTLR_ExceptionBase
Dantlr3lexer.hpp74 typedef typename ImplTraits::AllocPolicyType AllocPolicyType; typedef in Lexer
Dantlr3traits.hpp14 typedef Empty AllocPolicyType; typedef in CustomTraitsBase
138 …sSelector< typename UserTraits<TraitsType>::AllocPolicyType, DefaultAllocPolicy >::selected Alloc… typedef in TraitsBase
Dantlr3bitset.inl108 m_blist.set_bits( (ANTLR_BITWORD*) AllocPolicyType::alloc0(numelements * sizeof(ANTLR_BITWORD)));
233 newBits = (ANTLR_BITWORD*) AllocPolicyType::alloc0(newSize * sizeof(ANTLR_BITWORD) );
242 AllocPolicyType::free( m_blist.get_bits() );
367 intList = (ANTLR_INT32*) AllocPolicyType::alloc(numInts * sizeof(ANTLR_INT32));
388 AllocPolicyType::free(m_blist.get_bits());
Dantlr3cyclicdfa.hpp49 class CyclicDFA : public ImplTraits::AllocPolicyType
Dantlr3debugeventlistener.hpp59 class DebugEventListener : public ImplTraits::AllocPolicyType
Dantlr3commontoken.hpp58 class CommonToken : public ImplTraits::AllocPolicyType
Dantlr3collections.inl608 m_edges = AllocPolicyType::alloc0(sizeof(BitsetType*) * (maxEdge + 1));
618 m_edges = AllocPolicyType::realloc(m_edges, sizeof(BitsetType*) * (maxEdge + 1));
794 m_sorted = AllocPolicyType::alloc( m_limit * sizeof(ANTLR_UINT32) );
795 m_cycle = AllocPolicyType::alloc( m_limit * sizeof(ANTLR_UINT32));
899 vIndex = AllocPolicyType::alloc(m_limit * sizeof(ANTLR_UINT32));
944 AllocPolicyType::free(vIndex);
957 AllocPolicyType::free(m_sorted);
971 Bitset<AllocPolicyType>* edgeList;
982 AllocPolicyType::free( m_edges );
990 AllocPolicyType::free(m_cycle);
Dantlr3filestream.inl56 void* data = ImplTraits::AllocPolicyType::alloc(fSize);
Dantlr3commontreeadaptor.hpp41 class CommonTreeAdaptor : public ImplTraits::AllocPolicyType
Dantlr3intstream.hpp100 class IntStream : public ImplTraits::AllocPolicyType
Dantlr3input.inl119 AllocPolicyType::free((void*)m_data); //const_cast is required