Lines Matching refs:memcpy
198 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN);
260 memcpy(state.ptr1, state.ptr2, state.len[i]);
264 memcpy(state.ptr1, state.ptr2, pos);
293 memcpy(state.ptr, state.ptr1, state.MAX_LEN);
299 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1);
323 memcpy(buf, "0123456789", sizeof(buf));
330 memcpy(buf, "0123456789", sizeof(buf));
337 memcpy(buf, "0123456789", sizeof(buf));
351 memcpy(state.ptr, state.ptr2, state.MAX_LEN + state.len[i]);
357 memcpy(state.ptr + state.MAX_LEN - 1, state.ptr1, pos + 1);
359 memcpy(state.ptr + state.MAX_LEN - 1, state.ptr1, state.len[i]);
387 memcpy(state.ptr, state.ptr1, state.MAX_LEN);
390 memcpy(state.ptr + state.MAX_LEN, state.ptr2, state.MAX_LEN);
393 memcpy(state.ptr + state.MAX_LEN, state.ptr1, state.MAX_LEN);
396 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1);
414 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN);
447 memcpy(state.ptr1, state.ptr2, state.len[i]);
451 memcpy(state.ptr1, state.ptr2, pos);
476 memcpy(state.ptr, state.ptr1, state.MAX_LEN);
488 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1);
596 TEST(string, memcpy) {
612 ASSERT_FALSE(memcpy(state.ptr2 + pos, state.ptr1 + pos, state.len[i]) != state.ptr2 + pos);
626 memcpy(state.ptr2, state.ptr1, state.MAX_LEN);
651 memcpy(state.ptr2, state.ptr1, 2 * state.MAX_LEN);
652 memcpy(state.ptr, state.ptr1, state.len[i]);
653 memcpy(state.ptr1 + pos, state.ptr, state.len[i]);
669 memcpy(state.ptr2, state.ptr1, 2 * state.MAX_LEN);
672 memcpy(state.ptr2 + start, state.ptr1, state.len[i]);
690 memcpy(state.ptr2, state.ptr1, start);
692 memcpy(state.ptr2 + end, state.ptr1 + end, state.MAX_LEN - end);