Home
last modified time | relevance | path

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

/art/libartbase/base/unix_file/
Dfd_file_test.cc362 off_t copy_size = src->GetFile()->GetLength(); in TEST_F() local
363 EXPECT_TRUE(dest.GetFile()->Copy(src->GetFile(), /*offset=*/0, copy_size)); in TEST_F()
367 EXPECT_EQ(dest.GetFile()->GetLength(), copy_size); in TEST_F()
384 copy_size)); in TEST_F()
439 off_t copy_size = src->GetFile()->GetLength() - copy_start_offset - copy_end_offset; in TEST_F() local
440 EXPECT_TRUE(dest.GetFile()->Copy(src->GetFile(), copy_start_offset, copy_size)); in TEST_F()
444 EXPECT_EQ(dest.GetFile()->GetLength(), copy_size); in TEST_F()
447 EXPECT_EQ(lseek(dest.GetFd(), /*offset=*/0, SEEK_CUR), copy_size); in TEST_F()
448 EXPECT_EQ(lseek(src->GetFd(), /*offset=*/0, SEEK_CUR), copy_start_offset + copy_size); in TEST_F()
477 copy_size)); in TEST_F()
[all …]
/art/openjdkjvmti/
DOpenjdkJvmTi.cc1010 size_t copy_size = std::min(sizeof(jvmtiEventCallbacks), in SetEventCallbacks() local
1012 copy_size = art::RoundDown(copy_size, sizeof(void*)); in SetEventCallbacks()
1014 memcpy(tmp.get(), callbacks, copy_size); in SetEventCallbacks()