Home
last modified time | relevance | path

Searched refs:pool_allocator (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DCommon.h48 typedef pool_allocator<char> TStringAllocator;
67 template <class T> class TVector : public std::vector<T, pool_allocator<T> > {
69 typedef typename std::vector<T, pool_allocator<T> >::size_type size_type;
70 TVector() : std::vector<T, pool_allocator<T> >() {} in TVector()
71 TVector(const pool_allocator<T>& a) : std::vector<T, pool_allocator<T> >(a) {} in TVector()
72 TVector(size_type i): std::vector<T, pool_allocator<T> >(i) {} in TVector()
76 class TMap : public std::map<K, D, CMP, pool_allocator<std::pair<const K, D> > > {
78 typedef pool_allocator<std::pair<const K, D> > tAllocator;
DPoolAlloc.h241 class pool_allocator {
253 typedef pool_allocator<Other> other;
258 pool_allocator() : allocator(GetGlobalPoolAllocator()) { } in pool_allocator() function
259 pool_allocator(TPoolAllocator& a) : allocator(&a) { } in pool_allocator() function
260 pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { } in pool_allocator() function
263 pool_allocator<T>& operator=(const pool_allocator<Other>& p) {
269 pool_allocator(const pool_allocator<Other>& p) : allocator(&p.getAllocator()) { } in pool_allocator() function
295 bool operator==(const pool_allocator& rhs) const { return &getAllocator() == &rhs.getAllocator(); }
296 bool operator!=(const pool_allocator& rhs) const { return &getAllocator() != &rhs.getAllocator(); }