Lines Matching defs:shadowbuf
11 unsigned char *p, testdata[BUF_TEST_SIZE], shadowbuf[BUF_TEST_SIZE];
20 memset(shadowbuf, 0, sizeof(shadowbuf));
27 memset(shadowbuf + shadowbuf_size, 0,
40 memcpy(shadowbuf + pos, testdata, size);
43 memset(shadowbuf + pos, 0, size);
52 memcpy(shadowbuf + shadowbuf_size,
56 memset(shadowbuf + shadowbuf_size, 0, size);
65 memmove(shadowbuf + pos + size,
66 shadowbuf + pos,
68 memcpy(shadowbuf + pos, testdata, size);
71 memmove(shadowbuf + pos + size,
72 shadowbuf + pos,
74 memset(shadowbuf + pos, 0, size);
88 memmove(shadowbuf + pos,
89 shadowbuf + pos + size,
93 memset(shadowbuf + shadowbuf_size, 0,
104 memmove(shadowbuf + pos,
105 shadowbuf + pos2, size);
114 memcpy(shadowbuf + pos, testdata, size);
122 memcmp(buf->data, shadowbuf, buf->used) != 0)