Lines Matching refs:local
33 MemoryLocal local; in TEST() local
36 ASSERT_TRUE(local.ReadFully(reinterpret_cast<uint64_t>(src.data()), dst.data(), 1024)); in TEST()
43 ASSERT_TRUE(local.ReadFully(reinterpret_cast<uint64_t>(src.data()), dst.data(), 1024)); in TEST()
54 MemoryLocal local; in TEST() local
57 ASSERT_FALSE(local.ReadFully(0, dst.data(), 1)); in TEST()
58 ASSERT_FALSE(local.ReadFully(0, dst.data(), 100)); in TEST()
62 MemoryLocal local; in TEST() local
68 ASSERT_FALSE(local.ReadFully(reinterpret_cast<uint64_t>(&value), dst.data(), SIZE_MAX)); in TEST()
80 MemoryLocal local; in TEST() local
83 ASSERT_EQ(1024U, local.Read(reinterpret_cast<uint64_t>(mapping + getpagesize() - 1024), in TEST()
99 MemoryLocal local; in TEST() local
101 ASSERT_EQ(4096U, local.Read(reinterpret_cast<uintptr_t>(mapping), dst.data(), 4096 * 3)); in TEST()