/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | injected-class-name.cpp | 49 template<typename R, typename ...ArgTypes> 50 struct X<R(ArgTypes...)> { 51 X<R(ArgTypes...)> f(); 54 template<typename R, typename ...ArgTypes> 55 X<R(ArgTypes...)> X<R(ArgTypes...)>::f() { return *this; } in f() 61 template<typename ...ArgTypes> int g(ArgTypes...); 65 template<typename R, typename ...ArgTypes> 66 struct X1<R(ArgTypes...)> { 67 unsigned_c<sizeof(1 + g(ArgTypes()...))> f(); 70 template<typename R, typename ...ArgTypes> [all …]
|
/external/pigweed/third_party/fuchsia/repo/sdk/lib/fit/include/lib/fit/ |
D | traits.h | 56 template <typename FunctorType, typename ReturnType, typename... ArgTypes> 57 struct callable_traits<ReturnType (FunctorType::*)(ArgTypes...)> 58 : public callable_traits<ReturnType (FunctorType::*)(ArgTypes...) const> {}; 61 template <typename FunctorType, typename ReturnType, typename... ArgTypes> 62 struct callable_traits<ReturnType (FunctorType::*)(ArgTypes...) const> 63 : public callable_traits<ReturnType (*)(ArgTypes...)> { 68 template <typename ReturnType, typename... ArgTypes> 69 struct callable_traits<ReturnType (*)(ArgTypes...)> 70 : public callable_traits<ReturnType(ArgTypes...)> { 71 using type = ReturnType (*)(ArgTypes...); [all …]
|
/external/libchrome/base/task_scheduler/ |
D | task_traits_details.h | 18 template <class CheckedType, class FirstArgType, class... ArgTypes> 19 struct HasArgOfType<CheckedType, FirstArgType, ArgTypes...> 22 HasArgOfType<CheckedType, ArgTypes...>>::type {}; 52 class... ArgTypes, 60 const ArgTypes&... args) { 61 static_assert(!HasArgOfType<FirstArgType, ArgTypes...>::value, 68 template <class GetterType, class FirstArgType, class... ArgTypes> 73 const ArgTypes&... args) { 98 template <class GetterType, class... ArgTypes> 101 const ArgTypes&... args) {
|
D | task_traits.h | 148 template <class... ArgTypes, 150 decltype(ValidTrait(std::declval<ArgTypes>()))...>> 151 constexpr TaskTraits(ArgTypes... args) in TaskTraits() 153 internal::HasArgOfType<TaskPriority, ArgTypes...>::value), in TaskTraits() 158 internal::HasArgOfType<TaskShutdownBehavior, ArgTypes...>::value), in TaskTraits()
|
/external/cronet/base/ |
D | traits_bag_unittest.cc | 30 template <class... ArgTypes, 32 trait_helpers::AreValidTraits<ValidTrait, ArgTypes...>::value>> 33 constexpr TestTraits(ArgTypes... args) in TestTraits() 34 : has_example_trait(trait_helpers::HasTrait<ExampleTrait, ArgTypes...>()), in TestTraits() 47 template <class... ArgTypes, 49 trait_helpers::AreValidTraits<ValidTrait, ArgTypes...>::value>> 50 constexpr FilteredTestTraits(ArgTypes... args) in FilteredTestTraits() 61 template <class... ArgTypes, 63 trait_helpers::AreValidTraits<ValidTrait, ArgTypes...>::value>> 64 constexpr RequiredEnumTestTraits(ArgTypes... args) in RequiredEnumTestTraits() [all …]
|
D | traits_bag.h | 129 class... ArgTypes, 131 {std::is_constructible<TraitFilterType, ArgTypes>::value...})>> 133 ArgTypes... args) { in GetTraitFromArgListImpl() 138 template <class TraitFilterType, class... ArgTypes> 140 ArgTypes... args) { in GetTraitFromArgListImpl() 150 template <class TraitFilterType, class... ArgTypes> 152 ArgTypes... args) { in GetTraitFromArgList() 154 count({std::is_constructible<TraitFilterType, ArgTypes>::value...}, in GetTraitFromArgList() 216 template <class ValidTraits, class... ArgTypes> 218 std::bool_constant<all_of({IsValidTrait<ValidTraits, ArgTypes>::value...})>;
|
D | traits_bag_unittest.nc | 29 template <class... ArgTypes, 31 trait_helpers::AreValidTraits<ValidTrait, ArgTypes...>::value>> 32 constexpr TestTraits(ArgTypes... args) 34 boolean_trait(trait_helpers::HasTrait<BooleanTrait, ArgTypes...>()) {}
|
/external/cronet/base/task/ |
D | task_traits.h | 234 template <class... ArgTypes, 236 trait_helpers::AreValidTraits<ValidTrait, ArgTypes...>::value>> 239 constexpr TaskTraits(ArgTypes... args) in TaskTraits() 248 (trait_helpers::HasTrait<TaskShutdownBehavior, ArgTypes...>() in TaskTraits() 256 (trait_helpers::HasTrait<ThreadPolicy, ArgTypes...>() in TaskTraits() 259 may_block_(trait_helpers::HasTrait<MayBlock, ArgTypes...>()), in TaskTraits() 261 trait_helpers::HasTrait<WithBaseSyncPrimitives, ArgTypes...>()) {} in TaskTraits()
|
/external/clang/lib/CodeGen/ |
D | CGCUDABuiltin.cpp | 25 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), in GetVprintfDeclaration() local 28 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetVprintfDeclaration() 99 llvm::SmallVector<llvm::Type *, 8> ArgTypes; in EmitCUDADevicePrintfCallExpr() local 101 ArgTypes.push_back(Args[I].RV.getScalarVal()->getType()); in EmitCUDADevicePrintfCallExpr() 102 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); in EmitCUDADevicePrintfCallExpr()
|
D | ObjectFilePCHContainerOperations.cpp | 107 SmallVector<QualType, 16> ArgTypes; in VisitFunctionDecl() local 109 ArgTypes.push_back(i->getType()); in VisitFunctionDecl() 111 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() 123 SmallVector<QualType, 16> ArgTypes; in VisitObjCMethodDecl() local 124 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl() 126 ArgTypes.push_back(Ctx.getObjCSelType()); in VisitObjCMethodDecl() 128 ArgTypes.push_back(i->getType()); in VisitObjCMethodDecl() 130 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
|
/external/libcxx/test/support/ |
D | uses_alloc_types.hpp | 86 template <class ...ArgTypes, class TestType> 94 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct() 96 return value.template checkConstruct<ArgTypes&&...>(form, alloc); in checkConstruct() 101 template <class ...ArgTypes, class TestType> 103 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct() 191 template <class ...ArgTypes> 193 auto expectArgs = &makeArgumentID<ArgTypes...>(); in checkConstruct() 198 template <class ...ArgTypes> 201 auto ExpectID = &makeArgumentID<ArgTypes...>() ; in checkConstruct()
|
/external/cronet/buildtools/third_party/libc++/trunk/include/ |
D | functional | 58 template <class... ArgTypes> 59 constexpr typename result_of<T&(ArgTypes&&...)>::type // constexpr since C++20 60 operator() (ArgTypes&&...) const 61 noexcept(is_nothrow_invocable_v<T&, ArgTypes...>); // noexcept since C++17 392 template<class R, class... ArgTypes> 393 class function<R(ArgTypes...)> 394 : public unary_function<T1, R> // iff sizeof...(ArgTypes) == 1 and 395 // ArgTypes contains T1 396 : public binary_function<T1, T2, R> // iff sizeof...(ArgTypes) == 2 and 397 // ArgTypes contains T1 and T2 [all …]
|
D | type_traits | 152 template <class Fn, class... ArgTypes> struct is_invocable; 153 template <class R, class Fn, class... ArgTypes> struct is_invocable_r; 155 template <class Fn, class... ArgTypes> struct is_nothrow_invocable; 156 template <class R, class Fn, class... ArgTypes> struct is_nothrow_invocable_r; 169 …template <class Fn, class... ArgTypes> class result_of<Fn(ArgTypes...)>; // deprecated in C++17; r… 170 template <class Fn, class... ArgTypes> struct invoke_result; // C++17 237 template <class Fn, class... ArgTypes> 238 using invoke_result_t = typename invoke_result<Fn, ArgTypes...>::type; // C++17 396 template <class Fn, class... ArgTypes> inline constexpr bool is_invocable_v 397 = is_invocable<Fn, ArgTypes...>::value; // C++17 [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/support/ |
D | uses_alloc_types.h | 74 template <class ...ArgTypes, class TestType> 82 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct() 84 return value.template checkConstruct<ArgTypes&&...>(form, alloc); in checkConstruct() 89 template <class ...ArgTypes, class TestType> 91 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct() 179 template <class ...ArgTypes> 181 auto expectArgs = &makeArgumentID<ArgTypes...>(); 189 template <class ...ArgTypes> 192 auto ExpectID = &makeArgumentID<ArgTypes...>() ;
|
/external/llvm/unittests/IR/ |
D | FunctionTest.cpp | 19 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST() local 20 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST() 41 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST() local 42 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST()
|
/external/libcxx/include/experimental/ |
D | functional | 31 template<class R, class... ArgTypes> class function<R(ArgTypes...)>; 33 template<class R, class... ArgTypes> 34 void swap(function<R(ArgTypes...)>&, function<R(ArgTypes...)>&); 36 template<class R, class... ArgTypes> 37 bool operator==(const function<R(ArgTypes...)>&, nullptr_t) noexcept; 38 template<class R, class... ArgTypes> 39 bool operator==(nullptr_t, const function<R(ArgTypes...)>&) noexcept; 40 template<class R, class... ArgTypes> 41 bool operator!=(const function<R(ArgTypes...)>&, nullptr_t) noexcept; 42 template<class R, class... ArgTypes> [all …]
|
D | type_traits | 26 template <class F, class... ArgTypes> class invocation_type<F(ArgTypes...)>; 28 template <class F, class... ArgTypes> class raw_invocation_type<F(ArgTypes...)>;
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
D | p21.cpp | 11 template<class R, class ... ArgTypes> struct X<R(int, ArgTypes ...)> {
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 273 SmallVector<Type *, 8> ArgTypes; in addImplicitArgs() local 281 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs() 289 ArgTypes.push_back(ImageSizeType); in addImplicitArgs() 294 ArgTypes.push_back(ImageFormatType); in addImplicitArgs() 305 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false); in addImplicitArgs()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 257 SmallVector<Type *, 8> ArgTypes; in addImplicitArgs() local 265 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs() 273 ArgTypes.push_back(ImageSizeType); in addImplicitArgs() 278 ArgTypes.push_back(ImageFormatType); in addImplicitArgs() 289 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false); in addImplicitArgs()
|
/external/clang/test/CodeGenCXX/ |
D | mangle-variadic-templates.cpp | 55 template<typename R, typename ...ArgTypes> identity<R(ArgTypes...)> f5() {} in f5()
|
/external/pigweed/pw_tokenizer/public/pw_tokenizer/ |
D | encode_args.h | 69 template <typename... ArgTypes> 72 internal::ArgEncodedSizeBytes<ArgTypes>()); in MinEncodingBufferSizeBytes()
|
/external/cronet/buildtools/third_party/libc++/trunk/include/experimental/ |
D | type_traits | 25 template <class F, class... ArgTypes> class invocation_type<F(ArgTypes...)>; 27 template <class F, class... ArgTypes> class raw_invocation_type<F(ArgTypes...)>;
|
/external/llvm/include/llvm/ADT/ |
D | Optional.h | 74 template<typename ...ArgTypes> 75 void emplace(ArgTypes &&...Args) { in emplace() 78 new (storage.buffer) T(std::forward<ArgTypes>(Args)...); in emplace()
|
/external/angle/src/libANGLE/ |
D | ResourceManager.h | 88 template <typename... ArgTypes> 91 ArgTypes... args) in checkObjectAllocation() 112 template <typename... ArgTypes> 115 ArgTypes... args) in checkObjectAllocationImpl()
|