webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
JSC::FreeList Struct Reference

#include <FreeList.h>

Public Member Functions

 FreeList ()
 
bool operator== (const FreeList &other) const
 
bool operator!= (const FreeList &other) const
 
 operator bool () const
 
bool allocationWillFail () const
 
bool allocationWillSucceed () const
 
void dump (PrintStream &) const
 
 FreeList ()
 
bool operator== (const FreeList &other) const
 
bool operator!= (const FreeList &other) const
 
 operator bool () const
 
bool allocationWillFail () const
 
bool allocationWillSucceed () const
 
void dump (PrintStream &) const
 

Static Public Member Functions

static FreeList list (FreeCell *head, unsigned bytes)
 
static FreeList bump (char *payloadEnd, unsigned remaining)
 
static FreeList list (FreeCell *head, unsigned bytes)
 
static FreeList bump (char *payloadEnd, unsigned remaining)
 

Public Attributes

FreeCellhead { nullptr }
 
char * payloadEnd { nullptr }
 
unsigned remaining { 0 }
 
unsigned originalSize { 0 }
 

Constructor & Destructor Documentation

◆ FreeList() [1/2]

JSC::FreeList::FreeList ( )
inline

◆ FreeList() [2/2]

JSC::FreeList::FreeList ( )
inline

Member Function Documentation

◆ allocationWillFail() [1/2]

bool JSC::FreeList::allocationWillFail ( ) const
inline

◆ allocationWillFail() [2/2]

bool JSC::FreeList::allocationWillFail ( ) const
inline

◆ allocationWillSucceed() [1/2]

bool JSC::FreeList::allocationWillSucceed ( ) const
inline

◆ allocationWillSucceed() [2/2]

bool JSC::FreeList::allocationWillSucceed ( ) const
inline

◆ bump() [1/2]

static FreeList JSC::FreeList::bump ( char *  payloadEnd,
unsigned  remaining 
)
inlinestatic

◆ bump() [2/2]

static FreeList JSC::FreeList::bump ( char *  payloadEnd,
unsigned  remaining 
)
inlinestatic

◆ dump() [1/2]

void JSC::FreeList::dump ( PrintStream &  ) const

◆ dump() [2/2]

void JSC::FreeList::dump ( PrintStream &  out) const

◆ list() [1/2]

static FreeList JSC::FreeList::list ( FreeCell head,
unsigned  bytes 
)
inlinestatic

◆ list() [2/2]

static FreeList JSC::FreeList::list ( FreeCell head,
unsigned  bytes 
)
inlinestatic

◆ operator bool() [1/2]

JSC::FreeList::operator bool ( ) const
inlineexplicit

◆ operator bool() [2/2]

JSC::FreeList::operator bool ( ) const
inlineexplicit

◆ operator!=() [1/2]

bool JSC::FreeList::operator!= ( const FreeList other) const
inline

◆ operator!=() [2/2]

bool JSC::FreeList::operator!= ( const FreeList other) const
inline

◆ operator==() [1/2]

bool JSC::FreeList::operator== ( const FreeList other) const
inline

◆ operator==() [2/2]

bool JSC::FreeList::operator== ( const FreeList other) const
inline

Member Data Documentation

◆ head

FreeCell * JSC::FreeList::head { nullptr }

◆ originalSize

unsigned JSC::FreeList::originalSize { 0 }

◆ payloadEnd

char * JSC::FreeList::payloadEnd { nullptr }

◆ remaining

unsigned JSC::FreeList::remaining { 0 }

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