Home
last modified time | relevance | path

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

/system/media/camera/src/
Dcamera_metadata.c406 const uintptr_t alignmentOffset = aligned_ptr - (uintptr_t) metadata; in validate_camera_metadata_structure() local
429 uintptr_t aligned_ptr = ALIGN_TO((uintptr_t) metadata + alignmentOffset, in validate_camera_metadata_structure()
432 if ((uintptr_t)metadata + alignmentOffset != aligned_ptr) { in validate_camera_metadata_structure()
436 (void*)aligned_ptr, alignmentOffset, alignments[i].name); in validate_camera_metadata_structure()
499 if ((uintptr_t)&entries[i] + alignmentOffset != in validate_camera_metadata_structure()
500 ALIGN_TO((uintptr_t)&entries[i] + alignmentOffset, ENTRY_ALIGNMENT)) { in validate_camera_metadata_structure()
538 if ((uintptr_t)data + alignmentOffset != in validate_camera_metadata_structure()
539 ALIGN_TO((uintptr_t)data + alignmentOffset, DATA_ALIGNMENT)) { in validate_camera_metadata_structure()
568 if (alignmentOffset == 0) { in validate_camera_metadata_structure()