Home
last modified time | relevance | path

Searched refs:voffset_t (Results 1 – 8 of 8) sorted by relevance

/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h885 inline voffset_t FieldIndexToOffset(voffset_t field_id) {
888 return static_cast<voffset_t>((field_id + fixed_fields) * sizeof(voffset_t));
1129 void TrackField(voffset_t field, uoffset_t off) {
1137 template<typename T> void AddElement(voffset_t field, T e, T def) {
1144 template<typename T> void AddOffset(voffset_t field, Offset<T> off) {
1149 template<typename T> void AddStruct(voffset_t field, const T *structptr) {
1156 void AddStructOffset(voffset_t field, uoffset_t off) {
1208 (std::max)(static_cast<voffset_t>(max_voffset_ + sizeof(voffset_t)),
1214 WriteScalar<voffset_t>(buf_.data() + sizeof(voffset_t),
1215 static_cast<voffset_t>(table_object_size));
[all …]
Dbase.h149 #define FLATBUFFERS_VTABLE_UNDERLYING_TYPE : flatbuffers::voffset_t
286 typedef uint16_t voffset_t; typedef
Didl.h169 offset(static_cast<voffset_t>(~(static_cast<voffset_t>(0U)))) {} in Value()
172 voffset_t offset;
Dminireflect.h247 FieldIndexToOffset(static_cast<voffset_t>(i))); in IterateObject()
/external/flatbuffers/src/
Dreflection.cpp493 voffset_t field_offset, const reflection::Object &obj, in VerifyStruct()
505 voffset_t field_offset, in VerifyVectorOfStructs()
654 voffset_t utype_offset = field_def->offset() - sizeof(voffset_t); in VerifyObject()
Didl_parser.cpp609 FieldIndexToOffset(static_cast<voffset_t>(struct_def.fields.vec.size())); in AddField()
620 field.value.offset = static_cast<voffset_t>(struct_def.bytesize); in AddField()
1852 fields[i]->value.offset = FieldIndexToOffset(static_cast<voffset_t>(i)); in ParseDecl()
/external/flatbuffers/tests/
Dtest.cpp953 flatbuffers::voffset_t voffset, T val) { in CompareTableFieldValue()
976 const flatbuffers::voffset_t fields_per_object = 4; in FuzzTest1()
989 for (flatbuffers::voffset_t f = 0; f < fields_per_object; f++) { in FuzzTest1()
1019 for (flatbuffers::voffset_t f = 0; f < fields_per_object; f++) { in FuzzTest1()
1021 flatbuffers::voffset_t off = flatbuffers::FieldIndexToOffset(f); in FuzzTest1()
/external/flatbuffers/docs/source/
DInternals.md91 The elements of a vtable are all of type `voffset_t`, which is