webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
Json::DefaultValueMapAllocator Class Reference
Inheritance diagram for Json::DefaultValueMapAllocator:

Public Member Functions

virtual ValueInternalMap * newMap ()
 
virtual ValueInternalMap * newMapCopy (const ValueInternalMap &other)
 
virtual void destructMap (ValueInternalMap *map)
 
virtual ValueInternalLink * allocateMapBuckets (unsigned int size)
 
virtual void releaseMapBuckets (ValueInternalLink *links)
 
virtual ValueInternalLink * allocateMapLink ()
 
virtual void releaseMapLink (ValueInternalLink *link)
 

Detailed Description

Todo:
make this thread-safe (lock when accessign batch allocator)

Member Function Documentation

◆ allocateMapBuckets()

virtual ValueInternalLink* Json::DefaultValueMapAllocator::allocateMapBuckets ( unsigned int  size)
inlinevirtual

◆ allocateMapLink()

virtual ValueInternalLink* Json::DefaultValueMapAllocator::allocateMapLink ( )
inlinevirtual

◆ destructMap()

virtual void Json::DefaultValueMapAllocator::destructMap ( ValueInternalMap *  map)
inlinevirtual

◆ newMap()

virtual ValueInternalMap* Json::DefaultValueMapAllocator::newMap ( )
inlinevirtual

◆ newMapCopy()

virtual ValueInternalMap* Json::DefaultValueMapAllocator::newMapCopy ( const ValueInternalMap &  other)
inlinevirtual

◆ releaseMapBuckets()

virtual void Json::DefaultValueMapAllocator::releaseMapBuckets ( ValueInternalLink *  links)
inlinevirtual

◆ releaseMapLink()

virtual void Json::DefaultValueMapAllocator::releaseMapLink ( ValueInternalLink *  link)
inlinevirtual

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