Searched defs:ALIGN (Results 1 - 3 of 3) sorted by relevance

/system/core/libsparse/
H A Dsparse_defs.h43 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) macro
/system/core/libutils/
H A DLinearAllocator.cpp51 #define ALIGN(x) ((x + ALIGN_SZ - 1 ) & ~(ALIGN_SZ - 1)) macro
52 #define ALIGN_PTR(p) ((void*)(ALIGN((size_t)p)))
149 mPageSize = ALIGN(mPageSize);
164 size = ALIGN(size);
185 allocSize = ALIGN(allocSize);
195 pageSize = ALIGN(pageSize + sizeof(LinearAllocator::Page));
/system/extras/ext4_utils/
H A Dext4_utils.h73 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) macro

Completed in 38 milliseconds