Lines Matching defs:alignment
32 #define ALIGN_TO(val, alignment) \
33 (((uintptr_t)(val) + ((alignment) - 1)) & ~((alignment) - 1))
107 * non-pointer type description in order to figure out the largest alignment
121 * The preferred alignment of a packet of camera metadata. In general,
314 size_t alignment;
318 .alignment = METADATA_ALIGNMENT
322 .alignment = ENTRY_ALIGNMENT
326 .alignment = DATA_ALIGNMENT
331 uintptr_t aligned_ptr = ALIGN_TO(metadata, alignments[i].alignment);
393 ALOGE("%s: Entry index %zu had bad alignment (address %p),"
394 " expected alignment %zu",
427 ALOGE("%s: Entry index %zu had bad data alignment (address %p),"