Lines Matching refs:memcpy
272 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN); in TEST()
425 memcpy(buf, s, strlen(s) + 1); in TEST()
498 memcpy(state.ptr1, state.ptr2, state.len[i]); in TEST()
502 memcpy(state.ptr1, state.ptr2, pos); in TEST()
529 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST()
535 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); in TEST()
553 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST()
559 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); in TEST()
575 memcpy(state.ptr, state.ptr2, state.MAX_LEN + state.len[i]); in TEST()
581 memcpy(state.ptr + state.MAX_LEN - 1, state.ptr1, pos + 1); in TEST()
583 memcpy(state.ptr + state.MAX_LEN - 1, state.ptr1, state.len[i]); in TEST()
608 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST()
611 memcpy(state.ptr + state.MAX_LEN, state.ptr2, state.MAX_LEN); in TEST()
614 memcpy(state.ptr + state.MAX_LEN, state.ptr1, state.MAX_LEN); in TEST()
617 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); in TEST()
635 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN); in TEST()
666 memcpy(state.ptr1, state.ptr2, state.len[i]); in TEST()
670 memcpy(state.ptr1, state.ptr2, pos); in TEST()
696 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST()
705 memcpy(state.ptr + state.MAX_LEN, state.ptr1, copy_len); in TEST()
733 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST()
742 memcpy(state.ptr + state.MAX_LEN, state.ptr1, copy_len); in TEST()
882 TEST(STRING_TEST, memcpy) { in TEST() argument
896 ASSERT_FALSE(memcpy(state.ptr2 + pos, state.ptr1 + pos, state.len[i]) != state.ptr2 + pos); in TEST()
908 memcpy(state.ptr2, state.ptr1, state.MAX_LEN); in TEST()
931 memcpy(state.ptr2, state.ptr1, 2 * state.MAX_LEN); in TEST()
932 memcpy(state.ptr, state.ptr1, state.len[i]); in TEST()
933 memcpy(state.ptr1 + pos, state.ptr, state.len[i]); in TEST()
958 memcpy(ptr2, ptr1, 2 * len); in TEST()
959 memcpy(ptr, ptr1, len); in TEST()
960 memcpy(ptr1 + pos, ptr, len); in TEST()
972 memcpy(src, src_copy, size); in verify_memmove()
1026 memcpy(state.ptr2, state.ptr1, 2 * state.MAX_LEN); in TEST()
1029 memcpy(state.ptr2 + start, state.ptr1, state.len[i]); in TEST()
1045 memcpy(state.ptr2, state.ptr1, start); in TEST()
1047 memcpy(state.ptr2 + end, state.ptr1 + end, state.MAX_LEN - end); in TEST()
1059 ASSERT_EQ(dst, memcpy(dst, src, len)); in DoMemcpyTest()
1534 memcpy(buffer, g_memcpy_same_buffer.data(), len); in DoMemcpySameTest()
1535 ASSERT_EQ(buffer, memcpy(buffer, buffer, len)); in DoMemcpySameTest()