• Home
  • Raw
  • Download

Lines Matching refs:remote

54   MemoryRemote remote(pid);  in TEST()  local
57 ASSERT_TRUE(remote.ReadFully(reinterpret_cast<uint64_t>(src.data()), dst.data(), 1024)); in TEST()
83 MemoryRemote remote(pid); in TEST() local
86 ASSERT_TRUE(remote.ReadFully(reinterpret_cast<uint64_t>(src.data()), dst.data(), src.size())); in TEST()
116 MemoryRemote remote(pid); in TEST() local
120 remote.Read(reinterpret_cast<uint64_t>(mapping + getpagesize() - 1024), dst.data(), 4096); in TEST()
129 remote.Read(reinterpret_cast<uint64_t>(mapping + 3 * getpagesize() - 1024), dst.data(), 4096); in TEST()
157 MemoryRemote remote(pid); in TEST() local
160 ASSERT_TRUE(remote.ReadFully(reinterpret_cast<uint64_t>(src), dst.data(), pagesize)); in TEST()
165 ASSERT_FALSE(remote.ReadFully(reinterpret_cast<uint64_t>(src) + pagesize, dst.data(), 1)); in TEST()
166 ASSERT_TRUE(remote.ReadFully(reinterpret_cast<uint64_t>(src) + pagesize - 1, dst.data(), 1)); in TEST()
167 ASSERT_FALSE(remote.ReadFully(reinterpret_cast<uint64_t>(src) + pagesize - 4, dst.data(), 8)); in TEST()
170 ASSERT_FALSE(remote.ReadFully(UINT64_MAX - 100, dst.data(), 200)); in TEST()
189 MemoryRemote remote(pid); in TEST() local
193 ASSERT_FALSE(remote.ReadFully(UINT64_MAX - 100, dst.data(), 200)); in TEST()
209 MemoryRemote remote(pid); in TEST() local
212 ASSERT_FALSE(remote.ReadFully(0, dst.data(), 1)); in TEST()
213 ASSERT_FALSE(remote.ReadFully(0, dst.data(), 100)); in TEST()
238 MemoryRemote remote(pid); in TEST() local
240 size_t read_size = remote.Read(reinterpret_cast<uint64_t>(mapping), dst.data(), page_size * 3); in TEST()
275 MemoryRemote remote(pid); in TEST() local
277 size_t read_size = remote.Read(reinterpret_cast<uint64_t>(mapping), dst.data(), page_size * 3); in TEST()