Searched refs:ptr1 (Results 1 – 2 of 2) sorted by relevance
168 void* ptr1 = (void*)0xabcdef; in TEST() local169 uint64_t handle1 = (uint64_t)(uintptr_t)ptr1; in TEST()173 reg.addPtr(ptr1); in TEST()182 EXPECT_EQ(reg.getPtr(handle1), ptr1); in TEST()188 void* ptr1 = (void*)0xabcdef; in TEST() local189 uint64_t handle1 = (uint64_t)(uintptr_t)ptr1; in TEST()193 reg.addPtr(ptr1); in TEST()202 EXPECT_EQ(reg.getPtr(handle1), ptr1); in TEST()
54 #define PTR_DIFF(ptr1, ptr2) (reinterpret_cast<size_t>(ptr2) - reinterpret_cast<size_t>(ptr1)) argument