Home
last modified time | relevance | path

Searched refs:hasSameType (Results 1 – 25 of 35) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DKeyTypeData.java353 boolean hasSameType = false; in initFromResourceBundle()
357 hasSameType = true; in initFromResourceBundle()
367 if (!hasSameType) { in initFromResourceBundle()
612 boolean hasSameType = false;
615 hasSameType = true;
624 if (!hasSameType) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DKeyTypeData.java351 boolean hasSameType = false; in initFromResourceBundle()
355 hasSameType = true; in initFromResourceBundle()
365 if (!hasSameType) { in initFromResourceBundle()
610 boolean hasSameType = false;
613 hasSameType = true;
622 if (!hasSameType) {
/external/clang/lib/AST/
DASTDiagnostic.cpp1077 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff()
1105 Context.hasSameType(FromType, ToType)); in DiffTypes()
1154 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables()
1184 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables()
1248 Tree.SetSame(Context.hasSameType(FromIntType, ToIntType) && in DiffNonTypes()
1724 !Context.hasSameType(FromIntType, ToIntType); in PrintAPSInt()
DASTContext.cpp6772 hasSameType(First->getElementType(), Second->getElementType()) && in areCompatibleVectorTypes()
7153 if (ctx.hasSameType(lhsArgs[i], rhsArgs[i])) in sameObjCTypeArgs()
7159 !ctx.hasSameType(lhsArgs[i].stripObjCKindOfType(ctx), in sameObjCTypeArgs()
7390 return hasSameType(LHS, RHS); in typesAreCompatible()
7615 if (Context.hasSameType(underlyingType, other)) in mergeEnumWithInteger()
9080 if (!hasSameType(MethodDecl->getReturnType(), MethodImpl->getReturnType())) in ObjCMethodsAreEqual()
9094 if (!hasSameType(DeclVar->getType(), ImplVar->getType())) in ObjCMethodsAreEqual()
DDeclTemplate.cpp425 if (Context.hasSameType(P.getInjectedSpecializationType(), T)) in findPartialSpecialization()
DExprConstant.cpp4070 assert(Info.Ctx.hasSameType(BaseIt->getType(), BaseType) && in HandleConstructorCall()
4408 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in handleCallExpr()
5736 !Info.Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
5748 Info.Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
5756 } else if (Info.Ctx.hasSameType(Field->getType(), Info.Ctx.getSizeType())) in VisitCXXStdInitializerListExpr()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp112 if (Context.hasSameType(Injected, ContextType)) in computeDeclContext()
679 !Context.hasSameType( in BuildCXXNestedNameSpecifier()
DSemaOverload.cpp1559 assert(S.Context.hasSameType( in IsStandardConversion()
2522 if (Context.hasSameType(FromPointeeType, ToPointeeType)) in IsBlockPointerConversion()
2537 if (Context.hasSameType(FromFunctionType->getReturnType(), in IsBlockPointerConversion()
2547 if (Context.hasSameType(RHS,LHS)) { in IsBlockPointerConversion()
2565 if (Context.hasSameType(FromArgType, ToArgType)) { in IsBlockPointerConversion()
2620 if (!Context.hasSameType(FromMember->getClass(), ToMember->getClass())) { in HandleFunctionTypeMismatch()
2646 if (Context.hasSameType(FromType, ToType)) { in HandleFunctionTypeMismatch()
2676 if (!Context.hasSameType(FromFunction->getReturnType(), in HandleFunctionTypeMismatch()
2705 if (!Context.hasSameType(O->getUnqualifiedType(), in FunctionParamTypesAreEqual()
3534 return Context.hasSameType(SCS1.getToType(2), SCS2.getToType(2))? Result in compareStandardConversionSubsets()
[all …]
DSemaTemplateDeduction.cpp167 Context.hasSameType(X.getAsType(), Y.getAsType())) in checkDeducedTemplateArguments()
258 Context.hasSameType(X.getNullPtrType(), Y.getNullPtrType())) in checkDeducedTemplateArguments()
1725 S.Context.hasSameType(Param.getNullPtrType(), Arg.getNullPtrType())) in DeduceTemplateArguments()
1955 return Context.hasSameType(X.getNullPtrType(), Y.getNullPtrType()); in isSameTemplateArg()
3639 !Context.hasSameType(Specialization->getType(), ArgFunctionType)) in DeduceTemplateArguments()
3705 if (!S.Context.hasSameType(CallOpSpecialized->getReturnType(), in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
DSemaExprCXX.cpp442 if (!Context.hasSameType(T, UnqualT)) { in BuildCXXTypeId()
2112 if (Context.hasSameType(Fn->getType(), ExpectedFunctionType)) in FindAllocationFunctions()
3368 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
3748 assert(Context.hasSameType( in PerformImplicitConversion()
4516 return Self.Context.hasSameType(LhsT, RhsT); in EvaluateBinaryTypeTrait()
5167 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
5204 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
5229 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands()
5535 if (!Context.hasSameType(Composite1, Composite2)) { in FindCompositePointerType()
DSemaDeclCXX.cpp677 assert(Context.hasSameType(New->getType(), Old->getType()) && in MergeVarDeclExceptionSpecs()
5400 if (!Context.hasSameType(ReturnType, ExpectedReturnType)) { in CheckExplicitlyDefaultedSpecialMember()
7882 return Context.hasSameType(TD1->getUnderlyingType(), in IsEquivalentForUsingDecl()
8189 !Ctx.hasSameType(QualType(Specifier->getAsType(), 0), FoundType)) in ValidateCandidate()
8846 !Context.hasSameType(OldTD->getUnderlyingType(), in ActOnAliasDeclaration()
11925 SemaRef.Context.hasSameType(PmDecl->getType(), SemaRef.Context.CharTy)) in checkLiteralOperatorTemplateParameterList()
12000 Context.hasSameType(ParamType, Context.CharTy) || in CheckLiteralOperatorDeclaration()
12001 Context.hasSameType(ParamType, Context.WideCharTy) || in CheckLiteralOperatorDeclaration()
12002 Context.hasSameType(ParamType, Context.Char16Ty) || in CheckLiteralOperatorDeclaration()
12003 Context.hasSameType(ParamType, Context.Char32Ty)) { in CheckLiteralOperatorDeclaration()
[all …]
DSemaDecl.cpp1880 if (S.Context.hasSameType(OldTD->getUnderlyingType(), in filterNonConflictingPreviousTypedefDecls()
1920 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
2937 if (!Context.hasSameType(OldDeclaredReturnType, NewDeclaredReturnType) && in MergeFunctionDecl()
3322 assert(!S.Context.hasSameType(New->getType(), Old->getType())); in diagnoseVarDeclTypeMismatch()
3354 } else if (Context.hasSameType(New->getType(), Old->getType())) { in MergeVarDeclTypes()
3377 if (!Context.hasSameType(NewArray, PrevVDTy)) in MergeVarDeclTypes()
3383 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes()
3391 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes()
3772 if (!Context.hasSameType(NewTD->getUnderlyingType(), in setTagNameForLinkagePurposes()
4696 if (Context.hasSameType(DefParamTy, DeclParamTy)) in hasSimilarParameters()
[all …]
DSemaObjCProperty.cpp527 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) { in HandlePropertyInClassExtension()
1174 if (!Context.hasSameType(PropertyIvarType, IvarType)) { in ActOnPropertyImplDecl()
1498 bool compat = Context.hasSameType(PropertyRValueType, GetterType); in DiagnosePropertyAccessorMismatch()
DSemaStmtAsm.cpp464 if (Context.hasSameType(InTy, OutTy)) in ActOnGCCAsmStmt()
DSemaExpr.cpp5733 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast()
5762 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast()
6212 if (S.Context.hasSameType(LHSTy, RHSTy)) { in checkConditionalPointerCompatibility()
6757 (Context.hasSameType(RHSTy, Context.getObjCClassRedefinitionType()))) { in FindCompositeObjCPointerType()
6762 (Context.hasSameType(LHSTy, Context.getObjCClassRedefinitionType()))) { in FindCompositeObjCPointerType()
6768 (Context.hasSameType(RHSTy, Context.getObjCIdRedefinitionType()))) { in FindCompositeObjCPointerType()
6773 (Context.hasSameType(LHSTy, Context.getObjCIdRedefinitionType()))) { in FindCompositeObjCPointerType()
6779 (Context.hasSameType(RHSTy, Context.getObjCSelRedefinitionType()))) { in FindCompositeObjCPointerType()
6784 (Context.hasSameType(LHSTy, Context.getObjCSelRedefinitionType()))) { in FindCompositeObjCPointerType()
7057 && Context.hasSameType(commonExpr->getType(), RHSExpr->getType()))) { in ActOnConditionalOp()
[all …]
DSemaTemplate.cpp5133 if (Context.hasSameType(ParamType, ArgType)) { in CheckTemplateArgument()
5477 Context.hasSameType(((Expr*) RefExpr.get())->getType(), in BuildExpressionFromDeclTemplateArgument()
5645 if (!S.Context.hasSameType(OldNTTP->getType(), NewNTTP->getType())) { in MatchTemplateParameterKind()
6357 if (Context.hasSameType(CanonType, in ActOnClassTemplateSpecialization()
7077 if (Context.hasSameType(Adjusted, Method->getType())) { in CheckMemberSpecialization()
7929 if (PrevTemplate && Prev && !Context.hasSameType(Prev->getType(), R)) { in ActOnExplicitInstantiation()
DSemaCast.cpp1713 if (Self.Context.hasSameType(SrcType, DestType)) in DiagnoseCastOfObjCSEL()
1734 if (Self.Context.hasSameType(SrcType, DstType) || in DiagnoseCallingConvCast()
DSemaDeclObjC.cpp209 if (!Context.hasSameType(method->getReturnType(), Context.VoidTy)) { in CheckARCMethodDecl()
838 if (S.Context.hasSameType(prevTypeParam->getUnderlyingType(), in checkTypeParamListConsistency()
2084 if (!Context.hasSameType(ImplIvar->getType(), ClsIvar->getType())) { in CheckImplementationIvars()
DSemaLambda.cpp596 if (S.Context.hasSameType(retValue->getType(), returnType)) in adjustBlockReturnsToEnum()
DSemaInit.cpp1133 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType()
4825 if (Context.hasSameType(QualType(Dest, 0), QualType(Source, 0))) in hasCompatibleArrayTypes()
4829 if (!Context.hasSameType(Dest->getElementType(), Source->getElementType())) in hasCompatibleArrayTypes()
6662 bool IsTemporary = !S.Context.hasSameType(Entity.getType(), Ty); in Perform()
DSemaStmt.cpp2334 if (!Context.hasSameType(BeginType, EndType)) { in BuildCXXForRangeStmt()
2370 if (!Context.hasSameType(BeginType, EndType)) in BuildCXXForRangeStmt()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp338 !Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
362 Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
369 } else if (Ctx.hasSameType(Field->getType(), Ctx.getSizeType())) { in VisitCXXStdInitializerListExpr()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2561 TX->getASTContext().hasSameType(TX->getType(), TY->getType()); in isSameTemplateParameter()
2648 return X->getASTContext().hasSameType(TypedefX->getUnderlyingType(), in isSameEntity()
2688 FuncX->getASTContext().hasSameType(FuncX->getType(), FuncY->getType()); in isSameEntity()
2696 if (C.hasSameType(VarX->getType(), VarY->getType())) in isSameEntity()
2709 return C.hasSameType(VarXTy->getElementType(), VarYTy->getElementType()); in isSameEntity()
2734 return X->getASTContext().hasSameType(FDX->getType(), FDY->getType()); in isSameEntity()
/external/clang/include/clang/AST/
DASTContext.h1982 bool hasSameType(QualType T1, QualType T2) const { in hasSameType() function
1986 bool hasSameType(const Type *T1, const Type *T2) const { in hasSameType() function
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp829 if (Ctx.hasSameType(ArgTy, CallTy)) { in rewriteToNumberLiteral()

12