Lines Matching refs:count
49 strncpy (char *dst0, const char *src0, size_t count) in strncpy() argument
58 end = dst + count; in strncpy()
92 while (((uintptr_t) src & (UNROLL_FACTOR - 1)) != 0 && count > 0) in strncpy()
95 --count; in strncpy()
98 end = dst + count; in strncpy()
106 if (__builtin_expect (count >= 4, 1)) in strncpy()
108 odd_bytes = (count & (UNROLL_FACTOR - 1)); in strncpy()
109 count -= odd_bytes; in strncpy()
120 count -= UNROLL_FACTOR; in strncpy()
142 while (count); in strncpy()
145 count = odd_bytes; in strncpy()
148 end = dst + count; in strncpy()
166 count++; /* add 1 to cover remaining byte */ in strncpy()
173 count++; /* add 1 to cover remaining byte */ in strncpy()
179 count++; /* add 1 to cover remaining byte */ in strncpy()
186 count += odd_bytes; /* restore odd byte count */ in strncpy()
191 while (count && (((long)dst) & (sizeof (word_type) - 1)) != 0) in strncpy()
193 count--; in strncpy()
197 while (count >= UNROLL_FACTOR*sizeof (word_type)) in strncpy()
199 count -= UNROLL_FACTOR*sizeof (word_type); in strncpy()
210 if (count >= 2*sizeof (word_type)) in strncpy()
212 count -= 2*sizeof (word_type); in strncpy()
219 if (count >= sizeof (word_type)) in strncpy()
221 count -= sizeof (word_type); in strncpy()
227 if (count >= sizeof (si_type)) in strncpy()
229 count -= sizeof (si_type); in strncpy()
235 if (count >= sizeof (hi_type)) in strncpy()
237 count -= sizeof (hi_type); in strncpy()
242 if (count) in strncpy()