Searched refs:ptr2 (Results 1 – 3 of 3) sorted by relevance
170 void* ptr2 = (void*)0xbcdefa; in TEST() local171 uint64_t handle2 = (uint64_t)(uintptr_t)ptr2; in TEST()176 reg.addPtr(ptr2); in TEST()183 EXPECT_EQ(reg.getPtr(handle2), ptr2); in TEST()190 void* ptr2 = (void*)0xabcdef; in TEST() local191 uint64_t handle2 = (uint64_t)(uintptr_t)ptr2; in TEST()196 reg.addPtr(ptr2); in TEST()203 EXPECT_EQ(reg.getPtr(handle2), ptr2); in TEST()
54 #define PTR_DIFF(ptr1, ptr2) (reinterpret_cast<size_t>(ptr2) - reinterpret_cast<size_t>(ptr1)) argument
190 const char *ptr2 = (char *)ptr; in fwrite_helper() local196 size_t temp = fwrite(ptr2 + written, 1, to_write - written, stream); in fwrite_helper()