| /freebsd-14.2/contrib/llvm-project/clang/lib/Headers/ |
| 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) { in malloc() argument 71 return (void *)__asan_malloc_impl(__size, __pc); in malloc() 78 __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) { in malloc() argument 79 return (void *) __ockl_dm_alloc(__size); in malloc() 87 __device__ void *__hip_malloc(__hip_size_t __size); 89 __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) { 90 return __hip_malloc(__size); 96 __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) {
|
| 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) { in _mm_malloc() argument 35 return malloc(__size); in _mm_malloc() 43 __mallocedMemory = __mingw_aligned_malloc(__size, __align); in _mm_malloc() 45 __mallocedMemory = _aligned_malloc(__size, __align); in _mm_malloc() 47 if (posix_memalign(&__mallocedMemory, __align, __size)) in _mm_malloc()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/ |
| H A D | aligned_alloc.h | 30 …e _LIBCPP_HIDE_FROM_ABI void* __libcpp_aligned_alloc(std::size_t __alignment, std::size_t __size) { in __libcpp_aligned_alloc() argument 32 return ::_aligned_malloc(__size, __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()
|
| H A D | builtin_new_allocator.h | 31 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR explicit __builtin_new_deleter(size_t __size, size_t __ali… in __builtin_new_deleter() 32 : __size_(__size), __align_(__align) {} in __builtin_new_deleter()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__format/ |
| H A D | formatter_integral.h | 100 __size -= *__ptr; in __determine_grouping() 101 if (__size > 0) in __determine_grouping() 105 __r.push_back(*__ptr + __size); in __determine_grouping() 222 int __size = (__first - __begin) + // [sign][prefix] in __write_using_decimal_separators() local 231 if (__specs.__width_ > __size) { in __write_using_decimal_separators() 233 __padding.__before_ = __specs.__width_ - __size; in __write_using_decimal_separators() 237 if (__specs.__width_ > __size) { in __write_using_decimal_separators() 304 ptrdiff_t __size = __last - __first; in __format_integer() local 309 if (!__grouping.empty() && __size > __grouping[0]) in __format_integer() 332 int32_t __size = __first - __begin; in __format_integer() local [all …]
|
| H A D | formatter_output.h | 71 __padding_size(size_t __size, size_t __width, __format_spec::__alignment __align) { in __padding_size() argument 72 _LIBCPP_ASSERT_INTERNAL(__width > __size, "don't call this function when no padding is required"); in __padding_size() 76 size_t __fill = __width - __size; in __padding_size() 235 ptrdiff_t __size) -> decltype(__out_it) { 236 if (__size >= __specs.__width_) 251 ptrdiff_t __size) -> decltype(__out_it) { 253 …urn __formatter::__write(basic_string_view{__first, __last}, std::move(__out_it), __specs, __size); 281 ptrdiff_t __size = __last - __first; variable 282 if (__size >= __specs.__width_) 311 size_t __size = variable [all …]
|
| H A D | formatter_floating_point.h | 224 ptrdiff_t __size = __last - __first; 225 if (__size >= 4) { 226 __first = __last - std::min(__size, ptrdiff_t(6)); 515 ptrdiff_t __size = 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 + __num_trailing_zeros >= __specs.__width_) { [all …]
|
| H A D | format_functions.h | 120 const __arg_t* __args, const __compile_time_handle<_CharT>* __handles, size_t __size) in __compile_time_basic_format_context() 121 : __args_(__args), __handles_(__handles), __size_(__size) {} in __compile_time_basic_format_context() 413 …basic_format_parse_context{__fmt, __args.__size()}, std::__format_context_create(std::move(__out_i… in requires() 416 std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, in requires() 495 std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, in __vformat_to_n() 517 std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, in __vformatted_size() 546 return std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, in requires() 551 basic_format_parse_context{__fmt, __args.__size()}, in requires() 630 basic_format_parse_context{__fmt, __args.__size()}, in __vformat_to_n() 655 basic_format_parse_context{__fmt, __args.__size()}, in __vformatted_size()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_interceptors_memintrinsics.h | 58 uptr __size = (uptr)(size); \ in DECLARE_REAL() 60 if (UNLIKELY(__offset > __offset + __size)) { \ in DECLARE_REAL() 62 ReportStringFunctionSizeOverflow(__offset, __size, &stack); \ in DECLARE_REAL() 64 if (UNLIKELY(!QuickCheckForUnpoisonedRegion(__offset, __size)) && \ in DECLARE_REAL() 65 (__bad = __asan_region_is_poisoned(__offset, __size))) { \ in DECLARE_REAL() 77 ReportGenericError(pc, bp, sp, __bad, isWrite, __size, 0, false); \ in DECLARE_REAL()
|
| /freebsd-14.2/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; in __check_strict_weak_ordering_sorted() local 40 while (__p < __size) { in __check_strict_weak_ordering_sorted() 43 while (__q < __size && !__comp(*(__first + __p), *(__first + __q))) { in __check_strict_weak_ordering_sorted() 57 for (__diff_t __b = __q; __b < __size; ++__b) { in __check_strict_weak_ordering_sorted()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/pstl_backends/cpu_backends/ |
| H A D | libdispatch.h | 63 …nst__]] _LIBCPP_EXPORTED_FROM_ABI __chunk_partitions __partition_chunks(ptrdiff_t __size) noexcept; 249 const auto __size = __last - __first; in __parallel_stable_sort() local 250 auto __partitions = __libdispatch::__partition_chunks(__size); in __parallel_stable_sort() 262 auto __destroy = [__size](_Value* __ptr) { in __parallel_stable_sort() 263 std::destroy_n(__ptr, __size); in __parallel_stable_sort() 264 std::allocator<_Value>().deallocate(__ptr, __size); in __parallel_stable_sort() 268 …unique_ptr<_Value[], decltype(__destroy)> __values(std::allocator<_Value>().allocate(__size), __de… in __parallel_stable_sort() 273 for (__iter_diff_t<_RandomAccessIterator> __i = 1; __i != __size; ++__i) { in __parallel_stable_sort() 276 *__first = std::move(__values.get()[__size - 1]); in __parallel_stable_sort() 330 std::move(__values.get(), __values.get() + __size, __first); in __parallel_stable_sort()
|
| /freebsd-14.2/sys/contrib/xen/io/ |
| H A D | ring.h | 178 #define FRONT_RING_ATTACH(_r, _s, _i, __size) do { \ argument 181 (_r)->nr_ents = __RING_SIZE(_s, __size); \ 185 #define FRONT_RING_INIT(_r, _s, __size) FRONT_RING_ATTACH(_r, _s, 0, __size) argument 187 #define BACK_RING_ATTACH(_r, _s, _i, __size) do { \ argument 190 (_r)->nr_ents = __RING_SIZE(_s, __size); \ 194 #define BACK_RING_INIT(_r, _s, __size) BACK_RING_ATTACH(_r, _s, 0, __size) argument
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | pstl_for_each.h | 71 __for_each_n(_ExecutionPolicy&& __policy, _ForwardIterator&& __first, _Size&& __size, _Function&& _… in __for_each_n() argument 84 std::move(__size), in __for_each_n() 95 for_each_n(_ExecutionPolicy&& __policy, _ForwardIterator __first, _Size __size, _Function __func) { in for_each_n() argument 97 …auto __res = std::__for_each_n(__policy, std::move(__first), std::move(__size), std::move(__func)); in for_each_n()
|
| H A D | ranges_search_n.h | 51 auto __size = ranges::distance(__first, __last); in __ranges_search_n_impl() local 52 if (__size < __count) { in __ranges_search_n_impl() 59 __first, __last, __count, __value, __pred, __proj, __size); in __ranges_search_n_impl()
|
| H A D | copy_backward.h | 97 auto __size = std::min<_DiffT>(__local_last - __local_first, __last - __first); in operator() local 98 …auto __iter = std::__copy_backward<_AlgPolicy>(__last - __size, __last, __local_last).secon… in operator() 99 __last -= __size; in operator()
|
| H A D | move_backward.h | 97 auto __size = std::min<_DiffT>(__local_last - __local_first, __last - __first); in operator() local 98 …auto __iter = std::__move_backward<_AlgPolicy>(__last - __size, __last, __local_last).secon… in operator() 99 __last -= __size; in operator()
|
| H A D | copy.h | 87 auto __size = std::min<_DiffT>(__local_last - __local_first, __last - __first); in operator() local 88 auto __iters = std::__copy<_AlgPolicy>(__first, __first + __size, __local_first); in operator()
|
| /freebsd-14.2/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 33 if (posix_memalign(&__ptr, __alignment, __size) == 0) in _mm_malloc()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | new | 286 inline _LIBCPP_HIDE_FROM_ABI void* __libcpp_allocate(size_t __size, size_t __align) { 290 return __libcpp_operator_new(__size, __align_val); 295 return __libcpp_operator_new(__size); 299 _LIBCPP_HIDE_FROM_ABI void __do_deallocate_handle_size(void* __ptr, size_t __size, _Args... __args)… 301 (void)__size; 304 return std::__libcpp_operator_delete(__ptr, __size, __args...); 308 inline _LIBCPP_HIDE_FROM_ABI void __libcpp_deallocate(void* __ptr, size_t __size, size_t __align) { 311 return __do_deallocate_handle_size(__ptr, __size); 315 return __do_deallocate_handle_size(__ptr, __size, __align_val); 317 return __do_deallocate_handle_size(__ptr, __size);
|
| H A D | deque | 1547 ++__size(); 1559 ++__size(); 1571 ++__size(); 1588 ++__size(); 1603 ++__size(); 1621 ++__size(); 2263 --__size(); 2277 --__size(); 2407 --__size(); 2414 --__size(); [all …]
|
| /freebsd-14.2/usr.sbin/bsdconfig/share/ |
| H A D | strings.subr | 104 local __tmp="$1" __start="${2:-1}" __size="$3" 112 if ! [ "${__size:-1}" -ge 1 ] 2> /dev/null; then 136 __trim=$(( $__tmp_size - ${__size:-$__tmp_size} )) 140 if [ $__trim -le $__size ]; then 156 $__size / $__tbuf_len 161 __trimq=$(( $__size / $__tbuf_len )) 162 if [ $__size -ne $(( 172 $__tmp_size - $__mask_len - $__size 232 local __var_to_set="$1" __size="$2" 237 f_substr "$__var_to_set" "$__f_snprintf_tmp" 1 "$__size"
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__mdspan/ |
| H A D | layout_left.h | 141 index_type __size = 1; in required_span_size() local 143 __size *= __extents_.extent(__r); in required_span_size() 144 return __size; in required_span_size()
|
| H A D | layout_right.h | 140 index_type __size = 1; in required_span_size() local 142 __size *= __extents_.extent(__r); in required_span_size() 143 return __size; in required_span_size()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__ranges/ |
| H A D | size.h | 43 namespace __size { 107 inline constexpr auto size = __size::__fn{};
|
| H A D | take_view.h | 95 auto __size = size(); in begin() local 96 return counted_iterator(ranges::begin(__base_), static_cast<_DifferenceT>(__size)); in begin() 111 auto __size = size(); in begin() local 112 return counted_iterator(ranges::begin(__base_), static_cast<_DifferenceT>(__size)); in begin()
|