Lines Matching refs:dst
36 void *memmove(void *dst, const void *src, size_t len) in memmove() argument
43 if (dst < src) { in memmove()
50 ((char *)dst)[pos] = ((const char *)src)[pos]; in memmove()
53 return dst; in memmove()
60 void *memcpy(void *dst, const void *src, size_t len) in memcpy() argument
65 ((char *)dst)[pos] = ((const char *)src)[pos]; in memcpy()
68 return dst; in memcpy()
77 void *memset(void *dst, int b, size_t len) in memset() argument
79 char *p = dst; in memset()
86 return dst; in memset()
113 char *strcpy(char *dst, const char *src) in strcpy() argument
115 char *ret = dst; in strcpy()
117 while ((*dst++ = *src++)); in strcpy()
189 size_t strlcat(char *dst, const char *src, size_t size) in strlcat() argument
191 size_t len = strnlen(dst, size); in strlcat()
198 dst[len] = *src; in strlcat()
206 dst[len] = '\0'; in strlcat()
215 size_t strlcpy(char *dst, const char *src, size_t size) in strlcpy() argument
220 dst[len] = src[len]; in strlcpy()
221 if (!dst[len]) in strlcpy()
225 dst[size-1] = '\0'; in strlcpy()
234 char *strncat(char *dst, const char *src, size_t size) in strncat() argument
236 char *orig = dst; in strncat()
238 while (*dst) in strncat()
239 dst++; in strncat()
241 while (size && (*dst = *src)) { in strncat()
243 dst++; in strncat()
247 *dst = 0; in strncat()
265 char *strncpy(char *dst, const char *src, size_t size) in strncpy() argument
270 if ((dst[len] = *src)) in strncpy()
272 return dst; in strncpy()