Home
last modified time | relevance | path

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

/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/crypto/
Daes.c27 #define IS_ALIGNED(ptr, type) (((uintptr_t)(ptr) & (alignof(type) - 1)) == 0) macro
266 if (IS_ALIGNED(k, uint32_t)) { in aesCtrInit()
281 const bool is_src_aligned = IS_ALIGNED(src, uint32_t); in aesCtr()
282 const bool is_dst_aligned = IS_ALIGNED(dst, uint32_t); in aesCtr()
/system/core/storaged/include/
Dstoraged.h39 #define IS_ALIGNED(x, align) (!((x) & ((align) - 1))) macro
/system/core/storaged/
Dstoraged.cpp279 while (!IS_ALIGNED(proto->ByteSizeLong(), pagesize)) { in prepare_proto()