|
ONE - On-device Neural Engine
|
Namespaces | |
| namespace | grpc |
| namespace | internal |
Typedefs | |
| using | FlatBufferBuilder = FlatBufferBuilderImpl< false > |
| using | FlatBufferBuilder64 = FlatBufferBuilderImpl< true > |
| typedef uint64_t | hash_value_t |
Function types to be used with resolving hashes into objects and back again. The resolver gets a pointer to a field inside an object API object that is of the type specified in the schema using the attribute cpp_type (it is thus important whatever you write to this address matches that type). The value of this field is initially null, so you may choose to implement a delayed binding lookup using this function if you wish. The resolver does the opposite lookup, for when the object is being serialized again. | |
| typedef std::function< void(void **pointer_adr, hash_value_t hash)> | resolver_function_t |
| typedef std::function< hash_value_t(void *pointer)> | rehasher_function_t |
| typedef const TypeTable *(* | TypeFunction) () |
| typedef bool_constant< true > | true_type |
| typedef bool_constant< false > | false_type |
| typedef bool(* | LoadFileFunction) (const char *filename, bool binary, std::string *dest) |
| typedef bool(* | FileExistsFunction) (const char *filename) |
| template<typename T , typename IT , typename SizeT = uoffset_t> | |
| using | VectorConstIterator = VectorIterator< T, IT, const uint8_t *, SizeT > |
| template<typename T > | |
| using | Vector64 = Vector< T, uoffset64_t > |
Enumerations | |
| enum | SequenceType { ST_TABLE , ST_STRUCT , ST_UNION , ST_ENUM } |
| enum | ElementaryType |
| enum | BaseType |
| enum class | Case { kUnknown = 0 , kUpperCamel = 1 , kLowerCamel = 2 , kSnake = 3 , kScreamingSnake = 4 , kAllUpper = 5 , kAllLower = 6 , kDasher = 7 , kKeep = 8 , kSnake2 = 9 } |
Functions | |
| template<class U , uint16_t N> | |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< U, N > | make_span (Array< U, N > &arr) FLATBUFFERS_NOEXCEPT |
| template<class U , uint16_t N> | |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< const U, N > | make_span (const Array< U, N > &arr) FLATBUFFERS_NOEXCEPT |
| template<class U , uint16_t N> | |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< uint8_t, sizeof(U) *N > | make_bytes_span (Array< U, N > &arr) FLATBUFFERS_NOEXCEPT |
| template<class U , uint16_t N> | |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< const uint8_t, sizeof(U) *N > | make_bytes_span (const Array< U, N > &arr) FLATBUFFERS_NOEXCEPT |
| template<typename T , uint16_t length> | |
| Array< T, length > & | CastToArray (T(&arr)[length]) |
| template<typename T , uint16_t length> | |
| const Array< T, length > & | CastToArray (const T(&arr)[length]) |
| template<typename E , typename T , uint16_t length> | |
| Array< E, length > & | CastToArrayOfEnum (T(&arr)[length]) |
| template<typename E , typename T , uint16_t length> | |
| const Array< E, length > & | CastToArrayOfEnum (const T(&arr)[length]) |
| template<typename T , uint16_t length> | |
| bool | operator== (const Array< T, length > &lhs, const Array< T, length > &rhs) noexcept |
| void | GenComment (const std::vector< std::string > &dc, std::string *code_ptr, const CommentConfig *config, const char *prefix="") |
| std::string | JavaCSharpMakeRule (const bool java, const Parser &parser, const std::string &path, const std::string &file_name) |
| uint8_t * | Allocate (Allocator *allocator, size_t size) |
| void | Deallocate (Allocator *allocator, uint8_t *p, size_t size) |
| uint8_t * | ReallocateDownward (Allocator *allocator, uint8_t *old_p, size_t old_size, size_t new_size, size_t in_use_back, size_t in_use_front) |
| voffset_t | FieldIndexToOffset (voffset_t field_id) |
| template<typename T , typename Alloc = std::allocator<T>> | |
| const T * | data (const std::vector< T, Alloc > &v) |
| template<typename T , typename Alloc = std::allocator<T>> | |
| T * | data (std::vector< T, Alloc > &v) |
| template<typename T > | |
| T * | GetMutableTemporaryPointer (FlatBufferBuilder &fbb, Offset< T > offset) |
| template<typename T > | |
| const T * | GetTemporaryPointer (FlatBufferBuilder &fbb, Offset< T > offset) |
| const uint8_t * | GetBufferStartFromRootPointer (const void *root) |
| This can compute the start of a FlatBuffer from a root pointer, i.e. it is the opposite transformation of GetRoot(). This may be useful if you want to pass on a root and have the recipient delete the buffer afterwards. | |
| template<typename SizeT = uoffset_t> | |
| SizeT | GetPrefixedSize (const uint8_t *buf) |
| This return the prefixed size of a FlatBuffer. | |
| template<typename SizeT = uoffset_t> | |
| SizeT | GetSizePrefixedBufferLength (const uint8_t *const buf) |
| template<typename T > | |
| bool | IsFieldPresent (const T *table, typename T::FlatBuffersVTableOffset field) |
| int | LookupEnum (const char **names, const char *name) |
| const char *const * | ElementaryTypeNames () |
| const char * | flatbuffers_version_string () |
| void | LogCompilerWarn (const std::string &warn) |
| void | LogCompilerError (const std::string &err) |
| template<typename T > | |
| T | HashFnv1 (const char *input) |
| template<typename T > | |
| T | HashFnv1a (const char *input) |
| template<> | |
| uint16_t | HashFnv1< uint16_t > (const char *input) |
| template<> | |
| uint16_t | HashFnv1a< uint16_t > (const char *input) |
| NamedHashFunction< uint16_t >::HashFunction | FindHashFunction16 (const char *name) |
| NamedHashFunction< uint32_t >::HashFunction | FindHashFunction32 (const char *name) |
| NamedHashFunction< uint64_t >::HashFunction | FindHashFunction64 (const char *name) |
| bool | IsScalar (BaseType t) |
| bool | IsInteger (BaseType t) |
| bool | IsFloat (BaseType t) |
| bool | IsLong (BaseType t) |
| bool | IsBool (BaseType t) |
| bool | IsOneByte (BaseType t) |
| bool | IsVector (BaseType t) |
| bool | IsUnsigned (BaseType t) |
| size_t | SizeOf (const BaseType t) |
| const char * | TypeName (const BaseType t) |
| const char * | StringOf (const BaseType t) |
| bool | operator< (const Namespace &a, const Namespace &b) |
| bool | IsString (const Type &type) |
| bool | IsStruct (const Type &type) |
| bool | IsIncompleteStruct (const Type &type) |
| bool | IsTable (const Type &type) |
| bool | IsUnion (const Type &type) |
| bool | IsUnionType (const Type &type) |
| bool | IsVector (const Type &type) |
| bool | IsVectorOfStruct (const Type &type) |
| bool | IsVectorOfTable (const Type &type) |
| bool | IsArray (const Type &type) |
| bool | IsSeries (const Type &type) |
| bool | IsEnum (const Type &type) |
| size_t | InlineSize (const Type &type) |
| size_t | InlineAlignment (const Type &type) |
| bool | operator== (const EnumVal &lhs, const EnumVal &rhs) |
| bool | operator!= (const EnumVal &lhs, const EnumVal &rhs) |
| bool | EqualByName (const Type &a, const Type &b) |
| bool | operator< (const IncludedFile &a, const IncludedFile &b) |
| const char * | GenTextFromTable (const Parser &parser, const void *table, const std::string &tablename, std::string *text) |
| const char * | GenText (const Parser &parser, const void *flatbuffer, std::string *text) |
| const char * | GenTextFile (const Parser &parser, const std::string &path, const std::string &file_name) |
| bool | GenerateCppGRPC (const Parser &parser, const std::string &path, const std::string &file_name) |
| bool | GenerateGoGRPC (const Parser &parser, const std::string &path, const std::string &file_name) |
| bool | GenerateJavaGRPC (const Parser &parser, const std::string &path, const std::string &file_name) |
| bool | GeneratePythonGRPC (const Parser &parser, const std::string &path, const std::string &file_name) |
| bool | GenerateSwiftGRPC (const Parser &parser, const std::string &path, const std::string &file_name) |
| bool | GenerateTSGRPC (const Parser &parser, const std::string &path, const std::string &file_name) |
| size_t | InlineSize (ElementaryType type, const TypeTable *type_table) |
| int64_t | LookupEnum (int64_t enum_val, const int64_t *values, size_t num_values) |
| template<typename T > | |
| const char * | EnumName (T tval, const TypeTable *type_table) |
| void | IterateObject (const uint8_t *obj, const TypeTable *type_table, IterationVisitor *visitor) |
| void | IterateValue (ElementaryType type, const uint8_t *val, const TypeTable *type_table, const uint8_t *prev_val, soffset_t vector_index, IterationVisitor *visitor) |
| void | IterateFlatBuffer (const uint8_t *buffer, const TypeTable *type_table, IterationVisitor *callback) |
| std::string | FlatBufferToString (const uint8_t *buffer, const TypeTable *type_table, bool multi_line=false, bool vector_delimited=true, const std::string &indent="") |
| bool | IsScalar (reflection::BaseType t) |
| bool | IsInteger (reflection::BaseType t) |
| bool | IsFloat (reflection::BaseType t) |
| bool | IsLong (reflection::BaseType t) |
| size_t | GetTypeSize (reflection::BaseType base_type) |
| size_t | GetTypeSizeInline (reflection::BaseType base_type, int type_index, const reflection::Schema &schema) |
| Table * | GetAnyRoot (uint8_t *const flatbuf) |
| const Table * | GetAnyRoot (const uint8_t *const flatbuf) |
| Table * | GetAnySizePrefixedRoot (uint8_t *const flatbuf) |
| const Table * | GetAnySizePrefixedRoot (const uint8_t *const flatbuf) |
| template<typename T > | |
| T | GetFieldDefaultI (const reflection::Field &field) |
| template<typename T > | |
| T | GetFieldDefaultF (const reflection::Field &field) |
| template<typename T > | |
| T | GetFieldI (const Table &table, const reflection::Field &field) |
| template<typename T > | |
| T | GetFieldF (const Table &table, const reflection::Field &field) |
| const String * | GetFieldS (const Table &table, const reflection::Field &field) |
| template<typename T > | |
| Vector< T > * | GetFieldV (const Table &table, const reflection::Field &field) |
| VectorOfAny * | GetFieldAnyV (const Table &table, const reflection::Field &field) |
| Table * | GetFieldT (const Table &table, const reflection::Field &field) |
| const Struct * | GetFieldStruct (const Table &table, const reflection::Field &field) |
| const Struct * | GetFieldStruct (const Struct &structure, const reflection::Field &field) |
| int64_t | GetAnyValueI (reflection::BaseType type, const uint8_t *data) |
| double | GetAnyValueF (reflection::BaseType type, const uint8_t *data) |
| std::string | GetAnyValueS (reflection::BaseType type, const uint8_t *data, const reflection::Schema *schema, int type_index) |
| int64_t | GetAnyFieldI (const Table &table, const reflection::Field &field) |
| double | GetAnyFieldF (const Table &table, const reflection::Field &field) |
| std::string | GetAnyFieldS (const Table &table, const reflection::Field &field, const reflection::Schema *schema) |
| int64_t | GetAnyFieldI (const Struct &st, const reflection::Field &field) |
| double | GetAnyFieldF (const Struct &st, const reflection::Field &field) |
| std::string | GetAnyFieldS (const Struct &st, const reflection::Field &field) |
| int64_t | GetAnyVectorElemI (const VectorOfAny *vec, reflection::BaseType elem_type, size_t i) |
| double | GetAnyVectorElemF (const VectorOfAny *vec, reflection::BaseType elem_type, size_t i) |
| std::string | GetAnyVectorElemS (const VectorOfAny *vec, reflection::BaseType elem_type, size_t i) |
| template<typename T > | |
| T * | GetAnyVectorElemPointer (const VectorOfAny *vec, size_t i) |
| template<typename T > | |
| T * | GetAnyVectorElemAddressOf (const VectorOfAny *vec, size_t i, size_t elem_size) |
| template<typename T > | |
| T * | GetAnyFieldAddressOf (const Table &table, const reflection::Field &field) |
| template<typename T > | |
| T * | GetAnyFieldAddressOf (const Struct &st, const reflection::Field &field) |
| void | ForAllFields (const reflection::Object *object, bool reverse, std::function< void(const reflection::Field *)> func) |
| template<typename T > | |
| bool | SetField (Table *table, const reflection::Field &field, T val) |
| void | SetAnyValueI (reflection::BaseType type, uint8_t *data, int64_t val) |
| void | SetAnyValueF (reflection::BaseType type, uint8_t *data, double val) |
| void | SetAnyValueS (reflection::BaseType type, uint8_t *data, const char *val) |
| bool | SetAnyFieldI (Table *table, const reflection::Field &field, int64_t val) |
| bool | SetAnyFieldF (Table *table, const reflection::Field &field, double val) |
| bool | SetAnyFieldS (Table *table, const reflection::Field &field, const char *val) |
| void | SetAnyFieldI (Struct *st, const reflection::Field &field, int64_t val) |
| void | SetAnyFieldF (Struct *st, const reflection::Field &field, double val) |
| void | SetAnyFieldS (Struct *st, const reflection::Field &field, const char *val) |
| void | SetAnyVectorElemI (VectorOfAny *vec, reflection::BaseType elem_type, size_t i, int64_t val) |
| void | SetAnyVectorElemF (VectorOfAny *vec, reflection::BaseType elem_type, size_t i, double val) |
| void | SetAnyVectorElemS (VectorOfAny *vec, reflection::BaseType elem_type, size_t i, const char *val) |
| template<typename T , typename U > | |
| pointer_inside_vector< T, U > | piv (T *ptr, std::vector< U > &vec) |
| const char * | UnionTypeFieldSuffix () |
| const reflection::Object & | GetUnionType (const reflection::Schema &schema, const reflection::Object &parent, const reflection::Field &unionfield, const Table &table) |
| void | SetString (const reflection::Schema &schema, const std::string &val, const String *str, std::vector< uint8_t > *flatbuf, const reflection::Object *root_table=nullptr) |
| uint8_t * | ResizeAnyVector (const reflection::Schema &schema, uoffset_t newsize, const VectorOfAny *vec, uoffset_t num_elems, uoffset_t elem_size, std::vector< uint8_t > *flatbuf, const reflection::Object *root_table=nullptr) |
| template<typename T > | |
| void | ResizeVector (const reflection::Schema &schema, uoffset_t newsize, T val, const Vector< T > *vec, std::vector< uint8_t > *flatbuf, const reflection::Object *root_table=nullptr) |
| const uint8_t * | AddFlatBuffer (std::vector< uint8_t > &flatbuf, const uint8_t *newbuf, size_t newlen) |
| bool | SetFieldT (Table *table, const reflection::Field &field, const uint8_t *val) |
| Offset< const Table * > | CopyTable (FlatBufferBuilder &fbb, const reflection::Schema &schema, const reflection::Object &objectdef, const Table &table, bool use_string_pooling=false) |
| bool | Verify (const reflection::Schema &schema, const reflection::Object &root, const uint8_t *buf, size_t length, uoffset_t max_depth=64, uoffset_t max_tables=1000000) |
| bool | VerifySizePrefixed (const reflection::Schema &schema, const reflection::Object &root, const uint8_t *buf, size_t length, uoffset_t max_depth=64, uoffset_t max_tables=1000000) |
| template<class T > | |
| FLATBUFFERS_CONSTEXPR_CPP11 bool | operator== (const Optional< T > &opt, nullopt_t) FLATBUFFERS_NOEXCEPT |
| template<class T > | |
| FLATBUFFERS_CONSTEXPR_CPP11 bool | operator== (nullopt_t, const Optional< T > &opt) FLATBUFFERS_NOEXCEPT |
| template<class T , class U > | |
| FLATBUFFERS_CONSTEXPR_CPP11 bool | operator== (const Optional< T > &lhs, const U &rhs) FLATBUFFERS_NOEXCEPT |
| template<class T , class U > | |
| FLATBUFFERS_CONSTEXPR_CPP11 bool | operator== (const T &lhs, const Optional< U > &rhs) FLATBUFFERS_NOEXCEPT |
| template<class T , class U > | |
| FLATBUFFERS_CONSTEXPR_CPP11 bool | operator== (const Optional< T > &lhs, const Optional< U > &rhs) FLATBUFFERS_NOEXCEPT |
| bool | check_ascii_range (char x, char a, char b) |
| bool | is_alpha (char c) |
| bool | is_alpha_upper (char c) |
| bool | is_alpha_char (char c, char alpha) |
| bool | is_digit (char c) |
| bool | is_xdigit (char c) |
| bool | is_alnum (char c) |
| char | CharToUpper (char c) |
| char | CharToLower (char c) |
| template<typename T > | |
| std::string | NumToString (T t) |
| template<> | |
| std::string | NumToString< signed char > (signed char t) |
| template<> | |
| std::string | NumToString< unsigned char > (unsigned char t) |
| template<> | |
| std::string | NumToString< char > (char t) |
| template<typename T > | |
| std::string | FloatToString (T t, int precision) |
| template<> | |
| std::string | NumToString< double > (double t) |
| template<> | |
| std::string | NumToString< float > (float t) |
| std::string | IntToStringHex (int i, int xdigits) |
| void | strtoval_impl (int64_t *val, const char *str, char **endptr, int base) |
| void | strtoval_impl (uint64_t *val, const char *str, char **endptr, int base) |
| void | strtoval_impl (double *val, const char *str, char **endptr) |
| void | strtoval_impl (float *val, const char *str, char **endptr) |
| template<typename T > | |
| bool | StringToIntegerImpl (T *val, const char *const str, const int base=0, const bool check_errno=true) |
| template<typename T > | |
| bool | StringToFloatImpl (T *val, const char *const str) |
| template<typename T > | |
| bool | StringToNumber (const char *s, T *val) |
| template<> | |
| bool | StringToNumber< int64_t > (const char *str, int64_t *val) |
| template<> | |
| bool | StringToNumber< uint64_t > (const char *str, uint64_t *val) |
| template<> | |
| bool | StringToNumber (const char *s, float *val) |
| template<> | |
| bool | StringToNumber (const char *s, double *val) |
| int64_t | StringToInt (const char *s, int base=10) |
| uint64_t | StringToUInt (const char *s, int base=10) |
| bool | StringIsFlatbufferNan (const std::string &s) |
| bool | StringIsFlatbufferPositiveInfinity (const std::string &s) |
| bool | StringIsFlatbufferNegativeInfinity (const std::string &s) |
| LoadFileFunction | SetLoadFileFunction (LoadFileFunction load_file_function) |
| FileExistsFunction | SetFileExistsFunction (FileExistsFunction file_exists_function) |
| bool | FileExists (const char *name) |
| bool | DirExists (const char *name) |
| bool | LoadFile (const char *name, bool binary, std::string *buf) |
| bool | SaveFile (const char *name, const char *buf, size_t len, bool binary) |
| bool | SaveFile (const char *name, const std::string &buf, bool binary) |
| std::string | StripExtension (const std::string &filepath) |
| std::string | GetExtension (const std::string &filepath) |
| std::string | StripPath (const std::string &filepath) |
| std::string | StripFileName (const std::string &filepath) |
| std::string | StripPrefix (const std::string &filepath, const std::string &prefix_to_remove) |
| std::string | ConCatPathFileName (const std::string &path, const std::string &filename) |
| std::string | PosixPath (const char *path) |
| std::string | PosixPath (const std::string &path) |
| void | EnsureDirExists (const std::string &filepath) |
| std::string | AbsolutePath (const std::string &filepath) |
| std::string | RelativeToRootPath (const std::string &project, const std::string &filepath) |
| int | ToUTF8 (uint32_t ucc, std::string *out) |
| int | FromUTF8 (const char **in) |
| std::string | WordWrap (const std::string in, size_t max_length, const std::string wrapped_line_prefix, const std::string wrapped_line_suffix) |
| bool | EscapeString (const char *s, size_t length, std::string *_text, bool allow_non_utf8, bool natural_utf8) |
| std::string | BufferToHexText (const void *buffer, size_t buffer_size, size_t max_length, const std::string &wrapped_line_prefix, const std::string &wrapped_line_suffix) |
| std::string | RemoveStringQuotes (const std::string &s) |
| bool | SetGlobalTestLocale (const char *locale_name, std::string *_value=nullptr) |
| bool | ReadEnvironmentVariable (const char *var_name, std::string *_value=nullptr) |
| std::string | ConvertCase (const std::string &input, Case output_case, Case input_case=Case::kSnake) |
| template<class U > | |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< U > | make_span (Vector< U > &vec) FLATBUFFERS_NOEXCEPT |
| template<class U > | |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< const U > | make_span (const Vector< U > &vec) FLATBUFFERS_NOEXCEPT |
| template<class U > | |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< uint8_t > | make_bytes_span (Vector< U > &vec) FLATBUFFERS_NOEXCEPT |
| template<class U > | |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< const uint8_t > | make_bytes_span (const Vector< U > &vec) FLATBUFFERS_NOEXCEPT |
| template<class U > | |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< U > | make_span (Vector< U > *ptr) FLATBUFFERS_NOEXCEPT |
| template<class U > | |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< const U > | make_span (const Vector< U > *ptr) FLATBUFFERS_NOEXCEPT |
| template<typename T , typename U > | |
| Vector< Offset< T > > * | VectorCast (Vector< Offset< U > > *ptr) |
| template<typename T , typename U > | |
| const Vector< Offset< T > > * | VectorCast (const Vector< Offset< U > > *ptr) |
Variables | |
| const NamedHashFunction< uint16_t > | kHashFunctions16 [] |
| const NamedHashFunction< uint32_t > | kHashFunctions32 [] |
| const NamedHashFunction< uint64_t > | kHashFunctions64 [] |
| FLATBUFFERS_CONSTEXPR std::size_t | dynamic_extent = static_cast<std::size_t>(-1) |
| FLATBUFFERS_CONSTEXPR char | kPathSeparator = '/' |
| typedef bool_constant<false> flatbuffers::false_type |
Definition at line 108 of file stl_emulation.h.
| typedef bool(* flatbuffers::FileExistsFunction) (const char *filename) |
| using flatbuffers::FlatBufferBuilder = typedef FlatBufferBuilderImpl<false> |
Definition at line 1414 of file flatbuffer_builder.h.
| using flatbuffers::FlatBufferBuilder64 = typedef FlatBufferBuilderImpl<true> |
Definition at line 1415 of file flatbuffer_builder.h.
| typedef uint64_t flatbuffers::hash_value_t |
Function types to be used with resolving hashes into objects and back again. The resolver gets a pointer to a field inside an object API object that is of the type specified in the schema using the attribute cpp_type (it is thus important whatever you write to this address matches that type). The value of this field is initially null, so you may choose to implement a delayed binding lookup using this function if you wish. The resolver does the opposite lookup, for when the object is being serialized again.
Definition at line 108 of file flatbuffers.h.
| typedef bool(* flatbuffers::LoadFileFunction) (const char *filename, bool binary, std::string *dest) |
| typedef std::function<hash_value_t(void *pointer)> flatbuffers::rehasher_function_t |
Definition at line 111 of file flatbuffers.h.
| typedef std::function<void(void **pointer_adr, hash_value_t hash)> flatbuffers::resolver_function_t |
Definition at line 110 of file flatbuffers.h.
| typedef bool_constant<true> flatbuffers::true_type |
Definition at line 107 of file stl_emulation.h.
| typedef const TypeTable *(* flatbuffers::TypeFunction) () |
Definition at line 230 of file flatbuffers.h.
| using flatbuffers::Vector64 = typedef Vector<T, uoffset64_t> |
| using flatbuffers::VectorConstIterator = typedef VectorIterator<T, IT, const uint8_t *, SizeT> |
Definition at line 118 of file idl.h.
|
strong |
| Enumerator | |
|---|---|
| kUnknown | |
| kUpperCamel | |
| kLowerCamel | |
| kSnake | |
| kScreamingSnake | |
| kAllUpper | |
| kAllLower | |
| kDasher | |
| kKeep | |
| kSnake2 | |
Definition at line 703 of file util.h.
Definition at line 196 of file flatbuffers.h.
| std::string flatbuffers::AbsolutePath | ( | const std::string & | filepath | ) |
| const uint8_t * flatbuffers::AddFlatBuffer | ( | std::vector< uint8_t > & | flatbuf, |
| const uint8_t * | newbuf, | ||
| size_t | newlen | ||
| ) |
|
inline |
Definition at line 41 of file default_allocator.h.
References flatbuffers::DefaultAllocator::allocate(), allocator(), and size.
|
inline |
Definition at line 664 of file util.h.
References IntToStringHex().
| const Array< T, length > & flatbuffers::CastToArray | ( | const T(&) | arr[length] | ) |
| Array< T, length > & flatbuffers::CastToArray | ( | T(&) | arr[length] | ) |
| const Array< E, length > & flatbuffers::CastToArrayOfEnum | ( | const T(&) | arr[length] | ) |
| Array< E, length > & flatbuffers::CastToArrayOfEnum | ( | T(&) | arr[length] | ) |
|
inline |
|
inline |
|
inline |
Definition at line 44 of file util.h.
References FLATBUFFERS_ASSERT.
Referenced by is_alpha(), is_alpha_upper(), is_digit(), and is_xdigit().
| std::string flatbuffers::ConCatPathFileName | ( | const std::string & | path, |
| const std::string & | filename | ||
| ) |
| std::string flatbuffers::ConvertCase | ( | const std::string & | input, |
| Case | output_case, | ||
| Case | input_case = Case::kSnake |
||
| ) |
| Offset< const Table * > flatbuffers::CopyTable | ( | FlatBufferBuilder & | fbb, |
| const reflection::Schema & | schema, | ||
| const reflection::Object & | objectdef, | ||
| const Table & | table, | ||
| bool | use_string_pooling = false |
||
| ) |
| const T * flatbuffers::data | ( | const std::vector< T, Alloc > & | v | ) |
Definition at line 52 of file flatbuffer_builder.h.
Referenced by luci_interpreter::BuddyMemoryManager::allocate_memory(), luci_interpreter::SimpleMemoryManager::allocate_memory(), luci_interpreter::TestMemoryManager::allocate_memory(), luci_interpreter::Interpreter::allocateAndWriteInputTensor(), luci::asymmetric_wquant_with_minmax_per_layer(), luci::compute::DepthwiseConv2D::bias(), luci::compute::FullyConnected::bias(), luci::cal_minmax_per_channel(), luci_interpreter::RuntimeGraph::configureGraphInput(), luci_interpreter::RuntimeGraph::configureGraphInput(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector64(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfNativeStructs(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfNativeStructs(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfSortedNativeStructs(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfSortedStructs(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfSortedTables(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfStructs(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfStructs64(), luci_interpreter::kernels::testing::dequantize(), luci_interpreter::kernels::testing::dequantizeTensorData(), luci::CircleExportMetadata::encoded_execution_plan_table(), luci::CircleExportMetadata::encoded_op_table(), luci::CircleExportMetadata::encoded_source_table(), luci_interpreter::execute_kernel_CircleLogicalNot(), luci_interpreter::execute_kernel_CircleMirrorPad(), luci::compute::DepthwiseConv2D::filter(), luci::Importer::importModule(), luci::compute::DepthwiseConv2D::input(), luci::compute::FullyConnected::input(), luci_interpreter::RuntimeGraph::makeInplaceOperation(), luci_interpreter::kernels::testing::makeInputTensor(), luci_interpreter::kernels::testing::makeInputTensor(), luci_interpreter::kernels::testing::makeInputTensor(), luci::compute::DepthwiseConv2D::output(), luci::compute::FullyConnected::output(), luci::CircleReader::parse(), luci::quant_const(), luci_interpreter::kernels::testing::quantize(), luci_interpreter::Interpreter::readOutputTensor(), luci_interpreter::BuddyMemoryManager::release_memory(), luci_interpreter::SimpleMemoryManager::release_memory(), luci_interpreter::SimpleMemoryManager::release_memory(), luci_interpreter::RuntimeGraph::resetOutputTensorsData(), luci_interpreter::RuntimeGraph::resetTensorData(), luci_interpreter::RuntimeGraph::setDataToTensor(), luci::symmetric_wquant_with_minmax_per_layer(), luci::compute::FullyConnected::weights(), and luci_interpreter::Interpreter::writeInputTensor().
| T * flatbuffers::data | ( | std::vector< T, Alloc > & | v | ) |
Definition at line 59 of file flatbuffer_builder.h.
|
inline |
Definition at line 46 of file default_allocator.h.
References allocator(), flatbuffers::DefaultAllocator::deallocate(), p, and size.
Referenced by flatbuffers::vector_downward< SizeT >::clear_buffer(), and flatbuffers::DetachedBuffer::destroy().
| bool flatbuffers::DirExists | ( | const char * | name | ) |
|
inline |
Definition at line 202 of file flatbuffers.h.
References FLATBUFFERS_ET, and FLATBUFFERS_GEN_ELEMENTARY_TYPES.
| void flatbuffers::EnsureDirExists | ( | const std::string & | filepath | ) |
| const char * flatbuffers::EnumName | ( | T | tval, |
| const TypeTable * | type_table | ||
| ) |
Definition at line 108 of file minireflect.h.
References LookupEnum(), flatbuffers::TypeTable::names, flatbuffers::TypeTable::num_elems, and flatbuffers::TypeTable::values.
Referenced by IterateValue().
Definition at line 584 of file idl.h.
References flatbuffers::Type::base_type, flatbuffers::Type::element, flatbuffers::Type::enum_def, flatbuffers::Definition::name, and flatbuffers::Type::struct_def.
|
inline |
Definition at line 594 of file util.h.
References FromUTF8(), and IntToStringHex().
Referenced by flatbuffers::ToStringVisitor::String(), and flexbuffers::Reference::ToString().
|
inline |
Definition at line 44 of file flatbuffer_builder.h.
Referenced by IterateObject().
| bool flatbuffers::FileExists | ( | const char * | name | ) |
|
inline |
Definition at line 92 of file hash.h.
References flatbuffers::NamedHashFunction< T >::function, kHashFunctions16, and size.
|
inline |
Definition at line 103 of file hash.h.
References flatbuffers::NamedHashFunction< T >::function, kHashFunctions32, and size.
|
inline |
Definition at line 114 of file hash.h.
References flatbuffers::NamedHashFunction< T >::function, kHashFunctions64, and size.
|
inline |
Definition at line 243 of file flatbuffers.h.
|
inline |
Definition at line 407 of file minireflect.h.
References IterateFlatBuffer(), and flatbuffers::ToStringVisitor::s.
| std::string flatbuffers::FloatToString | ( | T | t, |
| int | precision | ||
| ) |
Definition at line 153 of file util.h.
References p.
Referenced by NumToString< double >(), and NumToString< float >().
| void flatbuffers::ForAllFields | ( | const reflection::Object * | object, |
| bool | reverse, | ||
| std::function< void(const reflection::Field *)> | func | ||
| ) |
|
inline |
Definition at line 522 of file util.h.
Referenced by EscapeString().
|
extern |
| bool flatbuffers::GenerateCppGRPC | ( | const Parser & | parser, |
| const std::string & | path, | ||
| const std::string & | file_name | ||
| ) |
| bool flatbuffers::GenerateGoGRPC | ( | const Parser & | parser, |
| const std::string & | path, | ||
| const std::string & | file_name | ||
| ) |
| bool flatbuffers::GenerateJavaGRPC | ( | const Parser & | parser, |
| const std::string & | path, | ||
| const std::string & | file_name | ||
| ) |
| bool flatbuffers::GeneratePythonGRPC | ( | const Parser & | parser, |
| const std::string & | path, | ||
| const std::string & | file_name | ||
| ) |
|
extern |
|
extern |
|
extern |
Referenced by flatbuffers::Registry::FlatBufferToText().
|
extern |
|
extern |
| T * flatbuffers::GetAnyFieldAddressOf | ( | const Struct & | st, |
| const reflection::Field & | field | ||
| ) |
Definition at line 288 of file reflection.h.
| T * flatbuffers::GetAnyFieldAddressOf | ( | const Table & | table, |
| const reflection::Field & | field | ||
| ) |
Definition at line 282 of file reflection.h.
References flatbuffers::Table::GetAddressOf().
|
inline |
Definition at line 229 of file reflection.h.
References GetAnyValueF().
|
inline |
Definition at line 204 of file reflection.h.
References flatbuffers::Table::GetAddressOf(), and GetAnyValueF().
|
inline |
Definition at line 223 of file reflection.h.
References GetAnyValueI().
|
inline |
Definition at line 196 of file reflection.h.
References flatbuffers::Table::GetAddressOf(), and GetAnyValueI().
|
inline |
Definition at line 235 of file reflection.h.
References GetAnyValueS().
|
inline |
Definition at line 213 of file reflection.h.
References flatbuffers::Table::GetAddressOf(), and GetAnyValueS().
|
inline |
Definition at line 96 of file reflection.h.
|
inline |
Definition at line 92 of file reflection.h.
|
inline |
Definition at line 104 of file reflection.h.
|
inline |
Definition at line 100 of file reflection.h.
| double flatbuffers::GetAnyValueF | ( | reflection::BaseType | type, |
| const uint8_t * | data | ||
| ) |
Referenced by GetAnyFieldF(), GetAnyFieldF(), and GetAnyVectorElemF().
| int64_t flatbuffers::GetAnyValueI | ( | reflection::BaseType | type, |
| const uint8_t * | data | ||
| ) |
Referenced by GetAnyFieldI(), GetAnyFieldI(), and GetAnyVectorElemI().
| std::string flatbuffers::GetAnyValueS | ( | reflection::BaseType | type, |
| const uint8_t * | data, | ||
| const reflection::Schema * | schema, | ||
| int | type_index | ||
| ) |
Referenced by GetAnyFieldS(), GetAnyFieldS(), and GetAnyVectorElemS().
| T * flatbuffers::GetAnyVectorElemAddressOf | ( | const VectorOfAny * | vec, |
| size_t | i, | ||
| size_t | elem_size | ||
| ) |
Definition at line 275 of file reflection.h.
References flatbuffers::VectorOfAny::Data().
|
inline |
Definition at line 248 of file reflection.h.
References flatbuffers::VectorOfAny::Data(), GetAnyValueF(), and GetTypeSize().
|
inline |
Definition at line 242 of file reflection.h.
References flatbuffers::VectorOfAny::Data(), GetAnyValueI(), and GetTypeSize().
| T * flatbuffers::GetAnyVectorElemPointer | ( | const VectorOfAny * | vec, |
| size_t | i | ||
| ) |
Definition at line 264 of file reflection.h.
References flatbuffers::VectorOfAny::Data().
|
inline |
Definition at line 254 of file reflection.h.
References flatbuffers::VectorOfAny::Data(), GetAnyValueS(), and GetTypeSize().
|
inline |
This can compute the start of a FlatBuffer from a root pointer, i.e. it is the opposite transformation of GetRoot(). This may be useful if you want to pass on a root and have the recipient delete the buffer afterwards.
Definition at line 44 of file flatbuffers.h.
References FLATBUFFERS_ASSERT, and flatbuffers::Table::GetVTable().
| std::string flatbuffers::GetExtension | ( | const std::string & | filepath | ) |
|
inline |
Definition at line 154 of file reflection.h.
References flatbuffers::Table::GetPointer().
| T flatbuffers::GetFieldDefaultF | ( | const reflection::Field & | field | ) |
Definition at line 115 of file reflection.h.
References FLATBUFFERS_ASSERT, and GetTypeSize().
| T flatbuffers::GetFieldDefaultI | ( | const reflection::Field & | field | ) |
Definition at line 109 of file reflection.h.
References FLATBUFFERS_ASSERT, and GetTypeSize().
| T flatbuffers::GetFieldF | ( | const Table & | table, |
| const reflection::Field & | field | ||
| ) |
Definition at line 130 of file reflection.h.
References FLATBUFFERS_ASSERT, flatbuffers::Table::GetField(), and GetTypeSize().
| T flatbuffers::GetFieldI | ( | const Table & | table, |
| const reflection::Field & | field | ||
| ) |
Definition at line 122 of file reflection.h.
References FLATBUFFERS_ASSERT, flatbuffers::Table::GetField(), and GetTypeSize().
|
inline |
Definition at line 137 of file reflection.h.
References FLATBUFFERS_ASSERT, and flatbuffers::Table::GetPointer().
|
inline |
Definition at line 176 of file reflection.h.
References FLATBUFFERS_ASSERT.
|
inline |
Definition at line 167 of file reflection.h.
References FLATBUFFERS_ASSERT, and flatbuffers::Table::GetStruct().
Definition at line 160 of file reflection.h.
References FLATBUFFERS_ASSERT, and flatbuffers::Table::GetPointer().
| Vector< T > * flatbuffers::GetFieldV | ( | const Table & | table, |
| const reflection::Field & | field | ||
| ) |
Definition at line 145 of file reflection.h.
References FLATBUFFERS_ASSERT, flatbuffers::Table::GetPointer(), and GetTypeSize().
| T * flatbuffers::GetMutableTemporaryPointer | ( | FlatBufferBuilder & | fbb, |
| Offset< T > | offset | ||
| ) |
Helpers to get a typed pointer to objects that are currently being built.
Definition at line 1453 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetCurrentBufferPointer(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetSize(), and offset().
|
inline |
This return the prefixed size of a FlatBuffer.
Definition at line 80 of file flatbuffers.h.
|
inline |
Definition at line 91 of file flatbuffers.h.
| const T * flatbuffers::GetTemporaryPointer | ( | FlatBufferBuilder & | fbb, |
| Offset< T > | offset | ||
| ) |
Definition at line 1459 of file flatbuffer_builder.h.
References offset().
|
inline |
Definition at line 47 of file reflection.h.
Referenced by GetAnyVectorElemF(), GetAnyVectorElemI(), GetAnyVectorElemS(), GetFieldDefaultF(), GetFieldDefaultI(), GetFieldF(), GetFieldI(), GetFieldV(), GetTypeSizeInline(), SetAnyVectorElemF(), SetAnyVectorElemI(), SetAnyVectorElemS(), SetField(), and SetFieldT().
|
inline |
Definition at line 81 of file reflection.h.
References GetTypeSize().
|
inline |
Definition at line 421 of file reflection.h.
References FLATBUFFERS_ASSERT, and UnionTypeFieldSuffix().
| T flatbuffers::HashFnv1 | ( | const char * | input | ) |
Definition at line 42 of file hash.h.
|
inline |
| T flatbuffers::HashFnv1a | ( | const char * | input | ) |
Definition at line 51 of file hash.h.
|
inline |
|
inline |
|
inline |
Definition at line 559 of file idl.h.
References InlineSize(), IsArray(), IsStruct(), SizeOf(), and type.
Referenced by InlineSize(), and IterateObject().
|
inline |
Definition at line 72 of file minireflect.h.
References FLATBUFFERS_ASSERT, flatbuffers::TypeTable::num_elems, flatbuffers::TypeTable::st, ST_STRUCT, ST_TABLE, ST_UNION, type, and flatbuffers::TypeTable::values.
|
inline |
Definition at line 190 of file util.h.
References FLATBUFFERS_ASSERT.
Referenced by BufferToHexText(), and EscapeString().
|
inline |
Definition at line 80 of file util.h.
References is_alpha(), and is_digit().
Referenced by flexbuffers::Reference::ToString().
|
inline |
Definition at line 52 of file util.h.
References check_ascii_range().
Referenced by is_alnum(), is_alpha_char(), and flexbuffers::Reference::ToString().
|
inline |
Definition at line 61 of file util.h.
References FLATBUFFERS_ASSERT, and is_alpha().
Referenced by StringToIntegerImpl().
|
inline |
|
inline |
Definition at line 72 of file util.h.
References check_ascii_range().
Referenced by is_alnum(), is_xdigit(), StringToIntegerImpl(), and StringToNumber< uint64_t >().
|
inline |
Definition at line 74 of file util.h.
References check_ascii_range(), and is_digit().
|
inline |
Definition at line 547 of file idl.h.
References type.
Referenced by InlineAlignment(), InlineSize(), and IsSeries().
|
inline |
|
inline |
| bool flatbuffers::IsFieldPresent | ( | const T * | table, |
| typename T::FlatBuffersVTableOffset | field | ||
| ) |
Definition at line 121 of file flatbuffers.h.
|
inline |
Definition at line 136 of file idl.h.
Referenced by SetField().
|
inline |
Definition at line 39 of file reflection.h.
|
inline |
|
inline |
Definition at line 134 of file idl.h.
Referenced by IsEnum(), IsUnionType(), and SetField().
|
inline |
Definition at line 36 of file reflection.h.
|
inline |
|
inline |
Definition at line 42 of file reflection.h.
|
inline |
|
inline |
Definition at line 132 of file idl.h.
Referenced by flatbuffers::FieldDef::IsScalarOptional(), and SetField().
|
inline |
Definition at line 33 of file reflection.h.
|
inline |
|
inline |
|
inline |
Definition at line 517 of file idl.h.
References type.
Referenced by InlineAlignment(), InlineSize(), and IsVectorOfStruct().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 143 of file idl.h.
Referenced by IsSeries(), IsVector(), IsVectorOfStruct(), and IsVectorOfTable().
|
inline |
|
inline |
Definition at line 539 of file idl.h.
References IsStruct(), IsVector(), and type.
|
inline |
|
inline |
Definition at line 287 of file minireflect.h.
References IterateObject().
Referenced by FlatBufferToString().
|
inline |
Definition at line 232 of file minireflect.h.
References flatbuffers::TypeTable::array_sizes, flatbuffers::Vector< T, SizeT >::Data(), flatbuffers::IterationVisitor::Element(), flatbuffers::IterationVisitor::EndSequence(), flatbuffers::IterationVisitor::EndVector(), flatbuffers::IterationVisitor::Field(), FieldIndexToOffset(), InlineSize(), flatbuffers::TypeCode::is_repeating, IterateValue(), flatbuffers::TypeTable::names, flatbuffers::TypeTable::num_elems, size, flatbuffers::TypeTable::st, ST_TABLE, flatbuffers::IterationVisitor::StartSequence(), flatbuffers::IterationVisitor::StartVector(), type, flatbuffers::TypeTable::type_codes, flatbuffers::TypeTable::type_refs, and flatbuffers::TypeTable::values.
Referenced by IterateFlatBuffer(), and IterateValue().
|
inline |
Definition at line 121 of file minireflect.h.
References flatbuffers::IterationVisitor::Bool(), flatbuffers::IterationVisitor::Char(), flatbuffers::IterationVisitor::Double(), EnumName(), FLATBUFFERS_ASSERT, flatbuffers::IterationVisitor::Float(), flatbuffers::Vector< T, SizeT >::Get(), flatbuffers::IterationVisitor::Int(), IterateObject(), flatbuffers::IterationVisitor::Long(), LookupEnum(), flatbuffers::TypeTable::num_elems, flatbuffers::IterationVisitor::Short(), flatbuffers::TypeTable::st, ST_ENUM, ST_STRUCT, ST_TABLE, ST_UNION, flatbuffers::IterationVisitor::String(), type, flatbuffers::TypeTable::type_codes, flatbuffers::TypeTable::type_refs, flatbuffers::IterationVisitor::UChar(), flatbuffers::IterationVisitor::UInt(), flatbuffers::IterationVisitor::ULong(), flatbuffers::IterationVisitor::Unknown(), flatbuffers::IterationVisitor::UShort(), flatbuffers::IterationVisitor::UType(), and flatbuffers::TypeTable::values.
Referenced by IterateObject().
| std::string flatbuffers::JavaCSharpMakeRule | ( | const bool | java, |
| const Parser & | parser, | ||
| const std::string & | path, | ||
| const std::string & | file_name | ||
| ) |
| bool flatbuffers::LoadFile | ( | const char * | name, |
| bool | binary, | ||
| std::string * | buf | ||
| ) |
|
extern |
|
extern |
|
inline |
Definition at line 130 of file flatbuffers.h.
References p.
Referenced by EnumName(), and IterateValue().
|
inline |
Definition at line 99 of file minireflect.h.
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< uint8_t, sizeof(U) *N > flatbuffers::make_bytes_span | ( | Array< U, N > & | arr | ) |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< const uint8_t, sizeof(U) *N > flatbuffers::make_bytes_span | ( | const Array< U, N > & | arr | ) |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< const uint8_t > flatbuffers::make_bytes_span | ( | const Vector< U > & | vec | ) |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< uint8_t > flatbuffers::make_bytes_span | ( | Vector< U > & | vec | ) |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< U, N > flatbuffers::make_span | ( | Array< U, N > & | arr | ) |
Definition at line 188 of file array.h.
Referenced by make_span(), and make_span().
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< const U, N > flatbuffers::make_span | ( | const Array< U, N > & | arr | ) |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< const U > flatbuffers::make_span | ( | const Vector< U > & | vec | ) |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< const U > flatbuffers::make_span | ( | const Vector< U > * | ptr | ) |
Definition at line 349 of file vector.h.
References make_span().
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< U > flatbuffers::make_span | ( | Vector< U > & | vec | ) |
| FLATBUFFERS_CONSTEXPR_CPP11 flatbuffers::span< U > flatbuffers::make_span | ( | Vector< U > * | ptr | ) |
Definition at line 341 of file vector.h.
References make_span().
| std::string flatbuffers::NumToString | ( | T | t | ) |
Definition at line 128 of file util.h.
Referenced by flatbuffers::ToStringVisitor::Double(), flatbuffers::ToStringVisitor::Float(), flatbuffers::ToStringVisitor::Long(), flatbuffers::ToStringVisitor::Named(), NumToString< char >(), NumToString< signed char >(), NumToString< unsigned char >(), flexbuffers::Reference::ToString(), flatbuffers::EnumDef::ToString(), and flatbuffers::ToStringVisitor::ULong().
|
inline |
|
inline |
|
inline |
Definition at line 183 of file util.h.
References FloatToString().
|
inline |
Definition at line 142 of file util.h.
References NumToString().
|
inline |
Definition at line 145 of file util.h.
References NumToString().
|
inline |
Definition at line 286 of file idl.h.
References flatbuffers::Namespace::components.
|
noexcept |
| FLATBUFFERS_CONSTEXPR_CPP11 bool flatbuffers::operator== | ( | const Optional< T > & | lhs, |
| const Optional< U > & | rhs | ||
| ) |
Definition at line 272 of file stl_emulation.h.
| FLATBUFFERS_CONSTEXPR_CPP11 bool flatbuffers::operator== | ( | const Optional< T > & | lhs, |
| const U & | rhs | ||
| ) |
Definition at line 262 of file stl_emulation.h.
| FLATBUFFERS_CONSTEXPR_CPP11 bool flatbuffers::operator== | ( | const Optional< T > & | opt, |
| nullopt_t | |||
| ) |
Definition at line 253 of file stl_emulation.h.
| FLATBUFFERS_CONSTEXPR_CPP11 bool flatbuffers::operator== | ( | const T & | lhs, |
| const Optional< U > & | rhs | ||
| ) |
Definition at line 267 of file stl_emulation.h.
| FLATBUFFERS_CONSTEXPR_CPP11 bool flatbuffers::operator== | ( | nullopt_t | , |
| const Optional< T > & | opt | ||
| ) |
Definition at line 257 of file stl_emulation.h.
| pointer_inside_vector< T, U > flatbuffers::piv | ( | T * | ptr, |
| std::vector< U > & | vec | ||
| ) |
Definition at line 414 of file reflection.h.
| std::string flatbuffers::PosixPath | ( | const char * | path | ) |
| std::string flatbuffers::PosixPath | ( | const std::string & | path | ) |
| bool flatbuffers::ReadEnvironmentVariable | ( | const char * | var_name, |
| std::string * | _value = nullptr |
||
| ) |
|
inline |
Definition at line 53 of file default_allocator.h.
References allocator(), and flatbuffers::Allocator::reallocate_downward().
| std::string flatbuffers::RelativeToRootPath | ( | const std::string & | project, |
| const std::string & | filepath | ||
| ) |
| std::string flatbuffers::RemoveStringQuotes | ( | const std::string & | s | ) |
| uint8_t * flatbuffers::ResizeAnyVector | ( | const reflection::Schema & | schema, |
| uoffset_t | newsize, | ||
| const VectorOfAny * | vec, | ||
| uoffset_t | num_elems, | ||
| uoffset_t | elem_size, | ||
| std::vector< uint8_t > * | flatbuf, | ||
| const reflection::Object * | root_table = nullptr |
||
| ) |
Referenced by ResizeVector().
| void flatbuffers::ResizeVector | ( | const reflection::Schema & | schema, |
| uoffset_t | newsize, | ||
| T | val, | ||
| const Vector< T > * | vec, | ||
| std::vector< uint8_t > * | flatbuf, | ||
| const reflection::Object * | root_table = nullptr |
||
| ) |
Definition at line 454 of file reflection.h.
References ResizeAnyVector(), and flatbuffers::Vector< T, SizeT >::size().
| bool flatbuffers::SaveFile | ( | const char * | name, |
| const char * | buf, | ||
| size_t | len, | ||
| bool | binary | ||
| ) |
Referenced by SaveFile().
|
inline |
Definition at line 442 of file util.h.
References SaveFile().
|
inline |
Definition at line 359 of file reflection.h.
References SetAnyValueF().
|
inline |
Definition at line 334 of file reflection.h.
References flatbuffers::Table::GetAddressOf(), and SetAnyValueF().
|
inline |
Definition at line 352 of file reflection.h.
References SetAnyValueI().
|
inline |
Definition at line 325 of file reflection.h.
References flatbuffers::Table::GetAddressOf(), and SetAnyValueI().
|
inline |
Definition at line 366 of file reflection.h.
References SetAnyValueS().
|
inline |
Definition at line 343 of file reflection.h.
References flatbuffers::Table::GetAddressOf(), and SetAnyValueS().
| void flatbuffers::SetAnyValueF | ( | reflection::BaseType | type, |
| uint8_t * | data, | ||
| double | val | ||
| ) |
Referenced by SetAnyFieldF(), SetAnyFieldF(), and SetAnyVectorElemF().
| void flatbuffers::SetAnyValueI | ( | reflection::BaseType | type, |
| uint8_t * | data, | ||
| int64_t | val | ||
| ) |
Referenced by SetAnyFieldI(), SetAnyFieldI(), and SetAnyVectorElemI().
| void flatbuffers::SetAnyValueS | ( | reflection::BaseType | type, |
| uint8_t * | data, | ||
| const char * | val | ||
| ) |
Referenced by SetAnyFieldS(), SetAnyFieldS(), and SetAnyVectorElemS().
|
inline |
Definition at line 379 of file reflection.h.
References flatbuffers::VectorOfAny::Data(), GetTypeSize(), and SetAnyValueF().
|
inline |
Definition at line 373 of file reflection.h.
References flatbuffers::VectorOfAny::Data(), GetTypeSize(), and SetAnyValueI().
|
inline |
Definition at line 385 of file reflection.h.
References flatbuffers::VectorOfAny::Data(), GetTypeSize(), and SetAnyValueS().
| bool flatbuffers::SetField | ( | Table * | table, |
| const reflection::Field & | field, | ||
| T | val | ||
| ) |
Definition at line 302 of file reflection.h.
References FLATBUFFERS_ASSERT, GetTypeSize(), IsFloat(), IsInteger(), IsScalar(), flatbuffers::Table::SetField(), and type.
|
inline |
Definition at line 484 of file reflection.h.
References FLATBUFFERS_ASSERT, GetTypeSize(), and flatbuffers::Table::SetPointer().
| FileExistsFunction flatbuffers::SetFileExistsFunction | ( | FileExistsFunction | file_exists_function | ) |
| bool flatbuffers::SetGlobalTestLocale | ( | const char * | locale_name, |
| std::string * | _value = nullptr |
||
| ) |
| LoadFileFunction flatbuffers::SetLoadFileFunction | ( | LoadFileFunction | load_file_function | ) |
| void flatbuffers::SetString | ( | const reflection::Schema & | schema, |
| const std::string & | val, | ||
| const String * | str, | ||
| std::vector< uint8_t > * | flatbuf, | ||
| const reflection::Object * | root_table = nullptr |
||
| ) |
|
inline |
Definition at line 152 of file idl.h.
References FLATBUFFERS_ASSERT, FLATBUFFERS_GEN_TYPES, and FLATBUFFERS_TD.
Referenced by InlineAlignment(), and InlineSize().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 174 of file idl.h.
References FLATBUFFERS_ASSERT, FLATBUFFERS_GEN_TYPES, and FLATBUFFERS_TD.
|
inline |
Definition at line 310 of file util.h.
References FLATBUFFERS_ASSERT, and strtoval_impl().
Referenced by StringToNumber(), and StringToNumber().
|
inline |
Definition at line 388 of file util.h.
References StringToIntegerImpl().
Referenced by flexbuffers::Reference::AsInt64().
|
inline |
Definition at line 283 of file util.h.
References FLATBUFFERS_ASSERT, is_alpha_char(), is_digit(), StringToIntegerImpl(), and strtoval_impl().
Referenced by StringToInt(), StringToIntegerImpl(), StringToNumber(), StringToNumber< int64_t >(), StringToNumber< uint64_t >(), and StringToUInt().
|
inline |
Definition at line 384 of file util.h.
References StringToFloatImpl().
|
inline |
Definition at line 380 of file util.h.
References StringToFloatImpl().
|
inline |
Definition at line 327 of file util.h.
References FLATBUFFERS_ASSERT, and StringToIntegerImpl().
Referenced by flexbuffers::Reference::AsDouble().
|
inline |
Definition at line 354 of file util.h.
References StringToIntegerImpl().
|
inline |
Definition at line 359 of file util.h.
References is_digit(), and StringToIntegerImpl().
|
inline |
Definition at line 393 of file util.h.
References StringToIntegerImpl().
Referenced by flexbuffers::Reference::AsUInt64().
| std::string flatbuffers::StripExtension | ( | const std::string & | filepath | ) |
| std::string flatbuffers::StripFileName | ( | const std::string & | filepath | ) |
| std::string flatbuffers::StripPath | ( | const std::string & | filepath | ) |
| std::string flatbuffers::StripPrefix | ( | const std::string & | filepath, |
| const std::string & | prefix_to_remove | ||
| ) |
|
inline |
Definition at line 255 of file util.h.
References __strtod_impl.
|
inline |
Definition at line 261 of file util.h.
References __strtof_impl.
|
inline |
Definition at line 245 of file util.h.
References __strtoll_impl.
Referenced by StringToFloatImpl(), and StringToIntegerImpl().
|
inline |
Definition at line 250 of file util.h.
References __strtoull_impl.
|
inline |
Definition at line 494 of file util.h.
References FLATBUFFERS_ASSERT.
|
inline |
Definition at line 163 of file idl.h.
References FLATBUFFERS_ASSERT, FLATBUFFERS_GEN_TYPES, and FLATBUFFERS_TD.
|
inline |
| const Vector< Offset< T > > * flatbuffers::VectorCast | ( | const Vector< Offset< U > > * | ptr | ) |
| Vector< Offset< T > > * flatbuffers::VectorCast | ( | Vector< Offset< U > > * | ptr | ) |
| bool flatbuffers::Verify | ( | const reflection::Schema & | schema, |
| const reflection::Object & | root, | ||
| const uint8_t * | buf, | ||
| size_t | length, | ||
| uoffset_t | max_depth = 64, |
||
| uoffset_t | max_tables = 1000000 |
||
| ) |
Referenced by flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::Verify(), flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::VerifyBufferFromStart(), flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::VerifyField(), flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::VerifyFieldStruct(), flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::VerifyFromPointer(), flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::VerifyOffset(), flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::VerifyString(), flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::VerifyTableStart(), and flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::VerifyVectorOrString().
| bool flatbuffers::VerifySizePrefixed | ( | const reflection::Schema & | schema, |
| const reflection::Object & | root, | ||
| const uint8_t * | buf, | ||
| size_t | length, | ||
| uoffset_t | max_depth = 64, |
||
| uoffset_t | max_tables = 1000000 |
||
| ) |
|
inline |
Definition at line 570 of file util.h.
| FLATBUFFERS_CONSTEXPR std::size_t flatbuffers::dynamic_extent = static_cast<std::size_t>(-1) |
Definition at line 287 of file stl_emulation.h.
Referenced by flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::span(), and flatbuffers::FLATBUFFERS_FINAL_CLASS< T >::span().
| const NamedHashFunction<uint16_t> flatbuffers::kHashFunctions16[] |
Definition at line 77 of file hash.h.
Referenced by FindHashFunction16().
| const NamedHashFunction<uint32_t> flatbuffers::kHashFunctions32[] |
Definition at line 82 of file hash.h.
Referenced by FindHashFunction32().
| const NamedHashFunction<uint64_t> flatbuffers::kHashFunctions64[] |
Definition at line 87 of file hash.h.
Referenced by FindHashFunction64().