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.
30 * (dstsize being the size of the string buffer dst) from src
31 * to dst, truncating src if necessary. The result is always
32 * null-terminated. The function returns strlen(src). Buffer
35 * if (strlcpy(dst, src, dstsize) >= dstsize)
60 bz,pn %icc, .getstrlen ! if 0 do nothing but strlen(src)
61 add %i1, %i2, %i3 ! i3 = src + n
65 sub %i4, 4, %i4 ! bytes until src aligned
68 ldub [%i3 + %g4], %l1 ! l1 = src[]
70 stub %l1, [%i2 + %g4] ! dst[] = src[]
73 addcc %g4, 1, %g4 ! src++ dest++ n--
89 ld [%i3 + %g4], %l1 ! l1 = src[]
90 addcc %g4, 4, %g4 ! n += 4, src += 4, dst +=4
96 st %l1, [%i2 + %g4] ! dst[] = src[]
162 add %i3, 4, %i3 ! src += 4
173 sub %i3, %i1, %i0 ! len = src - orig src
183 ld [%i3 + %g4], %l1 ! load src word
184 addcc %g4, 4, %g4 ! src +=4 dst +=4
199 ld [%i3 + %g4], %l1 ! src word
201 addcc %g4, 4, %g4 ! src += 4 dst += 4
225 ld [%i3], %l1 ! src word
226 ldub [%i3], %l1 ! src byte
227 andcc %l1, 0xff, %g0 ! end of src?
229 add %i3, 1, %i3 ! src ++
230 sub %i3, %i1, %i0 ! len = src - orig src