Lines Matching refs:memcpy
266 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN); in TEST()
418 memcpy(buf, s, strlen(s) + 1); in TEST()
491 memcpy(state.ptr1, state.ptr2, state.len[i]); in TEST()
495 memcpy(state.ptr1, state.ptr2, pos); in TEST()
522 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST()
528 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); in TEST()
546 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST()
552 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); in TEST()
568 memcpy(state.ptr, state.ptr2, state.MAX_LEN + state.len[i]); in TEST()
574 memcpy(state.ptr + state.MAX_LEN - 1, state.ptr1, pos + 1); in TEST()
576 memcpy(state.ptr + state.MAX_LEN - 1, state.ptr1, state.len[i]); in TEST()
601 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST()
604 memcpy(state.ptr + state.MAX_LEN, state.ptr2, state.MAX_LEN); in TEST()
607 memcpy(state.ptr + state.MAX_LEN, state.ptr1, state.MAX_LEN); in TEST()
610 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); in TEST()
628 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN); in TEST()
659 memcpy(state.ptr1, state.ptr2, state.len[i]); in TEST()
663 memcpy(state.ptr1, state.ptr2, pos); in TEST()
689 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST()
698 memcpy(state.ptr + state.MAX_LEN, state.ptr1, copy_len); in TEST()
726 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST()
735 memcpy(state.ptr + state.MAX_LEN, state.ptr1, copy_len); in TEST()
875 TEST(STRING_TEST, memcpy) { in TEST() argument
889 ASSERT_FALSE(memcpy(state.ptr2 + pos, state.ptr1 + pos, state.len[i]) != state.ptr2 + pos); in TEST()
901 memcpy(state.ptr2, state.ptr1, state.MAX_LEN); in TEST()
924 memcpy(state.ptr2, state.ptr1, 2 * state.MAX_LEN); in TEST()
925 memcpy(state.ptr, state.ptr1, state.len[i]); in TEST()
926 memcpy(state.ptr1 + pos, state.ptr, state.len[i]); in TEST()
951 memcpy(ptr2, ptr1, 2 * len); in TEST()
952 memcpy(ptr, ptr1, len); in TEST()
953 memcpy(ptr1 + pos, ptr, len); in TEST()
965 memcpy(src, src_copy, size); in verify_memmove()
1019 memcpy(state.ptr2, state.ptr1, 2 * state.MAX_LEN); in TEST()
1022 memcpy(state.ptr2 + start, state.ptr1, state.len[i]); in TEST()
1038 memcpy(state.ptr2, state.ptr1, start); in TEST()
1040 memcpy(state.ptr2 + end, state.ptr1 + end, state.MAX_LEN - end); in TEST()
1052 ASSERT_EQ(dst, memcpy(dst, src, len)); in DoMemcpyTest()
1521 memcpy(buffer, g_memcpy_same_buffer.data(), len); in DoMemcpySameTest()
1522 ASSERT_EQ(buffer, memcpy(buffer, buffer, len)); in DoMemcpySameTest()