Searched refs:voffset_t (Results 1 – 6 of 6) sorted by relevance
/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 126 typedef uint16_t voffset_t; typedef 614 inline voffset_t FieldIndexToOffset(voffset_t field_id) { 617 return static_cast<voffset_t>((field_id + fixed_fields) * sizeof(voffset_t)); 787 void TrackField(voffset_t field, uoffset_t off) { 793 template<typename T> void AddElement(voffset_t field, T e, T def) { 800 template<typename T> void AddOffset(voffset_t field, Offset<T> off) { 805 template<typename T> void AddStruct(voffset_t field, const T *structptr) { 812 void AddStructOffset(voffset_t field, uoffset_t off) { 850 uoffset_t EndTable(uoffset_t start, voffset_t numfields) { 859 buf_.fill_big(numfields * sizeof(voffset_t)); [all …]
|
D | idl.h | 148 Value() : constant("0"), offset(static_cast<voffset_t>( in Value() 149 ~(static_cast<voffset_t>(0U)))) {} in Value() 152 voffset_t offset;
|
/external/flatbuffers/src/ |
D | reflection.cpp | 480 return fbb.EndTable(start, static_cast<voffset_t>(fielddefs->size())); in CopyTable() 486 voffset_t field_offset, in VerifyStruct() 500 voffset_t field_offset, in VerifyVectorOfStructs() 679 voffset_t utype_offset = field_def->offset() - sizeof(voffset_t); in VerifyObject()
|
D | idl_parser.cpp | 579 FieldIndexToOffset(static_cast<voffset_t>(struct_def.fields.vec.size())); in AddField() 590 field.value.offset = static_cast<voffset_t>(struct_def.bytesize); in AddField() 947 static_cast<voffset_t>(struct_def.fields.vec.size())); in ParseTable() 1419 fields[i]->value.offset = FieldIndexToOffset(static_cast<voffset_t>(i)); in ParseDecl()
|
/external/flatbuffers/tests/ |
D | test.cpp | 670 flatbuffers::voffset_t voffset, in CompareTableFieldValue() 695 const flatbuffers::voffset_t fields_per_object = 4; in FuzzTest1() 708 for (flatbuffers::voffset_t f = 0; f < fields_per_object; f++) { in FuzzTest1() 738 for (flatbuffers::voffset_t f = 0; f < fields_per_object; f++) { in FuzzTest1() 740 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
|