Lines Matching refs:count
95 char * strncpy(char * dest,const char *src,size_t count) in strncpy() argument
99 while (count-- && (*dest++ = *src++) != '\0') in strncpy()
160 char * strncat(char *dest, const char *src, size_t count) in strncat() argument
164 if (count) { in strncat()
168 if (--count == 0) { in strncat()
205 int strncmp(const char * cs,const char * ct,size_t count) in strncmp() argument
209 while (count) { in strncmp()
212 count--; in strncmp()
280 size_t strnlen(const char * s, size_t count) in strnlen() argument
284 for (sc = s; count-- && *sc != '\0'; ++sc) in strnlen()
301 size_t count = 0; in strcspn() local
306 return count; in strcspn()
308 ++count; in strcspn()
310 return count; in strcspn()
363 size_t count = 0; in strspn() local
371 return count; in strspn()
372 ++count; in strspn()
375 return count; in strspn()
493 void * memset(void * s,int c,size_t count) in memset() argument
508 while (count >= sizeof(*sl)) { in memset()
510 count -= sizeof(*sl); in memset()
515 while (count--) in memset()
532 void * memcpy(void *dest, const void *src, size_t count) in memcpy() argument
542 while (count >= sizeof(*dl)) { in memcpy()
544 count -= sizeof(*dl); in memcpy()
550 while (count--) in memcpy()
566 void * memmove(void * dest,const void *src,size_t count) in memmove() argument
570 if (dest <= src || (src + count) <= dest) { in memmove()
583 memcpy(dest, src, count); in memmove()
585 tmp = (char *) dest + count; in memmove()
586 s = (char *) src + count; in memmove()
587 while (count--) in memmove()
602 int memcmp(const void * cs,const void * ct,size_t count) in memcmp() argument
607 for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--) in memcmp()