fdf::Arena
Summary
Inheritance
Inherits from:
fidl::AnyArena
Public functions
|
Allocate(size_t bytes) const
|
void *
|
Allocate(size_t item_size, size_t count, void(*)(uint8_t *data, size_t count) destructor_function) override
|
virtual uint8_t *
|
Contains(const T *ptr) const
|
bool
|
Free(void *ptr)
|
void
|
close()
|
void
|
get() const
|
fdf_arena_t *
|
operator=(const Arena & other)=delete
|
|
operator=(Arena && other) noexcept
|
|
release()
|
fdf_arena_t *
|
reset(fdf_arena_t *arena)
|
void
|
Public static functions
|
Create(uint32_t options, fdf_arena_tag_t tag)
|
|
Public functions
Allocate
void * Allocate(
size_t bytes
) const
Allocate
virtual uint8_t * Allocate(
size_t item_size,
size_t count,
void(*)(uint8_t *data, size_t count) destructor_function
) override
Arena
Arena(
fdf_arena_t *arena
)
Arena
Arena(
fdf_arena_tag_t tag
)
Arena
Arena(
const Arena & to_copy
)=delete
Arena
Arena(
Arena && other
) noexcept
Contains
bool Contains(
const T *ptr
) const
Free
void Free(
void *ptr
)
get
fdf_arena_t * get() const
operator=
Arena & operator=(
const Arena & other
)=delete
operator=
Arena & operator=(
Arena && other
) noexcept
release
fdf_arena_t * release()
reset
void reset(
fdf_arena_t *arena
)
Public static functions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-14 UTC."],[],[]]