Home
last modified time | relevance | path

Searched refs:Arity (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_7.pass.cpp168 template <class ClassType, class CallSig, int Arity,
174 BasicTest<MID, Arity, ObjCaster, ArgCaster> t; in run()
190 template <class CallSig, CallSig* FnPtr, int Arity, class ArgCaster>
195 BasicTest<FID, Arity, LValueCaster, ArgCaster> t; in run()
211 template <class Sig, int Arity, class ArgCaster>
213 TestCaseFreeFunction<Sig, freeFunction11, Arity, ArgCaster>(); in runFunctionTestCase11()
217 template <class Sig, int Arity, class ArgCaster>
219 TestCaseFreeFunction<Sig, freeFunction03, Arity, ArgCaster>(); in runFunctionTestCase()
221 runFunctionTestCase11<Sig, Arity, ArgCaster>(); in runFunctionTestCase()
225 template <class Sig, int Arity, class ObjCaster, class ArgCaster>
[all …]
Dbullet_1_2_3.pass.cpp137 template <class ClassType, class CallSig, int Arity, class CV,
216 BasicTest<MethodID<MemPtr>, Arity, SCast, ACast> b; in runTest()
226 BasicTest<MethodID<MemPtr>, Arity, SCast, ACast> b; in runTest()
236 BasicTest<MethodID<MemPtr>, Arity, SCast, ACast> b; in runTest()
241 template <class Sig, int Arity, class CV>
242 struct TestCase : public TestCaseImp<MemFun03, Sig, Arity, CV> {};
245 template <class Sig, int Arity, class CV, bool RValue = false>
246 struct TestCase11 : public TestCaseImp<MemFun11, Sig, Arity, CV, RValue, true> {};
Dinvoke_helpers.h251 template <class ID, int Arity, class ObjectCaster = LValueCaster,
256 Int<Arity> A; in runTest()
262 Int<Arity> A; in runTest()
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_7.pass.cpp169 template <class ClassType, class CallSig, int Arity,
175 BasicTest<MID, Arity, ObjCaster, ArgCaster> t; in run()
191 template <class CallSig, CallSig* FnPtr, int Arity, class ArgCaster>
196 BasicTest<FID, Arity, LValueCaster, ArgCaster> t; in run()
212 template <class Sig, int Arity, class ArgCaster>
214 TestCaseFreeFunction<Sig, freeFunction11, Arity, ArgCaster>(); in runFunctionTestCase11()
218 template <class Sig, int Arity, class ArgCaster>
220 TestCaseFreeFunction<Sig, freeFunction03, Arity, ArgCaster>(); in runFunctionTestCase()
222 runFunctionTestCase11<Sig, Arity, ArgCaster>(); in runFunctionTestCase()
226 template <class Sig, int Arity, class ObjCaster, class ArgCaster>
[all …]
Dbullet_1_2_3.pass.cpp138 template <class ClassType, class CallSig, int Arity, class CV,
217 BasicTest<MethodID<MemPtr>, Arity, SCast, ACast> b; in runTest()
227 BasicTest<MethodID<MemPtr>, Arity, SCast, ACast> b; in runTest()
237 BasicTest<MethodID<MemPtr>, Arity, SCast, ACast> b; in runTest()
242 template <class Sig, int Arity, class CV>
243 struct TestCase : public TestCaseImp<MemFun03, Sig, Arity, CV> {};
246 template <class Sig, int Arity, class CV, bool RValue = false>
247 struct TestCase11 : public TestCaseImp<MemFun11, Sig, Arity, CV, RValue, true> {};
Dinvoke_helpers.h252 template <class ID, int Arity, class ObjectCaster = LValueCaster,
257 Int<Arity> A; in runTest()
263 Int<Arity> A; in runTest()
/external/libcxx/test/support/
Duses_alloc_types.hpp268 template <class Alloc, size_t Arity>
269 class UsesAllocatorV1 : public UsesAllocatorTestBase<UsesAllocatorV1<Alloc, Arity>, Alloc>
284 template <class ...Args, EnableIfB<sizeof...(Args) == Arity> = false>
294 template <class First, class ...Args, EnableIfB<sizeof...(Args) == Arity> Dummy = false>
302 template <class Alloc, size_t Arity>
303 class UsesAllocatorV2 : public UsesAllocatorTestBase<UsesAllocatorV2<Alloc, Arity>, Alloc>
318 template <class ...Args, EnableIfB<sizeof...(Args) == Arity> = false>
322 template <class ...Args, EnableIfB<sizeof...(Args) == Arity + 1> = false>
328 template <class Alloc, size_t Arity>
329 class UsesAllocatorV3 : public UsesAllocatorTestBase<UsesAllocatorV3<Alloc, Arity>, Alloc>
[all …]
/external/llvm-project/libcxx/test/support/
Duses_alloc_types.h267 template <class Alloc, size_t Arity>
268 class UsesAllocatorV1 : public UsesAllocatorTestBase<UsesAllocatorV1<Alloc, Arity>, Alloc>
283 template <class ...Args, EnableIfB<sizeof...(Args) == Arity> = false>
293 template <class First, class ...Args, EnableIfB<sizeof...(Args) == Arity> Dummy = false>
301 template <class Alloc, size_t Arity>
302 class UsesAllocatorV2 : public UsesAllocatorTestBase<UsesAllocatorV2<Alloc, Arity>, Alloc>
317 template <class ...Args, EnableIfB<sizeof...(Args) == Arity> = false>
321 template <class ...Args, EnableIfB<sizeof...(Args) == Arity + 1> = false>
327 template <class Alloc, size_t Arity>
328 class UsesAllocatorV3 : public UsesAllocatorTestBase<UsesAllocatorV3<Alloc, Arity>, Alloc>
[all …]
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dmetafunctions.cpp238 struct Arity;
241 struct Arity<R(Types...)> { struct
246 …struct Arity<R(Types......)> { // expected-warning {{varargs}} expected-note {{pack}} expected-not… struct
251 struct Arity<R(T1, T2, T3, T4)>; // expected-note{{template is declared here}}
253 int check0[Arity<int()>::value == 0? 1 : -1];
254 int check1[Arity<int(float, double)>::value == 2? 1 : -1];
255 int check2[Arity<int(float...)>::value == 1? 1 : -1];
256 int check3[Arity<int(float, double, long double...)>::value == 3? 1 : -1];
257Arity<int(float, double, long double, char)> check4; // expected-error{{implicit instantiation of … argument
/external/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/
Dmetafunctions.cpp238 struct Arity;
241 struct Arity<R(Types...)> { struct
246 …struct Arity<R(Types......)> { // expected-warning {{varargs}} expected-note {{pack}} expected-not… struct
251 struct Arity<R(T1, T2, T3, T4)>; // expected-note{{template is declared here}}
253 int check0[Arity<int()>::value == 0? 1 : -1];
254 int check1[Arity<int(float, double)>::value == 2? 1 : -1];
255 int check2[Arity<int(float...)>::value == 1? 1 : -1];
256 int check3[Arity<int(float, double, long double...)>::value == 3? 1 : -1];
257Arity<int(float, double, long double, char)> check4; // expected-error{{implicit instantiation of … argument
/external/googletest/googletest/scripts/
Dgen_gtest_pred_impl.py165 def Arity(n): function
214 'arity' : Arity(n),
215 'Arity' : Title(Arity(n))
429 'arity' : Arity(n),
430 'Arity' : Title(Arity(n)),
/external/tensorflow/tensorflow/stream_executor/
Dkernel.cc83 unsigned KernelBase::Arity() const { return implementation_->Arity(); } in Arity() function in stream_executor::KernelBase
Dstream_executor_internal.h97 virtual unsigned Arity() const = 0;
/external/clang/lib/AST/
DItaniumMangle.cpp510 void mangleOperatorName(DeclarationName Name, unsigned Arity);
511 void mangleOperatorName(OverloadedOperatorKind OO, unsigned Arity);
543 void mangleExpression(const Expr *E, unsigned Arity = UnknownArity);
1190 unsigned Arity = KnownArity; in mangleUnqualifiedName() local
1361 if (ND && Arity == UnknownArity) { in mangleUnqualifiedName()
1362 Arity = cast<FunctionDecl>(ND)->getNumParams(); in mangleUnqualifiedName()
1367 Arity++; in mangleUnqualifiedName()
1372 mangleOperatorName(Name, Arity); in mangleUnqualifiedName()
1940 void CXXNameMangler::mangleOperatorName(DeclarationName Name, unsigned Arity) { in mangleOperatorName() argument
1963 mangleOperatorName(Name.getCXXOverloadedOperator(), Arity); in mangleOperatorName()
[all …]
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyBuilder.java94 if (block.arity() == Arity.ONE_ARGUMENT) { in addMessage()
123 if (block.arity() == Arity.ONE_ARGUMENT) { in addEnum()
DRubyDescriptorPool.java76 if (block.arity() == Arity.ONE_ARGUMENT) { in build()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dcpu_gpu_fusion_test.cc64 template <typename T, int Arity>
70 Array2D<float> operand_data[Arity]; in TestElementwise2D()
71 for (int i = 0; i < Arity; ++i) { in TestElementwise2D()
77 float xs[Arity]; in TestElementwise2D()
78 for (int k = 0; k < Arity; ++k) { in TestElementwise2D()
96 for (int i = 0; i < Arity; ++i) { in TestElementwise2D()
103 switch (Arity) { in TestElementwise2D()
121 LOG(FATAL) << "Bad arity: " << Arity; in TestElementwise2D()
126 absl::Span<HloInstruction* const>(hlos).subspan(0, Arity + 1), in TestElementwise2D()
/external/llvm/lib/Fuzzer/
DFuzzerFnAdapter.h149 enum { Arity = sizeof...(Args) };
164 auto S = typename GenSeq<FnTraits<Fn>::Arity>::type();
/external/llvm-project/clang/lib/AST/
DItaniumMangle.cpp506 void mangleOperatorName(DeclarationName Name, unsigned Arity);
507 void mangleOperatorName(OverloadedOperatorKind OO, unsigned Arity);
550 void mangleExpression(const Expr *E, unsigned Arity = UnknownArity);
1269 unsigned Arity = KnownArity; in mangleUnqualifiedName() local
1500 if (ND && Arity == UnknownArity) { in mangleUnqualifiedName()
1501 Arity = cast<FunctionDecl>(ND)->getNumParams(); in mangleUnqualifiedName()
1506 Arity++; in mangleUnqualifiedName()
1511 mangleOperatorName(Name, Arity); in mangleUnqualifiedName()
2194 void CXXNameMangler::mangleOperatorName(DeclarationName Name, unsigned Arity) { in mangleOperatorName() argument
2218 mangleOperatorName(Name.getCXXOverloadedOperator(), Arity); in mangleOperatorName()
[all …]
/external/tensorflow/tensorflow/stream_executor/gpu/
Dgpu_kernel.h50 unsigned Arity() const override { return arity_; } in Arity() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetOptions.h42 Arity, // Use one table per number of function parameters. enumerator
/external/llvm/include/llvm/Target/
DTargetOptions.h45 Arity, // Use one table per number of function parameters. enumerator
/external/llvm-project/llvm/include/llvm/Target/
DTargetOptions.h46 Arity, // Use one table per number of function parameters. enumerator
/external/clang/lib/Parse/
DParseExprCXX.cpp2978 unsigned Arity = TypeTraitArity(Kind); in ParseTypeTrait() local
3013 if (Arity && Args.size() != Arity) { in ParseTypeTrait()
3015 << Arity << 0 << (Arity > 1) << (int)Args.size() << SourceRange(Loc); in ParseTypeTrait()
3019 if (!Arity && Args.empty()) { in ParseTypeTrait()
/external/llvm/include/llvm/CodeGen/
DCommandFlags.h257 clEnumValN(JumpTable::Arity, "arity",

12