/freebsd/contrib/llvm-project/libcxx/include/__memory/ |
H A D | aligned_alloc.h | 30 inline _LIBCPP_HIDE_FROM_ABI void* __libcpp_aligned_alloc(std::size_t __alignment, std::size_t __size) { 32 return ::_aligned_malloc(__size, __alignment); in __libcpp_aligned_alloc() 34 // aligned_alloc() requires that __size is a multiple of __alignment, in __libcpp_aligned_alloc() 39 // round __size up to the next multiple of __alignment. in __libcpp_aligned_alloc() 40 size_t __rounded_size = (__size + __alignment - 1) & ~(__alignment - 1); in __libcpp_aligned_alloc() 43 return ::aligned_alloc(__alignment, __size > __rounded_size ? __size : __rounded_size); in __libcpp_aligned_alloc() 46 (void)::posix_memalign(&__result, __alignment, __size); in __libcpp_aligned_alloc() 31 __libcpp_aligned_alloc(std::size_t __alignment,std::size_t __size) __libcpp_aligned_alloc() argument
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ppc_wrappers/ |
H A D | mm_malloc.h | 26 static __inline void *_mm_malloc(size_t __size, size_t __alignment) { in _mm_malloc() argument 31 if (__alignment < __vec_align) in _mm_malloc() 32 __alignment = __vec_align; in _mm_malloc() 33 if (posix_memalign(&__ptr, __alignment, __size) == 0) in _mm_malloc()
|
/freebsd/contrib/llvm-project/libcxx/include/__format/ |
H A D | parser_std_format_spec.h | 177 enum class __alignment : uint8_t { enum 241 __alignment __alignment_ : 3; 249 __alignment __alignment_ : 3; 296 __alignment __alignment_ : 3; 466 if (!__fields.__zero_padding_ && __alignment_ == __alignment::__zero_padding) { 524 __alignment __alignment_ : 3 {__alignment::__default}; 562 __alignment_ = __alignment::__left; 566 __alignment_ = __alignment::__center; 570 __alignment_ = __alignment::__right; 709 if (__alignment_ == __alignment::__default) [all …]
|
H A D | formatter_output.h | 71 __padding_size(size_t __size, size_t __width, __format_spec::__alignment __align) { in __padding_size() 74 …__align != __format_spec::__alignment::__zero_padding, "the caller should have handled the zero-pa… in __padding_size() 78 case __format_spec::__alignment::__zero_padding: in __padding_size() 81 case __format_spec::__alignment::__left: in __padding_size() 84 case __format_spec::__alignment::__center: { in __padding_size() 92 case __format_spec::__alignment::__default: in __padding_size() 93 case __format_spec::__alignment::__right: in __padding_size()
|
H A D | formatter_floating_point.h | 523 …bool __zero_padding = __specs.__alignment_ == __format_spec::__alignment:… 526 __specs.__alignment_ = __format_spec::__alignment::__right; 601 if (__specs.__alignment_ == __format_spec::__alignment::__zero_padding) 602 __specs.__alignment_ = __format_spec::__alignment::__right; 731 if (__specs.__alignment_ == __format_spec::__alignment ::__zero_padding) { 739 __specs.__alignment_ = __format_spec::__alignment::__right;
|
H A D | formatter_integral.h | 227 if (__specs.__alignment_ == __format_spec::__alignment::__zero_padding) { in __write_using_decimal_separators() 321 if (__specs.__alignment_ != __format_spec::__alignment::__zero_padding) in __format_integer() 330 __specs.__alignment_ = __format_spec::__alignment::__right; in __format_integer()
|
H A D | formatter_tuple.h | 129 __format_spec::__parser<_CharT> __parser_{.__alignment_ = __format_spec::__alignment::__left};
|
H A D | formatter_string.h | 56 __format_spec::__parser<_CharT> __parser_{.__alignment_ = __format_spec::__alignment::__left};
|
H A D | range_formatter.h | 209 __format_spec::__parser<_CharT> __parser_{.__alignment_ = __format_spec::__alignment::__left}; in __format_as_sequence()
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | mm_malloc.h | 19 extern int posix_memalign(void **__memptr, size_t __alignment, size_t __size); 25 extern "C" int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
|
/freebsd/contrib/llvm-project/libcxx/include/__memory_resource/ |
H A D | polymorphic_allocator.h | 81 allocate_bytes(size_t __nbytes, size_t __alignment = alignof(max_align_t)) { 82 return __res_->allocate(__nbytes, __alignment); 85 …_LIBCPP_HIDE_FROM_ABI void deallocate_bytes(void* __ptr, size_t __nbytes, size_t __alignment = ali… 86 __res_->deallocate(__ptr, __nbytes, __alignment);
|
H A D | monotonic_buffer_resource.h | 102 void* do_allocate(size_t __bytes, size_t __alignment) override; // key function
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/ |
H A D | formatter.h | 71 __format_spec::__parser<_CharT> __parser_{.__alignment_ = __format_spec::__alignment::__right};
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | string | 1291 return __m - __alignment; 1294 return __uses_lsb ? __m - __alignment : (__m / 2) - __alignment; 2061 enum { __alignment = 8 }; 2066 …const size_type __boundary = sizeof(value_type) < __alignment ? __alignment / sizeof(value_type) :… 2486 …__old_cap < __ms / 2 - __alignment ? __recommend(std::max(__old_cap + __delta_cap, 2 * __old_cap))… 2529 …__old_cap < __ms / 2 - __alignment ? __recommend(std::max(__old_cap + __delta_cap, 2 * __old_cap))…
|