Home
last modified time | relevance | path

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

/bionic/benchmarks/tests/
Dbenchmark_test.cpp24 uintptr_t aligned_ptr = reinterpret_cast<uintptr_t>(GetAlignedMemory(buf.data(), alignment, in TEST() local
26 ASSERT_EQ(aligned_ptr % alignment, or_mask); in TEST()
27 ASSERT_EQ(aligned_ptr & alignment, alignment); in TEST()
35 uintptr_t aligned_ptr = reinterpret_cast<uintptr_t>(GetAlignedPtr(&buf, alignment, 100)); in TEST() local
36 ASSERT_EQ(aligned_ptr & alignment, alignment); in TEST()
37 ASSERT_EQ(aligned_ptr & (alignment - 1), 0u); in TEST()