webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WTF::VectorBuffer< T, inlineCapacity > Class Template Reference

#include <Vector.h>

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

Public Member Functions

 VectorBuffer ()
 
 VectorBuffer (size_t capacity, size_t size=0)
 
 ~VectorBuffer ()
 
void allocateBuffer (size_t newCapacity)
 
bool tryAllocateBuffer (size_t newCapacity)
 
void deallocateBuffer (T *bufferToDeallocate)
 
bool shouldReallocateBuffer (size_t newCapacity) const
 
void reallocateBuffer (size_t newCapacity)
 
void swap (VectorBuffer &other, size_t mySize, size_t otherSize)
 
void restoreInlineBufferIfNeeded ()
 
MallocPtr< TreleaseBuffer ()
 
 VectorBuffer ()
 
 VectorBuffer (size_t capacity, size_t size=0)
 
 ~VectorBuffer ()
 
void allocateBuffer (size_t newCapacity)
 
bool tryAllocateBuffer (size_t newCapacity)
 
void deallocateBuffer (T *bufferToDeallocate)
 
bool shouldReallocateBuffer (size_t newCapacity) const
 
void reallocateBuffer (size_t newCapacity)
 
void swap (VectorBuffer &other, size_t mySize, size_t otherSize)
 
void restoreInlineBufferIfNeeded ()
 
MallocPtr< TreleaseBuffer ()
 
 VectorBuffer ()
 
 VectorBuffer (size_t capacity, size_t size=0)
 
 ~VectorBuffer ()
 
void allocateBuffer (size_t newCapacity)
 
bool tryAllocateBuffer (size_t newCapacity)
 
void deallocateBuffer (T *bufferToDeallocate)
 
bool shouldReallocateBuffer (size_t newCapacity) const
 
void reallocateBuffer (size_t newCapacity)
 
void swap (VectorBuffer &other, size_t mySize, size_t otherSize)
 
void restoreInlineBufferIfNeeded ()
 
MallocPtr< TreleaseBuffer ()
 

Constructor & Destructor Documentation

◆ VectorBuffer() [1/6]

template<typename T, size_t inlineCapacity>
WTF::VectorBuffer< T, inlineCapacity >::VectorBuffer ( )
inline

◆ VectorBuffer() [2/6]

template<typename T, size_t inlineCapacity>
WTF::VectorBuffer< T, inlineCapacity >::VectorBuffer ( size_t  capacity,
size_t  size = 0 
)
inline

◆ ~VectorBuffer() [1/3]

template<typename T, size_t inlineCapacity>
WTF::VectorBuffer< T, inlineCapacity >::~VectorBuffer ( )
inline

◆ VectorBuffer() [3/6]

template<typename T, size_t inlineCapacity>
WTF::VectorBuffer< T, inlineCapacity >::VectorBuffer ( )
inline

◆ VectorBuffer() [4/6]

template<typename T, size_t inlineCapacity>
WTF::VectorBuffer< T, inlineCapacity >::VectorBuffer ( size_t  capacity,
size_t  size = 0 
)
inline

◆ ~VectorBuffer() [2/3]

template<typename T, size_t inlineCapacity>
WTF::VectorBuffer< T, inlineCapacity >::~VectorBuffer ( )
inline

◆ VectorBuffer() [5/6]

template<typename T, size_t inlineCapacity>
WTF::VectorBuffer< T, inlineCapacity >::VectorBuffer ( )
inline

◆ VectorBuffer() [6/6]

template<typename T, size_t inlineCapacity>
WTF::VectorBuffer< T, inlineCapacity >::VectorBuffer ( size_t  capacity,
size_t  size = 0 
)
inline

◆ ~VectorBuffer() [3/3]

template<typename T, size_t inlineCapacity>
WTF::VectorBuffer< T, inlineCapacity >::~VectorBuffer ( )
inline

Member Function Documentation

◆ allocateBuffer() [1/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::allocateBuffer ( size_t  newCapacity)
inline

◆ allocateBuffer() [2/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::allocateBuffer ( size_t  newCapacity)
inline

◆ allocateBuffer() [3/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::allocateBuffer ( size_t  newCapacity)
inline

◆ deallocateBuffer() [1/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::deallocateBuffer ( T bufferToDeallocate)
inline

◆ deallocateBuffer() [2/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::deallocateBuffer ( T bufferToDeallocate)
inline

◆ deallocateBuffer() [3/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::deallocateBuffer ( T bufferToDeallocate)
inline

◆ reallocateBuffer() [1/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::reallocateBuffer ( size_t  newCapacity)
inline

◆ reallocateBuffer() [2/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::reallocateBuffer ( size_t  newCapacity)
inline

◆ reallocateBuffer() [3/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::reallocateBuffer ( size_t  newCapacity)
inline

◆ releaseBuffer() [1/3]

template<typename T, size_t inlineCapacity>
MallocPtr<T> WTF::VectorBuffer< T, inlineCapacity >::releaseBuffer ( )
inline

◆ releaseBuffer() [2/3]

template<typename T, size_t inlineCapacity>
MallocPtr<T> WTF::VectorBuffer< T, inlineCapacity >::releaseBuffer ( )
inline

◆ releaseBuffer() [3/3]

template<typename T, size_t inlineCapacity>
MallocPtr<T> WTF::VectorBuffer< T, inlineCapacity >::releaseBuffer ( )
inline

◆ restoreInlineBufferIfNeeded() [1/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::restoreInlineBufferIfNeeded ( )
inline

◆ restoreInlineBufferIfNeeded() [2/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::restoreInlineBufferIfNeeded ( )
inline

◆ restoreInlineBufferIfNeeded() [3/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::restoreInlineBufferIfNeeded ( )
inline

◆ shouldReallocateBuffer() [1/3]

template<typename T, size_t inlineCapacity>
bool WTF::VectorBuffer< T, inlineCapacity >::shouldReallocateBuffer ( size_t  newCapacity) const
inline

◆ shouldReallocateBuffer() [2/3]

template<typename T, size_t inlineCapacity>
bool WTF::VectorBuffer< T, inlineCapacity >::shouldReallocateBuffer ( size_t  newCapacity) const
inline

◆ shouldReallocateBuffer() [3/3]

template<typename T, size_t inlineCapacity>
bool WTF::VectorBuffer< T, inlineCapacity >::shouldReallocateBuffer ( size_t  newCapacity) const
inline

◆ swap() [1/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::swap ( VectorBuffer< T, inlineCapacity > &  other,
size_t  mySize,
size_t  otherSize 
)
inline

◆ swap() [2/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::swap ( VectorBuffer< T, inlineCapacity > &  other,
size_t  mySize,
size_t  otherSize 
)
inline

◆ swap() [3/3]

template<typename T, size_t inlineCapacity>
void WTF::VectorBuffer< T, inlineCapacity >::swap ( VectorBuffer< T, inlineCapacity > &  other,
size_t  mySize,
size_t  otherSize 
)
inline

◆ tryAllocateBuffer() [1/3]

template<typename T, size_t inlineCapacity>
bool WTF::VectorBuffer< T, inlineCapacity >::tryAllocateBuffer ( size_t  newCapacity)
inline

◆ tryAllocateBuffer() [2/3]

template<typename T, size_t inlineCapacity>
bool WTF::VectorBuffer< T, inlineCapacity >::tryAllocateBuffer ( size_t  newCapacity)
inline

◆ tryAllocateBuffer() [3/3]

template<typename T, size_t inlineCapacity>
bool WTF::VectorBuffer< T, inlineCapacity >::tryAllocateBuffer ( size_t  newCapacity)
inline

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