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

/system/core/libion/tests/
H A Ddevice_test.cpp30 #define ALIGN(x,y) (((x) + ((y) - 1)) & ~((y) - 1)) macro
137 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024);
171 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024);
205 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024);
237 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024);
271 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024);
305 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024);
339 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024);
373 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024);
408 void *buf = (void *)(ALIGN((unsigne
[all...]
/system/core/libsparse/
H A Dsparse_defs.h43 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) macro
/system/extras/simpleperf/
H A Dutils.h29 #define ALIGN(value, alignment) (((value) + (alignment)-1) & ~((alignment)-1)) macro
/system/core/libcutils/
H A Dfs_config.c69 #define ALIGN(x, alignment) ( ((x) + ((alignment) - 1)) & ~((alignment) - 1) ) macro
280 size_t len = ALIGN(sizeof(*p) + strlen(pc->prefix) + 1, sizeof(uint64_t));

Completed in 124 milliseconds