Lines Matching refs:ptr1
136 test_struct_small* ptr1 = in TEST() local
141 ASSERT_TRUE(ptr1 != nullptr); in TEST()
142 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(ptr1) % 16); in TEST()
146 ASSERT_EQ(reinterpret_cast<uintptr_t>(ptr1)+16, reinterpret_cast<uintptr_t>(ptr2)); in TEST()
147 ASSERT_TRUE(memcmp(ptr1, zeros, 16) == 0); in TEST()
149 allocator.free(ptr1); in TEST()
157 test_struct_huge* ptr1 = in TEST() local
162 ASSERT_TRUE(ptr1 != nullptr); in TEST()
163 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(ptr1) % 16); in TEST()
168 reinterpret_cast<uintptr_t>(ptr1)/kPageSize != reinterpret_cast<uintptr_t>(ptr2)/kPageSize); in TEST()
170 allocator.free(ptr1); in TEST()
176 test_struct_large* ptr1 = in TEST() local
181 ASSERT_TRUE(ptr1 != nullptr); in TEST()
182 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(ptr1) % 16); in TEST()
186 ASSERT_EQ(reinterpret_cast<uintptr_t>(ptr1) + 1024, reinterpret_cast<uintptr_t>(ptr2)); in TEST()
205 allocator.free(ptr1); in TEST()