Home | History | Annotate | Download | only in stdlib

Lines Matching refs:len

23  * Compare @len bytes of @s1 and @s2
25 int memcmp(const void *s1, const void *s2, size_t len)
32 while (len--) {
43 * Copy @len bytes from @src to @dst
45 void *memcpy(void *dst, const void *src, size_t len)
50 while (len--)
57 * Move @len bytes from @src to @dst
59 void *memmove(void *dst, const void *src, size_t len)
63 * more efficiently test the condition !(src <= dst && dst < str+len).
65 * incorrect results were the calculation str+len to overflow (though
69 if ((size_t)dst - (size_t)src >= len) {
71 return memcpy(dst, src, len);
75 const char *s = (const char *)src + len;
76 char *d = (char *)dst + len;
84 * Scan @len bytes of @src for value @c
86 void *memchr(const void *src, int c, size_t len)
90 while (len--) {