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

/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h991 // CopyArray() copies a k-dimensional native array using the elements'
993 // CopyArray() degenerates into copying a single value.
996 void CopyArray(const T* from, size_t size, U* to);
1000 inline void CopyArray(const T& from, U* to) { *to = from; } function in namespace:testing::internal
1004 inline void CopyArray(const T(&from)[N], U(*to)[N]) {
1005 internal::CopyArray(from, N, *to);
1009 // the previous CopyArray() function, arrays with different sizes
1012 void CopyArray(const T* from, size_t size, U* to) { function in namespace:testing::internal
1014 internal::CopyArray(from[i], to + i);
1079 CopyArray(arra
[all...]
/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc245 using testing::internal::CopyArray;
7582 // Tests CopyArray().
7586 CopyArray('a', &n);
7594 CopyArray(a, &b);
7599 CopyArray(a, 3, c);
7607 CopyArray(a, &b);
7612 CopyArray(a, 2, c);

Completed in 33 milliseconds