/external/flatbuffers/go/ |
D | table.go | 8 Pos UOffsetT // Always < 1<<31. 15 vtable := UOffsetT(SOffsetT(t.Pos) - t.GetSOffsetT(t.Pos)) 17 return t.GetVOffsetT(vtable + UOffsetT(vtableOffset)) 23 func (t *Table) Indirect(off UOffsetT) UOffsetT { 28 func (t *Table) String(off UOffsetT) string { 34 func (t *Table) ByteVector(off UOffsetT) []byte { 36 start := off + UOffsetT(SizeUOffsetT) 43 func (t *Table) VectorLen(off UOffsetT) int { 51 func (t *Table) Vector(off UOffsetT) UOffsetT { 55 x += UOffsetT(SizeUOffsetT) [all …]
|
D | builder.go | 14 vtable []UOffsetT 15 objectEnd UOffsetT 16 vtables []UOffsetT 17 head UOffsetT 21 sharedStrings map[string]UOffsetT 35 b.head = UOffsetT(initialSize) 37 b.vtables = make([]UOffsetT, 0, 16) // sensible default capacity 56 b.head = UOffsetT(len(b.Bytes)) 77 b.vtable = make([]UOffsetT, numfields) 107 func (b *Builder) WriteVtable() (n UOffsetT) { [all …]
|
D | encode.go | 11 UOffsetT uint32 type 120 func GetUOffsetT(buf []byte) UOffsetT { 121 return UOffsetT(GetInt32(buf)) 236 func WriteUOffsetT(buf []byte, n UOffsetT) { argument
|
D | lib.go | 6 Init(buf []byte, i UOffsetT) argument 10 func GetRootAs(buf []byte, offset UOffsetT, fb FlatBuffer) { argument
|
/external/flatbuffers/tests/MyGame/Example/ |
D | Monster.go | 60 func (t *MonsterT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 63 inventoryOffset := flatbuffers.UOffsetT(0) 69 test4Offset := flatbuffers.UOffsetT(0) 78 testarrayofstringOffset := flatbuffers.UOffsetT(0) 81 testarrayofstringOffsets := make([]flatbuffers.UOffsetT, testarrayofstringLength) 91 testarrayoftablesOffset := flatbuffers.UOffsetT(0) 94 testarrayoftablesOffsets := make([]flatbuffers.UOffsetT, testarrayoftablesLength) 105 testnestedflatbufferOffset := flatbuffers.UOffsetT(0) 110 testarrayofboolsOffset := flatbuffers.UOffsetT(0) 119 testarrayofstring2Offset := flatbuffers.UOffsetT(0) [all …]
|
D | TypeAliases.go | 24 func (t *TypeAliasesT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 26 v8Offset := flatbuffers.UOffsetT(0) 35 vf64Offset := flatbuffers.UOffsetT(0) 94 func GetRootAsTypeAliases(buf []byte, offset flatbuffers.UOffsetT) *TypeAliases { argument 101 func (rcv *TypeAliases) Init(buf []byte, i flatbuffers.UOffsetT) { 111 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 123 o := flatbuffers.UOffsetT(rcv._tab.Offset(6)) 135 o := flatbuffers.UOffsetT(rcv._tab.Offset(8)) 147 o := flatbuffers.UOffsetT(rcv._tab.Offset(10)) 159 o := flatbuffers.UOffsetT(rcv._tab.Offset(12)) [all …]
|
D | Vec3.go | 18 func (t *Vec3T) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 42 func (rcv *Vec3) Init(buf []byte, i flatbuffers.UOffsetT) { 52 return rcv._tab.GetFloat32(rcv._tab.Pos + flatbuffers.UOffsetT(0)) 55 return rcv._tab.MutateFloat32(rcv._tab.Pos+flatbuffers.UOffsetT(0), n) 59 return rcv._tab.GetFloat32(rcv._tab.Pos + flatbuffers.UOffsetT(4)) 62 return rcv._tab.MutateFloat32(rcv._tab.Pos+flatbuffers.UOffsetT(4), n) 66 return rcv._tab.GetFloat32(rcv._tab.Pos + flatbuffers.UOffsetT(8)) 69 return rcv._tab.MutateFloat32(rcv._tab.Pos+flatbuffers.UOffsetT(8), n) 73 return rcv._tab.GetFloat64(rcv._tab.Pos + flatbuffers.UOffsetT(16)) 76 return rcv._tab.MutateFloat64(rcv._tab.Pos+flatbuffers.UOffsetT(16), n) [all …]
|
D | Stat.go | 15 func (t *StatT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 42 func GetRootAsStat(buf []byte, offset flatbuffers.UOffsetT) *Stat { argument 49 func (rcv *Stat) Init(buf []byte, i flatbuffers.UOffsetT) { 59 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 67 o := flatbuffers.UOffsetT(rcv._tab.Offset(6)) 79 o := flatbuffers.UOffsetT(rcv._tab.Offset(8)) 93 func StatAddId(builder *flatbuffers.Builder, id flatbuffers.UOffsetT) { argument 94 builder.PrependUOffsetTSlot(0, flatbuffers.UOffsetT(id), 0) 102 func StatEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
|
D | Test.go | 14 func (t *TestT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 34 func (rcv *Test) Init(buf []byte, i flatbuffers.UOffsetT) { 44 return rcv._tab.GetInt16(rcv._tab.Pos + flatbuffers.UOffsetT(0)) 47 return rcv._tab.MutateInt16(rcv._tab.Pos+flatbuffers.UOffsetT(0), n) 51 return rcv._tab.GetInt8(rcv._tab.Pos + flatbuffers.UOffsetT(2)) 54 return rcv._tab.MutateInt8(rcv._tab.Pos+flatbuffers.UOffsetT(2), n) 57 func CreateTest(builder *flatbuffers.Builder, a int16, b int8) flatbuffers.UOffsetT {
|
D | Ability.go | 14 func (t *AbilityT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 34 func (rcv *Ability) Init(buf []byte, i flatbuffers.UOffsetT) { 44 return rcv._tab.GetUint32(rcv._tab.Pos + flatbuffers.UOffsetT(0)) 47 return rcv._tab.MutateUint32(rcv._tab.Pos+flatbuffers.UOffsetT(0), n) 51 return rcv._tab.GetUint32(rcv._tab.Pos + flatbuffers.UOffsetT(4)) 54 return rcv._tab.MutateUint32(rcv._tab.Pos+flatbuffers.UOffsetT(4), n) 57 func CreateAbility(builder *flatbuffers.Builder, id uint32, distance uint32) flatbuffers.UOffsetT {
|
D | Referrable.go | 13 func (t *ReferrableT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 35 func GetRootAsReferrable(buf []byte, offset flatbuffers.UOffsetT) *Referrable { argument 42 func (rcv *Referrable) Init(buf []byte, i flatbuffers.UOffsetT) { 52 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 69 func ReferrableEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
|
D | TestSimpleTableWithEnum.go | 13 func (t *TestSimpleTableWithEnumT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 35 func GetRootAsTestSimpleTableWithEnum(buf []byte, offset flatbuffers.UOffsetT) *TestSimpleTableWith… argument 42 func (rcv *TestSimpleTableWithEnum) Init(buf []byte, i flatbuffers.UOffsetT) { 52 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 69 func TestSimpleTableWithEnumEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
|
/external/flatbuffers/tests/namespace_test/NamespaceA/ |
D | TableInC.go | 12 func (rcv *TableInC) Init(buf []byte, i flatbuffers.UOffsetT) { 18 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 31 o := flatbuffers.UOffsetT(rcv._tab.Offset(6)) 44 … *flatbuffers.Builder, referToA1 flatbuffers.UOffsetT) { builder.PrependUOffsetTSlot(0, flatbuffer… argument 45 … *flatbuffers.Builder, referToA2 flatbuffers.UOffsetT) { builder.PrependUOffsetTSlot(1, flatbuffer… argument 46 func TableInCEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT { return builder.EndObject() }
|
D | TableInFirstNS.go | 17 func (t *TableInFirstNST) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 45 func GetRootAsTableInFirstNS(buf []byte, offset flatbuffers.UOffsetT) *TableInFirstNS { argument 52 func (rcv *TableInFirstNS) Init(buf []byte, i flatbuffers.UOffsetT) { 62 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 75 o := flatbuffers.UOffsetT(rcv._tab.Offset(6)) 87 o := flatbuffers.UOffsetT(rcv._tab.Offset(8)) 102 func TableInFirstNSAddFooTable(builder *flatbuffers.Builder, fooTable flatbuffers.UOffsetT) { argument 103 builder.PrependUOffsetTSlot(0, flatbuffers.UOffsetT(fooTable), 0) 108 func TableInFirstNSAddFooStruct(builder *flatbuffers.Builder, fooStruct flatbuffers.UOffsetT) { argument 109 builder.PrependStructSlot(2, flatbuffers.UOffsetT(fooStruct), 0) [all …]
|
D | SecondTableInA.go | 15 func (t *SecondTableInAT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 38 func GetRootAsSecondTableInA(buf []byte, offset flatbuffers.UOffsetT) *SecondTableInA { argument 45 func (rcv *SecondTableInA) Init(buf []byte, i flatbuffers.UOffsetT) { 55 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 70 func SecondTableInAAddReferToC(builder *flatbuffers.Builder, referToC flatbuffers.UOffsetT) { argument 71 builder.PrependUOffsetTSlot(0, flatbuffers.UOffsetT(referToC), 0) 73 func SecondTableInAEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
|
/external/flatbuffers/tests/namespace_test/NamespaceC/ |
D | TableInC.go | 16 func (t *TableInCT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 42 func GetRootAsTableInC(buf []byte, offset flatbuffers.UOffsetT) *TableInC { argument 49 func (rcv *TableInC) Init(buf []byte, i flatbuffers.UOffsetT) { 59 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 72 o := flatbuffers.UOffsetT(rcv._tab.Offset(6)) 87 func TableInCAddReferToA1(builder *flatbuffers.Builder, referToA1 flatbuffers.UOffsetT) { argument 88 builder.PrependUOffsetTSlot(0, flatbuffers.UOffsetT(referToA1), 0) 90 func TableInCAddReferToA2(builder *flatbuffers.Builder, referToA2 flatbuffers.UOffsetT) { argument 91 builder.PrependUOffsetTSlot(1, flatbuffers.UOffsetT(referToA2), 0) 93 func TableInCEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
|
/external/flatbuffers/rust/flatbuffers/src/ |
D | builder.rs | 36 off: UOffsetT, 49 written_vtable_revpos: Vec<UOffsetT>, 142 WIPOffset::new(self.used_space() as UOffsetT) in push() 185 WIPOffset::new(self.used_space() as UOffsetT) in start_table() 232 let o = self.push::<UOffsetT>(num_elems as UOffsetT); in end_vector() 256 self.push(data.len() as UOffsetT); in create_byte_string() 257 WIPOffset::new(self.used_space() as UOffsetT) in create_byte_string() 282 self.push(items.len() as UOffsetT); in create_vector_direct() 284 WIPOffset::new(self.used_space() as UOffsetT) in create_vector_direct() 327 WIPOffset::new(self.push::<UOffsetT>(items.len() as UOffsetT).value()) in create_vector() [all …]
|
D | primitives.rs | 57 pub type UOffsetT = u32; typedef 83 pub struct WIPOffset<T>(UOffsetT, PhantomData<T>); 104 type Target = UOffsetT; 106 fn deref(&self) -> &UOffsetT { in deref() argument 113 pub fn new(o: UOffsetT) -> WIPOffset<T> { in new() 128 pub fn value(self) -> UOffsetT { in value() argument 138 let n = (SIZE_UOFFSET + rest.len() - self.value() as usize) as UOffsetT; in push() 139 emplace_scalar::<UOffsetT>(dst, n); in push() 155 pub struct ForwardsUOffset<T>(UOffsetT, PhantomData<T>); 171 pub fn value(self) -> UOffsetT { in value() argument
|
D | vector.rs | 54 read_scalar_at::<UOffsetT>(&self.0, self.1) as usize in len() 84 let len = read_scalar_at::<UOffsetT>(&buf, loc) as usize; in safe_slice() 123 let len = read_scalar_at::<UOffsetT>(&buf, loc) as usize; in follow() 133 let len = read_scalar_at::<UOffsetT>(&buf, loc) as usize; in follow_slice_helper()
|
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/ |
D | StructInNestedNS.go | 14 func (t *StructInNestedNST) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 34 func (rcv *StructInNestedNS) Init(buf []byte, i flatbuffers.UOffsetT) { 44 return rcv._tab.GetInt32(rcv._tab.Pos + flatbuffers.UOffsetT(0)) 47 return rcv._tab.MutateInt32(rcv._tab.Pos+flatbuffers.UOffsetT(0), n) 51 return rcv._tab.GetInt32(rcv._tab.Pos + flatbuffers.UOffsetT(4)) 54 return rcv._tab.MutateInt32(rcv._tab.Pos+flatbuffers.UOffsetT(4), n) 57 func CreateStructInNestedNS(builder *flatbuffers.Builder, a int32, b int32) flatbuffers.UOffsetT {
|
D | TableInNestedNS.go | 13 func (t *TableInNestedNST) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 35 func GetRootAsTableInNestedNS(buf []byte, offset flatbuffers.UOffsetT) *TableInNestedNS { argument 42 func (rcv *TableInNestedNS) Init(buf []byte, i flatbuffers.UOffsetT) { 52 o := flatbuffers.UOffsetT(rcv._tab.Offset(4)) 69 func TableInNestedNSEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
|
/external/flatbuffers/tests/MyGame/Example2/ |
D | Monster.go | 12 func (t *MonsterT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 32 func GetRootAsMonster(buf []byte, offset flatbuffers.UOffsetT) *Monster { argument 39 func (rcv *Monster) Init(buf []byte, i flatbuffers.UOffsetT) { 51 func MonsterEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
|
/external/flatbuffers/tests/MyGame/ |
D | InParentNamespace.go | 12 func (t *InParentNamespaceT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 32 func GetRootAsInParentNamespace(buf []byte, offset flatbuffers.UOffsetT) *InParentNamespace { argument 39 func (rcv *InParentNamespace) Init(buf []byte, i flatbuffers.UOffsetT) { 51 func InParentNamespaceEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
|
/external/flatbuffers/docs/source/ |
D | GoApi_generated.txt | 46 func (b *Builder) CreateByteString(s []byte) UOffsetT 49 func (b *Builder) CreateByteVector(v []byte) UOffsetT 52 func (b *Builder) CreateString(s string) UOffsetT 55 func (b *Builder) EndVector(vectorNumElems int) UOffsetT 58 func (b *Builder) Finish(rootTable UOffsetT) 66 func (b *Builder) Head() UOffsetT 102 func (b *Builder) PrependUOffsetT(off UOffsetT) 103 PrependUOffsetT prepends an UOffsetT, relative to where it will be
|
/external/flatbuffers/lua/flatbuffers/ |
D | builder.lua | 11 local UOffsetT = N.UOffsetT 31 UOffsetT:EnforceNumber(objectStart) 239 self:Place(off2, UOffsetT) 257 self:Place(vectorNumElements, UOffsetT) 299 UOffsetT:EnforceNumber(rootTable) 355 UOffsetT:EnforceNumber(d) 357 UOffsetT:EnforceNumber(x)
|