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
74 andcc %o1, 3, %o5 ! src word aligned ?
77 sub %i5, 4, %i5 ! bytes until src aligned
82 ldub [%i3 + %i4], %i1 ! src[]
83 stb %i1, [%i2 + %i4] ! dst[] = src[]
84 inccc %i4 ! src++, dst++, n--
86 tst %i1 ! end of src reached (null byte) ?
89 inccc %i5 ! src aligned now?
103 lduw [%i3 + %i4], %i1 ! src dword
104 addcc %i4, 4, %i4 ! n += 4, src += 4, dst += 4
112 ! n has not expired, but src is at the end. we need to push out the
113 ! remaining src bytes and then start padding with null bytes
234 lduw [%i3 + %i4], %i1 ! x = src[]
235 addcc %i4, 4, %i4 ! src += 4, dst += 4, n -= 4
240 bnz .zerobyte ! end of src found, may need to pad
252 lduw [%i3 + %i4], %i1 ! x = src[]
254 addcc %i4, 4, %i4 ! src += 4, dst += 4, n -= 4
267 ldub [%o3 + %o4], %o5 ! src[]
268 stb %o5, [%o2 + %o4] ! dst[] = src[]
269 inccc %o4 ! src++, dst++, n--
271 tst %o5 ! src[] == 0 ?