Searched refs:src_data (Results 1 – 2 of 2) sorted by relevance
/art/runtime/base/unix_file/ |
D | fd_file_test.cc | 148 char src_data[] = "Some test data."; in TEST_F() local 149 ASSERT_TRUE(src.WriteFully(src_data, sizeof(src_data))); // Including the zero terminator. in TEST_F() 151 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), src.GetLength()); in TEST_F() 159 ASSERT_TRUE(dest.Copy(&src, 0, sizeof(src_data))); in TEST_F() 161 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), dest.GetLength()); in TEST_F() 163 char check_data[sizeof(src_data)]; in TEST_F() 164 ASSERT_TRUE(dest.PreadFully(check_data, sizeof(src_data), 0u)); in TEST_F() 165 CHECK_EQ(0, memcmp(check_data, src_data, sizeof(src_data))); in TEST_F()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 137 const StackHandleScope<3>& src_data, in RunArrayCopy() argument 148 hs_misc.NewHandle(CreateObjectArray(self, src_component_class, src_data))); in RunArrayCopy()
|