Lines Matching defs:Allocator
47 // The arena is configured with an allocator, which is responsible
49 class Allocator : public RefCounted<Allocator> {
54 virtual ~Allocator() { }
55 friend class WTF::RefCounted<Allocator>;
58 // The Arena's default allocator, which uses fastMalloc and
60 class FastMallocAllocator : public Allocator {
80 // Creates a new PODArena configured with the given Allocator.
81 static PassRefPtr<PODArena> create(PassRefPtr<Allocator> allocator)
83 return adoptRef(new PODArena(allocator));
113 explicit PODArena(PassRefPtr<Allocator> allocator)
114 : m_allocator(allocator)
154 // Allocator.
155 Chunk(Allocator* allocator, size_t size)
156 : m_allocator(allocator)
163 // Frees the memory allocated from the Allocator in the
187 Allocator* m_allocator;
193 RefPtr<Allocator> m_allocator;