Home
last modified time | relevance | path

Searched refs:_Args (Results 1 – 25 of 88) sorted by relevance

1234

/external/libcxx/include/experimental/
Dtype_traits89 template <class _Fn, class ..._Args>
90 class _LIBCPP_TEMPLATE_VIS raw_invocation_type<_Fn(_Args...)>;
95 template <class _Fn, class ..._Args>
96 class _LIBCPP_TEMPLATE_VIS invokation_type<_Fn(_Args...)>;
115 template <class _Default, class _AlwaysVoid, template <class...> class _Op, class... _Args>
121 template <class _Default, template <class...> class _Op, class... _Args>
122 struct _DETECTOR<_Default, void_t<_Op<_Args...>>, _Op, _Args...> {
124 using type = _Op<_Args...>;
128 template <template<class...> class _Op, class... _Args>
129 using is_detected = typename _DETECTOR<nonesuch, void, _Op, _Args...>::value_t;
[all …]
D__memory42 template <bool _UsesAlloc, class _Tp, class _Alloc, class ..._Args>
48 template <class _Tp, class _Alloc, class ..._Args>
49 struct __lfts_uses_alloc_ctor_imp<true, _Tp, _Alloc, _Args...>
52 = is_constructible<_Tp, allocator_arg_t, _Alloc, _Args...>::value;
58 is_constructible<_Tp, _Args..., _Alloc>
67 template <class _Tp, class _Alloc, class ..._Args>
72 , _Tp, _Alloc, _Args...
77 template <class _Tp, class _Alloc, class ..._Args>
80 _Tp * __store, const _Alloc & __a, _Args &&... __args)
83 typename __lfts_uses_alloc_ctor<_Tp, _Alloc, _Args...>::type()
[all …]
Dmemory_resource281 template <class ..._Args, size_t ..._Idx>
283 tuple<_Args&&...>
284 __transform_tuple(integral_constant<int, 0>, tuple<_Args...>&& __t,
290 template <class ..._Args, size_t ..._Idx>
292 tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>
293 __transform_tuple(integral_constant<int, 1>, tuple<_Args...> && __t,
296 using _Tup = tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>;
301 template <class ..._Args, size_t ..._Idx>
303 tuple<_Args&&..., polymorphic_allocator&>
304 __transform_tuple(integral_constant<int, 2>, tuple<_Args...> && __t,
[all …]
/external/llvm-project/libcxx/include/experimental/
Dtype_traits89 template <class _Fn, class ..._Args>
90 class _LIBCPP_TEMPLATE_VIS raw_invocation_type<_Fn(_Args...)>;
95 template <class _Fn, class ..._Args>
96 class _LIBCPP_TEMPLATE_VIS invokation_type<_Fn(_Args...)>;
114 template <class _Default, class _AlwaysVoid, template <class...> class _Op, class... _Args>
120 template <class _Default, template <class...> class _Op, class... _Args>
121 struct _DETECTOR<_Default, void_t<_Op<_Args...>>, _Op, _Args...> {
123 using type = _Op<_Args...>;
127 template <template<class...> class _Op, class... _Args>
128 using is_detected = typename _DETECTOR<nonesuch, void, _Op, _Args...>::value_t;
[all …]
D__memory41 template <bool _UsesAlloc, class _Tp, class _Alloc, class ..._Args>
47 template <class _Tp, class _Alloc, class ..._Args>
48 struct __lfts_uses_alloc_ctor_imp<true, _Tp, _Alloc, _Args...>
51 = is_constructible<_Tp, allocator_arg_t, _Alloc, _Args...>::value;
57 is_constructible<_Tp, _Args..., _Alloc>
66 template <class _Tp, class _Alloc, class ..._Args>
71 , _Tp, _Alloc, _Args...
76 template <class _Tp, class _Alloc, class ..._Args>
79 _Tp * __store, const _Alloc & __a, _Args &&... __args)
82 typename __lfts_uses_alloc_ctor<_Tp, _Alloc, _Args...>::type()
[all …]
Dmemory_resource280 template <class ..._Args, size_t ..._Idx>
282 tuple<_Args&&...>
283 __transform_tuple(integral_constant<int, 0>, tuple<_Args...>&& __t,
289 template <class ..._Args, size_t ..._Idx>
291 tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>
292 __transform_tuple(integral_constant<int, 1>, tuple<_Args...> && __t,
295 using _Tup = tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>;
300 template <class ..._Args, size_t ..._Idx>
302 tuple<_Args&&..., polymorphic_allocator&>
303 __transform_tuple(integral_constant<int, 2>, tuple<_Args...> && __t,
[all …]
/external/llvm-project/libcxx/include/
Dany212 template <class _ValueType, class ..._Args,
215 is_constructible<_Tp, _Args...>::value &&
220 explicit any(in_place_type_t<_ValueType>, _Args&&... __args);
222 template <class _ValueType, class _Up, class ..._Args,
225 is_constructible<_Tp, initializer_list<_Up>&, _Args...>::value &&
229 explicit any(in_place_type_t<_ValueType>, initializer_list<_Up>, _Args&&... __args);
257 template <class _ValueType, class ..._Args,
260 is_constructible<_Tp, _Args...>::value &&
264 _Tp& emplace(_Args&&... args);
266 template <class _ValueType, class _Up, class ..._Args,
[all …]
Dscoped_allocator498 template <class _Tp, class... _Args>
500 void construct(_Tp* __p, _Args&& ...__args)
501 {__construct(__uses_alloc_ctor<_Tp, inner_allocator_type&, _Args...>(),
502 __p, _VSTD::forward<_Args>(__args)...);}
578 template <class _Tp, class... _Args>
580 void __construct(integral_constant<int, 0>, _Tp* __p, _Args&& ...__args)
587 _VSTD::forward<_Args>(__args)...
591 template <class _Tp, class... _Args>
593 void __construct(integral_constant<int, 1>, _Tp* __p, _Args&& ...__args)
600 _VSTD::forward<_Args>(__args)...
[all …]
Dvariant621 template <class... _Args>
623 explicit constexpr __alt(in_place_t, _Args&&... __args)
624 : __value(_VSTD::forward<_Args>(__args)...) {}
645 template <class... _Args> \
647 explicit constexpr __union(in_place_index_t<0>, _Args&&... __args) \
648 : __head(in_place, _VSTD::forward<_Args>(__args)...) {} \
650 template <size_t _Ip, class... _Args> \
652 explicit constexpr __union(in_place_index_t<_Ip>, _Args&&... __args) \
653 : __tail(in_place_index<_Ip - 1>, _VSTD::forward<_Args>(__args)...) {} \
686 template <size_t _Ip, class... _Args>
[all …]
D__functional_base298 template <class _Tp, class ..._Args>
301 typedef decltype(__invoke(_VSTD::declval<_Tp>(), _VSTD::declval<_Args>()...)) type;
315 template <class ..._Args>
316 static _Ret __call(_Args&&... __args) {
317 return __invoke(_VSTD::forward<_Args>(__args)...);
346 template <class ..._Args>
347 static void __call(_Args&&... __args) {
348 __invoke(_VSTD::forward<_Args>(__args)...);
610 template <class _Tp, class _Alloc, class ..._Args>
616 is_constructible<_Tp, allocator_arg_t, _Alloc, _Args...>::value;
[all …]
Dtype_traits466 template <template <class...> class _FirstFn, template <class...> class, class ..._Args>
467 using _SelectApplyImpl _LIBCPP_NODEBUG_TYPE = _FirstFn<_Args...>;
484 template <template <class...> class, template <class...> class _SecondFn, class ..._Args>
485 using _SelectApplyImpl _LIBCPP_NODEBUG_TYPE = _SecondFn<_Args...>;
501 template <class ..._Args>
502 …pe _LIBCPP_NODEBUG_TYPE = typename _MetaBase<(sizeof...(_Args) >= 1)>::template _FirstImpl<_Args..…
503 template <class ..._Args>
504 …pe _LIBCPP_NODEBUG_TYPE = typename _MetaBase<(sizeof...(_Args) >= 2)>::template _SecondImpl<_Args.…
506 template <template <class...> class _Func, class ..._Args>
507 struct _Lazy : _Func<_Args...> {};
[all …]
Doptional234 template <class... _Args>
236 constexpr explicit __optional_destruct_base(in_place_t, _Args&&... __args)
237 : __val_(_VSTD::forward<_Args>(__args)...),
269 template <class... _Args>
271 constexpr explicit __optional_destruct_base(in_place_t, _Args&&... __args)
272 : __val_(_VSTD::forward<_Args>(__args)...),
319 template <class... _Args>
321 void __construct(_Args&&... __args)
324 ::new((void*)_VSTD::addressof(this->__val_)) value_type(_VSTD::forward<_Args>(__args)...);
693 template <class _InPlaceT, class... _Args, class = _EnableIf<
[all …]
/external/libcxx/include/
Dany213 template <class _ValueType, class ..._Args,
216 is_constructible<_Tp, _Args...>::value &&
221 explicit any(in_place_type_t<_ValueType>, _Args&&... __args);
223 template <class _ValueType, class _Up, class ..._Args,
226 is_constructible<_Tp, initializer_list<_Up>&, _Args...>::value &&
230 explicit any(in_place_type_t<_ValueType>, initializer_list<_Up>, _Args&&... __args);
258 template <class _ValueType, class ..._Args,
261 is_constructible<_Tp, _Args...>::value &&
265 _Tp& emplace(_Args&&... args);
267 template <class _ValueType, class _Up, class ..._Args,
[all …]
Dscoped_allocator499 template <class _Tp, class... _Args>
501 void construct(_Tp* __p, _Args&& ...__args)
502 {__construct(__uses_alloc_ctor<_Tp, inner_allocator_type&, _Args...>(),
503 __p, _VSTD::forward<_Args>(__args)...);}
579 template <class _Tp, class... _Args>
581 void __construct(integral_constant<int, 0>, _Tp* __p, _Args&& ...__args)
588 _VSTD::forward<_Args>(__args)...
592 template <class _Tp, class... _Args>
594 void __construct(integral_constant<int, 1>, _Tp* __p, _Args&& ...__args)
601 _VSTD::forward<_Args>(__args)...
[all …]
Dvariant618 template <class... _Args>
620 explicit constexpr __alt(in_place_t, _Args&&... __args)
621 : __value(_VSTD::forward<_Args>(__args)...) {}
642 template <class... _Args> \
644 explicit constexpr __union(in_place_index_t<0>, _Args&&... __args) \
645 : __head(in_place, _VSTD::forward<_Args>(__args)...) {} \
647 template <size_t _Ip, class... _Args> \
649 explicit constexpr __union(in_place_index_t<_Ip>, _Args&&... __args) \
650 : __tail(in_place_index<_Ip - 1>, _VSTD::forward<_Args>(__args)...) {} \
683 template <size_t _Ip, class... _Args>
[all …]
D__functional_base299 template <class _Tp, class ..._Args>
302 typedef decltype(__invoke(_VSTD::declval<_Tp>(), _VSTD::declval<_Args>()...)) type;
316 template <class ..._Args>
317 static _Ret __call(_Args&&... __args) {
318 return __invoke(_VSTD::forward<_Args>(__args)...);
347 template <class ..._Args>
348 static void __call(_Args&&... __args) {
349 __invoke(_VSTD::forward<_Args>(__args)...);
611 template <class _Tp, class _Alloc, class ..._Args>
617 is_constructible<_Tp, allocator_arg_t, _Alloc, _Args...>::value;
[all …]
Dtuple482 template <class ..._Args>
495 template <class ..._Args>
497 return __all<is_default_constructible<_Args>::value...>::value;
500 template <class ..._Args>
504 tuple<_Args...>,
506 sizeof...(_Args) < sizeof...(_Tp) ?
507 sizeof...(_Args) :
511 tuple<_Args...>,
513 sizeof...(_Args) < sizeof...(_Tp) ?
514 sizeof...(_Args) :
[all …]
Doptional234 template <class... _Args>
236 constexpr explicit __optional_destruct_base(in_place_t, _Args&&... __args)
237 : __val_(_VSTD::forward<_Args>(__args)...),
269 template <class... _Args>
271 constexpr explicit __optional_destruct_base(in_place_t, _Args&&... __args)
272 : __val_(_VSTD::forward<_Args>(__args)...),
319 template <class... _Args>
321 void __construct(_Args&&... __args)
324 ::new((void*)_VSTD::addressof(this->__val_)) value_type(_VSTD::forward<_Args>(__args)...);
691 template <class... _Args, class = enable_if_t<
[all …]
/external/clang/test/PCH/
Dcxx-variadic-templates.h5 template<class _Alloc, class ..._Args>
8 allocate_shared(const _Alloc& __a, _Args&& ...__args);
12 template<class _Alloc, class ..._Args>
14 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _Args&& ...__args) in allocate_shared()
/external/llvm-project/clang/test/PCH/
Dcxx-variadic-templates.h5 template<class _Alloc, class ..._Args>
8 allocate_shared(const _Alloc& __a, _Args&& ...__args);
12 template<class _Alloc, class ..._Args>
14 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _Args&& ...__args) in allocate_shared()
/external/llvm-project/clang/test/Index/Core/
Dindex-pch.cpp6 template <class _Default, class _AlwaysVoid, template <class...> class _Op, class... _Args>
16 template <template<class...> class _Op, class... _Args>
17 using is_detected = typename DETECTOR<nonesuch, void, _Op, _Args...>::value_t;
/external/llvm-project/clang/test/SemaCXX/
DPR9902.cpp9 template <template <class, class...> class _Alloc, class _Tp, class ..._Args,
11 struct __allocator_traits_rebind<_Alloc<_Tp, _Args...>, _Up, false>
13 typedef _Alloc<_Up, _Args...> type;
/external/clang/test/SemaCXX/
DPR9902.cpp9 template <template <class, class...> class _Alloc, class _Tp, class ..._Args,
11 struct __allocator_traits_rebind<_Alloc<_Tp, _Args...>, _Up, false>
13 typedef _Alloc<_Up, _Args...> type;
/external/googletest/googlemock/include/gmock/internal/
Dgmock-pp.h171 #define GMOCK_PP_INTERNAL_16TH(_Args) \ argument
172 GMOCK_PP_IDENTITY(GMOCK_PP_INTERNAL_INTERNAL_16TH _Args)
174 #define GMOCK_PP_INTERNAL_HEAD(_Args) \ argument
175 GMOCK_PP_IDENTITY(GMOCK_PP_INTERNAL_INTERNAL_HEAD _Args)
177 #define GMOCK_PP_INTERNAL_TAIL(_Args) \ argument
178 GMOCK_PP_IDENTITY(GMOCK_PP_INTERNAL_INTERNAL_TAIL _Args)
/external/googletest/googlemock/include/gmock/
Dgmock-function-mocker.h86 #define GMOCK_INTERNAL_MOCK_METHOD_ARG_3(_Ret, _MethodName, _Args) \ argument
87 GMOCK_INTERNAL_MOCK_METHOD_ARG_4(_Ret, _MethodName, _Args, ())
89 #define GMOCK_INTERNAL_MOCK_METHOD_ARG_4(_Ret, _MethodName, _Args, _Spec) \ argument
90 GMOCK_INTERNAL_ASSERT_PARENTHESIS(_Args); \
93 GMOCK_PP_NARG0 _Args, GMOCK_INTERNAL_SIGNATURE(_Ret, _Args)); \
96 GMOCK_PP_NARG0 _Args, _MethodName, GMOCK_INTERNAL_HAS_CONST(_Spec), \
100 (GMOCK_INTERNAL_SIGNATURE(_Ret, _Args)))
275 #define GMOCK_INTERNAL_SIGNATURE(_Ret, _Args) \ argument
279 GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_GET_TYPE, _, _Args))

1234