Searched refs:voffset_t (Results 1 – 8 of 8) sorted by relevance
/third_party/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 1113 inline voffset_t FieldIndexToOffset(voffset_t field_id) { 1116 return static_cast<voffset_t>((field_id + fixed_fields) * sizeof(voffset_t)); 1372 void TrackField(voffset_t field, uoffset_t off) { 1380 template<typename T> void AddElement(voffset_t field, T e, T def) { 1387 template<typename T> void AddElement(voffset_t field, T e) { 1392 template<typename T> void AddOffset(voffset_t field, Offset<T> off) { 1397 template<typename T> void AddStruct(voffset_t field, const T *structptr) { 1404 void AddStructOffset(voffset_t field, uoffset_t off) { 1456 (std::max)(static_cast<voffset_t>(max_voffset_ + sizeof(voffset_t)), 1462 WriteScalar<voffset_t>(buf_.data() + sizeof(voffset_t), [all …]
|
D | base.h | 161 #define FLATBUFFERS_VTABLE_UNDERLYING_TYPE : flatbuffers::voffset_t 323 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 | 249 FieldIndexToOffset(static_cast<voffset_t>(i))); in IterateObject()
|
/third_party/flatbuffers/src/ |
D | reflection.cpp | 502 voffset_t field_offset, const reflection::Object &obj, in VerifyStruct() 513 voffset_t field_offset, in VerifyVectorOfStructs() 612 sizeof(voffset_t)); in VerifyVector() 690 voffset_t utype_offset = field_def->offset() - sizeof(voffset_t); in VerifyObject()
|
D | idl_parser.cpp | 719 FieldIndexToOffset(static_cast<voffset_t>(struct_def.fields.vec.size())); in AddField() 730 field.value.offset = static_cast<voffset_t>(struct_def.bytesize); in AddField() 1014 voffset_t id = 0; in ParseField() 1433 const voffset_t offset = key.value.offset; in CompareTablesByScalarKey() 1446 const voffset_t offset = key.value.offset; in CompareTablesByStringKey() 1579 const voffset_t offset = key->value.offset; in ParseVector() 2567 flatbuffers::numeric_limits<voffset_t>::max()); in ParseDecl() 2568 for (voffset_t i = 0; i < static_cast<voffset_t>(fields.size()); i++) { in ParseDecl() 2575 voffset_t id = 0; in ParseDecl()
|
/third_party/flatbuffers/tests/ |
D | test.cpp | 1325 flatbuffers::voffset_t voffset, T val) { in CompareTableFieldValue() 1348 const flatbuffers::voffset_t fields_per_object = 4; in FuzzTest1() 1361 for (flatbuffers::voffset_t f = 0; f < fields_per_object; f++) { in FuzzTest1() 1391 for (flatbuffers::voffset_t f = 0; f < fields_per_object; f++) { in FuzzTest1() 1393 flatbuffers::voffset_t off = flatbuffers::FieldIndexToOffset(f); in FuzzTest1()
|
/third_party/flatbuffers/docs/source/ |
D | Internals.md | 99 The elements of a vtable are all of type `voffset_t`, which is
|