Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformat_functions.h76 make_wformat_args(_Args&... __args) { in make_wformat_args() argument
413 …basic_format_parse_context{__fmt, __args.__size()}, std::__format_context_create(std::move(__out_i… in requires()
456 vformat(string_view __fmt, format_args __args) { in vformat() argument
467 vformat(wstring_view __fmt, wformat_args __args) { in vformat() argument
476 format(format_string<_Args...> __fmt, _Args&&... __args) { in format() argument
483 format(wformat_string<_Args...> __fmt, _Args&&... __args) { in format() argument
493 basic_format_args<_Context> __args) { in __vformat_to_n() argument
551 basic_format_parse_context{__fmt, __args.__size()}, in requires()
627 basic_format_args<_Context> __args) { in __vformat_to_n() argument
630 basic_format_parse_context{__fmt, __args.__size()}, in __vformat_to_n()
[all …]
H A Dformat_context.h58 basic_format_args<basic_format_context<_OutIt, _CharT>> __args,
60 return std::basic_format_context(std::move(__out_it), __args, std::move(__loc));
65 …t_context_create(_OutIt __out_it, basic_format_args<basic_format_context<_OutIt, _CharT>> __args) { in __format_context_create() argument
66 return std::basic_format_context(std::move(__out_it), __args); in __format_context_create()
125 … _OutIt __out_it, basic_format_args<basic_format_context> __args, optional<std::locale>&& __loc) in _LIBCPP_PREFERRED_NAME()
126 : __out_it_(std::move(__out_it)), __args_(__args), __loc_(std::move(__loc)) {} in _LIBCPP_PREFERRED_NAME()
132 …_ABI explicit basic_format_context(_OutIt __out_it, basic_format_args<basic_format_context> __args) in _LIBCPP_PREFERRED_NAME()
133 : __out_it_(std::move(__out_it)), __args_(__args) {} in _LIBCPP_PREFERRED_NAME()
H A Dformat_arg_store.h210 …orage(uint64_t& __types, __basic_format_arg_value<_Context>* __values, _Args&... __args) noexcept { in __create_packed_storage() argument
214 basic_format_arg<_Context> __arg = __format::__create_format_arg<_Context>(__args); in __create_packed_storage()
227 …_ABI void __store_basic_format_arg(basic_format_arg<_Context>* __data, _Args&... __args) noexcept { in __store_basic_format_arg() argument
228 ([&] { *__data++ = __format::__create_format_arg<_Context>(__args); }(), ...); in __store_basic_format_arg()
246 _LIBCPP_HIDE_FROM_ABI __format_arg_store(_Args&... __args) noexcept { in __format_arg_store()
249 __format::__create_packed_storage(__storage.__types_, __storage.__values_, __args...); in __format_arg_store()
251 __format::__store_basic_format_arg<_Context>(__storage.__args_, __args...); in __format_arg_store()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__functional/
H A Dperfect_forward.h54 _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(
77 return _Op()(std::get<_Idx>(std::move(__bound_args_))..., std::forward<_Args>(__args)...);
[all …]
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)...));
H A Dbind_front.h33 _LIBCPP_HIDE_FROM_ABI constexpr 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)...);
48 _LIBCPP_HIDE_FROM_ABI constexpr auto bind_front(_Fn&& __f, _Args&&... __args) { in bind_front() argument
49 …d_front_t<decay_t<_Fn>, decay_t<_Args>...>(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in bind_front()
H A Dinvoke.h27 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...>) { in invoke_r() argument
39 static_cast<void>(std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...)); in invoke_r()
47 return std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in invoke_r()
H A Dnot_fn.h32 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 auto operator()(_Args&&... __args) const
33 noexcept(noexcept(!std::invoke(std::forward<_Args>(__args)...)))
34 -> decltype(!std::invoke(std::forward<_Args>(__args)...)) {
35 return !std::invoke(std::forward<_Args>(__args)...);
H A Dcompose.h29 …_LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Fn1&& __f1, _Fn2&& __f2, _Args&&... __args) const…
30 …(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 …e(std::forward<_Fn1>(__f1), std::invoke(std::forward<_Fn2>(__f2), std::forward<_Args>(__args)...));
H A Dbind.h194 __apply_functor(_Fp& __f, _BoundArgs& __bound_args, __tuple_indices<_Indx...>, _Args&& __args) {
195 return std::__invoke(__f, std::__mu(std::get<_Indx>(__bound_args), __args)...);
221 operator()(_Args&&... __args) {
222 …apply_functor(__f_, __bound_args_, __indices(), tuple<_Args&&...>(std::forward<_Args>(__args)...));
228 operator()(_Args&&... __args) const {
229 …apply_functor(__f_, __bound_args_, __indices(), tuple<_Args&&...>(std::forward<_Args>(__args)...));
258 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 result_type operator()(_Args&&... __args) {
260 return _Invoker::__call(static_cast<base&>(*this), std::forward<_Args>(__args)...);
268 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 result_type operator()(_Args&&... __args) cons…
270 return _Invoker::__call(static_cast<base const&>(*this), std::forward<_Args>(__args)...);
/freebsd-14.2/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_texture_intrinsics.h263 #define __IMPL_S3SI(__op, __args, __asm_op, __ctype, __asm_op_args, __asm_args)
280 __IMPL_S3NI(__opn, __args, __asm_op, __ctype, __asm_op_args, __asm_args)
284 __IMPL_S3I(__ID(__op), __args, __asm_op, __ctype, __asm_op_args, __asm_args)
663 __Args... __args) {
666 __tex_fetch_v4<__op>::template __run<__FetchT>(__handle, __args...));
685 __Args... __args) {
689 __tex_handle_to_obj(__handle), __args...));
698 __Args... __args) {
702 __tex_handle_to_obj(__handle), __args...));
711 __Args... __args) {
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/
H A Dpstl_frontend_dispatch.h25 …[](auto&&... __args) -> decltype(std::name<policy>( …
26 … typename __select_backend<policy>::type{}, std::forward<decltype(__args)>(__args)...)) { \
27 …e<policy>(typename __select_backend<policy>::type{}, std::forward<decltype(__args)>(__args)...); \
32 …end_dispatch(_SpecializedImpl __specialized_impl, _GenericImpl __generic_impl, _Args&&... __args) { in decltype()
34 return __specialized_impl(std::forward<_Args>(__args)...); in decltype()
36 return __generic_impl(std::forward<_Args>(__args)...); in decltype()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Duses_allocator_construction.h45 __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()
53 return std::forward_as_tuple(std::forward<_Args>(__args)..., __alloc); in __uses_allocator_construction_args()
215 std::__uses_allocator_construction_args<_Type>(__alloc, std::forward<_Args>(__args)...)); in __make_obj_using_allocator()
220 __uninitialized_construct_using_allocator(_Type* __ptr, const _Alloc& __alloc, _Args&&... __args) { in __uninitialized_construct_using_allocator() argument
223 std::__uses_allocator_construction_args<_Type>(__alloc, std::forward<_Args>(__args)...)); in __uninitialized_construct_using_allocator()
233 …return /*--*/ std::__uses_allocator_construction_args<_Type>(__alloc, std::forward<_Args>(__args).…
237 …CPP_HIDE_FROM_ABI constexpr auto make_obj_using_allocator(const _Alloc& __alloc, _Args&&... __args)
238 -> decltype(std::__make_obj_using_allocator<_Type>(__alloc, std::forward<_Args>(__args)...)) {
239 return /*--*/ std::__make_obj_using_allocator<_Type>(__alloc, std::forward<_Args>(__args)...);
[all …]
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.h39 _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 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _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-14.2/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h116 : __v(std::forward<_Args>(__args)...) {}
130 : __v(std::forward<_Args>(__args)...) {}
240 : __val_(std::forward<_Args>(__args)...) {}
244 : __unex_(std::forward<_Args>(__args)...) {}
401 : __repr_(in_place, std::forward<_Args>(__args)...) {}
579 : __base(in_place, std::forward<_Args>(__args)...) {}
591 : __base(unexpect, std::forward<_Args>(__args)...) {}
610 _T1 __tmp(std::forward<_Args>(__args)...);
1190 : __unex_(std::forward<_Args>(__args)...) {}
1323 : __repr_(in_place, std::forward<_Args>(__args)...) {}
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__ranges/
H A Dto.h100 return _Container(std::forward<_Range>(__range), std::forward<_Args>(__args)...); in to()
105 return _Container(from_range, std::forward<_Range>(__range), std::forward<_Args>(__args)...); in to()
110 … return _Container(ranges::begin(__range), ranges::end(__range), std::forward<_Args>(__args)...); in to()
116 _Container __result(std::forward<_Args>(__args)...); in to()
135 std::forward<_Args>(__args)...); in to()
195 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr auto to(_Range&& __range, _Args&&... __args) { in to() argument
197 return ranges::to<_DeduceExpr>(std::forward<_Range>(__range), std::forward<_Args>(__args)...); in to()
204 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr auto to(_Args&&... __args) { in to() argument
216 return __range_adaptor_closure_t(std::__bind_back(__to_func, std::forward<_Args>(__args)...)); in to()
222 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr auto to(_Args&&... __args) { in to() argument
[all …]
H A Dmovable_box.h64 _LIBCPP_HIDE_FROM_ABI constexpr explicit __movable_box(in_place_t, _Args&&... __args) noexcept( in __movable_box() argument
66 : __val_(in_place, std::forward<_Args>(__args)...) {} in __movable_box()
171 _LIBCPP_HIDE_FROM_ABI constexpr explicit __movable_box_holder(in_place_t, _Args&&... __args) in __movable_box_holder()
172 : __val_(std::forward<_Args>(__args)...) {} in __movable_box_holder()
181 _LIBCPP_HIDE_FROM_ABI constexpr explicit __movable_box_holder(in_place_t, _Args&&... __args)
182 : __val_(std::forward<_Args>(__args)...) {}
193 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __movable_box(in_place_t __inplace, _Args&&... __args) no…
195 : __holder_(__inplace, std::forward<_Args>(__args)...) {}
H A Dnon_propagating_cache.h47 _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) { in __emplace() argument
92 return __value_.emplace(__forward_tag{}, std::forward<_Args>(__args)...).__t_; in __emplace()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dprint216 string __str = std::vformat(__fmt, __args);
242 __print::__vprint_nonunicode(__stream, __fmt, __args, __write_nl);
250 return __print::__vprint_nonunicode(__stream, __fmt, __args, __write_nl);
255 string __str = std::vformat(__fmt, __args);
289 [[maybe_unused]] format_args __args,
341 std::print(stdout, __fmt, std::forward<_Args>(__args)...);
361 std::println(stdout, __fmt, std::forward<_Args>(__args)...);
367 __print::__vprint_unicode(__stream, __fmt, __args, false);
372 std::vprint_unicode(stdout, __fmt, __args);
379 __print::__vprint_nonunicode(__stream, __fmt, __args, false);
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__utility/
H A Dno_destroy.h42 _LIBCPP_CONSTEXPR _LIBCPP_HIDE_FROM_ABI explicit __no_destroy(_Args&&... __args) in __no_destroy()
43 : __obj_(std::forward<_Args>(__args)...) {} in __no_destroy()
46 _LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp& __emplace(_Args&&... __args) { in __emplace()
47 new (&__obj_) _Tp(std::forward<_Args>(__args)...); in __emplace()
/freebsd-14.2/contrib/llvm-project/libcxx/include/experimental/
H A D__memory68 …c_construct_impl(integral_constant<int, 0>, _Tp* __storage, const _Allocator&, _Args&&... __args) {
69 new (__storage) _Tp(std::forward<_Args>(__args)...);
75 …nstruct_impl(integral_constant<int, 1>, _Tp* __storage, const _Allocator& __a, _Args&&... __args) {
76 new (__storage) _Tp(allocator_arg_t(), __a, std::forward<_Args>(__args)...);
82 …nstruct_impl(integral_constant<int, 2>, _Tp* __storage, const _Allocator& __a, _Args&&... __args) {
83 new (__storage) _Tp(std::forward<_Args>(__args)..., __a);
87 …IDE_FROM_ABI void __lfts_user_alloc_construct(_Tp* __store, const _Alloc& __a, _Args&&... __args) {
89 …lfts_uses_alloc_ctor<_Tp, _Alloc, _Args...>::type(), __store, __a, std::forward<_Args>(__args)...);
/freebsd-14.2/contrib/llvm-project/libcxx/include/__type_traits/
H A Dinvoke.h288 __nat __invoke(__any, _Args&&... __args);
296 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
303 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
304 _NOEXCEPT_(noexcept((__a0.get().*__f)(static_cast<_Args&&>(__args)...)))
305 { return (__a0.get().*__f)(static_cast<_Args&&>(__args)...); }
310 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
342 __invoke(_Fp&& __f, _Args&&... __args)
343 _NOEXCEPT_(noexcept(static_cast<_Fp&&>(__f)(static_cast<_Args&&>(__args)...)))
344 { return static_cast<_Fp&&>(__f)(static_cast<_Args&&>(__args)...); }
411 return std::__invoke(std::forward<_Args>(__args)...);
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__thread/
H A Djthread.h48 _LIBCPP_HIDE_FROM_ABI explicit jthread(_Fun&& __fun, _Args&&... __args) in jthread() argument
51 …thread_(__init_thread(__stop_source_, std::forward<_Fun>(__fun), std::forward<_Args>(__args)...)) { in jthread()
117 …DE_FROM_ABI static thread __init_thread(const stop_source& __ss, _Fun&& __fun, _Args&&... __args) { in __init_thread() argument
119 return thread(std::forward<_Fun>(__fun), __ss.get_token(), std::forward<_Args>(__args)...); in __init_thread()
121 return thread(std::forward<_Fun>(__fun), std::forward<_Args>(__args)...); in __init_thread()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__charconv/
H A Dfrom_chars_integral.h41 __sign_combinator(_It __first, _It __last, _Tp& __value, _Fn __f, _Ts... __args) { in __sign_combinator() argument
46 auto __r = __f(__neg ? __first + 1 : __first, __last, __x, __args...); in __sign_combinator()
98 __subject_seq_combinator(_It __first, _It __last, _Tp& __value, _Fn __f, _Ts... __args) { in __subject_seq_combinator() argument
107 if (__p == __last || !std::__in_pattern(*__p, __args...)) { in __subject_seq_combinator()
116 auto __r = __f(__p, __last, __value, __args...); in __subject_seq_combinator()
119 if (!std::__in_pattern(*__r.ptr, __args...)) in __subject_seq_combinator()

123