Lines Matching refs:ptr1
66 test_struct_nominal* ptr1 = allocator.alloc(); in TEST() local
67 ASSERT_TRUE(ptr1 != nullptr); in TEST()
68 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(ptr1) % 16); in TEST()
73 ASSERT_EQ(reinterpret_cast<uint8_t*>(ptr1)+16, reinterpret_cast<uint8_t*>(ptr2)); in TEST()
75 ptr1->value = 42; in TEST()
77 allocator.free(ptr1); in TEST()
84 char* ptr1 = reinterpret_cast<char*>(allocator.alloc()); in TEST() local
87 ASSERT_TRUE(ptr1 != nullptr); in TEST()
88 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(ptr1) % 16); in TEST()
91 ASSERT_EQ(ptr1+16, ptr2); // aligned to 16 in TEST()
97 test_struct_larger* ptr1 = allocator.alloc(); in TEST() local
100 ASSERT_TRUE(ptr1 != nullptr); in TEST()
101 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(ptr1) % 16); in TEST()
105 ASSERT_EQ(reinterpret_cast<uint8_t*>(ptr1) + 1024, reinterpret_cast<uint8_t*>(ptr2)); in TEST()
116 allocator.free(ptr1); in TEST()