Searched refs:voffset_t (Results 1 – 8 of 8) sorted by relevance
/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 1032 inline voffset_t FieldIndexToOffset(voffset_t field_id) { 1035 return static_cast<voffset_t>((field_id + fixed_fields) * sizeof(voffset_t)); 1283 void TrackField(voffset_t field, uoffset_t off) { 1291 template<typename T> void AddElement(voffset_t field, T e, T def) { 1298 template<typename T> void AddOffset(voffset_t field, Offset<T> off) { 1303 template<typename T> void AddStruct(voffset_t field, const T *structptr) { 1310 void AddStructOffset(voffset_t field, uoffset_t off) { 1362 (std::max)(static_cast<voffset_t>(max_voffset_ + sizeof(voffset_t)), 1368 WriteScalar<voffset_t>(buf_.data() + sizeof(voffset_t), 1369 static_cast<voffset_t>(table_object_size)); [all …]
|
D | base.h | 157 #define FLATBUFFERS_VTABLE_UNDERLYING_TYPE : flatbuffers::voffset_t 301 typedef uint16_t voffset_t; typedef
|
D | idl.h | 195 offset(static_cast<voffset_t>(~(static_cast<voffset_t>(0U)))) {} in Value() 198 voffset_t offset;
|
D | minireflect.h | 248 FieldIndexToOffset(static_cast<voffset_t>(i))); in IterateObject()
|
/external/flatbuffers/src/ |
D | reflection.cpp | 503 voffset_t field_offset, const reflection::Object &obj, in VerifyStruct() 514 voffset_t field_offset, in VerifyVectorOfStructs() 613 sizeof(voffset_t)); in VerifyVector() 691 voffset_t utype_offset = field_def->offset() - sizeof(voffset_t); in VerifyObject()
|
D | idl_parser.cpp | 648 FieldIndexToOffset(static_cast<voffset_t>(struct_def.fields.vec.size())); in AddField() 659 field.value.offset = static_cast<voffset_t>(struct_def.bytesize); in AddField() 1348 static voffset_t offset = key->value.offset; in ParseVector() 2301 fields[i]->value.offset = FieldIndexToOffset(static_cast<voffset_t>(i)); in ParseDecl()
|
/external/flatbuffers/tests/ |
D | test.cpp | 1264 flatbuffers::voffset_t voffset, T val) { in CompareTableFieldValue() 1287 const flatbuffers::voffset_t fields_per_object = 4; in FuzzTest1() 1300 for (flatbuffers::voffset_t f = 0; f < fields_per_object; f++) { in FuzzTest1() 1330 for (flatbuffers::voffset_t f = 0; f < fields_per_object; f++) { in FuzzTest1() 1332 flatbuffers::voffset_t off = flatbuffers::FieldIndexToOffset(f); in FuzzTest1()
|
/external/flatbuffers/docs/source/ |
D | Internals.md | 97 The elements of a vtable are all of type `voffset_t`, which is
|