webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WTF::VectorBufferBase< T > Class Template Reference

#include <Vector.h>

Inheritance diagram for WTF::VectorBufferBase< T >:
WTF::VectorBuffer< T, inlineCapacity > WTF::VectorBuffer< T, inlineCapacity > WTF::VectorBuffer< T, inlineCapacity > WTF::VectorBuffer< T, 0 > WTF::VectorBuffer< T, 0 > WTF::VectorBuffer< T, 0 > WTF::Vector< T, inlineCapacity, OverflowHandler, minCapacity > WTF::Vector< T, inlineCapacity, OverflowHandler, minCapacity > WTF::Vector< T, inlineCapacity, OverflowHandler, minCapacity > WTF::Vector< T, inlineCapacity, OverflowHandler, minCapacity > WTF::Vector< T, inlineCapacity, OverflowHandler, minCapacity > WTF::Vector< T, inlineCapacity, OverflowHandler, minCapacity > WTF::Vector< T, inlineCapacity, OverflowHandler, minCapacity > WTF::Vector< T, inlineCapacity, OverflowHandler, minCapacity > WTF::Vector< T, inlineCapacity, OverflowHandler, minCapacity > WTF::Vector< T > WTF::Vector< T > WTF::Vector< T > WTF::Vector< T > WTF::Vector< T > WTF::Vector< T > WTF::Vector< T > WTF::Vector< T > WTF::Vector< T >

Public Member Functions

void allocateBuffer (size_t newCapacity)
 
bool tryAllocateBuffer (size_t newCapacity)
 
bool shouldReallocateBuffer (size_t newCapacity) const
 
void reallocateBuffer (size_t newCapacity)
 
void deallocateBuffer (T *bufferToDeallocate)
 
Tbuffer ()
 
const Tbuffer () const
 
size_t capacity () const
 
MallocPtr< TreleaseBuffer ()
 
void allocateBuffer (size_t newCapacity)
 
bool tryAllocateBuffer (size_t newCapacity)
 
bool shouldReallocateBuffer (size_t newCapacity) const
 
void reallocateBuffer (size_t newCapacity)
 
void deallocateBuffer (T *bufferToDeallocate)
 
Tbuffer ()
 
const Tbuffer () const
 
size_t capacity () const
 
MallocPtr< TreleaseBuffer ()
 
void allocateBuffer (size_t newCapacity)
 
bool tryAllocateBuffer (size_t newCapacity)
 
bool shouldReallocateBuffer (size_t newCapacity) const
 
void reallocateBuffer (size_t newCapacity)
 
void deallocateBuffer (T *bufferToDeallocate)
 
Tbuffer ()
 
const Tbuffer () const
 
size_t capacity () const
 
MallocPtr< TreleaseBuffer ()
 

Static Public Member Functions

static ptrdiff_t bufferMemoryOffset ()
 
static ptrdiff_t bufferMemoryOffset ()
 
static ptrdiff_t bufferMemoryOffset ()
 

Protected Member Functions

 VectorBufferBase ()
 
 VectorBufferBase (T *buffer, size_t capacity, size_t size)
 
 ~VectorBufferBase ()
 
 VectorBufferBase ()
 
 VectorBufferBase (T *buffer, size_t capacity, size_t size)
 
 ~VectorBufferBase ()
 
 VectorBufferBase ()
 
 VectorBufferBase (T *buffer, size_t capacity, size_t size)
 
 ~VectorBufferBase ()
 

Protected Attributes

Tm_buffer
 
unsigned m_capacity
 
unsigned m_size
 

Constructor & Destructor Documentation

◆ VectorBufferBase() [1/6]

template<typename T>
WTF::VectorBufferBase< T >::VectorBufferBase ( )
inlineprotected

◆ VectorBufferBase() [2/6]

template<typename T>
WTF::VectorBufferBase< T >::VectorBufferBase ( T buffer,
size_t  capacity,
size_t  size 
)
inlineprotected

◆ ~VectorBufferBase() [1/3]

template<typename T>
WTF::VectorBufferBase< T >::~VectorBufferBase ( )
inlineprotected

◆ VectorBufferBase() [3/6]

template<typename T>
WTF::VectorBufferBase< T >::VectorBufferBase ( )
inlineprotected

◆ VectorBufferBase() [4/6]

template<typename T>
WTF::VectorBufferBase< T >::VectorBufferBase ( T buffer,
size_t  capacity,
size_t  size 
)
inlineprotected

◆ ~VectorBufferBase() [2/3]

template<typename T>
WTF::VectorBufferBase< T >::~VectorBufferBase ( )
inlineprotected

◆ VectorBufferBase() [5/6]

template<typename T>
WTF::VectorBufferBase< T >::VectorBufferBase ( )
inlineprotected

◆ VectorBufferBase() [6/6]

template<typename T>
WTF::VectorBufferBase< T >::VectorBufferBase ( T buffer,
size_t  capacity,
size_t  size 
)
inlineprotected

◆ ~VectorBufferBase() [3/3]

template<typename T>
WTF::VectorBufferBase< T >::~VectorBufferBase ( )
inlineprotected

