Home
last modified time | relevance | path

Searched refs:ALIGN (Results 1 – 12 of 12) sorted by relevance

/third_party/ulib/musl/src/string/
A Dmemccpy.c7 #define ALIGN (sizeof(size_t) - 1) macro
21 ((uintptr_t)s & ALIGN) == ((uintptr_t)d & ALIGN)) { in memccpy()
22 for (; ((uintptr_t)s & ALIGN) && n && (*d = *s) != c; n--, s++, d++) in memccpy()
24 if ((uintptr_t)s & ALIGN) in memccpy()
A Dstpcpy.c6 #define ALIGN (sizeof(size_t)) macro
16 if ((uintptr_t)s % ALIGN == (uintptr_t)d % ALIGN) { in __stpcpy()
17 for (; (uintptr_t)s % ALIGN; s++, d++) in __stpcpy()
A Dstpncpy.c6 #define ALIGN (sizeof(size_t) - 1) macro
16 ((uintptr_t)s & ALIGN) == ((uintptr_t)d & ALIGN)) { in __stpncpy()
17 for (; ((uintptr_t)s & ALIGN) && n && (*d = *s); n--, s++, d++) in __stpncpy()
A Dstrlcpy.c7 #define ALIGN (sizeof(size_t) - 1) macro
21 if (((uintptr_t)s & ALIGN) == ((uintptr_t)d & ALIGN)) { in strlcpy()
22 for (; ((uintptr_t)s & ALIGN) && n && (*d = *s); n--, s++, d++) in strlcpy()
A Dstrlen.c7 #define ALIGN (sizeof(size_t)) macro
14 for (; (uintptr_t)s % ALIGN; s++) in strlen()
A Dstrchrnul.c6 #define ALIGN (sizeof(size_t)) macro
16 for (; (uintptr_t)s % ALIGN; s++) in __strchrnul()
A Dmemchr.c8 #define ALIGN (sizeof(size_t) - 1) macro
16 for (; ((uintptr_t)s & ALIGN) && n && *s != c; s++, n--) in memchr()
/third_party/ulib/musl/src/network/
A Dgetservbyname_r.c10 #define ALIGN \ macro
23 align = -(uintptr_t)buf & (ALIGN - 1); in getservbyname_r()
/third_party/ulib/musl/third_party/tre/
A Dtre-mem.c126 size += ALIGN(mem->ptr + size, long); in tre_mem_alloc_impl()
A Dtre.h81 #define ALIGN(ptr, type) \ macro
A Dregexec.c210 tmp_buf += ALIGN(tmp_buf, long); in tre_tnfa_run_parallel()
213 tmp_buf += ALIGN(tmp_buf, long); in tre_tnfa_run_parallel()
216 tmp_buf += ALIGN(tmp_buf, long); in tre_tnfa_run_parallel()
219 tmp_buf += ALIGN(tmp_buf, long); in tre_tnfa_run_parallel()
/third_party/ulib/musl/ldso/
A Ddynlink.c50 #define ALIGN(x, y) (((x) + (y)-1) & -(y)) macro
1679 ALIGN((1 + tls_cnt) * sizeof(void*) + tls_offset + sizeof(struct pthread) + tls_align * 2, in update_tls_size()

Completed in 16 milliseconds