webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Static Public Member Functions | Static Public Attributes | List of all members
google::protobuf::ArenaHooksTestUtil Class Reference

Static Public Member Functions

static voidon_init (::google::protobuf::Arena *arena)
 
static void on_allocation (const std::type_info *, uint64 alloc_size, void *cookie)
 
static void on_reset (::google::protobuf::Arena *arena, void *cookie, uint64 space_used)
 
static void on_destruction (::google::protobuf::Arena *arena, void *cookie, uint64 space_used)
 

Static Public Attributes

static const int kCookieValue = 999
 
static uint32 num_init = 0
 
static uint32 num_allocations = 0
 
static uint32 num_reset = 0
 
static uint32 num_destruct = 0
 

Member Function Documentation

◆ on_allocation()

static void google::protobuf::ArenaHooksTestUtil::on_allocation ( const std::type_info *  ,
uint64  alloc_size,
void cookie 
)
inlinestatic

◆ on_destruction()

static void google::protobuf::ArenaHooksTestUtil::on_destruction ( ::google::protobuf::Arena arena,
void cookie,
uint64  space_used 
)
inlinestatic

◆ on_init()

static void* google::protobuf::ArenaHooksTestUtil::on_init ( ::google::protobuf::Arena arena)
inlinestatic

◆ on_reset()

static void google::protobuf::ArenaHooksTestUtil::on_reset ( ::google::protobuf::Arena arena,
void cookie,
uint64  space_used 
)
inlinestatic

Member Data Documentation

◆ kCookieValue

const int google::protobuf::ArenaHooksTestUtil::kCookieValue = 999
static

◆ num_allocations

uint32 google::protobuf::ArenaHooksTestUtil::num_allocations = 0
static

◆ num_destruct

uint32 google::protobuf::ArenaHooksTestUtil::num_destruct = 0
static

◆ num_init

uint32 google::protobuf::ArenaHooksTestUtil::num_init = 0
static

◆ num_reset

uint32 google::protobuf::ArenaHooksTestUtil::num_reset = 0
static

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