Home | History | Annotate | Download | only in platform

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));
112 explicit PODArena(PassRefPtr<Allocator> allocator)
113 : m_allocator(allocator)
153 // Allocator.
154 Chunk(Allocator* allocator, size_t size)
155 : m_allocator(allocator)
162 // Frees the memory allocated from the Allocator in the
186 Allocator* m_allocator;
192 RefPtr<Allocator> m_allocator;