Home
last modified time | relevance | path

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

/art/libartbase/base/
Dsafe_copy_test.cc56 EXPECT_EQ(static_cast<ssize_t>(kPageSize), SafeCopy(buf, page1, kPageSize)) << strerror(errno); in TEST()
61 EXPECT_EQ(static_cast<ssize_t>(kPageSize - 1), SafeCopy(buf, page1 + 1, kPageSize)); in TEST()
66 EXPECT_EQ(0, SafeCopy(buf, page2 + kPageSize - 1, kPageSize)); in TEST()
70 EXPECT_EQ(static_cast<ssize_t>(kPageSize), SafeCopy(buf, page3, kPageSize * 2)); in TEST()
74 EXPECT_EQ(0, SafeCopy(buf, page1 + kPageSize, kPageSize)); in TEST()
101 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.cc31 ssize_t SafeCopy(void *dst, const void *src, size_t len) { in SafeCopy() function
/art/runtime/
Dfault_handler.cc69 ssize_t rc = SafeCopy(&cls, method_declaring_class, sizeof(cls)); in SafeGetDeclaringClass()
88 ssize_t rc = SafeCopy(&cls, obj_cls, sizeof(cls)); in SafeGetClass()