/freebsd/contrib/llvm-project/libcxx/include/__format/ |
H A D | format_functions.h | 69 …] _LIBCPP_HIDE_FROM_ABI __format_arg_store<_Context, _Args...> make_format_args(_Args&... __args) { in make_format_args() argument 70 return std::__format_arg_store<_Context, _Args...>(__args...); in make_format_args() 75 …P_HIDE_FROM_ABI __format_arg_store<wformat_context, _Args...> make_wformat_args(_Args&... __args) { in make_wformat_args() argument 76 return std::__format_arg_store<wformat_context, _Args...>(__args...); in make_wformat_args() 119 const __arg_t* __args, const __compile_time_handle<_CharT>* __handles, size_t __size) in __compile_time_basic_format_context() 120 : __args_(__args), __handles_(__handles), __size_(__size) {} in __compile_time_basic_format_context() 409 … basic_format_args<basic_format_context<_FormatOutIt, _CharT>> __args) { in requires() 412 …basic_format_parse_context{__fmt, __args.__size()}, std::__format_context_create(std::move(__out_i… in requires() 415 std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, in requires() 416 … std::__format_context_create(__buffer.__make_output_iterator(), __args)); in requires() [all …]
|
H A D | format_context.h | 57 basic_format_args<basic_format_context<_OutIt, _CharT>> __args, 59 return std::basic_format_context(std::move(__out_it), __args, std::move(__loc)); 64 …t_context_create(_OutIt __out_it, basic_format_args<basic_format_context<_OutIt, _CharT>> __args) { in __format_context_create() argument 65 return std::basic_format_context(std::move(__out_it), __args); in __format_context_create() 124 … _OutIt __out_it, basic_format_args<basic_format_context> __args, optional<std::locale>&& __loc) in _LIBCPP_PREFERRED_NAME() 125 : __out_it_(std::move(__out_it)), __args_(__args), __loc_(std::move(__loc)) {} in _LIBCPP_PREFERRED_NAME() 131 …_ABI explicit basic_format_context(_OutIt __out_it, basic_format_args<basic_format_context> __args) in _LIBCPP_PREFERRED_NAME() 132 : __out_it_(std::move(__out_it)), __args_(__args) {} in _LIBCPP_PREFERRED_NAME()
|
/freebsd/contrib/llvm-project/libcxx/include/__ostream/ |
H A D | print.h | 31 __vprint_nonunicode(ostream& __os, string_view __fmt, format_args __args, bool __write_nl) { in __vprint_nonunicode() argument 45 string __o = std::vformat(__os.getloc(), __fmt, __args); in __vprint_nonunicode() 75 …HIDE_FROM_ABI inline void vprint_nonunicode(ostream& __os, string_view __fmt, format_args __args) { in vprint_nonunicode() argument 76 std::__vprint_nonunicode(__os, __fmt, __args, false); in vprint_nonunicode() 96 _LIBCPP_HIDE_FROM_ABI void __vprint_unicode(ostream& __os, string_view __fmt, format_args __args, b… in __vprint_unicode() argument 98 return std::__vprint_nonunicode(__os, __fmt, __args, __write_nl); in __vprint_unicode() 102 return std::__vprint_nonunicode(__os, __fmt, __args, __write_nl); in __vprint_unicode() 121 __print::__vprint_unicode_posix(__file, __fmt, __args, __write_nl, true); in __vprint_unicode() 123 __print::__vprint_unicode_windows(__file, __fmt, __args, __write_nl, true); in __vprint_unicode() 138 …PP_HIDE_FROM_ABI inline void vprint_unicode(ostream& __os, string_view __fmt, format_args __args) { in vprint_unicode() argument [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | perfect_forward.h | 54 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) & noexcept( 55 noexcept(_Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...))) 56 -> decltype(_Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...)) { 57 return _Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...); 64 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) const& noexcept( 65 noexcept(_Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...))) 66 -> decltype(_Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...)) { 67 return _Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...); 74 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) && noexcept( 75 noexcept(_Op()(std::get<_Idx>(std::move(__bound_args_))..., std::forward<_Args>(__args) [all...] |
H A D | bind_back.h | 35 …E_FROM_ABI constexpr auto operator()(_Fn&& __f, _BoundArgs&& __bound_args, _Args&&... __args) const 37 std::forward<_Args>(__args)..., 40 std::forward<_Args>(__args)..., 43 std::forward<_Args>(__args)..., 56 _LIBCPP_HIDE_FROM_ABI constexpr auto __bind_back(_Fn&& __f, _Args&&... __args) noexcept( 58 std::forward<_Fn>(__f), std::forward_as_tuple(std::forward<_Args>(__args)...)))) 60 std::forward<_Fn>(__f), std::forward_as_tuple(std::forward<_Args>(__args)...))) { 62 std::forward<_Fn>(__f), std::forward_as_tuple(std::forward<_Args>(__args)...)); 67 _LIBCPP_HIDE_FROM_ABI constexpr auto bind_back(_Fn&& __f, _Args&&... __args) { 75 std::forward<_Fn>(__f), std::forward_as_tuple(std::forward<_Args>(__args)...));
|
H A D | bind_front.h | 32 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) const noexcept( 33 …noexcept(std::invoke(std::forward<_Args>(__args)...))) -> decltype(std::invoke(std::forward<_Args>… 34 return std::invoke(std::forward<_Args>(__args)...); 46 _LIBCPP_HIDE_FROM_ABI constexpr auto bind_front(_Fn&& __f, _Args&&... __args) { in bind_front() argument 47 …d_front_t<decay_t<_Fn>, decay_t<_Args>...>(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in bind_front()
|
H A D | invoke.h | 27 invoke(_Fn&& __f, _Args&&... __args) noexcept(is_nothrow_invocable_v<_Fn, _Args...>) { in invoke() argument 28 return std::__invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in invoke() 37 invoke_r(_Fn&& __f, _Args&&... __args) noexcept(is_nothrow_invocable_r_v<_Result, _Fn, _Args...>) { 39 static_cast<void>(std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...)); in invoke_r() argument 47 return std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in invoke_r()
|
H A D | not_fn.h | 31 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 auto operator()(_Args&&... __args) const 32 noexcept(noexcept(!std::invoke(std::forward<_Args>(__args)...))) 33 -> decltype(!std::invoke(std::forward<_Args>(__args)...)) { 34 return !std::invoke(std::forward<_Args>(__args)...);
|
H A D | compose.h | 29 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Fn1&& __f1, _Fn2&& __f2, _Args&&... __args) const noexcept(noexcept( 30 std::invoke(std::forward<_Fn1>(__f1), std::invoke(std::forward<_Fn2>(__f2), std::forward<_Args>(__args)...)))) 32 std::invoke(std::forward<_Fn2>(__f2), std::forward<_Args>(__args)...))) { 33 return std::invoke(std::forward<_Fn1>(__f1), std::invoke(std::forward<_Fn2>(__f2), std::forward<_Args>(__args)...));
|
H A D | bind.h | 195 __apply_functor(_Fp& __f, _BoundArgs& __bound_args, __tuple_indices<_Indx...>, _Args&& __args) { 196 return std::__invoke(__f, std::__mu(std::get<_Indx>(__bound_args), __args)...); 222 operator()(_Args&&... __args) { 223 …apply_functor(__f_, __bound_args_, __indices(), tuple<_Args&&...>(std::forward<_Args>(__args)...)); 229 operator()(_Args&&... __args) const { 230 …apply_functor(__f_, __bound_args_, __indices(), tuple<_Args&&...>(std::forward<_Args>(__args)...)); 259 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 result_type operator()(_Args&&... __args) { 261 return _Invoker::__call(static_cast<base&>(*this), std::forward<_Args>(__args)...); 269 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 result_type operator()(_Args&&... __args) cons… 271 return _Invoker::__call(static_cast<base const&>(*this), std::forward<_Args>(__args)...);
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_texture_intrinsics.h | 207 #define __IMPL_F1(__rt, __dt, __args, __asm_op, __asm_outs, __asm_args) \ 209 __device__ __rt __run<__dt>(cudaTextureObject_t __obj, __L(__args)) { \ 216 #define __IMPL_F3(__args, __asm_op, __ctype, __asm_op_args, __asm_args) \ 217 __IMPL_F1(int4, int4, __args, __asm_op ".s32." __ctype "\t" __asm_op_args, \ 219 __IMPL_F1(uint4, uint4, __args, __asm_op ".u32." __ctype "\t" __asm_op_args, \ 221 __IMPL_F1(float4, float4, __args, \ 227 #define __IMPL_F3S(__args, __asm_op, __ctype, __asm_op_args, __asm_args) \ 228 __IMPL_F1(int4, int4, __args, __asm_op ".s32." __ctype "\t" __asm_op_args, \ 230 __IMPL_F1(uint4, uint4, __args, __asm_op ".u32." __ctype "\t" __asm_op_args, \ 232 __IMPL_F1(float4, float4, __args, \ [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__memory/ |
H A D | inout_ptr.h | 41 _LIBCPP_HIDE_FROM_ABI explicit inout_ptr_t(_Smart& __smart, _Args... __args) in inout_ptr_t() argument 42 : __s_(__smart), __a_(std::forward<_Args>(__args)...), __p_([&__smart] { in inout_ptr_t() 68 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~inout_ptr_t() 71 …std::apply([&](auto&&... __args) { __s_.reset(static_cast<_SmartPtr>(__p_), std::forward<_Args>(__… in ~inout_ptr_t() 76 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~inout_ptr_t() 98 _LIBCPP_HIDE_FROM_ABI auto inout_ptr(_Smart& __s, _Args&&... __args) { in inout_ptr() argument 100 return std::inout_ptr_t<_Smart, _Ptr, _Args&&...>(__s, std::forward<_Args>(__args)...); in inout_ptr()
|
H A D | out_ptr.h | 41 _LIBCPP_HIDE_FROM_ABI explicit out_ptr_t(_Smart& __smart, _Args... __args) in out_ptr_t() argument 42 : __s_(__smart), __a_(std::forward<_Args>(__args)...), __p_() { in out_ptr_t() 63 …std::apply([&](auto&&... __args) { __s_.reset(static_cast<_SmartPtr>(__p_), std::forward<_Args>(__… in ~out_ptr_t() 68 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~out_ptr_t() 90 _LIBCPP_HIDE_FROM_ABI auto out_ptr(_Smart& __s, _Args&&... __args) { in out_ptr() argument 92 return std::out_ptr_t<_Smart, _Ptr, _Args&&...>(__s, std::forward<_Args>(__args)...); in out_ptr()
|
H A D | uses_allocator_construction.h | 45 __uses_allocator_construction_args(const _Alloc& __alloc, _Args&&... __args) noexcept { in __uses_allocator_construction_args() argument 47 return std::forward_as_tuple(std::forward<_Args>(__args)...); in __uses_allocator_construction_args() 50 …llocator_arg_t, const _Alloc&, _Args&&...>(allocator_arg, __alloc, std::forward<_Args>(__args)...); in __uses_allocator_construction_args() 53 return std::forward_as_tuple(std::forward<_Args>(__args)..., __alloc); in __uses_allocator_construction_args() 176 …HIDE_FROM_ABI constexpr _Type __make_obj_using_allocator(const _Alloc& __alloc, _Args&&... __args); 205 …IDE_FROM_ABI constexpr _Type __make_obj_using_allocator(const _Alloc& __alloc, _Args&&... __args) { in __make_obj_using_allocator() argument 207 std::__uses_allocator_construction_args<_Type>(__alloc, std::forward<_Args>(__args)...)); in __make_obj_using_allocator() 212 __uninitialized_construct_using_allocator(_Type* __ptr, const _Alloc& __alloc, _Args&&... __args) { in __uninitialized_construct_using_allocator() argument 215 std::__uses_allocator_construction_args<_Type>(__alloc, std::forward<_Args>(__args)...)); in __uninitialized_construct_using_allocator() 223 … constexpr auto uses_allocator_construction_args(const _Alloc& __alloc, _Args&&... __args) noexcept [all …]
|
H A D | allocator_arg_t.h | 53 __user_alloc_construct_impl(integral_constant<int, 0>, _Tp* __storage, const _Allocator&, _Args&&... __args) { 54 new (__storage) _Tp(std::forward<_Args>(__args)...); 60 __user_alloc_construct_impl(integral_constant<int, 1>, _Tp* __storage, const _Allocator& __a, _Args&&... __args) { 61 new (__storage) _Tp(allocator_arg, __a, std::forward<_Args>(__args)...); 67 __user_alloc_construct_impl(integral_constant<int, 2>, _Tp* __storage, const _Allocator& __a, _Args&&... __args) { 68 new (__storage) _Tp(std::forward<_Args>(__args)..., __a); 55 __user_alloc_construct_impl(integral_constant<int,0>,_Tp * __storage,const _Allocator &,_Args &&...__args) __user_alloc_construct_impl() argument 63 __user_alloc_construct_impl(integral_constant<int,1>,_Tp * __storage,const _Allocator & __a,_Args &&...__args) __user_alloc_construct_impl() argument 71 __user_alloc_construct_impl(integral_constant<int,2>,_Tp * __storage,const _Allocator & __a,_Args &&...__args) __user_alloc_construct_impl() argument
|
H A D | construct_at.h | 39 _LIBCPP_HIDE_FROM_ABI constexpr _Tp* construct_at(_Tp* __location, _Args&&... __args) { in construct_at() argument 41 return ::new (std::__voidify(*__location)) _Tp(std::forward<_Args>(__args)...); in construct_at() 47 …DE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _Tp* __construct_at(_Tp* __location, _Args&&... __args) { in __construct_at() argument 49 return std::construct_at(__location, std::forward<_Args>(__args)...); in __construct_at() 52 ::new (std::__voidify(*__location)) _Tp(std::forward<_Args>(__args)...); in __construct_at()
|
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/ |
H A D | invoke.h | 94 __nat __invoke(_Args&&... __args); 102 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args) 103 _NOEXCEPT_(noexcept((static_cast<_A0&&>(__a0).*__f)(static_cast<_Args&&>(__args)...))) 104 { return (static_cast<_A0&&>(__a0).*__f)(static_cast<_Args&&>(__args)...); } 109 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args) 110 _NOEXCEPT_(noexcept((__a0.get().*__f)(static_cast<_Args&&>(__args)...))) 111 { return (__a0.get().*__f)(static_cast<_Args&&>(__args)...); } 116 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args) 117 _NOEXCEPT_(noexcept(((*static_cast<_A0&&>(__a0)).*__f)(static_cast<_Args&&>(__args)...))) 118 { return ((*static_cast<_A0&&>(__a0)).*__f)(static_cast<_Args&&>(__args)...); } [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__expected/ |
H A D | expected.h | 106 …CPP_HIDE_FROM_ABI constexpr explicit __conditional_no_unique_address(in_place_t, _Args&&... __args) 107 : __v(std::forward<_Args>(__args)...) {} 111 __conditional_no_unique_address_invoke_tag, _Func&& __f, _Args&&... __args) 112 : __v(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {} 120 …CPP_HIDE_FROM_ABI constexpr explicit __conditional_no_unique_address(in_place_t, _Args&&... __args) 121 : __v(std::forward<_Args>(__args)...) {} 125 __conditional_no_unique_address_invoke_tag, _Func&& __f, _Args&&... __args) 126 : __v(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {} 230 _LIBCPP_HIDE_FROM_ABI constexpr explicit __union_t(in_place_t, _Args&&... __args) 231 : __val_(std::forward<_Args>(__args)...) {} [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
H A D | to.h | 89 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Container to(_Range&& __range, _Args&&... __args) { in to() argument 101 return _Container(std::forward<_Range>(__range), std::forward<_Args>(__args)...); in to() 106 return _Container(from_range, std::forward<_Range>(__range), std::forward<_Args>(__args)...); in to() 111 … return _Container(ranges::begin(__range), ranges::end(__range), std::forward<_Args>(__args)...); in to() 117 _Container __result(std::forward<_Args>(__args)...); in to() 136 std::forward<_Args>(__args)...); in to() 196 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto to(_Range&& __range, _Args&&... __args) { in to() argument 198 return ranges::to<_DeduceExpr>(std::forward<_Range>(__range), std::forward<_Args>(__args)...); in to() 205 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto to(_Args&&... __args) { in to() argument 217 return __range_adaptor_closure_t(std::__bind_back(__to_func, std::forward<_Args>(__args)...)); in to() [all …]
|
H A D | movable_box.h | 62 _LIBCPP_HIDE_FROM_ABI constexpr explicit __movable_box(in_place_t, _Args&&... __args) noexcept( in __movable_box() argument 64 : __val_(in_place, std::forward<_Args>(__args)...) {} in __movable_box() 169 _LIBCPP_HIDE_FROM_ABI constexpr explicit __movable_box_holder(in_place_t, _Args&&... __args) in __movable_box_holder() 170 : __val_(std::forward<_Args>(__args)...) {} in __movable_box_holder() 179 _LIBCPP_HIDE_FROM_ABI constexpr explicit __movable_box_holder(in_place_t, _Args&&... __args) 180 : __val_(std::forward<_Args>(__args)...) {} 191 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __movable_box(in_place_t __inplace, _Args&&... __args) no… 193 : __holder_(__inplace, std::forward<_Args>(__args)...) {}
|
H A D | non_propagating_cache.h | 47 _LIBCPP_HIDE_FROM_ABI constexpr explicit __wrapper(__forward_tag, _Args&&... __args) in __wrapper() 48 : __t_(std::forward<_Args>(__args)...) {} in __wrapper() 91 _LIBCPP_HIDE_FROM_ABI constexpr _Tp& __emplace(_Args&&... __args) { 92 return __value_.emplace(__forward_tag{}, std::forward<_Args>(__args)...).__t_; in __has_value() 102 __emplace(_Args &&...__args) __emplace() argument
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | print | 215 __vprint_nonunicode(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl) { 217 string __str = std::vformat(__fmt, __args); 238 __vprint_unicode_posix(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl, bool… 243 __print::__vprint_nonunicode(__stream, __fmt, __args, __write_nl); 249 __vprint_unicode_windows(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl, bo… 251 return __print::__vprint_nonunicode(__stream, __fmt, __args, __write_nl); 256 string __str = std::vformat(__fmt, __args); 290 [[maybe_unused]] format_args __args, 316 …__print::__vprint_unicode_posix(__stream, __fmt, __args, __write_nl, __print::__is_terminal(__stre… 318 …__print::__vprint_unicode_windows(__stream, __fmt, __args, __write_nl, __print::__is_terminal(__st… [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/ |
H A D | handle_exception.h | 29 _LIBCPP_HIDE_FROM_ABI auto __handle_exception_impl(_Args&&... __args) noexcept { in __handle_exception_impl() argument 30 return _BackendFunction{}(std::forward<_Args>(__args)...); in __handle_exception_impl() 44 _LIBCPP_HIDE_FROM_ABI auto __handle_exception(_Args&&... __args) { in __handle_exception() argument 45 auto __result = __pstl::__handle_exception_impl<_BackendFunction>(std::forward<_Args>(__args)...); in __handle_exception()
|
/freebsd/contrib/llvm-project/libcxx/include/__utility/ |
H A D | no_destroy.h | 36 _LIBCPP_HIDE_FROM_ABI explicit __no_destroy(_Args&&... __args) { in __no_destroy() 37 ::new ((void*)__obj_) _Tp(std::forward<_Args>(__args)...); in __no_destroy() 41 _LIBCPP_HIDE_FROM_ABI _Tp& __emplace(_Args&&... __args) { in __emplace() 42 return *(::new ((void*)__obj_) _Tp(std::forward<_Args>(__args)...)); in __emplace()
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/ |
H A D | jthread.h | 47 _LIBCPP_HIDE_FROM_ABI explicit jthread(_Fun&& __fun, _Args&&... __args) in jthread() argument 50 …thread_(__init_thread(__stop_source_, std::forward<_Fun>(__fun), std::forward<_Args>(__args)...)) { in jthread() 116 …DE_FROM_ABI static thread __init_thread(const stop_source& __ss, _Fun&& __fun, _Args&&... __args) { in __init_thread() argument 118 return thread(std::forward<_Fun>(__fun), __ss.get_token(), std::forward<_Args>(__args)...); in __init_thread() 120 return thread(std::forward<_Fun>(__fun), std::forward<_Args>(__args)...); in __init_thread()
|