Member Function Documentation

◆ allocateBuffer() [1/3]

template<typename T>
void WTF::VectorBufferBase< T >::allocateBuffer ( size_t  newCapacity)
inline

◆ allocateBuffer() [2/3]

template<typename T>
void WTF::VectorBufferBase< T >::allocateBuffer ( size_t  newCapacity)
inline

◆ allocateBuffer() [3/3]

template<typename T>
void WTF::VectorBufferBase< T >::allocateBuffer ( size_t  newCapacity)
inline

◆ buffer() [1/6]

template<typename T>
T* WTF::VectorBufferBase< T >::buffer ( )
inline

◆ buffer() [2/6]

template<typename T>
T* WTF::VectorBufferBase< T >::buffer ( )
inline

◆ buffer() [3/6]

template<typename T>
T* WTF::VectorBufferBase< T >::buffer ( )
inline

◆ buffer() [4/6]

template<typename T>
const T* WTF::VectorBufferBase< T >::buffer ( ) const
inline

◆ buffer() [5/6]

template<typename T>
const T* WTF::VectorBufferBase< T >::buffer ( ) const
inline

◆ buffer() [6/6]

template<typename T>
const T* WTF::VectorBufferBase< T >::buffer ( ) const
inline

◆ bufferMemoryOffset() [1/3]

template<typename T>
static ptrdiff_t WTF::VectorBufferBase< T >::bufferMemoryOffset ( )
inlinestatic

◆ bufferMemoryOffset() [2/3]

template<typename T>
static ptrdiff_t WTF::VectorBufferBase< T >::bufferMemoryOffset ( )
inlinestatic

◆ bufferMemoryOffset() [3/3]

template<typename T>
static ptrdiff_t WTF::VectorBufferBase< T >::bufferMemoryOffset ( )
inlinestatic

◆ capacity() [1/3]

template<typename T>
size_t WTF::VectorBufferBase< T >::capacity ( ) const
inline

◆ capacity() [2/3]

template<typename T>
size_t WTF::VectorBufferBase< T >::capacity ( ) const
inline

◆ capacity() [3/3]

template<typename T>
size_t WTF::VectorBufferBase< T >::capacity ( ) const
inline

◆ deallocateBuffer() [1/3]

template<typename T>
void WTF::VectorBufferBase< T >::deallocateBuffer ( T bufferToDeallocate)
inline

◆ deallocateBuffer() [2/3]

template<typename T>
void WTF::VectorBufferBase< T >::deallocateBuffer ( T bufferToDeallocate)
inline

◆ deallocateBuffer() [3/3]

template<typename T>
void WTF::VectorBufferBase< T >::deallocateBuffer ( T bufferToDeallocate)
inline

◆ reallocateBuffer() [1/3]

template<typename T>
void WTF::VectorBufferBase< T >::reallocateBuffer ( size_t  newCapacity)
inline

◆ reallocateBuffer() [2/3]

template<typename T>
void WTF::VectorBufferBase< T >::reallocateBuffer ( size_t  newCapacity)
inline

◆ reallocateBuffer() [3/3]

template<typename T>
void WTF::VectorBufferBase< T >::reallocateBuffer ( size_t  newCapacity)
inline

◆ releaseBuffer() [1/3]

template<typename T>
MallocPtr<T> WTF::VectorBufferBase< T >::releaseBuffer ( )
inline

◆ releaseBuffer() [2/3]

template<typename T>
MallocPtr<T> WTF::VectorBufferBase< T >::releaseBuffer ( )
inline

◆ releaseBuffer() [3/3]

template<typename T>
MallocPtr<T> WTF::VectorBufferBase< T >::releaseBuffer ( )
inline

◆ shouldReallocateBuffer() [1/3]

template<typename T>
bool WTF::VectorBufferBase< T >::shouldReallocateBuffer ( size_t  newCapacity) const
inline

◆ shouldReallocateBuffer() [2/3]

template<typename T>
bool WTF::VectorBufferBase< T >::shouldReallocateBuffer ( size_t  newCapacity) const
inline

◆ shouldReallocateBuffer() [3/3]

template<typename T>
bool WTF::VectorBufferBase< T >::shouldReallocateBuffer ( size_t  newCapacity) const
inline

◆ tryAllocateBuffer() [1/3]

template<typename T>
bool WTF::VectorBufferBase< T >::tryAllocateBuffer ( size_t  newCapacity)
inline

◆ tryAllocateBuffer() [2/3]

template<typename T>
bool WTF::VectorBufferBase< T >::tryAllocateBuffer ( size_t  newCapacity)
inline

◆ tryAllocateBuffer() [3/3]

template<typename T>
bool WTF::VectorBufferBase< T >::tryAllocateBuffer ( size_t  newCapacity)
inline

Member Data Documentation

◆ m_buffer

template<typename T>
T * WTF::VectorBufferBase< T >::m_buffer
protected

◆ m_capacity

template<typename T>
unsigned WTF::VectorBufferBase< T >::m_capacity
protected

◆ m_size

template<typename T>
unsigned WTF::VectorBufferBase< T >::m_size
protected

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