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

/system/core/libion/tests/
H A Ddevice_test.cpp31 #define ALIGN(x,y) (((x) + ((y) - 1)) & ~((y) - 1)) macro
138 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024);
170 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024);
202 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024);
232 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024);
264 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024);
296 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024);
328 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024);
360 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024);
393 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/core/libcutils/
H A Dfs_config.cpp55 #define ALIGN(x, alignment) (((x) + ((alignment)-1)) & ~((alignment)-1)) macro
357 size_t len = ALIGN(sizeof(*p) + strlen(pc->prefix) + 1, sizeof(uint64_t));

Completed in 77 milliseconds