Home
last modified time | relevance | path

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

/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/protobuf/gtest/scripts/
Dgen_gtest_pred_impl.py164 def Arity(n): function
213 'arity' : Arity(n),
214 'Arity' : Title(Arity(n))
427 'arity' : Arity(n),
428 'Arity' : Title(Arity(n)),
/external/google-breakpad/src/testing/gtest/scripts/
Dgen_gtest_pred_impl.py164 def Arity(n): function
213 'arity' : Arity(n),
214 'Arity' : Title(Arity(n))
425 'arity' : Arity(n),
426 'Arity' : Title(Arity(n)),
/external/clang/lib/AST/
DItaniumMangle.cpp367 void mangleOperatorName(DeclarationName Name, unsigned Arity);
368 void mangleOperatorName(OverloadedOperatorKind OO, unsigned Arity);
396 void mangleExpression(const Expr *E, unsigned Arity = UnknownArity);
928 unsigned Arity = KnownArity; in mangleUnqualifiedName() local
1071 if (ND && Arity == UnknownArity) { in mangleUnqualifiedName()
1072 Arity = cast<FunctionDecl>(ND)->getNumParams(); in mangleUnqualifiedName()
1077 Arity++; in mangleUnqualifiedName()
1082 mangleOperatorName(Name, Arity); in mangleUnqualifiedName()
1628 void CXXNameMangler::mangleOperatorName(DeclarationName Name, unsigned Arity) { in mangleOperatorName() argument
1651 mangleOperatorName(Name.getCXXOverloadedOperator(), Arity); in mangleOperatorName()
[all …]
/external/v8/src/
Dtypes.cc417 if (this_fun->Arity() != that_fun->Arity() || in SimplyEquals()
422 for (int i = 0; i < this_fun->Arity(); ++i) { in SimplyEquals()
965 res, rcv, type->AsFunction()->Arity(), region); in Convert()
966 for (int i = 0; i < function->Arity(); ++i) { in Convert()
1077 for (int i = 0; i < this->AsFunction()->Arity(); ++i) { in PrintTo()
Dtypes.h853 int Arity() { return this->Length() - 2; } in Arity() function
/external/llvm/include/llvm/Target/
DTargetOptions.h45 Arity, // Use one table per number of function parameters. enumerator
/external/llvm/include/llvm/CodeGen/
DCommandFlags.h221 clEnumValN(JumpTable::Arity, "arity",
/external/clang/lib/Parse/
DParseExprCXX.cpp2894 unsigned Arity = TypeTraitArity(Kind); in ParseTypeTrait() local
2929 if (Arity && Args.size() != Arity) { in ParseTypeTrait()
2931 << Arity << 0 << (Arity > 1) << (int)Args.size() << SourceRange(Loc); in ParseTypeTrait()
2935 if (!Arity && Args.empty()) { in ParseTypeTrait()
/external/v8/test/cctest/
Dtest-types.cc308 for (int i = 0; i < type->AsFunction()->Arity(); ++i) { in Fuzz()
677 CHECK_EQ(0, function0->AsFunction()->Arity()); in Function()
678 CHECK_EQ(1, function1->AsFunction()->Arity()); in Function()
679 CHECK_EQ(2, function2->AsFunction()->Arity()); in Function()