Home
last modified time | relevance | path

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

/system/memory/libmemunreachable/
DAllocator.cpp137 void* aligned_ptr = ptr; in MapAligned() local
139 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()
/system/media/camera/src/
Dcamera_metadata.c413 uintptr_t aligned_ptr = ALIGN_TO(metadata, METADATA_PACKET_ALIGNMENT); in validate_camera_metadata_structure() local
414 const uintptr_t alignmentOffset = aligned_ptr - (uintptr_t) metadata; in validate_camera_metadata_structure()
/system/media/camera/tests/
Dcamera_metadata_tests.cpp1860 void* aligned_ptr = (void*)((uintptr_t)data_ptr & ~(m_type_align[m_type] - 1)); in TEST() local
1861 EXPECT_EQ(aligned_ptr, data_ptr) << in TEST()