Home
last modified time | relevance | path

Searched refs:__args (Results 1 – 25 of 94) sorted by relevance

1234

/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformat_functions.h71 …] _LIBCPP_HIDE_FROM_ABI __format_arg_store<_Context, _Args...> make_format_args(_Args&... __args) { in make_format_args() argument
72 return std::__format_arg_store<_Context, _Args...>(__args...); in make_format_args()
77 …P_HIDE_FROM_ABI __format_arg_store<wformat_context, _Args...> make_wformat_args(_Args&... __args) { in make_wformat_args() argument
78 return std::__format_arg_store<wformat_context, _Args...>(__args...); in make_wformat_args()
121 const __arg_t* __args, const __compile_time_handle<_CharT>* __handles, size_t __size) in __compile_time_basic_format_context()
122 : __args_(__args), __handles_(__handles), __size_(__size) {} in __compile_time_basic_format_context()
411 … basic_format_args<basic_format_context<_FormatOutIt, _CharT>> __args) { in requires()
414 …basic_format_parse_context{__fmt, __args.__size()}, std::__format_context_create(std::move(__out_i… in requires()
417 std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, in requires()
418 … std::__format_context_create(__buffer.__make_output_iterator(), __args)); in requires()
[all …]
H A Dformat_context.h56 basic_format_args<basic_format_context<_OutIt, _CharT>> __args,
58 return std::basic_format_context(std::move(__out_it), __args, std::move(__loc));
63 …t_context_create(_OutIt __out_it, basic_format_args<basic_format_context<_OutIt, _CharT>> __args) { in __format_context_create() argument
64 return std::basic_format_context(std::move(__out_it), __args); in __format_context_create()
118 … _OutIt __out_it, basic_format_args<basic_format_context> __args, optional<std::locale>&& __loc) in _LIBCPP_PREFERRED_NAME()
119 : __out_it_(std::move(__out_it)), __args_(__args), __loc_(std::move(__loc)) {} in _LIBCPP_PREFERRED_NAME()
125 …_ABI explicit basic_format_context(_OutIt __out_it, basic_format_args<basic_format_context> __args) in _LIBCPP_PREFERRED_NAME()
126 : __out_it_(std::move(__out_it)), __args_(__args) {} in _LIBCPP_PREFERRED_NAME()
/freebsd/contrib/llvm-project/libcxx/include/__ostream/
H A Dprint.h34 __vprint_nonunicode(ostream& __os, string_view __fmt, format_args __args, bool __write_nl) { in __vprint_nonunicode() argument
48 string __o = std::vformat(__os.getloc(), __fmt, __args); in __vprint_nonunicode()
68 …HIDE_FROM_ABI inline void vprint_nonunicode(ostream& __os, string_view __fmt, format_args __args) { in vprint_nonunicode() argument
69 std::__vprint_nonunicode(__os, __fmt, __args, false); in vprint_nonunicode()
89 _LIBCPP_HIDE_FROM_ABI void __vprint_unicode(ostream& __os, string_view __fmt, format_args __args, b… in __vprint_unicode() argument
91 return std::__vprint_nonunicode(__os, __fmt, __args, __write_nl); in __vprint_unicode()
95 return std::__vprint_nonunicode(__os, __fmt, __args, __write_nl); in __vprint_unicode()
114 __print::__vprint_unicode_posix(__file, __fmt, __args, __write_nl, true); in __vprint_unicode()
116 __print::__vprint_unicode_windows(__file, __fmt, __args, __write_nl, true); in __vprint_unicode()
131 …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 Dperfect_forward.h55 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) & noexcept(
56 noexcept(_Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...)))
57 -> decltype(_Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...)) {
58 return _Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...);
65 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) const& noexcept(
66 noexcept(_Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...)))
67 -> decltype(_Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...)) {
68 return _Op()(std::get<_Idx>(__bound_args_)..., std::forward<_Args>(__args)...);
75 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) && noexcept(
76 noexcept(_Op()(std::get<_Idx>(std::move(__bound_args_))..., std::forward<_Args>(__args)...)))
[all …]
H A Dnot_fn.h33 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 auto operator()(_Args&&... __args) const
34 noexcept(noexcept(!std::invoke(std::forward<_Args>(__args)...)))
35 -> decltype(!std::invoke(std::forward<_Args>(__args)...)) {
36 return !std::invoke(std::forward<_Args>(__args)...);
58 [[__nodiscard__]] _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) const
59 noexcept(noexcept(!std::invoke(_Fn, std::forward<_Args>(__args)...)))
60 -> decltype(!std::invoke(_Fn, std::forward<_Args>(__args)...)) {
61 return !std::invoke(_Fn, std::forward<_Args>(__args)...);
H A Dbind_back.h35 …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 Dbind_front.h32 _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 Dinvoke.h28 invoke(_Fn&& __f, _Args&&... __args) noexcept(is_nothrow_invocable_v<_Fn, _Args...>) { in invoke() argument
29 return std::__invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in invoke()
38 invoke_r(_Fn&& __f, _Args&&... __args) noexcept(is_nothrow_invocable_r_v<_Result, _Fn, _Args...>) { in invoke_r() argument
40 static_cast<void>(std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...)); in invoke_r()
48 return std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in invoke_r()
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dinout_ptr.h42 _LIBCPP_HIDE_FROM_ABI explicit inout_ptr_t(_Smart& __smart, _Args... __args) in inout_ptr_t() argument
43 : __s_(__smart), __a_(std::forward<_Args>(__args)...), __p_([&__smart] { in inout_ptr_t()
69 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~inout_ptr_t()
72 …std::apply([&](auto&&... __args) { __s_.reset(static_cast<_SmartPtr>(__p_), std::forward<_Args>(__… in ~inout_ptr_t()
77 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~inout_ptr_t()
99 _LIBCPP_HIDE_FROM_ABI auto inout_ptr(_Smart& __s, _Args&&... __args) { in inout_ptr() argument
101 return std::inout_ptr_t<_Smart, _Ptr, _Args&&...>(__s, std::forward<_Args>(__args)...); in inout_ptr()
H A Duses_allocator_construction.h66 …HIDE_FROM_ABI constexpr _Type __make_obj_using_allocator(const _Alloc& __alloc, _Args&&... __args);
174 …static _LIBCPP_HIDE_FROM_ABI constexpr auto __apply(const _Alloc& __alloc, _Args&&... __args) noex…
176 return std::forward_as_tuple(std::forward<_Args>(__args)...);
179 …llocator_arg_t, const _Alloc&, _Args&&...>(allocator_arg, __alloc, std::forward<_Args>(__args)...);
182 return std::forward_as_tuple(std::forward<_Args>(__args)..., __alloc);
191 …IDE_FROM_ABI constexpr _Type __make_obj_using_allocator(const _Alloc& __alloc, _Args&&... __args) {
193 __uses_allocator_construction_args<_Type>::__apply(__alloc, std::forward<_Args>(__args)...));
198 __uninitialized_construct_using_allocator(_Type* __ptr, const _Alloc& __alloc, _Args&&... __args) {
201 __uses_allocator_construction_args<_Type>::__apply(__alloc, std::forward<_Args>(__args)...));
209 … constexpr auto uses_allocator_construction_args(const _Alloc& __alloc, _Args&&... __args) noexcept
[all …]
H A Dout_ptr.h42 _LIBCPP_HIDE_FROM_ABI explicit out_ptr_t(_Smart& __smart, _Args... __args) in out_ptr_t() argument
43 : __s_(__smart), __a_(std::forward<_Args>(__args)...), __p_() { in out_ptr_t()
64 …std::apply([&](auto&&... __args) { __s_.reset(static_cast<_SmartPtr>(__p_), std::forward<_Args>(__… in ~out_ptr_t()
69 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~out_ptr_t()
91 _LIBCPP_HIDE_FROM_ABI auto out_ptr(_Smart& __s, _Args&&... __args) { in out_ptr() argument
93 return std::out_ptr_t<_Smart, _Ptr, _Args&&...>(__s, std::forward<_Args>(__args)...); in out_ptr()
H A Dallocator_arg_t.h53 …c_construct_impl(integral_constant<int, 0>, _Tp* __storage, const _Allocator&, _Args&&... __args) { in __user_alloc_construct_impl() argument
54 new (__storage) _Tp(std::forward<_Args>(__args)...); in __user_alloc_construct_impl()
60 …nstruct_impl(integral_constant<int, 1>, _Tp* __storage, const _Allocator& __a, _Args&&... __args) { in __user_alloc_construct_impl() argument
61 new (__storage) _Tp(allocator_arg, __a, std::forward<_Args>(__args)...); in __user_alloc_construct_impl()
67 …nstruct_impl(integral_constant<int, 2>, _Tp* __storage, const _Allocator& __a, _Args&&... __args) { in __user_alloc_construct_impl() argument
68 new (__storage) _Tp(std::forward<_Args>(__args)..., __a); in __user_alloc_construct_impl()
H A Dconstruct_at.h36 _LIBCPP_HIDE_FROM_ABI constexpr _Tp* construct_at(_Tp* __location, _Args&&... __args) { in construct_at() argument
38 return ::new (static_cast<void*>(__location)) _Tp(std::forward<_Args>(__args)...); in construct_at()
44 …DE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _Tp* __construct_at(_Tp* __location, _Args&&... __args) { in __construct_at() argument
46 return std::construct_at(__location, std::forward<_Args>(__args)...); in __construct_at()
49 ::new (static_cast<void*>(__location)) _Tp(std::forward<_Args>(__args)...); in __construct_at()
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_texture_intrinsics.h280 #define __IMPL_F1(__rt, __dt, __args, __asm_op, __asm_outs, __asm_args) \
282 __device__ __rt __run<__dt>(cudaTextureObject_t __obj, __L(__args)) { \
289 #define __IMPL_F3(__args, __asm_op, __ctype, __asm_op_args, __asm_args) \
290 __IMPL_F1(int4, int4, __args, __asm_op ".s32." __ctype "\t" __asm_op_args, \
292 __IMPL_F1(uint4, uint4, __args, __asm_op ".u32." __ctype "\t" __asm_op_args, \
294 __IMPL_F1(float4, float4, __args, \
300 #define __IMPL_F3S(__args, __asm_op, __ctype, __asm_op_args, __asm_args) \
301 __IMPL_F1(int4, int4, __args, __asm_op ".s32." __ctype "\t" __asm_op_args, \
303 __IMPL_F1(uint4, uint4, __args, __asm_op ".u32." __ctype "\t" __asm_op_args, \
305 __IMPL_F1(float4, float4, __args, \
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dinvoke.h85 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __invoke_result_t<_Args...> __invoke(_Args&&... __args)
86 _NOEXCEPT_(noexcept(__builtin_invoke(std::forward<_Args>(__args)...))) {
87 return __builtin_invoke(std::forward<_Args>(__args)...);
193 __nat __invoke(_Args&&... __args);
201 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
202 _NOEXCEPT_(noexcept((static_cast<_A0&&>(__a0).*__f)(static_cast<_Args&&>(__args)...)))
203 { return (static_cast<_A0&&>(__a0).*__f)(static_cast<_Args&&>(__args)...); }
208 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
209 _NOEXCEPT_(noexcept((__a0.get().*__f)(static_cast<_Args&&>(__args)...)))
210 { return (__a0.get().*__f)(static_cast<_Args&&>(__args)...); }
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h110 …CPP_HIDE_FROM_ABI constexpr explicit __conditional_no_unique_address(in_place_t, _Args&&... __args)
111 : __v(std::forward<_Args>(__args)...) {}
115 __conditional_no_unique_address_invoke_tag, _Func&& __f, _Args&&... __args)
116 : __v(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {}
124 …CPP_HIDE_FROM_ABI constexpr explicit __conditional_no_unique_address(in_place_t, _Args&&... __args)
125 : __v(std::forward<_Args>(__args)...) {}
129 __conditional_no_unique_address_invoke_tag, _Func&& __f, _Args&&... __args)
130 : __v(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {}
234 _LIBCPP_HIDE_FROM_ABI constexpr explicit __union_t(in_place_t, _Args&&... __args)
235 : __val_(std::forward<_Args>(__args)...) {}
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/
H A Dinvoke.h93 __nat __invoke(_Args&&... __args);
101 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
102 { return (static_cast<_A0&&>(__a0).*__f)(static_cast<_Args&&>(__args)...); }
107 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
108 { return (__a0.get().*__f)(static_cast<_Args&&>(__args)...); }
113 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
114 { return ((*static_cast<_A0&&>(__a0)).*__f)(static_cast<_Args&&>(__args)...); }
141 __invoke(_Fp&& __f, _Args&&... __args)
142 { return static_cast<_Fp&&>(__f)(static_cast<_Args&&>(__args)...); }
199 _LIBCPP_HIDE_FROM_ABI static _Ret __call(_Args&&... __args) {
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dprint218 __vprint_nonunicode(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl) {
220 string __str = std::vformat(__fmt, __args);
241 __vprint_unicode_posix(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl, bool…
246 __print::__vprint_nonunicode(__stream, __fmt, __args, __write_nl);
252 __vprint_unicode_windows(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl, bo…
254 return __print::__vprint_nonunicode(__stream, __fmt, __args, __write_nl);
259 string __str = std::vformat(__fmt, __args);
293 [[maybe_unused]] format_args __args,
319 …__print::__vprint_unicode_posix(__stream, __fmt, __args, __write_nl, __print::__is_terminal(__stre…
321 …__print::__vprint_unicode_windows(__stream, __fmt, __args, __write_nl, __print::__is_terminal(__st…
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__new/
H A Dallocate.h35 _LIBCPP_HIDE_FROM_ABI void* __libcpp_operator_new(_Args... __args) { in __libcpp_operator_new() argument
37 return __builtin_operator_new(__args...); in __libcpp_operator_new()
39 return ::operator new(__args...); in __libcpp_operator_new()
44 _LIBCPP_HIDE_FROM_ABI void __libcpp_operator_delete(_Args... __args) _NOEXCEPT { in __libcpp_operator_delete() argument
46 __builtin_operator_delete(__args...); in __libcpp_operator_delete()
48 ::operator delete(__args...); in __libcpp_operator_delete()
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dto.h81 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Container to(_Range&& __range, _Args&&... __args) { in to() argument
93 return _Container(std::forward<_Range>(__range), std::forward<_Args>(__args)...); in to()
98 return _Container(from_range, std::forward<_Range>(__range), std::forward<_Args>(__args)...); in to()
103 … return _Container(ranges::begin(__range), ranges::end(__range), std::forward<_Args>(__args)...); in to()
109 _Container __result(std::forward<_Args>(__args)...); in to()
139 std::forward<_Args>(__args)...); in to()
199 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto to(_Range&& __range, _Args&&... __args) { in to() argument
201 return ranges::to<_DeduceExpr>(std::forward<_Range>(__range), std::forward<_Args>(__args)...); in to()
208 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto to(_Args&&... __args) { in to() argument
220 return __pipeable(std::__bind_back(__to_func, std::forward<_Args>(__args)...)); in to()
[all …]
H A Dmovable_box.h62 _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)...) {}
/freebsd/contrib/llvm-project/libcxx/include/__pstl/
H A Dhandle_exception.h31 _LIBCPP_HIDE_FROM_ABI auto __handle_exception_impl(_Args&&... __args) noexcept { in __handle_exception_impl() argument
32 return _BackendFunction{}(std::forward<_Args>(__args)...); in __handle_exception_impl()
46 _LIBCPP_HIDE_FROM_ABI auto __handle_exception(_Args&&... __args) { in __handle_exception() argument
47 auto __result = __pstl::__handle_exception_impl<_BackendFunction>(std::forward<_Args>(__args)...); in __handle_exception()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__utility/
H A Dno_destroy.h36 _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/__utility/
H A Dno_destroy.h35 _LIBCPP_HIDE_FROM_ABI explicit __no_destroy(_Args&&... __args) { in __no_destroy()
36 ::new ((void*)__obj_) _Tp(std::forward<_Args>(__args)...); in __no_destroy()
40 _LIBCPP_HIDE_FROM_ABI _Tp& __emplace(_Args&&... __args) { in __emplace()
41 return *(::new ((void*)__obj_) _Tp(std::forward<_Args>(__args)...)); in __emplace()
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Djthread.h49 _LIBCPP_HIDE_FROM_ABI explicit jthread(_Fun&& __fun, _Args&&... __args) in jthread() argument
52 …thread_(__init_thread(__stop_source_, std::forward<_Fun>(__fun), std::forward<_Args>(__args)...)) { in jthread()
118 …DE_FROM_ABI static thread __init_thread(const stop_source& __ss, _Fun&& __fun, _Args&&... __args) { in __init_thread() argument
120 return thread(std::forward<_Fun>(__fun), __ss.get_token(), std::forward<_Args>(__args)...); in __init_thread()
122 return thread(std::forward<_Fun>(__fun), std::forward<_Args>(__args)...); in __init_thread()

1234