Lines Matching refs:dest
54 typedef void (*stub_t)(void *dest, void *src, size_t n);
80 static void xbounce(void *dest, void *src, size_t n)
86 static void xmemcpy(void *dest, void *src, size_t n)
88 SPOIL(memcpy(dest, src, n));
92 static void xmemset(void *dest, void *src, size_t n)
94 SPOIL(memset(dest, 0, n));
98 static void xmemcmp(void *dest, void *src, size_t n)
100 SPOIL(memcmp(dest, src, n));
104 static void xstrcpy(void *dest, void *src, size_t n)
106 SPOIL(strcpy(dest, src));
110 static void xstrlen(void *dest, void *src, size_t n)
112 SPOIL(strlen(dest));
116 static void xstrcmp(void *dest, void *src, size_t n)
118 SPOIL(strcmp(dest, src));
122 static void xstrchr(void *dest, void *src, size_t n)
130 static void xmemchr(void *dest, void *src, size_t n)
271 /* Size of src and dest buffers */
336 char *dest = malloc(buffer_size);
338 assert(src != NULL && dest != NULL);
341 dest = realign(dest, dst_alignment);
349 dest[i] = src[i];
354 dest[count] = 0;
368 (*stub)(dest, src, count);
375 (*stub)(dest, src, count);
376 empty(dest);