Lines Matching refs:n
26 #define ALIGN_DEST_TO8_UP(d,s,n) \ argument
28 if (n <= 0) return; \
29 n--; \
33 #define ALIGN_DEST_TO8_DN(d,s,n) \ argument
35 if (n <= 0) return; \
36 n--; \
45 #define DO_REST_UP(d,s,n) \ argument
46 while (n > 0) { \
47 n--; \
51 #define DO_REST_DN(d,s,n) \ argument
52 while (n > 0) { \
53 n--; \
62 #define DO_REST_ALIGNED_UP(d,s,n) DO_REST_UP(d,s,n) argument
63 #define DO_REST_ALIGNED_DN(d,s,n) DO_REST_DN(d,s,n) argument
73 long n) in __memcpy_unaligned_up() argument
75 ALIGN_DEST_TO8_UP(d,s,n); in __memcpy_unaligned_up()
76 n -= 8; /* to avoid compare against 8 in the loop */ in __memcpy_unaligned_up()
77 if (n >= 0) { in __memcpy_unaligned_up()
83 n -= 8; in __memcpy_unaligned_up()
94 } while (n >= 0); in __memcpy_unaligned_up()
96 n += 8; in __memcpy_unaligned_up()
97 DO_REST_UP(d,s,n); in __memcpy_unaligned_up()
101 long n) in __memcpy_unaligned_dn() argument
104 s += n; in __memcpy_unaligned_dn()
105 d += n; in __memcpy_unaligned_dn()
106 while (n--) in __memcpy_unaligned_dn()
119 long n) in __memcpy_aligned_up() argument
121 ALIGN_DEST_TO8_UP(d,s,n); in __memcpy_aligned_up()
122 n -= 8; in __memcpy_aligned_up()
123 while (n >= 0) { in __memcpy_aligned_up()
126 n -= 8; in __memcpy_aligned_up()
131 n += 8; in __memcpy_aligned_up()
132 DO_REST_ALIGNED_UP(d,s,n); in __memcpy_aligned_up()
135 long n) in __memcpy_aligned_dn() argument
137 s += n; in __memcpy_aligned_dn()
138 d += n; in __memcpy_aligned_dn()
139 ALIGN_DEST_TO8_DN(d,s,n); in __memcpy_aligned_dn()
140 n -= 8; in __memcpy_aligned_dn()
141 while (n >= 0) { in __memcpy_aligned_dn()
145 n -= 8; in __memcpy_aligned_dn()
149 n += 8; in __memcpy_aligned_dn()
150 DO_REST_ALIGNED_DN(d,s,n); in __memcpy_aligned_dn()
153 void * memcpy(void * dest, const void *src, size_t n) in memcpy() argument
157 n); in memcpy()
160 __memcpy_unaligned_up ((unsigned long) dest, (unsigned long) src, n); in memcpy()