Searched refs:ArrayEq (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h951 // ArrayEq() compares two k-dimensional native arrays using the
953 // 0, ArrayEq() degenerates into comparing a single pair of values.
956 bool ArrayEq(const T* lhs, size_t size, const U* rhs);
960 inline bool ArrayEq(const T& lhs, const U& rhs) { return lhs == rhs; } function in namespace:testing::internal
964 inline bool ArrayEq(const T(&lhs)[N], const U(&rhs)[N]) {
965 return internal::ArrayEq(lhs, N, rhs);
969 // the previous ArrayEq() function, arrays with different sizes would
972 bool ArrayEq(const T* lhs, size_t size, const U* rhs) { function in namespace:testing::internal
974 if (!internal::ArrayEq(lhs[i], rhs[i]))
985 if (internal::ArrayEq(*i
[all...]
/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc242 using testing::internal::ArrayEq;
7534 // Tests ArrayEq().
7537 EXPECT_TRUE(ArrayEq(5, 5L));
7538 EXPECT_FALSE(ArrayEq('a', 0));
7545 EXPECT_TRUE(ArrayEq(a, b));
7546 EXPECT_TRUE(ArrayEq(a, 2, b));
7549 EXPECT_FALSE(ArrayEq(a, b));
7550 EXPECT_FALSE(ArrayEq(a, 1, b));
7558 EXPECT_TRUE(ArrayEq(a, b));
7559 EXPECT_TRUE(ArrayEq(
[all...]

Completed in 37 milliseconds