• Home
  • Raw
  • Download

Lines Matching refs:count

112 char *strncpy(char *dest, const char *src, size_t count)  in strncpy()  argument
116 while (count) { in strncpy()
120 count--; in strncpy()
177 ssize_t strscpy(char *dest, const char *src, size_t count) in strscpy() argument
180 size_t max = count; in strscpy()
183 if (count == 0) in strscpy()
214 count -= sizeof(unsigned long); in strscpy()
218 while (count) { in strscpy()
226 count--; in strscpy()
268 char *strncat(char *dest, const char *src, size_t count) in strncat() argument
272 if (count) { in strncat()
276 if (--count == 0) { in strncat()
294 size_t strlcat(char *dest, const char *src, size_t count) in strlcat() argument
301 BUG_ON(dsize >= count); in strlcat()
304 count -= dsize; in strlcat()
305 if (len >= count) in strlcat()
306 len = count-1; in strlcat()
345 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() argument
349 while (count) { in strncmp()
356 count--; in strncmp()
422 char *strnchr(const char *s, size_t count, int c) in strnchr() argument
424 for (; count-- && *s != '\0'; ++s) in strnchr()
494 size_t strnlen(const char *s, size_t count) in strnlen() argument
498 for (sc = s; count-- && *sc != '\0'; ++sc) in strnlen()
515 size_t count = 0; in strspn() local
523 return count; in strspn()
524 ++count; in strspn()
526 return count; in strspn()
542 size_t count = 0; in strcspn() local
547 return count; in strcspn()
549 ++count; in strcspn()
551 return count; in strcspn()
668 void *memset(void *s, int c, size_t count) in memset() argument
672 while (count--) in memset()
693 void memzero_explicit(void *s, size_t count) in memzero_explicit() argument
695 memset(s, 0, count); in memzero_explicit()
710 void *memcpy(void *dest, const void *src, size_t count) in memcpy() argument
715 while (count--) in memcpy()
731 void *memmove(void *dest, const void *src, size_t count) in memmove() argument
739 while (count--) in memmove()
743 tmp += count; in memmove()
745 s += count; in memmove()
746 while (count--) in memmove()
762 __visible int memcmp(const void *cs, const void *ct, size_t count) in memcmp() argument
767 for (su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--) in memcmp()