Home
last modified time | relevance | path

Searched refs:ParamType (Results 1 – 25 of 50) sorted by relevance

12

/external/clang/include/clang/ASTMatchers/
DASTMatchersMacros.h61 #define AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) \ argument
62 AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, Param, \
64 #define AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, \ argument
66 inline ReturnType DefineMatcher(ParamType const &Param); \
67 typedef ReturnType (&DefineMatcher##_Type##OverloadId)(ParamType const &); \
68 inline ReturnType DefineMatcher(ParamType const &Param)
111 #define AST_MATCHER_P(Type, DefineMatcher, ParamType, Param) \ argument
112 AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, 0)
114 #define AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, \ argument
121 ParamType const &A##Param) \
[all …]
/external/protobuf/gtest/include/gtest/internal/
Dgtest-param-util.h143 typedef T ParamType; typedef
354 typedef typename TestClass::ParamType ParamType; typedef
355 explicit ParameterizedTestFactory(ParamType parameter) : in ParameterizedTestFactory()
363 const ParamType parameter_;
372 template <class ParamType>
377 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) = 0;
390 : public TestMetaFactoryBase<typename TestCase::ParamType> {
392 typedef typename TestCase::ParamType ParamType; typedef
396 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) { in CreateTestFactory()
448 typedef typename TestCase::ParamType ParamType; typedef
[all …]
Dgtest-param-util-generated.h.pump133 typedef ::std::tr1::tuple<$for j, [[T$j]]> ParamType;
139 virtual ParamIteratorInterface<ParamType>* Begin() const {
142 virtual ParamIteratorInterface<ParamType>* End() const {
147 class Iterator : public ParamIteratorInterface<ParamType> {
149 Iterator(const ParamGeneratorInterface<ParamType>* base, $for j, [[
162 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const {
180 virtual ParamIteratorInterface<ParamType>* Clone() const {
183 virtual const ParamType* Current() const { return &current_value_; }
184 virtual bool Equals(const ParamIteratorInterface<ParamType>& other) const {
215 current_value_ = ParamType($for j, [[*current$(j)_]]);
[all …]
Dgtest-param-util-generated.h2839 typedef ::std::tr1::tuple<T1, T2> ParamType; typedef
2846 virtual ParamIteratorInterface<ParamType>* Begin() const { in Begin()
2849 virtual ParamIteratorInterface<ParamType>* End() const { in End()
2854 class Iterator : public ParamIteratorInterface<ParamType> {
2856 Iterator(const ParamGeneratorInterface<ParamType>* base, in Iterator()
2868 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const { in BaseGenerator()
2882 virtual ParamIteratorInterface<ParamType>* Clone() const { in Clone()
2885 virtual const ParamType* Current() const { return &current_value_; } in Current()
2886 virtual bool Equals(const ParamIteratorInterface<ParamType>& other) const { in Equals()
2917 current_value_ = ParamType(*current1_, *current2_); in ComputeCurrentValue()
[all …]
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-param-util.h144 typedef T ParamType; typedef
355 typedef typename TestClass::ParamType ParamType; typedef
356 explicit ParameterizedTestFactory(ParamType parameter) : in ParameterizedTestFactory()
364 const ParamType parameter_;
373 template <class ParamType>
378 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) = 0;
391 : public TestMetaFactoryBase<typename TestCase::ParamType> {
393 typedef typename TestCase::ParamType ParamType; typedef
397 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) { in CreateTestFactory()
449 typedef typename TestCase::ParamType ParamType; typedef
[all …]
Dgtest-param-util-generated.h.pump133 typedef ::std::tr1::tuple<$for j, [[T$j]]> ParamType;
139 virtual ParamIteratorInterface<ParamType>* Begin() const {
142 virtual ParamIteratorInterface<ParamType>* End() const {
147 class Iterator : public ParamIteratorInterface<ParamType> {
149 Iterator(const ParamGeneratorInterface<ParamType>* base, $for j, [[
162 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const {
180 virtual ParamIteratorInterface<ParamType>* Clone() const {
183 virtual const ParamType* Current() const { return &current_value_; }
184 virtual bool Equals(const ParamIteratorInterface<ParamType>& other) const {
215 current_value_ = ParamType($for j, [[*current$(j)_]]);
[all …]
Dgtest-param-util-generated.h2841 typedef ::std::tr1::tuple<T1, T2> ParamType; typedef
2848 virtual ParamIteratorInterface<ParamType>* Begin() const { in Begin()
2851 virtual ParamIteratorInterface<ParamType>* End() const { in End()
2856 class Iterator : public ParamIteratorInterface<ParamType> {
2858 Iterator(const ParamGeneratorInterface<ParamType>* base, in Iterator()
2870 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const { in BaseGenerator()
2884 virtual ParamIteratorInterface<ParamType>* Clone() const { in Clone()
2887 virtual const ParamType* Current() const { return &current_value_; } in Current()
2888 virtual bool Equals(const ParamIteratorInterface<ParamType>& other) const { in Equals()
2919 current_value_ = ParamType(*current1_, *current2_); in ComputeCurrentValue()
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-param-util.h144 typedef T ParamType; typedef
355 typedef typename TestClass::ParamType ParamType; typedef
356 explicit ParameterizedTestFactory(ParamType parameter) : in ParameterizedTestFactory()
364 const ParamType parameter_;
373 template <class ParamType>
378 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) = 0;
391 : public TestMetaFactoryBase<typename TestCase::ParamType> {
393 typedef typename TestCase::ParamType ParamType; typedef
397 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) { in CreateTestFactory()
449 typedef typename TestCase::ParamType ParamType; typedef
[all …]
Dgtest-param-util-generated.h.pump133 typedef ::std::tr1::tuple<$for j, [[T$j]]> ParamType;
139 virtual ParamIteratorInterface<ParamType>* Begin() const {
142 virtual ParamIteratorInterface<ParamType>* End() const {
147 class Iterator : public ParamIteratorInterface<ParamType> {
149 Iterator(const ParamGeneratorInterface<ParamType>* base, $for j, [[
162 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const {
180 virtual ParamIteratorInterface<ParamType>* Clone() const {
183 virtual const ParamType* Current() const { return &current_value_; }
184 virtual bool Equals(const ParamIteratorInterface<ParamType>& other) const {
215 current_value_ = ParamType($for j, [[*current$(j)_]]);
[all …]
Dgtest-param-util-generated.h3162 typedef ::std::tr1::tuple<T1, T2> ParamType; typedef
3169 virtual ParamIteratorInterface<ParamType>* Begin() const { in Begin()
3172 virtual ParamIteratorInterface<ParamType>* End() const { in End()
3177 class Iterator : public ParamIteratorInterface<ParamType> {
3179 Iterator(const ParamGeneratorInterface<ParamType>* base, in Iterator()
3191 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const { in BaseGenerator()
3205 virtual ParamIteratorInterface<ParamType>* Clone() const { in Clone()
3208 virtual const ParamType* Current() const { return &current_value_; } in Current()
3209 virtual bool Equals(const ParamIteratorInterface<ParamType>& other) const { in Equals()
3240 current_value_ = ParamType(*current1_, *current2_); in ComputeCurrentValue()
[all …]
/external/gtest/include/gtest/internal/
Dgtest-param-util.h144 typedef T ParamType; typedef
355 typedef typename TestClass::ParamType ParamType; typedef
356 explicit ParameterizedTestFactory(ParamType parameter) : in ParameterizedTestFactory()
364 const ParamType parameter_;
373 template <class ParamType>
378 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) = 0;
391 : public TestMetaFactoryBase<typename TestCase::ParamType> {
393 typedef typename TestCase::ParamType ParamType; typedef
397 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) { in CreateTestFactory()
449 typedef typename TestCase::ParamType ParamType; typedef
[all …]
Dgtest-param-util-generated.h.pump133 typedef ::std::tr1::tuple<$for j, [[T$j]]> ParamType;
139 virtual ParamIteratorInterface<ParamType>* Begin() const {
142 virtual ParamIteratorInterface<ParamType>* End() const {
147 class Iterator : public ParamIteratorInterface<ParamType> {
149 Iterator(const ParamGeneratorInterface<ParamType>* base, $for j, [[
162 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const {
180 virtual ParamIteratorInterface<ParamType>* Clone() const {
183 virtual const ParamType* Current() const { return &current_value_; }
184 virtual bool Equals(const ParamIteratorInterface<ParamType>& other) const {
215 current_value_ = ParamType($for j, [[*current$(j)_]]);
[all …]
Dgtest-param-util-generated.h3162 typedef ::std::tr1::tuple<T1, T2> ParamType; typedef
3169 virtual ParamIteratorInterface<ParamType>* Begin() const { in Begin()
3172 virtual ParamIteratorInterface<ParamType>* End() const { in End()
3177 class Iterator : public ParamIteratorInterface<ParamType> {
3179 Iterator(const ParamGeneratorInterface<ParamType>* base, in Iterator()
3191 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const { in BaseGenerator()
3205 virtual ParamIteratorInterface<ParamType>* Clone() const { in Clone()
3208 virtual const ParamType* Current() const { return &current_value_; } in Current()
3209 virtual bool Equals(const ParamIteratorInterface<ParamType>& other) const { in Equals()
3240 current_value_ = ParamType(*current1_, *current2_); in ComputeCurrentValue()
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h144 typedef T ParamType; typedef
355 typedef typename TestClass::ParamType ParamType; typedef
356 explicit ParameterizedTestFactory(ParamType parameter) : in ParameterizedTestFactory()
364 const ParamType parameter_;
373 template <class ParamType>
378 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) = 0;
391 : public TestMetaFactoryBase<typename TestCase::ParamType> {
393 typedef typename TestCase::ParamType ParamType; typedef
397 TestFactoryBase *CreateTestFactory(ParamType parameter) override { in CreateTestFactory()
449 typedef typename TestCase::ParamType ParamType; typedef
[all …]
Dgtest-param-util-generated.h2838 typedef ::std::tr1::tuple<T1, T2> ParamType; typedef
2845 virtual ParamIteratorInterface<ParamType>* Begin() const { in Begin()
2848 virtual ParamIteratorInterface<ParamType>* End() const { in End()
2853 class Iterator : public ParamIteratorInterface<ParamType> {
2855 Iterator(const ParamGeneratorInterface<ParamType>* base, in Iterator()
2867 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const { in BaseGenerator()
2881 virtual ParamIteratorInterface<ParamType>* Clone() const { in Clone()
2884 virtual const ParamType* Current() const { return &current_value_; } in Current()
2885 virtual bool Equals(const ParamIteratorInterface<ParamType>& other) const { in Equals()
2916 current_value_ = ParamType(*current1_, *current2_); in ComputeCurrentValue()
[all …]
/external/clang/lib/Sema/
DSemaTemplate.cpp4203 QualType ParamType, Expr *Arg) { in isNullPointerValueTemplateArgument() argument
4254 if (S.Context.hasSameUnqualifiedType(Arg->getType(), ParamType) || in isNullPointerValueTemplateArgument()
4255 S.IsQualificationConversion(Arg->getType(), ParamType, false, in isNullPointerValueTemplateArgument()
4262 << Arg->getType() << ParamType << Arg->getSourceRange(); in isNullPointerValueTemplateArgument()
4270 std::string Code = "static_cast<" + ParamType.getAsString() + ">("; in isNullPointerValueTemplateArgument()
4272 << ParamType << FixItHint::CreateInsertion(Arg->getLocStart(), Code) in isNullPointerValueTemplateArgument()
4288 Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, in CheckTemplateArgumentIsCompatibleWithParameter() argument
4291 if (ParamType->isPointerType() && in CheckTemplateArgumentIsCompatibleWithParameter()
4292 !ParamType->getAs<PointerType>()->getPointeeType()->isFunctionType() && in CheckTemplateArgumentIsCompatibleWithParameter()
4293 S.IsQualificationConversion(ArgType, ParamType, false, in CheckTemplateArgumentIsCompatibleWithParameter()
[all …]
DSemaTemplateDeduction.cpp863 static bool hasInconsistentOrSupersetQualifiersOf(QualType ParamType, in hasInconsistentOrSupersetQualifiersOf() argument
865 Qualifiers ParamQs = ParamType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf()
2997 Expr *Arg, QualType ParamType, in ResolveOverloadForDeduction() argument
3015 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction()
3016 !ParamType->isFunctionPointerType() && in ResolveOverloadForDeduction()
3017 !ParamType->isMemberFunctionPointerType()) { in ResolveOverloadForDeduction()
3059 if (!ParamWasReference && ParamType->isPointerType() && in ResolveOverloadForDeduction()
3079 = DeduceTemplateArgumentsByTypeMatch(S, TemplateParams, ParamType, in ResolveOverloadForDeduction()
3097 QualType &ParamType, in AdjustFunctionParmAndArgTypesForDeduction() argument
3104 if (ParamType.hasQualifiers()) in AdjustFunctionParmAndArgTypesForDeduction()
[all …]
/external/clang/lib/Analysis/
DConsumed.cpp180 static bool isRValueRef(QualType ParamType) { in isRValueRef() argument
181 return ParamType->isRValueReferenceType(); in isRValueRef()
188 static bool isPointerOrRef(QualType ParamType) { in isPointerOrRef() argument
189 return ParamType->isPointerType() || ParamType->isReferenceType(); in isPointerOrRef()
621 QualType ParamType = Param->getType(); in handleCall() local
644 if (isRValueRef(ParamType)) in handleCall()
648 else if (isPointerOrRef(ParamType) && in handleCall()
649 (!ParamType->getPointeeType().isConstQualified() || in handleCall()
650 isSetOnReadPtrType(ParamType))) in handleCall()
868 QualType ParamType = Param->getType(); in VisitParmVarDecl() local
[all …]
/external/pdfium/core/include/fpdfapi/
Dfpdf_pageobj.h346 } ParamType; typedef
359 inline ParamType GetParamType() const in GetParamType()
376 inline void SetParam(ParamType type, void* param) in SetParam()
385 ParamType m_ParamType;
/external/clang/lib/AST/
DDeclCXX.cpp1515 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator() local
1516 if (const LValueReferenceType *Ref = ParamType->getAs<LValueReferenceType>()) in isCopyAssignmentOperator()
1517 ParamType = Ref->getPointeeType(); in isCopyAssignmentOperator()
1522 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isCopyAssignmentOperator()
1535 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator() local
1536 if (!isa<RValueReferenceType>(ParamType)) in isMoveAssignmentOperator()
1538 ParamType = ParamType->getPointeeType(); in isMoveAssignmentOperator()
1543 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isMoveAssignmentOperator()
1843 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() local
1848 if (ParamType.getUnqualifiedType() != ClassTy) in isSpecializationCopyingObject()
/external/protobuf/gtest/fused-src/gtest/
Dgtest.h8640 typedef T ParamType;
8851 typedef typename TestClass::ParamType ParamType;
8852 explicit ParameterizedTestFactory(ParamType parameter) :
8860 const ParamType parameter_;
8869 template <class ParamType>
8874 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) = 0;
8887 : public TestMetaFactoryBase<typename TestCase::ParamType> {
8889 typedef typename TestCase::ParamType ParamType;
8893 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) {
8945 typedef typename TestCase::ParamType ParamType;
[all …]
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h10143 typedef T ParamType;
10354 typedef typename TestClass::ParamType ParamType;
10355 explicit ParameterizedTestFactory(ParamType parameter) :
10363 const ParamType parameter_;
10372 template <class ParamType>
10377 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) = 0;
10390 : public TestMetaFactoryBase<typename TestCase::ParamType> {
10392 typedef typename TestCase::ParamType ParamType;
10396 virtual TestFactoryBase* CreateTestFactory(ParamType parameter) {
10448 typedef typename TestCase::ParamType ParamType;
[all …]
/external/protobuf/gtest/include/gtest/
Dgtest.h1600 typedef T ParamType; typedef
1604 const ParamType& GetParam() const { return *parameter_; } in GetParam()
1609 static void SetParam(const ParamType* parameter) { in SetParam()
1614 static const ParamType* parameter_;
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest.h1680 typedef T ParamType; typedef
1688 const ParamType& GetParam() const { return *parameter_; } in GetParam()
1693 static void SetParam(const ParamType* parameter) { in SetParam()
1698 static const ParamType* parameter_;
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h1670 typedef T ParamType; typedef
1678 const ParamType& GetParam() const { return *parameter_; } in GetParam()
1683 static void SetParam(const ParamType* parameter) { in SetParam()
1688 static const ParamType* parameter_;

12