Searched refs:aligned_ptr (Results 1 – 3 of 3) sorted by relevance
137 void* aligned_ptr = ptr; in MapAligned() local139 std::align(align, size, aligned_ptr, aligned_size); in MapAligned()142 if (aligned_ptr != ptr) { in MapAligned()143 ptrdiff_t extra = reinterpret_cast<uintptr_t>(aligned_ptr) - reinterpret_cast<uintptr_t>(ptr); in MapAligned()146 ptr = aligned_ptr; in MapAligned()
413 uintptr_t aligned_ptr = ALIGN_TO(metadata, METADATA_PACKET_ALIGNMENT); in validate_camera_metadata_structure() local414 const uintptr_t alignmentOffset = aligned_ptr - (uintptr_t) metadata; in validate_camera_metadata_structure()
1860 void* aligned_ptr = (void*)((uintptr_t)data_ptr & ~(m_type_align[m_type] - 1)); in TEST() local1861 EXPECT_EQ(aligned_ptr, data_ptr) << in TEST()