Lines Matching refs:memcmp

270       EXPECT_TRUE(memcmp(state.ptr, state.ptr2, 2 * state.MAX_LEN) == 0);  in TEST()
527 ASSERT_FALSE((memcmp(state.ptr1, state.ptr, state.MAX_LEN)) != 0 || in TEST()
528 (memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN) != 0)); in TEST()
551 ASSERT_FALSE((memcmp(state.ptr1, state.ptr, state.MAX_LEN)) != 0 || in TEST()
552 (memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN) != 0)); in TEST()
577 ASSERT_TRUE(memcmp(state.ptr, state.ptr2, state.MAX_LEN + state.len[i]) == 0); in TEST()
609 ASSERT_FALSE((memcmp(state.ptr1, state.ptr, state.MAX_LEN) != 0) || in TEST()
610 (memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN) != 0)); in TEST()
636 ASSERT_EQ(memcmp(state.ptr, state.ptr2, 2 * state.MAX_LEN), 0); in TEST()
705 ASSERT_EQ(0, memcmp(state.ptr1, state.ptr, state.MAX_LEN)); in TEST()
707 ASSERT_EQ(0, memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN)); in TEST()
742 ASSERT_EQ(0, memcmp(state.ptr1, state.ptr, state.MAX_LEN)); in TEST()
744 ASSERT_EQ(0, memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN)); in TEST()
828 TEST(STRING_TEST, memcmp) { in TEST() argument
841 int actual = memcmp(state.ptr1, state.ptr2, state.MAX_LEN); in TEST()
885 ASSERT_EQ(0, memcmp(state.ptr1, state.ptr2, state.MAX_LEN)); in TEST()
905 ASSERT_EQ(0, memcmp(state.ptr1, state.ptr2, state.MAX_LEN)); in TEST()
924 ASSERT_EQ(0, memcmp(state.ptr2, state.ptr1, 2 * state.MAX_LEN)); in TEST()
951 ASSERT_EQ(0, memcmp(ptr2, ptr1, 2 * len)); in TEST()
962 ASSERT_EQ(0, memcmp(dst, src_copy, size)); in verify_memmove()
1020 ASSERT_EQ(0, memcmp(state.ptr1, state.ptr2, 2 * state.MAX_LEN)); in TEST()
1039 ASSERT_EQ(0, memcmp(state.ptr1, state.ptr2, state.MAX_LEN)); in TEST()
1048 ASSERT_TRUE(memcmp(src, dst, len) == 0); in DoMemcpyTest()
1064 ASSERT_TRUE(memcmp(src, dst, len) == 0); in DoMemmoveTest()
1113 ASSERT_TRUE(memcmp(src, dst, len) == 0); in DoStrcpyTest()
1133 ASSERT_TRUE(memcmp(src, dst, len) == 0); in DoStrlcpyTest()
1162 ASSERT_TRUE(memcmp(src, dst, len) == 0); in DoStpcpyTest()
1207 ASSERT_TRUE(memcmp(dst, cmp_buf, i-1) == 0); in DoStrcatTest()
1208 ASSERT_TRUE(memcmp(src, dst+i-1, len-i+1) == 0); in DoStrcatTest()
1221 ASSERT_TRUE(memcmp(src, dst, len) == 0); in DoStrcatTest()
1254 ASSERT_TRUE(memcmp(dst, cmp_buf, i-1) == 0); in DoStrlcatTest()
1255 ASSERT_TRUE(memcmp(src, dst+i-1, len-i+1) == 0); in DoStrlcatTest()
1268 ASSERT_TRUE(memcmp(src, dst, len) == 0); in DoStrlcatTest()
1346 ASSERT_EQ(0, memcmp(buf1, buf2, len)); in DoMemcmpTest()
1360 ASSERT_NE(0, memcmp(buf1, buf2, len)); in DoMemcmpFailTest()
1364 ASSERT_NE(0, memcmp(buf1, buf2, len)); in DoMemcmpFailTest()
1518 ASSERT_TRUE(memcmp(buffer, g_memcpy_same_buffer.data(), len) == 0); in DoMemcpySameTest()