|
| Arena (const ArenaOptions &options) |
|
| Arena () |
|
| ~Arena () |
|
GOOGLE_ATTRIBUTE_NOINLINE uint64 | SpaceAllocated () const |
|
GOOGLE_ATTRIBUTE_NOINLINE uint64 | SpaceUsed () const |
|
GOOGLE_ATTRIBUTE_NOINLINE pair< uint64, uint64 > | SpaceAllocatedAndUsed () const |
|
GOOGLE_ATTRIBUTE_NOINLINE uint64 | Reset () |
|
template<typename T > |
GOOGLE_ATTRIBUTE_NOINLINE void | Own (T *object) |
|
template<typename T > |
GOOGLE_ATTRIBUTE_NOINLINE void | OwnDestructor (T *object) |
|
GOOGLE_ATTRIBUTE_NOINLINE void | OwnCustomDestructor (void *object, void(*destruct)(void *)) |
|
template<typename T > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateInternalRawArray (size_t num_elements) |
|
template<typename T > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateInternal (bool skip_explicit_ownership) |
|
template<typename T , typename Arg > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateInternal (bool skip_explicit_ownership, const Arg &arg) |
|
template<typename T , typename Arg1 , typename Arg2 > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateInternal (bool skip_explicit_ownership, const Arg1 &arg1, const Arg2 &arg2) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateInternal (bool skip_explicit_ownership, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateInternal (bool skip_explicit_ownership, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateInternal (bool skip_explicit_ownership, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateInternal (bool skip_explicit_ownership, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5, const Arg6 &arg6) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateInternal (bool skip_explicit_ownership, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5, const Arg6 &arg6, const Arg7 &arg7) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateInternal (bool skip_explicit_ownership, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5, const Arg6 &arg6, const Arg7 &arg7, const Arg8 &arg8) |
|
template<typename T > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateMessageInternal (typename T::InternalArenaConstructable_ *) |
|
template<typename T , typename Arg > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateMessageInternal (typename T::InternalArenaConstructable_ *, const Arg &arg) |
|
template<typename T , typename Arg1 , typename Arg2 > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateMessageInternal (typename T::InternalArenaConstructable_ *, const Arg1 &arg1, const Arg2 &arg2) |
|
template<typename T > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE void | OwnInternal (T *object, google::protobuf::internal::true_type) |
|
template<typename T > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE void | OwnInternal (T *object, google::protobuf::internal::false_type) |
|
void * | AllocateAligned (const std::type_info *allocated, size_t n) |
|
GOOGLE_ATTRIBUTE_ALWAYS_INLINE void * | AllocateAligned (size_t n) |
|
void | Init () |
|
uint64 | FreeBlocks () |
|
void | AddListNode (void *elem, void(*cleanup)(void *)) |
|
void | CleanupList () |
|
uint64 | ResetInternal () |
|
void | SetThreadCacheBlock (Block *block) |
|
void | AddBlock (Block *b) |
|
void | AddBlockInternal (Block *b) |
|
void * | SlowAlloc (size_t n) |
|
Block * | FindBlock (void *me) |
|
Block * | NewBlock (void *me, Block *my_last_block, size_t n, size_t start_block_size, size_t max_block_size) |
|
| GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (Arena) |
|
|
template<typename T > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateMessage (::google::protobuf::Arena *arena) |
|
template<typename T , typename Arg > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateMessage (::google::protobuf::Arena *arena, const Arg &arg) |
|
template<typename T , typename Arg1 , typename Arg2 > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateMessage (::google::protobuf::Arena *arena, const Arg1 &arg1, const Arg2 &arg2) |
|
template<typename T > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | Create (::google::protobuf::Arena *arena) |
|
template<typename T , typename Arg > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | Create (::google::protobuf::Arena *arena, const Arg &arg) |
|
template<typename T , typename Arg1 , typename Arg2 > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | Create (::google::protobuf::Arena *arena, const Arg1 &arg1, const Arg2 &arg2) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | Create (::google::protobuf::Arena *arena, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | Create (::google::protobuf::Arena *arena, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | Create (::google::protobuf::Arena *arena, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | Create (::google::protobuf::Arena *arena, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5, const Arg6 &arg6) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | Create (::google::protobuf::Arena *arena, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5, const Arg6 &arg6, const Arg7 &arg7) |
|
template<typename T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 , typename Arg7 , typename Arg8 > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | Create (::google::protobuf::Arena *arena, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5, const Arg6 &arg6, const Arg7 &arg7, const Arg8 &arg8) |
|
template<typename T > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateArray (::google::protobuf::Arena *arena, size_t num_elements) |
|
template<typename T > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE ::google::protobuf::Arena * | GetArena (const T *value) |
|
template<typename Msg > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE Msg * | CreateMaybeMessage (Arena *arena, typename Msg::InternalArenaConstructable_ *) |
|
template<typename T > |
static GOOGLE_ATTRIBUTE_ALWAYS_INLINE T * | CreateMaybeMessage (Arena *arena,...) |
|
template<typename T > |
static void | CreateInArenaStorage (T *ptr, Arena *arena) |
|
template<typename T > |
static void | CreateInArenaStorageInternal (T *ptr, Arena *arena, google::protobuf::internal::true_type) |
|
template<typename T > |
static void | CreateInArenaStorageInternal (T *ptr, Arena *arena, google::protobuf::internal::false_type) |
|
template<typename T > |
static void | RegisterDestructorInternal (T *ptr, Arena *arena, google::protobuf::internal::true_type) |
|
template<typename T > |
static void | RegisterDestructorInternal (T *ptr, Arena *arena, google::protobuf::internal::false_type) |
|
template<typename T > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE ::google::protobuf::Arena * | GetArenaInternal (const T *value, typename T::InternalArenaConstructable_ *) |
|
template<typename T > |
GOOGLE_ATTRIBUTE_ALWAYS_INLINE ::google::protobuf::Arena * | GetArenaInternal (const T *value,...) |
|
static void * | AllocFromBlock (Block *b, size_t n) |
|