Searched refs:SafeCopy (Results 1 – 5 of 5) sorted by relevance
/art/libartbase/base/ |
D | safe_copy_test.cc | 57 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()
|
D | safe_copy.h | 27 ssize_t SafeCopy(void *dst, const void *src, size_t len);
|
D | safe_copy.cc | 33 ssize_t SafeCopy(void *dst, const void *src, size_t len) { in SafeCopy() function
|
/art/runtime/ |
D | fault_handler.cc | 68 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/ |
D | fault_handler_x86.cc | 83 ssize_t bytes = SafeCopy(buf, pc, sizeof(buf)); in GetInstructionSize()
|