Home
last modified time | relevance | path

Searched refs:src_data (Results 1 – 2 of 2) sorted by relevance

/art/libartbase/base/unix_file/
Dfd_file_test.cc153 char src_data[] = "Some test data."; in TEST_F() local
154 ASSERT_TRUE(src.WriteFully(src_data, sizeof(src_data))); // Including the zero terminator. in TEST_F()
156 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), src.GetLength()); in TEST_F()
163 ASSERT_TRUE(dest.Copy(&src, 0, sizeof(src_data))); in TEST_F()
165 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), dest.GetLength()); in TEST_F()
167 char check_data[sizeof(src_data)]; in TEST_F()
168 ASSERT_TRUE(dest.PreadFully(check_data, sizeof(src_data), 0u)); in TEST_F()
169 CHECK_EQ(0, memcmp(check_data, src_data, sizeof(src_data))); in TEST_F()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc167 const StackHandleScope<3>& src_data, in RunArrayCopy() argument
178 hs_misc.NewHandle(CreateObjectArray(self, src_component_class, src_data))); in RunArrayCopy()