Home
last modified time | relevance | path

Searched refs:SOffsetT (Results 1 – 9 of 9) sorted by relevance

/external/flatbuffers/go/
Dbuilder.go171 objectStart := SOffsetT(len(b.Bytes)) - SOffsetT(objectOffset)
173 SOffsetT(b.Offset())-SOffsetT(objectOffset))
181 objectStart := SOffsetT(len(b.Bytes)) - SOffsetT(objectOffset)
187 SOffsetT(existingVtable)-SOffsetT(objectOffset))
267 func (b *Builder) PrependSOffsetT(off SOffsetT) {
272 off2 := SOffsetT(b.Offset()) - off + SOffsetT(SizeSOffsetT)
584 y := SOffsetT(objectStart) - SOffsetT(a[i])
585 if SOffsetT(x) != y {
762 func (b *Builder) PlaceSOffsetT(x SOffsetT) {
Dencode.go9 SOffsetT int32 type
125 func GetSOffsetT(buf []byte) SOffsetT {
126 return SOffsetT(GetInt32(buf))
231 func WriteSOffsetT(buf []byte, n SOffsetT) { argument
Dtable.go15 vtable := UOffsetT(SOffsetT(t.Pos) - t.GetSOffsetT(t.Pos))
138 func (t *Table) GetSOffsetT(off UOffsetT) SOffsetT {
382 func (t *Table) MutateSOffsetT(off UOffsetT, n SOffsetT) bool {
/external/flatbuffers/lua/flatbuffers/
Dbuilder.lua12 local SOffsetT = N.SOffsetT
140 self.bytes:Set(SOffsetT:Pack(self:Offset() - objectOffset),objectStart)
146 self.bytes:Set(SOffsetT:Pack(exisitingVTable - objectOffset),self.head)
211 self:Prep(SOffsetT.bytewidth, 0)
213 local off2 = self:Offset() - off + SOffsetT.bytewidth
214 self:Place(off2, SOffsetT)
Dview.lua24 local vtable = self.pos - self:Get(N.SOffsetT, self.pos)
DnumTypes.lua187 m.SOffsetT = int32_mt
/external/flatbuffers/rust/flatbuffers/src/
Dprimitives.rs53 pub type SOffsetT = i32; typedef
199 pub struct BackwardsSOffset<T>(SOffsetT, PhantomData<T>);
202 pub fn value(&self) -> SOffsetT { in value() argument
212 let off = read_scalar::<SOffsetT>(slice); in follow()
213 T::follow(buf, (loc as SOffsetT - off) as usize) in follow()
Dbuilder.rs463 emplace_scalar::<SOffsetT>(&mut self.owned_buf[n..n + SIZE_SOFFSET], in write_vtable()
464 … vt_use as SOffsetT - object_revloc_to_vtable.value() as SOffsetT); in write_vtable()
/external/flatbuffers/tests/
Dgo_test.go1555 soVal := flatbuffers.SOffsetT(b.Offset() - 14)