Lines Matching refs:src
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60 ! This implementation works by first aligning the src ptr and
71 add %o1, %o2, %o3 ! src = src + n
75 sub %o4, 8, %o4 ! bytes until src aligned
78 ldub [%o3 + %g4], %o1 ! src[]
79 stb %o1, [%o2 + %g4] ! dst[] = src[]
80 addcc %g4, 1, %g4 ! src++, dst++, n--
82 tst %o1 ! end of src reached (null byte) ?
85 addcc %o4, 1, %o4 ! src aligned now?
110 ldx [%o3 + %g4], %o1 ! src dword
111 addcc %g4, 8, %g4 ! n += 8, src += 8, dst += 8
119 ! n has not expired, but src is at the end. we need to push out the
120 ! remaining src bytes and then start padding with null bytes
226 andcc %g1, 0xff, %g0 ! end of src reached ?
232 andcc %g1, 0xff, %g0 ! end of src reached ?
238 andcc %g1, 0xff, %g0 ! end of src reached ?
244 andcc %g1, 0xff, %g0 ! end of src reached ?
250 andcc %g1, 0xff, %g0 ! end of src reached ?
256 andcc %g1, 0xff, %g0 ! end of src reached ?
262 andcc %g1, 0xff, %g0 ! end of src reached ?
270 ldx [%o3 + %g4], %o1 ! x = src[]
271 addcc %g4, 8, %g4 ! src += 8, dst += 8
276 bnz,pn %ncc, .zerobyte ! end of src found, may need to pad
288 ldx [%o3 + %g4], %o1 ! x = src[]
289 addcc %g4, 8, %g4 ! src += 8, dst += 8
306 ldx [%o3 + %g4], %o1 ! x = src[]
307 addcc %g4, 8, %g4 ! src += 8, dst += 8
324 ldx [%o3 + %g4], %o1 ! x = src[]
325 addcc %g4, 8, %g4 ! src += 8, dst += 8