Home
last modified time | relevance | path

Searched refs:ptr1 (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/host/tests/
DStalePtrRegistry_unittest.cpp168 void* ptr1 = (void*)0xabcdef; in TEST() local
169 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() local
189 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()
/hardware/google/graphics/common/libhwjpeg/
Dhwjpeg-internal.h54 #define PTR_DIFF(ptr1, ptr2) (reinterpret_cast<size_t>(ptr2) - reinterpret_cast<size_t>(ptr1)) argument