/freebsd-current/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) { argument 32 return ::_aligned_malloc(__size, __alignment); 34 // aligned_alloc() requires that __size is a multiple of __alignment, 39 // round __size up to the next multiple of __alignment. 40 size_t __rounded_size = (__size + __alignment - 1) & ~(__alignment - 1); 43 return ::aligned_alloc(__alignment, __size > __rounded_size ? __size : __rounded_size); 46 (void)::posix_memalign(&__result, __alignment, __size);
|
H A D | builtin_new_allocator.h | 31 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR explicit __builtin_new_deleter(size_t __size, size_t __align) argument 32 : __size_(__size), __align_(__align) {}
|
/freebsd-current/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); 33 _mm_malloc(size_t __size, size_t __align) { argument 35 return malloc(__size); 43 __mallocedMemory = __mingw_aligned_malloc(__size, __align); 45 __mallocedMemory = _aligned_malloc(__size, __align); 47 if (posix_memalign(&__mallocedMemory, __align, __size))
|
H A D | __clang_hip_runtime_wrapper.h | 62 __device__ unsigned long long __ockl_dm_alloc(unsigned long long __size); 65 __device__ unsigned long long __asan_malloc_impl(unsigned long long __size, 69 __attribute__((noinline, weak)) __device__ void *malloc(__hip_size_t __size) { argument 71 return (void *)__asan_malloc_impl(__size, __pc); 78 __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) { argument 79 return (void *) __ockl_dm_alloc(__size); 87 __device__ void *__hip_malloc(__hip_size_t __size); 89 __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) { argument 90 return __hip_malloc(__size); 96 __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) { argument [all...] |
H A D | __clang_cuda_runtime_wrapper.h | 432 __device__ static inline void *malloc(size_t __size) { argument 433 return ::malloc(__size);
|
/freebsd-current/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) { argument 33 if (posix_memalign(&__ptr, __alignment, __size) == 0)
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_interceptors_memintrinsics.h | 58 uptr __size = (uptr)(size); \ 60 if (UNLIKELY(__offset > __offset + __size)) { \ 62 ReportStringFunctionSizeOverflow(__offset, __size, &stack); \ 64 if (UNLIKELY(!QuickCheckForUnpoisonedRegion(__offset, __size)) && \ 65 (__bad = __asan_region_is_poisoned(__offset, __size))) { \ 77 ReportGenericError(pc, bp, sp, __bad, isWrite, __size, 0, false); \
|
/freebsd-current/contrib/llvm-project/libcxx/include/__debug_utils/ |
H A D | strict_weak_ordering_check.h | 38 __diff_t __size = __last - __first > __diff_t(100) ? __diff_t(100) : __last - __first; local 40 while (__p < __size) { 43 while (__q < __size && !__comp(*(__first + __p), *(__first + __q))) { 55 // Check that elements between __p and __q are less than between __q and __size. 57 for (__diff_t __b = __q; __b < __size; ++__b) {
|
/freebsd-current/include/ |
H A D | nl_types.h | 82 int __size; member in struct:__nl_cat_d
|
/freebsd-current/contrib/llvm-project/libcxx/include/__format/ |
H A D | formatter_integral.h | 92 _LIBCPP_HIDE_FROM_ABI inline string __determine_grouping(ptrdiff_t __size, const string& __grouping) { argument 93 _LIBCPP_ASSERT_INTERNAL(!__grouping.empty() && __size > __grouping[0], 100 __size -= *__ptr; 101 if (__size > 0) 104 // __size <= 0 so the value pushed will be <= *__ptr. 105 __r.push_back(*__ptr + __size); 222 int __size = (__first - __begin) + // [sign][prefix] local 231 if (__specs.__width_ > __size) { 233 __padding.__before_ = __specs.__width_ - __size; 234 __out_it = __formatter::__fill(std::move(__out_it), __specs.__width_ - __size, _Char 304 ptrdiff_t __size = __last - __first; local 332 int32_t __size = __first - __begin; local [all...] |
H A D | formatter_output.h | 71 __padding_size(size_t __size, size_t __width, __format_spec::__alignment __align) { argument 72 _LIBCPP_ASSERT_INTERNAL(__width > __size, "don't call this function when no padding is required"); 76 size_t __fill = __width - __size; 214 /// \pre \a __size <= \a __width. Using this function when this pre-condition 220 /// \param __size The (estimated) output column width. When the elements 222 /// \a __size == \a __last - \a __first. 235 ptrdiff_t __size) -> decltype(__out_it) { 236 if (__size >= __specs.__width_) 239 __padding_size_result __padding = __formatter::__padding_size(__size, __specs.__width_, __specs.__std_.__alignment_); 251 ptrdiff_t __size) 281 ptrdiff_t __size = __last - __first; local [all...] |
H A D | format_args.h | 56 _LIBCPP_HIDE_FROM_ABI size_t __size() const noexcept { return __size_; }
|
H A D | formatter_floating_point.h | 224 ptrdiff_t __size = __last - __first; local 225 if (__size >= 4) { 226 __first = __last - std::min(__size, ptrdiff_t(6)); 515 ptrdiff_t __size = local 523 if (__size < __specs.__width_) { 529 __padding = __formatter::__padding_size(__size, __specs.__width_, __specs.__alignment_); 620 size_t __size, 627 __formatter::__padding_size(__size + __num_trailing_zeros, __specs.__width_, __specs.__alignment_); 712 ptrdiff_t __size = __result.__last - __buffer.begin(); 714 if (__size [all...] |
H A D | format_functions.h | 120 const __arg_t* __args, const __compile_time_handle<_CharT>* __handles, size_t __size) 121 : __args_(__args), __handles_(__handles), __size_(__size) {} 413 basic_format_parse_context{__fmt, __args.__size()}, std::__format_context_create(std::move(__out_it), __args)); 416 std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, 495 std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, 517 std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, 546 return std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, 551 basic_format_parse_context{__fmt, __args.__size()}, 630 basic_format_parse_context{__fmt, __args.__size()}, 655 basic_format_parse_context{__fmt, __args.__size()}, 119 __compile_time_basic_format_context( const __arg_t* __args, const __compile_time_handle<_CharT>* __handles, size_t __size) argument [all...] |
/freebsd-current/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | pstl_for_each.h | 71 __for_each_n(_ExecutionPolicy&& __policy, _ForwardIterator&& __first, _Size&& __size, _Function&& __func) noexcept { 84 std::move(__size), 95 for_each_n(_ExecutionPolicy&& __policy, _ForwardIterator __first, _Size __size, _Function __func) { 97 auto __res = std::__for_each_n(__policy, std::move(__first), std::move(__size), std::move(__func));
|
H A D | ranges_search_n.h | 51 auto __size = ranges::distance(__first, __last); local 52 if (__size < __count) { 59 __first, __last, __count, __value, __pred, __proj, __size);
|
H A D | copy_backward.h | 97 auto __size = std::min<_DiffT>(__local_last - __local_first, __last - __first); local 98 auto __iter = std::__copy_backward<_AlgPolicy>(__last - __size, __last, __local_last).second; 99 __last -= __size;
|
H A D | move_backward.h | 97 auto __size = std::min<_DiffT>(__local_last - __local_first, __last - __first); local 98 auto __iter = std::__move_backward<_AlgPolicy>(__last - __size, __last, __local_last).second; 99 __last -= __size;
|
H A D | copy.h | 87 auto __size = std::min<_DiffT>(__local_last - __local_first, __last - __first); local 88 auto __iters = std::__copy<_AlgPolicy>(__first, __first + __size, __local_first);
|
H A D | move.h | 88 auto __size = std::min<_DiffT>(__local_last - __local_first, __last - __first); local 89 auto __iters = std::__move<_AlgPolicy>(__first, __first + __size, __local_first);
|
/freebsd-current/sys/contrib/xen/io/ |
H A D | ring.h | 178 #define FRONT_RING_ATTACH(_r, _s, _i, __size) do { \ 181 (_r)->nr_ents = __RING_SIZE(_s, __size); \ 185 #define FRONT_RING_INIT(_r, _s, __size) FRONT_RING_ATTACH(_r, _s, 0, __size) 187 #define BACK_RING_ATTACH(_r, _s, _i, __size) do { \ 190 (_r)->nr_ents = __RING_SIZE(_s, __size); \ 194 #define BACK_RING_INIT(_r, _s, __size) BACK_RING_ATTACH(_r, _s, 0, __size)
|
/freebsd-current/contrib/llvm-project/libcxx/include/__algorithm/pstl_backends/cpu_backends/ |
H A D | libdispatch.h | 63 [[__gnu__::__const__]] _LIBCPP_EXPORTED_FROM_ABI __chunk_partitions __partition_chunks(ptrdiff_t __size) noexcept; 249 const auto __size = __last - __first; local 250 auto __partitions = __libdispatch::__partition_chunks(__size); 262 auto __destroy = [__size](_Value* __ptr) { 263 std::destroy_n(__ptr, __size); 264 std::allocator<_Value>().deallocate(__ptr, __size); 268 unique_ptr<_Value[], decltype(__destroy)> __values(std::allocator<_Value>().allocate(__size), __destroy); 273 for (__iter_diff_t<_RandomAccessIterator> __i = 1; __i != __size; ++__i) { 276 *__first = std::move(__values.get()[__size - 1]); 330 std::move(__values.get(), __values.get() + __size, __firs [all...] |
/freebsd-current/contrib/llvm-project/libcxx/include/__ranges/ |
H A D | size.h | 43 namespace __size { namespace in namespace:ranges 104 } // namespace __size 107 inline constexpr auto size = __size::__fn{};
|
/freebsd-current/contrib/llvm-project/libcxx/include/__mdspan/ |
H A D | layout_right.h | 140 index_type __size = 1; variable 142 __size *= __extents_.extent(__r); 143 return __size;
|
H A D | layout_left.h | 141 index_type __size = 1; variable 143 __size *= __extents_.extent(__r); 144 return __size;
|