Searched refs:voffset_t (Results 1 – 8 of 8) sorted by relevance
/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 885 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 …]
|
D | base.h | 149 #define FLATBUFFERS_VTABLE_UNDERLYING_TYPE : flatbuffers::voffset_t 286 typedef uint16_t voffset_t; typedef
|
D | idl.h | 169 offset(static_cast<voffset_t>(~(static_cast<voffset_t>(0U)))) {} in Value() 172 voffset_t offset;
|
D | minireflect.h | 247 FieldIndexToOffset(static_cast<voffset_t>(i))); in IterateObject()
|
/external/flatbuffers/src/ |
D | reflection.cpp | 493 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()
|
D | idl_parser.cpp | 609 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/ |
D | test.cpp | 953 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/ |
D | Internals.md | 91 The elements of a vtable are all of type `voffset_t`, which is
|