Home
last modified time | relevance | path

Searched refs:SafeCopy (Results 1 – 5 of 5) sorted by relevance

/art/libartbase/base/
Dsafe_copy_test.cc57 EXPECT_EQ(static_cast<ssize_t>(kPageSize), SafeCopy(buf, page1, kPageSize)) << strerror(errno); in TEST()
62 EXPECT_EQ(static_cast<ssize_t>(kPageSize - 1), SafeCopy(buf, page1 + 1, kPageSize)); in TEST()
67 EXPECT_EQ(0, SafeCopy(buf, page2 + kPageSize - 1, kPageSize)); in TEST()
71 EXPECT_EQ(static_cast<ssize_t>(kPageSize), SafeCopy(buf, page3, kPageSize * 2)); in TEST()
75 EXPECT_EQ(0, SafeCopy(buf, page1 + kPageSize, kPageSize)); in TEST()
102 SafeCopy(dst + 1024, src + 512, kPageSize * 3 - 1024)); in TEST()
Dsafe_copy.h27 ssize_t SafeCopy(void *dst, const void *src, size_t len);
Dsafe_copy.cc33 ssize_t SafeCopy(void *dst, const void *src, size_t len) { in SafeCopy() function
/art/runtime/
Dfault_handler.cc68 ssize_t rc = SafeCopy(&cls, method_declaring_class, sizeof(cls)); in SafeGetDeclaringClass()
87 ssize_t rc = SafeCopy(&cls, obj_cls, sizeof(cls)); in SafeGetClass()
/art/runtime/arch/x86/
Dfault_handler_x86.cc83 ssize_t bytes = SafeCopy(buf, pc, sizeof(buf)); in GetInstructionSize()