Searched refs:ALIGN (Results 1 - 10 of 10) sorted by relevance

/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/core/libcutils/arch-x86/
H A Dsse2-memset32-atom.S24 #ifndef ALIGN
25 # define ALIGN(n) .p2align n
112 ALIGN (4)
131 ALIGN (4)
154 ALIGN (2)
174 ALIGN (4)
209 ALIGN (4)
246 ALIGN (4)
256 ALIGN (4)
325 ALIGN (
[all...]
H A Dsse2-memset16-atom.S24 #ifndef ALIGN
25 # define ALIGN(n) .p2align n
112 ALIGN (4)
131 ALIGN (4)
157 ALIGN (2)
193 ALIGN (4)
219 ALIGN (4)
246 ALIGN (4)
273 ALIGN (4)
301 ALIGN (
[all...]
/system/core/libsparse/
H A Dsparse_defs.h43 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) macro
H A Doutput_file.c374 rnd_up_len = ALIGN(len, out->block_size);
409 rnd_up_len = ALIGN(len, out->block_size);
479 unsigned int rnd_up_len = ALIGN(len, out->block_size);
/system/core/libcutils/arch-x86_64/
H A Dandroid_memset32_SSE2-atom.S26 #ifndef ALIGN
27 # define ALIGN(n) .p2align n
65 ALIGN (4)
78 ALIGN (2)
98 ALIGN (4)
132 ALIGN (4)
166 ALIGN (4)
176 ALIGN (4)
239 ALIGN (4)
260 ALIGN (
[all...]
H A Dandroid_memset16_SSE2-atom.S26 #ifndef ALIGN
27 # define ALIGN(n) .p2align n
65 ALIGN (4)
81 ALIGN (2)
117 ALIGN (4)
142 ALIGN (4)
168 ALIGN (4)
194 ALIGN (4)
221 ALIGN (4)
246 ALIGN (
[all...]
/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/keymaster/
H A Docb.c1333 #define ALIGN(n) __attribute__((aligned(n)))
1335 #define ALIGN(n) __declspec(align(n))
1337 #define ALIGN(n)
1352 ALIGN(16) char pt[128];
1353 ALIGN(16) char ct[144];
1354 ALIGN(16) char nonce[] = {0,1,2,3,4,5,6,7,8,9,10,11};
1367 ALIGN(16) char pt[1024];
1368 ALIGN(16) char ct[1024];
1369 ALIGN(16) char tag[16];
1370 ALIGN(1
[all...]
/system/core/fastbootd/commands/
H A Dpartitions.c56 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) macro
80 mapping->size = ALIGN(size + location_diff, PAGE_SIZE);

Completed in 209 milliseconds