Lines Matching refs:off
23 func (t *Table) Indirect(off UOffsetT) UOffsetT {
24 return off + GetUOffsetT(t.Bytes[off:])
28 func (t *Table) String(off UOffsetT) string {
29 b := t.ByteVector(off)
34 func (t *Table) ByteVector(off UOffsetT) []byte {
35 off += GetUOffsetT(t.Bytes[off:])
36 start := off + UOffsetT(SizeUOffsetT)
37 length := GetUOffsetT(t.Bytes[off:])
43 func (t *Table) VectorLen(off UOffsetT) int {
44 off += t.Pos
45 off += GetUOffsetT(t.Bytes[off:])
46 return int(GetUOffsetT(t.Bytes[off:]))
51 func (t *Table) Vector(off UOffsetT) UOffsetT {
52 off += t.Pos
53 x := off + GetUOffsetT(t.Bytes[off:])
61 func (t *Table) Union(t2 *Table, off UOffsetT) {
62 off += t.Pos
63 t2.Pos = off + t.GetUOffsetT(off)
68 func (t *Table) GetBool(off UOffsetT) bool {
69 return GetBool(t.Bytes[off:])
73 func (t *Table) GetByte(off UOffsetT) byte {
74 return GetByte(t.Bytes[off:])
78 func (t *Table) GetUint8(off UOffsetT) uint8 {
79 return GetUint8(t.Bytes[off:])
83 func (t *Table) GetUint16(off UOffsetT) uint16 {
84 return GetUint16(t.Bytes[off:])
88 func (t *Table) GetUint32(off UOffsetT) uint32 {
89 return GetUint32(t.Bytes[off:])
93 func (t *Table) GetUint64(off UOffsetT) uint64 {
94 return GetUint64(t.Bytes[off:])
98 func (t *Table) GetInt8(off UOffsetT) int8 {
99 return GetInt8(t.Bytes[off:])
103 func (t *Table) GetInt16(off UOffsetT) int16 {
104 return GetInt16(t.Bytes[off:])
108 func (t *Table) GetInt32(off UOffsetT) int32 {
109 return GetInt32(t.Bytes[off:])
113 func (t *Table) GetInt64(off UOffsetT) int64 {
114 return GetInt64(t.Bytes[off:])
118 func (t *Table) GetFloat32(off UOffsetT) float32 {
119 return GetFloat32(t.Bytes[off:])
123 func (t *Table) GetFloat64(off UOffsetT) float64 {
124 return GetFloat64(t.Bytes[off:])
128 func (t *Table) GetUOffsetT(off UOffsetT) UOffsetT {
129 return GetUOffsetT(t.Bytes[off:])
133 func (t *Table) GetVOffsetT(off UOffsetT) VOffsetT {
134 return GetVOffsetT(t.Bytes[off:])
138 func (t *Table) GetSOffsetT(off UOffsetT) SOffsetT {
139 return GetSOffsetT(t.Bytes[off:])
146 off := t.Offset(slot)
147 if off == 0 {
151 return t.GetBool(t.Pos + UOffsetT(off))
158 off := t.Offset(slot)
159 if off == 0 {
163 return t.GetByte(t.Pos + UOffsetT(off))
170 off := t.Offset(slot)
171 if off == 0 {
175 return t.GetInt8(t.Pos + UOffsetT(off))
182 off := t.Offset(slot)
183 if off == 0 {
187 return t.GetUint8(t.Pos + UOffsetT(off))
194 off := t.Offset(slot)
195 if off == 0 {
199 return t.GetInt16(t.Pos + UOffsetT(off))
206 off := t.Offset(slot)
207 if off == 0 {
211 return t.GetUint16(t.Pos + UOffsetT(off))
218 off := t.Offset(slot)
219 if off == 0 {
223 return t.GetInt32(t.Pos + UOffsetT(off))
230 off := t.Offset(slot)
231 if off == 0 {
235 return t.GetUint32(t.Pos + UOffsetT(off))
242 off := t.Offset(slot)
243 if off == 0 {
247 return t.GetInt64(t.Pos + UOffsetT(off))
254 off := t.Offset(slot)
255 if off == 0 {
259 return t.GetUint64(t.Pos + UOffsetT(off))
266 off := t.Offset(slot)
267 if off == 0 {
271 return t.GetFloat32(t.Pos + UOffsetT(off))
278 off := t.Offset(slot)
279 if off == 0 {
283 return t.GetFloat64(t.Pos + UOffsetT(off))
290 off := t.Offset(slot)
291 if off == 0 {
294 return VOffsetT(off)
298 func (t *Table) MutateBool(off UOffsetT, n bool) bool {
299 WriteBool(t.Bytes[off:], n)
304 func (t *Table) MutateByte(off UOffsetT, n byte) bool {
305 WriteByte(t.Bytes[off:], n)
310 func (t *Table) MutateUint8(off UOffsetT, n uint8) bool {
311 WriteUint8(t.Bytes[off:], n)
316 func (t *Table) MutateUint16(off UOffsetT, n uint16) bool {
317 WriteUint16(t.Bytes[off:], n)
322 func (t *Table) MutateUint32(off UOffsetT, n uint32) bool {
323 WriteUint32(t.Bytes[off:], n)
328 func (t *Table) MutateUint64(off UOffsetT, n uint64) bool {
329 WriteUint64(t.Bytes[off:], n)
334 func (t *Table) MutateInt8(off UOffsetT, n int8) bool {
335 WriteInt8(t.Bytes[off:], n)
340 func (t *Table) MutateInt16(off UOffsetT, n int16) bool {
341 WriteInt16(t.Bytes[off:], n)
346 func (t *Table) MutateInt32(off UOffsetT, n int32) bool {
347 WriteInt32(t.Bytes[off:], n)
352 func (t *Table) MutateInt64(off UOffsetT, n int64) bool {
353 WriteInt64(t.Bytes[off:], n)
358 func (t *Table) MutateFloat32(off UOffsetT, n float32) bool {
359 WriteFloat32(t.Bytes[off:], n)
364 func (t *Table) MutateFloat64(off UOffsetT, n float64) bool {
365 WriteFloat64(t.Bytes[off:], n)
370 func (t *Table) MutateUOffsetT(off UOffsetT, n UOffsetT) bool {
371 WriteUOffsetT(t.Bytes[off:], n)
376 func (t *Table) MutateVOffsetT(off UOffsetT, n VOffsetT) bool {
377 WriteVOffsetT(t.Bytes[off:], n)
382 func (t *Table) MutateSOffsetT(off UOffsetT, n SOffsetT) bool {
383 WriteSOffsetT(t.Bytes[off:], n)
389 if off := t.Offset(slot); off != 0 {
390 t.MutateBool(t.Pos+UOffsetT(off), n)
399 if off := t.Offset(slot); off != 0 {
400 t.MutateByte(t.Pos+UOffsetT(off), n)
409 if off := t.Offset(slot); off != 0 {
410 t.MutateInt8(t.Pos+UOffsetT(off), n)
419 if off := t.Offset(slot); off != 0 {
420 t.MutateUint8(t.Pos+UOffsetT(off), n)
429 if off := t.Offset(slot); off != 0 {
430 t.MutateInt16(t.Pos+UOffsetT(off), n)
439 if off := t.Offset(slot); off != 0 {
440 t.MutateUint16(t.Pos+UOffsetT(off), n)
449 if off := t.Offset(slot); off != 0 {
450 t.MutateInt32(t.Pos+UOffsetT(off), n)
459 if off := t.Offset(slot); off != 0 {
460 t.MutateUint32(t.Pos+UOffsetT(off), n)
469 if off := t.Offset(slot); off != 0 {
470 t.MutateInt64(t.Pos+UOffsetT(off), n)
479 if off := t.Offset(slot); off != 0 {
480 t.MutateUint64(t.Pos+UOffsetT(off), n)
489 if off := t.Offset(slot); off != 0 {
490 t.MutateFloat32(t.Pos+UOffsetT(off), n)
499 if off := t.Offset(slot); off != 0 {
500 t.MutateFloat64(t.Pos+UOffsetT(off), n)