Lines Matching refs:off
58 off := int32(p.From.Offset)
60 if off < 0 || siz < 0 || off >= 1<<30 || siz >= 100 {
63 if ctxt.Enforce_data_order != 0 && off < int32(len(s.P)) {
66 Symgrow(ctxt, s, int64(off+siz))
79 ctxt.Arch.ByteOrder.PutUint32(s.P[off:], flt)
83 ctxt.Arch.ByteOrder.PutUint64(s.P[off:], flt)
87 copy(s.P[off:off+siz], p.To.Val.(string))
92 r.Off = off
104 s.P[off] = byte(o)
106 ctxt.Arch.ByteOrder.PutUint16(s.P[off:], uint16(o))
108 ctxt.Arch.ByteOrder.PutUint32(s.P[off:], uint32(o))
110 ctxt.Arch.ByteOrder.PutUint64(s.P[off:], uint64(o))
120 func Setuintxx(ctxt *Link, s *LSym, off int64, v uint64, wid int64) int64 {
124 if s.Size < off+wid {
125 s.Size = off + wid
131 s.P[off] = uint8(v)
133 ctxt.Arch.ByteOrder.PutUint16(s.P[off:], uint16(v))
135 ctxt.Arch.ByteOrder.PutUint32(s.P[off:], uint32(v))
137 ctxt.Arch.ByteOrder.PutUint64(s.P[off:], uint64(v))
140 return off + wid
144 off := s.Size
145 Setuintxx(ctxt, s, off, v, int64(wid))
146 return off
190 r.Off = int32(i)
206 r.Off = int32(i)
217 func setaddrplus(ctxt *Link, s *LSym, off int64, t *LSym, add int64) int64 {
221 if off+int64(ctxt.Arch.Ptrsize) > s.Size {
222 s.Size = off + int64(ctxt.Arch.Ptrsize)
228 r.Off = int32(off)
232 return off + int64(r.Siz)
235 func setaddr(ctxt *Link, s *LSym, off int64, t *LSym) int64 {
236 return setaddrplus(ctxt, s, off, t, 0)
248 r.Off = int32(i)
263 r.Off = int32(i)