Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/libcxx/include/__functional/
H A Dperfect_forward.h50 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) &
51 noexcept(noexcept(_Op()(_VSTD::get<_Idx>(__bound_args_)..., _VSTD::forward<_Args>(__args)...)))
52 -> decltype( _Op()(_VSTD::get<_Idx>(__bound_args_)..., _VSTD::forward<_Args>(__args)...))
53 { return _Op()(_VSTD::get<_Idx>(__bound_args_)..., _VSTD::forward<_Args>(__args)...); }
59 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) const&
60 noexcept(noexcept(_Op()(_VSTD::get<_Idx>(__bound_args_)..., _VSTD::forward<_Args>(__args)...)))
61 -> decltype( _Op()(_VSTD::get<_Idx>(__bound_args_)..., _VSTD::forward<_Args>(__args)...))
62 { return _Op()(_VSTD::get<_Idx>(__bound_args_)..., _VSTD::forward<_Args>(__args)...); }
68 _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Args&&... __args) &&
70 …ype( _Op()(_VSTD::get<_Idx>(_VSTD::move(__bound_args_))..., _VSTD::forward<_Args>(__args)...))
[all …]
H A Dbind_back.h35 …E_FROM_ABI constexpr auto operator()(_Fn&& __f, _BoundArgs&& __bound_args, _Args&&... __args) const
36 …noexcept(noexcept(_VSTD::invoke(_VSTD::forward<_Fn>(__f), _VSTD::forward<_Args>(__args)..., _VSTD:…
37 …-> decltype( _VSTD::invoke(_VSTD::forward<_Fn>(__f), _VSTD::forward<_Args>(__args)..., _VSTD:…
38 …{ return _VSTD::invoke(_VSTD::forward<_Fn>(__f), _VSTD::forward<_Args>(__args)..., _VSTD:…
55 constexpr auto __bind_back(_Fn&& __f, _Args&&... __args)
56 …<_Args>...>>(_VSTD::forward<_Fn>(__f), _VSTD::forward_as_tuple(_VSTD::forward<_Args>(__args)...))))
57 …t<_Args>...>>(_VSTD::forward<_Fn>(__f), _VSTD::forward_as_tuple(_VSTD::forward<_Args>(__args)...)))
58 …_Args>...>>(_VSTD::forward<_Fn>(__f), _VSTD::forward_as_tuple(_VSTD::forward<_Args>(__args)...)); }
H A Dbind_front.h30 constexpr auto operator()(_Args&& ...__args) const
31 noexcept(noexcept(_VSTD::invoke(_VSTD::forward<_Args>(__args)...)))
32 -> decltype( _VSTD::invoke(_VSTD::forward<_Args>(__args)...))
33 { return _VSTD::invoke(_VSTD::forward<_Args>(__args)...); }
50 constexpr auto bind_front(_Fn&& __f, _Args&&... __args) { in bind_front() argument
51 …ont_t<decay_t<_Fn>, decay_t<_Args>...>(_VSTD::forward<_Fn>(__f), _VSTD::forward<_Args>(__args)...); in bind_front()
H A Dnot_fn.h30 _LIBCPP_CONSTEXPR_AFTER_CXX17 auto operator()(_Args&&... __args) const
31 noexcept(noexcept(!_VSTD::invoke(_VSTD::forward<_Args>(__args)...)))
32 -> decltype( !_VSTD::invoke(_VSTD::forward<_Args>(__args)...))
33 { return !_VSTD::invoke(_VSTD::forward<_Args>(__args)...); }
H A Dinvoke.h333 __nat __invoke(__any, _Args&& ...__args);
341 __invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args)
349 __invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args)
351 { return (__a0.get().*__f)(static_cast<_Args&&>(__args)...); }
357 __invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args)
392 __invoke(_Fp&& __f, _Args&& ...__args)
469 static _Ret __call(_Args&&... __args) {
470 return std::__invoke(std::forward<_Args>(__args)...);
478 static void __call(_Args&&... __args) {
479 std::__invoke(std::forward<_Args>(__args)...);
[all …]
H A Dcompose.h30 constexpr auto operator()(_Fn1&& __f1, _Fn2&& __f2, _Args&&... __args) const
31 …forward<_Fn1>(__f1), _VSTD::invoke(_VSTD::forward<_Fn2>(__f2), _VSTD::forward<_Args>(__args)...))))
32 …:forward<_Fn1>(__f1), _VSTD::invoke(_VSTD::forward<_Fn2>(__f2), _VSTD::forward<_Args>(__args)...)))
33 …orward<_Fn1>(__f1), _VSTD::invoke(_VSTD::forward<_Fn2>(__f2), _VSTD::forward<_Args>(__args)...)); }
H A Dbind.h261 _Args&& __args)
263 return _VSTD::__invoke(__f, _VSTD::__mu(_VSTD::get<_Indx>(__bound_args), __args)...);
293 operator()(_Args&& ...__args)
296 tuple<_Args&&...>(_VSTD::forward<_Args>(__args)...));
302 operator()(_Args&& ...__args) const
305 tuple<_Args&&...>(_VSTD::forward<_Args>(__args)...));
343 operator()(_Args&& ...__args)
346 return _Invoker::__call(static_cast<base&>(*this), _VSTD::forward<_Args>(__args)...);
357 operator()(_Args&& ...__args) const
360 … return _Invoker::__call(static_cast<base const&>(*this), _VSTD::forward<_Args>(__args)...);
H A Dmem_fn.h44 operator() (_ArgTypes&&... __args) const { in operator()
45 return std::__invoke(__f_, std::forward<_ArgTypes>(__args)...); in operator()
/llvm-project-15.0.7/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...));
684 __Args... __args) {
688 __tex_handle_to_obj(__handle), __args...));
697 __Args... __args) {
701 __tex_handle_to_obj(__handle), __args...));
710 __Args... __args) {
[all …]
/llvm-project-15.0.7/libcxx/include/
H A Dformat545 __args));
584 vformat(string_view __fmt, format_args __args) {
592 vformat(wstring_view __fmt, wformat_args __args) {
633 _Args&&... __args) {
686 __args);
694 __args);
718 __args);
727 __args);
755 basic_format_parse_context{__fmt, __args.__size()},
763 _Args&&... __args) {
[all …]
H A Dany230 explicit any(in_place_type_t<_ValueType>, _Args&&... __args);
381 static _Tp& __create(any & __dest, _Args&&... __args) {
386 _ATraits::construct(__a, __ret, _VSTD::forward<_Args>(__args)...);
465 static _Tp& __create(any & __dest, _Args&&... __args) {
472 _ATraits::construct(__a, __ret, _VSTD::forward<_Args>(__args)...);
534 any::any(in_place_type_t<_ValueType>, _Args&&... __args) {
553 _Tp& any::emplace(_Args&&... __args) {
560 _Tp& any::emplace(initializer_list<_Up> __il, _Args&&... __args) {
594 any make_any(_Args&&... __args) {
595 return any(in_place_type<_Tp>, _VSTD::forward<_Args>(__args)...);
[all …]
H A Dnew244 void* __libcpp_operator_new(_Args ...__args) {
246 return __builtin_operator_new(__args...);
248 return ::operator new(__args...);
254 void __libcpp_operator_delete(_Args ...__args) {
256 __builtin_operator_delete(__args...);
258 ::operator delete(__args...);
277 void __do_deallocate_handle_size(void *__ptr, size_t __size, _Args ...__args) {
280 return __libcpp_operator_delete(__ptr, __args...);
282 return __libcpp_operator_delete(__ptr, __size, __args...);
H A Dvariant720 explicit constexpr __alt(in_place_t, _Args&&... __args)
721 : __value(_VSTD::forward<_Args>(__args)...) {}
889 __alt<_Ip, _Tp>(in_place, _VSTD::forward<_Args>(__args)...);
1000 auto& __emplace(_Args&&... __args) {
1003 _VSTD::forward<_Args>(__args)...);
1344 _Args&&... __args) noexcept(
1371 _Args&&... __args) noexcept(
1403 _Tp& emplace(_Args&&... __args) {
1416 _Tp& emplace(initializer_list<_Up> __il, _Args&&... __args) {
1427 _Tp& emplace(_Args&&... __args) {
[all …]
/llvm-project-15.0.7/libcxx/include/__format/
H A Dformat_context.h51 basic_format_args<basic_format_context<_OutIt, _CharT>> __args,
53 return _VSTD::basic_format_context(_VSTD::move(__out_it), __args,
61 basic_format_args<basic_format_context<_OutIt, _CharT>> __args) { in __format_context_create() argument
62 return _VSTD::basic_format_context(_VSTD::move(__out_it), __args); in __format_context_create()
131 basic_format_args<basic_format_context> __args, in _LIBCPP_PREFERRED_NAME()
133 : __out_it_(_VSTD::move(__out_it)), __args_(__args), in _LIBCPP_PREFERRED_NAME()
142 basic_format_args<basic_format_context> __args) in _LIBCPP_PREFERRED_NAME()
143 : __out_it_(_VSTD::move(__out_it)), __args_(__args) {} in _LIBCPP_PREFERRED_NAME()
H A Dformat_arg_store.h196 _Args&&... __args) noexcept { in __create_packed_storage()
200 basic_format_arg<_Context> __arg = __create_format_arg<_Context>(__args); in __create_packed_storage()
213 …ABI void __store_basic_format_arg(basic_format_arg<_Context>* __data, _Args&&... __args) noexcept { in __store_basic_format_arg() argument
214 ([&] { *__data++ = __create_format_arg<_Context>(__args); }(), ...); in __store_basic_format_arg()
233 __format_arg_store(_Args&... __args) noexcept { in __format_arg_store()
236 __format::__create_packed_storage(__storage.__types_, __storage.__values_, __args...); in __format_arg_store()
238 __format::__store_basic_format_arg<_Context>(__storage.__args_, __args...); in __format_arg_store()
/llvm-project-15.0.7/libcxx/include/__memory/
H A Dallocator_arg_t.h53 …construct_impl (integral_constant<int, 0>, _Tp *__storage, const _Allocator &, _Args &&... __args ) in __user_alloc_construct_impl() argument
55 new (__storage) _Tp (_VSTD::forward<_Args>(__args)...); in __user_alloc_construct_impl()
61 …struct_impl (integral_constant<int, 1>, _Tp *__storage, const _Allocator &__a, _Args &&... __args ) in __user_alloc_construct_impl() argument
63 new (__storage) _Tp (allocator_arg, __a, _VSTD::forward<_Args>(__args)...); in __user_alloc_construct_impl()
69 …struct_impl (integral_constant<int, 2>, _Tp *__storage, const _Allocator &__a, _Args &&... __args ) in __user_alloc_construct_impl() argument
71 new (__storage) _Tp (_VSTD::forward<_Args>(__args)..., __a); in __user_alloc_construct_impl()
H A Dconstruct_at.h33 _LIBCPP_HIDE_FROM_ABI constexpr _Tp* construct_at(_Tp* __location, _Args&&... __args) { in construct_at() argument
35 return ::new (_VSTD::__voidify(*__location)) _Tp(_VSTD::forward<_Args>(__args)...); in construct_at()
41 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _Tp* __construct_at(_Tp* __location, _Args&&... __args) { in __construct_at() argument
43 return std::construct_at(__location, std::forward<_Args>(__args)...); in __construct_at()
46 ::new (std::__voidify(*__location)) _Tp(std::forward<_Args>(__args)...); in __construct_at()
H A Dcompressed_pair.h45 …explicit __compressed_pair_elem(piecewise_construct_t, tuple<_Args...> __args, __tuple_indices<_In… in __compressed_pair_elem()
46 : __value_(std::forward<_Args>(std::get<_Indices>(__args))...) {} in __compressed_pair_elem()
74 …__compressed_pair_elem(piecewise_construct_t, tuple<_Args...> __args, __tuple_indices<_Indices...>)
75 : __value_type(std::forward<_Args>(std::get<_Indices>(__args))...) {}
H A Dallocator.h164 void construct(_Up* __p, _Args&&... __args) {
165 ::new ((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
249 void construct(_Up* __p, _Args&&... __args) {
250 ::new ((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
/llvm-project-15.0.7/libcxx/include/experimental/
H A D__memory83 …construct_impl (integral_constant<int, 0>, _Tp *__storage, const _Allocator &, _Args &&... __args )
85 new (__storage) _Tp (_VSTD::forward<_Args>(__args)...);
91 …struct_impl (integral_constant<int, 1>, _Tp *__storage, const _Allocator &__a, _Args &&... __args )
93 new (__storage) _Tp (allocator_arg, __a, _VSTD::forward<_Args>(__args)...);
99 …struct_impl (integral_constant<int, 2>, _Tp *__storage, const _Allocator &__a, _Args &&... __args )
101 new (__storage) _Tp (_VSTD::forward<_Args>(__args)..., __a);
107 _Tp * __store, const _Alloc & __a, _Args &&... __args)
111 , __store, __a, _VSTD::forward<_Args>(__args)...
/llvm-project-15.0.7/libcxx/include/__ranges/
H A Dnon_propagating_cache.h48 …constexpr explicit __wrapper(__forward_tag, _Args&& ...__args) : __t_(std::forward<_Args>(__args).… in __wrapper()
102 constexpr _Tp& __emplace(_Args&& ...__args) { in __emplace() argument
103 return __value_.emplace(__forward_tag{}, std::forward<_Args>(__args)...).__t_; in __emplace()
H A Dcopyable_box.h50 constexpr explicit __copyable_box(in_place_t, _Args&& ...__args) in __copyable_box() argument
52 : __val_(in_place, std::forward<_Args>(__args)...) in __copyable_box()
125 constexpr explicit __copyable_box(in_place_t, _Args&& ...__args) in __copyable_box() argument
127 : __val_(std::forward<_Args>(__args)...) in __copyable_box()
/llvm-project-15.0.7/libcxx/include/__concepts/
H A Dinvocable.h28 concept invocable = requires(_Fn&& __fn, _Args&&... __args) { in requires() argument
29 …_VSTD::invoke(_VSTD::forward<_Fn>(__fn), _VSTD::forward<_Args>(__args)...); // not required to be … in requires()
/llvm-project-15.0.7/clang/test/PCH/
H A Dcxx-variadic-templates.h8 allocate_shared(const _Alloc& __a, _Args&& ...__args);
14 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _Args&& ...__args) in allocate_shared() argument
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Dfilesystem_error.h89 void __throw_filesystem_error(_Args&&... __args) { in __throw_filesystem_error() argument
90 throw filesystem_error(_VSTD::forward<_Args>(__args)...); in __throw_filesystem_error()

123