webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Friends | List of all members
TPoolAllocator Class Reference

#include <PoolAlloc.h>

Public Member Functions

 TPoolAllocator (int growthIncrement=8 *1024, int allocationAlignment=16)
 
 ~TPoolAllocator ()
 
void push ()
 
void pop ()
 
void popAll ()
 
voidallocate (size_t numBytes)
 
void lock ()
 
void unlock ()
 

Friends

struct tHeader
 

Constructor & Destructor Documentation

◆ TPoolAllocator()

TPoolAllocator::TPoolAllocator ( int  growthIncrement = 8*1024,
int  allocationAlignment = 16 
)

◆ ~TPoolAllocator()

TPoolAllocator::~TPoolAllocator ( )

Member Function Documentation

◆ allocate()

void * TPoolAllocator::allocate ( size_t  numBytes)

◆ lock()

void TPoolAllocator::lock ( )

◆ pop()

void TPoolAllocator::pop ( )

◆ popAll()

void TPoolAllocator::popAll ( )

◆ push()

void TPoolAllocator::push ( )

◆ unlock()

void TPoolAllocator::unlock ( )

Friends And Related Function Documentation

◆ tHeader

friend struct tHeader
friend

The documentation for this class was generated from the following files: