Searched refs:align (Results 1 - 25 of 738) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/gcc/config/i386/
H A Dgmm_malloc.h34 _mm_malloc (size_t size, size_t align) argument
39 /* Error if align is not a power of two. */
40 if (align & (align - 1))
53 if (align < 2 * sizeof (void *))
54 align = 2 * sizeof (void *);
56 malloc_ptr = malloc (size + align);
61 aligned_ptr = (void *) (((size_t) malloc_ptr + align)
62 & ~((size_t) (align) - 1));
/freebsd-11-stable/lib/csu/sparc64/
H A Dcrtn.S35 .align 4
40 .align 4
H A Dcrti.S45 .align 4
55 .align 4
/freebsd-11-stable/contrib/ofed/opensm/include/complib/
H A Dcl_math.h115 * ROUNDUP( val, align );
123 * align
128 * the nearest multiple of align.
134 #define ROUNDUP(val, align) \
135 ((((val) / (align))*(align)) + (((val) % (align)) ? (align) : 0))
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_posix_memalign.c56 static const size_t align[] = { local
68 align[i], size[i]);
69 ret = posix_memalign(&p, align[i], size[i]);
71 if ( align[i] < sizeof(void *))
77 ATF_REQUIRE_EQ_MSG(((intptr_t)p) & (align[i] - 1), 0,
95 static const size_t align[] = { local
104 align[i], size[i]);
105 p = aligned_alloc(align[i], size[i]);
107 if (align[i] == 0 || ((align[
[all...]
/freebsd-11-stable/libexec/rtld-elf/sparc64/
H A Drtld_machdep.h57 #define round(size, align) \
58 (((size) + (align) - 1) & ~((align) - 1))
59 #define calculate_first_tls_offset(size, align) \
60 round(size, align)
61 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
62 round((prev_offset) + (size), align)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/arch/arm/
H A Dreturn_one.S8 .align 0
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_new_delete.cpp51 void *operator new(size_t size, std::align_val_t align) argument
52 { OPERATOR_NEW_BODY_ALIGN(FromNew, align, /*NoThrow=*/false); }
54 void *operator new[](size_t size, std::align_val_t align) argument
55 { OPERATOR_NEW_BODY_ALIGN(FromNewArray, align, /*NoThrow=*/false); }
57 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&) argument
58 { OPERATOR_NEW_BODY_ALIGN(FromNew, align, /*NoThrow=*/true); }
60 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&) argument
61 { OPERATOR_NEW_BODY_ALIGN(FromNewArray, align, /*NoThrow=*/true); }
68 scudoDeallocate(ptr, 0, static_cast<uptr>(align), Type);
70 scudoDeallocate(ptr, size, static_cast<uptr>(align), Typ
97 operator delete(void *ptr, std::align_val_t align, std::nothrow_t const&) argument
100 operator delete[](void *ptr, std::align_val_t align, std::nothrow_t const&) argument
[all...]
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dradiotap.c22 [IEEE80211_RADIOTAP_TSFT] = { .align = 8, .size = 8, },
23 [IEEE80211_RADIOTAP_FLAGS] = { .align = 1, .size = 1, },
24 [IEEE80211_RADIOTAP_RATE] = { .align = 1, .size = 1, },
25 [IEEE80211_RADIOTAP_CHANNEL] = { .align = 2, .size = 4, },
26 [IEEE80211_RADIOTAP_FHSS] = { .align = 2, .size = 2, },
27 [IEEE80211_RADIOTAP_DBM_ANTSIGNAL] = { .align = 1, .size = 1, },
28 [IEEE80211_RADIOTAP_DBM_ANTNOISE] = { .align = 1, .size = 1, },
29 [IEEE80211_RADIOTAP_LOCK_QUALITY] = { .align = 2, .size = 2, },
30 [IEEE80211_RADIOTAP_TX_ATTENUATION] = { .align = 2, .size = 2, },
31 [IEEE80211_RADIOTAP_DB_TX_ATTENUATION] = { .align
188 find_override(struct ieee80211_radiotap_iterator *iterator, int *align, int *size) argument
239 int pad, align, size, subns; local
[all...]
/freebsd-11-stable/lib/csu/amd64/
H A Dcrti.S30 .align 4
37 .align 4
/freebsd-11-stable/lib/csu/i386/
H A Dcrti.S30 .align 4
34 sub $12,%esp /* re-align stack pointer */
37 .align 4
41 sub $12,%esp /* re-align stack pointer */
/freebsd-11-stable/contrib/elftoolchain/libpe/
H A Dlibpe_utils.c38 libpe_align(PE *pe, off_t off, size_t align) argument
42 assert(align > 0 && (align & (align - 1)) == 0);
44 n = roundup(off, align);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_cpp.cpp40 INTERFACE WEAK void *operator new(size_t size, std::align_val_t align) { argument
42 static_cast<scudo::uptr>(align));
44 INTERFACE WEAK void *operator new[](size_t size, std::align_val_t align) { argument
46 static_cast<scudo::uptr>(align));
48 INTERFACE WEAK void *operator new(size_t size, std::align_val_t align,
51 static_cast<scudo::uptr>(align));
53 INTERFACE WEAK void *operator new[](size_t size, std::align_val_t align,
56 static_cast<scudo::uptr>(align));
78 INTERFACE WEAK void operator delete(void *ptr, std::align_val_t align)NOEXCEPT {
80 static_cast<scudo::uptr>(align));
[all...]
/freebsd-11-stable/libexec/rtld-elf/i386/
H A Drtld_machdep.h62 #define round(size, align) \
63 (((size) + (align) - 1) & ~((align) - 1))
64 #define calculate_first_tls_offset(size, align) \
65 round(size, align)
66 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
67 round((prev_offset) + (size), align)
/freebsd-11-stable/libexec/rtld-elf/powerpc/
H A Drtld_machdep.h72 #define round(size, align) \
73 (((size) + (align) - 1) & ~((align) - 1))
74 #define calculate_first_tls_offset(size, align) \
75 round(8, align)
76 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
77 round(prev_offset + prev_size, align)
/freebsd-11-stable/libexec/rtld-elf/mips/
H A Drtld_machdep.h62 #define round(size, align) \
63 (((size) + (align) - 1) & ~((align) - 1))
64 #define calculate_first_tls_offset(size, align) \
65 round(TLS_TCB_SIZE, align)
66 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
67 round(prev_offset + prev_size, align)
/freebsd-11-stable/libexec/rtld-elf/amd64/
H A Drtld_machdep.h62 #define round(size, align) \
63 (((size) + (align) - 1) & ~((align) - 1))
64 #define calculate_first_tls_offset(size, align) \
65 round(size, align)
66 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
67 round((prev_offset) + (size), align)
/freebsd-11-stable/libexec/rtld-elf/arm/
H A Drtld_machdep.h62 #define round(size, align) \
63 (((size) + (align) - 1) & ~((align) - 1))
64 #define calculate_first_tls_offset(size, align) \
65 round(8, align)
66 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
67 round(prev_offset + prev_size, align)
/freebsd-11-stable/libexec/rtld-elf/aarch64/
H A Drtld_machdep.h65 #define round(size, align) \
66 (((size) + (align) - 1) & ~((align) - 1))
67 #define calculate_first_tls_offset(size, align) \
68 round(16, align)
69 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
70 round(prev_offset + prev_size, align)
/freebsd-11-stable/libexec/rtld-elf/powerpc64/
H A Drtld_machdep.h64 #define round(size, align) \
65 (((size) + (align) - 1) & ~((align) - 1))
66 #define calculate_first_tls_offset(size, align) \
67 round(16, align)
68 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
69 round(prev_offset + prev_size, align)
/freebsd-11-stable/libexec/rtld-elf/riscv/
H A Drtld_machdep.h89 #define round(size, align) \
90 (((size) + (align) - 1) & ~((align) - 1))
91 #define calculate_first_tls_offset(size, align) \
92 round(16, align)
93 #define calculate_tls_offset(prev_offset, prev_size, size, align) \
94 round(prev_offset + prev_size, align)
/freebsd-11-stable/sys/contrib/ncsw/etc/
H A Dmm.h54 #define MAKE_ALIGNED(addr, align) \
55 (((uint64_t)(addr) + ((align) - 1)) & (~(((uint64_t)align) - 1)))
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_win_sections.cpp32 // align the start of the 8-bit counters array. The array will always start 8
37 // Even though we said not to align __stop__sancov_cntrs (using the "align"
38 // declspec), MSVC's linker may try to align the section, .SCOV$CZ, containing
41 // padding would be added to align .SCOVP$Z, However, if .SCOV$CZ section is 1
42 // byte, the linker won't try to align it on an 8-byte boundary, so use a
45 __declspec(allocate(".SCOV$CZ")) __declspec(align(1)) uint8_t
51 __declspec(allocate(".SCOV$GZ")) __declspec(align(1)) uint8_t
62 __declspec(allocate(".SCOVP$Z")) __declspec(align(1)) uint8_t
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_new_delete.cpp40 void *res = msan_memalign((uptr)align, size, &stack);\
57 void *operator new(size_t size, std::align_val_t align) argument
60 void *operator new[](size_t size, std::align_val_t align) argument
63 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&) argument
66 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&) argument
89 void operator delete(void *ptr, std::align_val_t align) NOEXCEPT
92 void operator delete[](void *ptr, std::align_val_t align) NOEXCEPT
95 void operator delete(void *ptr, std::align_val_t align, std::nothrow_t const&) argument
98 void operator delete[](void *ptr, std::align_val_t align, std::nothrow_t const&) argument
101 void operator delete(void *ptr, size_t size, std::align_val_t align) NOEXCEP
[all...]
/freebsd-11-stable/lib/csu/aarch64/
H A Dcrti.S34 .align 4
42 .align 4

Completed in 134 milliseconds

1234567891011>>