ONE - On-device Neural Engine
|
#include <flatbuffers.h>
Public Member Functions | |
vector_downward (size_t initial_size, Allocator *allocator, bool own_allocator, size_t buffer_minalign) | |
vector_downward (vector_downward &&other) | |
vector_downward & | operator= (vector_downward &&other) |
~vector_downward () | |
void | reset () |
void | clear () |
void | clear_scratch () |
void | clear_allocator () |
void | clear_buffer () |
uint8_t * | release_raw (size_t &allocated_bytes, size_t &offset) |
DetachedBuffer | release () |
size_t | ensure_space (size_t len) |
uint8_t * | make_space (size_t len) |
Allocator * | get_custom_allocator () |
uoffset_t | size () const |
uoffset_t | scratch_size () const |
size_t | capacity () const |
uint8_t * | data () const |
uint8_t * | scratch_data () const |
uint8_t * | scratch_end () const |
uint8_t * | data_at (size_t offset) const |
void | push (const uint8_t *bytes, size_t num) |
template<typename T > | |
void | push_small (const T &little_endian_t) |
template<typename T > | |
void | scratch_push_small (const T &t) |
void | fill (size_t zero_pad_bytes) |
void | fill_big (size_t zero_pad_bytes) |
void | pop (size_t bytes_to_remove) |
void | scratch_pop (size_t bytes_to_remove) |
void | swap (vector_downward &other) |
void | swap_allocator (vector_downward &other) |
Definition at line 875 of file flatbuffers.h.
|
inlineexplicit |
Definition at line 878 of file flatbuffers.h.
|
inline |
Definition at line 887 of file flatbuffers.h.
|
inline |
Definition at line 918 of file flatbuffers.h.
References clear_allocator(), and clear_buffer().
|
inline |
Definition at line 1022 of file flatbuffers.h.
Referenced by flatbuffers::grpc::MessageBuilder::GetMessage(), and flatbuffers::grpc::MessageBuilder::MessageBuilder().
|
inline |
Definition at line 930 of file flatbuffers.h.
References clear_scratch().
Referenced by flatbuffers::FlatBufferBuilder::Clear(), release(), release_raw(), and reset().
|
inline |
Definition at line 946 of file flatbuffers.h.
Referenced by ~vector_downward().
|
inline |
Definition at line 956 of file flatbuffers.h.
References flatbuffers::Deallocate().
Referenced by reset(), and ~vector_downward().
|
inline |
Definition at line 944 of file flatbuffers.h.
Referenced by clear(), and flatbuffers::FlatBufferBuilder::Finish().
|
inline |
Definition at line 1024 of file flatbuffers.h.
References FLATBUFFERS_ASSERT.
Referenced by flatbuffers::FlatBufferBuilder::GetBufferPointer(), flatbuffers::FlatBufferBuilder::GetBufferSpan(), flatbuffers::FlatBufferBuilder::GetCurrentBufferPointer(), and flatbuffers::grpc::MessageBuilder::GetMessage().
|
inline |
Definition at line 1042 of file flatbuffers.h.
References offset().
Referenced by flatbuffers::FlatBufferBuilder::CreateUninitializedVector(), and flatbuffers::FlatBufferBuilder::StringOffsetCompare::operator()().
|
inline |
Definition at line 992 of file flatbuffers.h.
References FLATBUFFERS_ASSERT, and size().
Referenced by make_space(), and scratch_push_small().
|
inline |
Definition at line 1068 of file flatbuffers.h.
References make_space().
Referenced by flatbuffers::FlatBufferBuilder::CreateString().
|
inline |
Definition at line 1077 of file flatbuffers.h.
References make_space().
|
inline |
Definition at line 1013 of file flatbuffers.h.
|
inline |
Definition at line 1005 of file flatbuffers.h.
References ensure_space().
Referenced by flatbuffers::FlatBufferBuilder::CreateUninitializedVector(), fill(), fill_big(), push(), and push_small().
|
inline |
Definition at line 908 of file flatbuffers.h.
References swap().
|
inline |
Definition at line 1079 of file flatbuffers.h.
Referenced by flatbuffers::FlatBufferBuilder::CreateSharedString().
|
inline |
Definition at line 1044 of file flatbuffers.h.
References make_space().
|
inline |
Definition at line 1053 of file flatbuffers.h.
References make_space().
Referenced by flatbuffers::FlatBufferBuilder::CreateStruct().
|
inline |
Definition at line 978 of file flatbuffers.h.
References clear(), and size().
Referenced by flatbuffers::FlatBufferBuilder::FLATBUFFERS_ATTRIBUTE(), and flatbuffers::FlatBufferBuilder::Release().
|
inline |
Definition at line 964 of file flatbuffers.h.
References clear(), and offset().
Referenced by flatbuffers::FlatBufferBuilder::ReleaseRaw().
|
inline |
Definition at line 924 of file flatbuffers.h.
References clear(), and clear_buffer().
Referenced by flatbuffers::FlatBufferBuilder::Reset().
|
inline |
Definition at line 1030 of file flatbuffers.h.
References FLATBUFFERS_ASSERT.
Referenced by flatbuffers::grpc::MessageBuilder::GetMessage(), and flatbuffers::grpc::MessageBuilder::MessageBuilder().
|
inline |
Definition at line 1036 of file flatbuffers.h.
References FLATBUFFERS_ASSERT.
|
inline |
Definition at line 1080 of file flatbuffers.h.
|
inline |
Definition at line 1059 of file flatbuffers.h.
References ensure_space().
|
inline |
Definition at line 1020 of file flatbuffers.h.
|
inline |
Definition at line 1015 of file flatbuffers.h.
Referenced by flatbuffers::FlatBufferBuilder::CreateSharedString(), ensure_space(), flatbuffers::FlatBufferBuilder::GetBufferSpan(), flatbuffers::grpc::MessageBuilder::GetMessage(), flatbuffers::FlatBufferBuilder::GetSize(), and release().
|
inline |
Definition at line 1082 of file flatbuffers.h.
References swap().
Referenced by operator=(), flatbuffers::FlatBufferBuilder::Swap(), swap(), and swap_allocator().
|
inline |
Definition at line 1095 of file flatbuffers.h.
References swap().
Referenced by flatbuffers::grpc::MessageBuilder::Swap(), and flatbuffers::FlatBufferBuilder::SwapBufAllocator().