Lines Matching full:off
43 def Indirect(self, off): argument
45 N.enforce_number(off, N.UOffsetTFlags)
46 return off + encode.Get(N.UOffsetTFlags.packer_type, self.Bytes, off)
48 def String(self, off): argument
50 N.enforce_number(off, N.UOffsetTFlags)
51 off += encode.Get(N.UOffsetTFlags.packer_type, self.Bytes, off)
52 start = off + N.UOffsetTFlags.bytewidth
53 length = encode.Get(N.UOffsetTFlags.packer_type, self.Bytes, off)
56 def VectorLen(self, off): argument
58 at "off" in this object."""
59 N.enforce_number(off, N.UOffsetTFlags)
61 off += self.Pos
62 off += encode.Get(N.UOffsetTFlags.packer_type, self.Bytes, off)
63 ret = encode.Get(N.UOffsetTFlags.packer_type, self.Bytes, off)
66 def Vector(self, off): argument
68 stored at "off" in this object."""
69 N.enforce_number(off, N.UOffsetTFlags)
71 off += self.Pos
72 x = off + self.Get(N.UOffsetTFlags, off)
77 def Union(self, t2, off): argument
81 N.enforce_number(off, N.UOffsetTFlags)
83 off += self.Pos
84 t2.Pos = off + self.Get(N.UOffsetTFlags, off)
87 def Get(self, flags, off): argument
92 N.enforce_number(off, N.UOffsetTFlags)
93 return flags.py_type(encode.Get(flags.packer_type, self.Bytes, off))
99 off = self.Offset(slot)
100 if off == 0:
102 return self.Get(validator_flags, self.Pos + off)
114 off = self.Offset(slot)
115 if off == 0:
117 return off