Home
last modified time | relevance | path

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

/system/media/camera/src/
Dcamera_metadata.c400 const uintptr_t alignmentOffset = aligned_ptr - (uintptr_t) metadata; in validate_camera_metadata_structure() local
423 uintptr_t aligned_ptr = ALIGN_TO((uintptr_t) metadata + alignmentOffset, in validate_camera_metadata_structure()
426 if ((uintptr_t)metadata + alignmentOffset != aligned_ptr) { in validate_camera_metadata_structure()
430 (void*)aligned_ptr, alignmentOffset, alignments[i].name); in validate_camera_metadata_structure()
493 if ((uintptr_t)&entries[i] + alignmentOffset != in validate_camera_metadata_structure()
494 ALIGN_TO((uintptr_t)&entries[i] + alignmentOffset, ENTRY_ALIGNMENT)) { in validate_camera_metadata_structure()
532 if ((uintptr_t)data + alignmentOffset != in validate_camera_metadata_structure()
533 ALIGN_TO((uintptr_t)data + alignmentOffset, DATA_ALIGNMENT)) { in validate_camera_metadata_structure()
562 if (alignmentOffset == 0) { in validate_camera_metadata_structure()