Home
last modified time | relevance | path

Searched refs:align (Results 1 – 25 of 61) sorted by relevance

123

/bionic/libc/private/
Dbionic_macros.h51 static constexpr uintptr_t align_down(uintptr_t p, size_t align) { in align_down() argument
52 return p & ~(align - 1); in align_down()
55 static constexpr uintptr_t align_up(uintptr_t p, size_t align) { in align_up() argument
56 return (p + align - 1) & ~(align - 1); in align_up()
60 static inline T* align_down(T* p, size_t align) { in align_down() argument
61 return reinterpret_cast<T*>(align_down(reinterpret_cast<uintptr_t>(p), align)); in align_down()
65 static inline T* align_up(T* p, size_t align) { in align_up() argument
66 return reinterpret_cast<T*>(align_up(reinterpret_cast<uintptr_t>(p), align)); in align_up()
/bionic/libm/x86_64/
Ds_cbrt.S204 .align 16
205 .align 16
225 .align 4
231 .align 4
237 .align 4
243 .align 4
249 .align 4
317 .align 4
513 .align 4
709 .align 4
[all …]
De_exp.S256 .align 16
257 .align 16
285 .align 16
293 .align 16
301 .align 16
309 .align 16
569 .align 16
577 .align 16
585 .align 4
591 .align 4
[all …]
Ds_tanh.S259 .align 16
260 .align 16
268 .align 16
276 .align 16
292 .align 16
1321 .align 16
1329 .align 16
1337 .align 16
1353 .align 4
1359 .align 4
[all …]
De_cosh.S254 .align 16
255 .align 16
263 .align 16
271 .align 16
295 .align 16
811 .align 16
1327 .align 16
1339 .align 4
1345 .align 4
1356 .align 1
De_atan2.S414 .align 16
415 .align 16
423 .align 16
431 .align 16
451 .align 16
471 .align 16
1131 .align 16
1151 .align 16
1171 .align 16
1179 .align 16
[all …]
De_acos.S364 .align 16
365 .align 16
373 .align 16
889 .align 16
1854 .align 16
1866 .align 16
1874 .align 16
1882 .align 16
1902 .align 16
1910 .align 16
[all …]
Ds_atan.S217 .align 4
218 .align 4
224 .align 4
232 .align 4
240 .align 4
892 .align 4
900 .align 4
911 .align 1
Ds_sin.S602 .align 16
603 .align 16
611 .align 16
619 .align 16
627 .align 16
1143 .align 16
1151 .align 16
1159 .align 16
1167 .align 16
1213 .align 16
[all …]
Ds_tan.S618 .align 16
619 .align 16
627 .align 16
635 .align 16
643 .align 16
651 .align 16
659 .align 16
667 .align 16
675 .align 16
2087 .align 16
[all …]
Ds_expm1.S347 .align 16
348 .align 16
376 .align 16
384 .align 16
644 .align 16
652 .align 16
660 .align 16
668 .align 16
688 .align 8
694 .align 8
[all …]
De_sinh.S306 .align 16
307 .align 16
315 .align 16
323 .align 16
347 .align 16
863 .align 16
1379 .align 16
1395 .align 16
1403 .align 8
1414 .align 1
Ds_cos.S595 .align 16
596 .align 16
604 .align 16
612 .align 16
620 .align 16
1136 .align 16
1144 .align 16
1152 .align 16
1160 .align 16
1206 .align 16
[all …]
De_log10.S225 .align 16
226 .align 16
234 .align 16
242 .align 16
762 .align 16
770 .align 16
791 .align 1
De_asin.S451 .align 16
452 .align 16
460 .align 16
976 .align 16
1941 .align 16
1949 .align 16
1957 .align 16
1965 .align 16
1985 .align 16
1993 .align 4
[all …]
De_log.S213 .align 16
214 .align 16
734 .align 16
742 .align 16
763 .align 1
Ds_log1p.S247 .align 16
248 .align 16
768 .align 16
776 .align 16
792 .align 16
813 .align 1
De_hypot.S180 .align 16
181 .align 16
198 .align 1
/bionic/libc/arch-common/bionic/
Dcrtbrand.S30 .align 2
/bionic/libc/arch-arm/bionic/
Dkuser_helper_on.S29 .align 2
/bionic/libc/kernel/uapi/linux/tc_ematch/
Dtc_em_cmp.h27 __u8 align : 4; member
/bionic/tests/
Dstdlib_test.cpp145 for (size_t align = 0; align < sizeof(long); align++) { in TEST() local
146 ASSERT_EQ(EINVAL, posix_memalign(&ptr, align, 256)) in TEST()
147 << "Unexpected value at align " << align; in TEST()
153 for (size_t align = sizeof(long); align <= 2048; align <<= 1) { in TEST() local
155 for (size_t fail_align = last_align + 1; fail_align < align; fail_align++) { in TEST()
159 ASSERT_EQ(0, posix_memalign(&ptr, align, 256)) in TEST()
160 << "Unexpected failure at align " << align; in TEST()
161 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(ptr) & (align - 1)) in TEST()
162 << "Did not return a valid aligned ptr " << ptr << " expected alignment " << align; in TEST()
164 last_align = align; in TEST()
Dthread_local_test.cpp178 gcc_word align; member
188 size_t align; member
222 tls_var[n].align = (1 << n); in TEST()
243 uintptr_t align = (1 << n); in TEST() local
245 ASSERT_EQ((address & ~(align - 1)), address); in TEST()
/bionic/libc/arch-x86/generic/string/
Dstrncmp.S23 .align 2,0x90
104 .align 2,0x90
110 .align 2,0x90
Dstrcmp.S20 .align 2,0x90
77 .align 2, 0x90

123