Home
last modified time | relevance | path

Searched refs:vtableOffset (Results 1 – 5 of 5) sorted by relevance

/external/flatbuffers/net/FlatBuffers/
DTable.cs34 public int __offset(int vtableOffset) in __offset()
37 return vtableOffset < bb.GetShort(vtable) ? (int)bb.GetShort(vtable + vtableOffset) : 0; in __offset()
40 public static int __offset(int vtableOffset, int offset, ByteBuffer bb) in __offset()
43 return (int)bb.GetShort(vtable + vtableOffset - bb.GetInt(vtable)) + vtable; in __offset()
/external/flatbuffers/lua/flatbuffers/
Dview.lua23 function mt:Offset(vtableOffset)
26 if vtableOffset < vtableEnd then
27 return self:Get(N.VOffsetT, vtable + vtableOffset)
/external/flatbuffers/python/flatbuffers/
Dtable.py32 def Offset(self, vtableOffset): argument
39 if vtableOffset < vtableEnd:
40 return self.Get(N.VOffsetTFlags, vtable + vtableOffset)
/external/flatbuffers/go/
Dtable.go14 func (t *Table) Offset(vtableOffset VOffsetT) VOffsetT {
16 if vtableOffset < t.GetVOffsetT(vtable) {
17 return t.GetVOffsetT(vtable + UOffsetT(vtableOffset))
/external/flatbuffers/tests/
Dgo_test.go1564 calcVOffsetT := func(slot int) (vtableOffset flatbuffers.VOffsetT) {
1567 calcUOffsetT := func(vtableOffset flatbuffers.VOffsetT) (valueOffset flatbuffers.UOffsetT) {
1568 return t.Pos + flatbuffers.UOffsetT(t.Offset(vtableOffset))