Home
last modified time | relevance | path

Searched refs:castType (Results 1 – 20 of 20) sorted by relevance

/external/javassist/src/main/javassist/compiler/ast/
DCastExpr.java28 protected int castType; field in CastExpr
33 castType = CLASS; in CastExpr()
39 castType = type; in CastExpr()
45 public int getType() { return castType; } in getType()
56 public String getTag() { return "cast:" + castType + ":" + arrayDim; } in getTag()
DInstanceOfExpr.java38 return "instanceof:" + castType + ":" + arrayDim; in getTag()
/external/javassist/src/main/javassist/convert/
DTransformAccessArrayField.java130 String castType = null; in replace() local
135 castType = getTopType(iterator.lookAhead()); in replace()
139 if (castType == null) in replace()
141 if ("java/lang/Object".equals(castType)) in replace()
142 castType = null; in replace()
149 = iterator.insertGapAt(pos, castType != null ? 5 : 2, false); in replace()
156 if (castType != null) { in replace()
157 int index = cp.addClassInfo(castType); in replace()
/external/clang/lib/Sema/
DSemaExprObjC.cpp3376 QualType castType, in addFixitForObjCARCConversion() argument
3443 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3452 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3497 QualType castType, ARCConversionTypeClass castACTC, in diagnoseObjCARCConversion() argument
3513 ObjCBridgeRelatedAttrFromType(castType, TDNDecl)) || in diagnoseObjCARCConversion()
3544 << unsigned(castType->isBlockPointerType()) // to ObjC|block type in diagnoseObjCARCConversion()
3545 << castType in diagnoseObjCARCConversion()
3559 castType, castExpr, realCast, "__bridge ", in diagnoseObjCARCConversion()
3572 castType, castExpr, realCast, "__bridge_transfer ", in diagnoseObjCARCConversion()
3587 << castType in diagnoseObjCARCConversion()
[all …]
DSemaCast.cpp383 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast() argument
387 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
391 S.Diag(opRange.getBegin(), msg) << castType in diagnoseBadCast()
DSemaExpr.cpp5959 QualType castType = castTInfo->getType(); in ActOnCastExpr() local
5960 Ty = CreateParsedType(castType, castTInfo); in ActOnCastExpr()
5969 && castType->isVectorType() && (PE || PLE)) { in ActOnCastExpr()
5997 if (getLangOpts().CPlusPlus && !castType->isVoidType() && in ActOnCastExpr()
6001 CheckTollFreeBridgeCast(castType, CastExpr); in ActOnCastExpr()
6003 CheckObjCBridgeRelatedCast(castType, CastExpr); in ActOnCastExpr()
/external/llvm-project/clang/lib/Sema/
DSemaExprObjC.cpp3752 SourceLocation afterLParen, QualType castType, Expr *castExpr, in addFixitForObjCARCConversion() argument
3817 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3826 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3871 QualType castType, ARCConversionTypeClass castACTC, in diagnoseObjCARCConversion() argument
3887 ObjCBridgeRelatedAttrFromType(castType, TDNDecl)) || in diagnoseObjCARCConversion()
3920 << unsigned(castType->isBlockPointerType()) // to ObjC|block type in diagnoseObjCARCConversion()
3921 << castType in diagnoseObjCARCConversion()
3935 castType, castExpr, realCast, "__bridge ", in diagnoseObjCARCConversion()
3948 castType, castExpr, realCast, "__bridge_transfer ", in diagnoseObjCARCConversion()
3963 << castType in diagnoseObjCARCConversion()
[all …]
DSemaCast.cpp483 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast() argument
487 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
491 S.Diag(opRange.getBegin(), msg) << castType in diagnoseBadCast()
DSemaExpr.cpp7460 QualType castType = castTInfo->getType(); in ActOnCastExpr() local
7461 Ty = CreateParsedType(castType, castTInfo); in ActOnCastExpr()
7470 && castType->isVectorType() && (PE || PLE)) { in ActOnCastExpr()
7498 if (getLangOpts().CPlusPlus && !castType->isVoidType() && in ActOnCastExpr()
7502 CheckTollFreeBridgeCast(castType, CastExpr); in ActOnCastExpr()
7504 CheckObjCBridgeRelatedCast(castType, CastExpr); in ActOnCastExpr()
7506 DiscardMisalignedMemberAddress(castType.getTypePtr(), CastExpr); in ActOnCastExpr()
/external/llvm-project/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp93 QualType castType = E->getType(); in VisitCastExpr() local
97 if (castType->isObjCRetainableType() == castExprType->isObjCRetainableType()) in VisitCastExpr()
101 bool castRetainable = castType->isObjCIndirectLifetimeType(); in VisitCastExpr()
112 if (castType->isObjCRetainableType()) in VisitCastExpr()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp94 QualType castType = E->getType(); in VisitCastExpr() local
98 if (castType->isObjCRetainableType() == castExprType->isObjCRetainableType()) in VisitCastExpr()
102 bool castRetainable = castType->isObjCIndirectLifetimeType(); in VisitCastExpr()
113 if (castType->isObjCRetainableType()) in VisitCastExpr()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DGenerators.java438 static CodeBlock unsafeCastThisTo(ClassName castType) { in unsafeCastThisTo() argument
439 return CodeBlock.of("$T.<$T>unsafeCast(this)", ClassNames.UNSAFE_CASTS, castType); in unsafeCastThisTo()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp2681 QualType castType = in RewriteObjCBoxedExpr() local
2683 castType = Context->getPointerType(castType); in RewriteObjCBoxedExpr()
2684 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCBoxedExpr()
2804 QualType castType = in RewriteObjCArrayLiteralExpr() local
2806 castType = Context->getPointerType(castType); in RewriteObjCArrayLiteralExpr()
2807 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCArrayLiteralExpr()
2958 QualType castType = in RewriteObjCDictionaryLiteralExpr() local
2960 castType = Context->getPointerType(castType); in RewriteObjCDictionaryLiteralExpr()
2961 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCDictionaryLiteralExpr()
3099 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr() local
[all …]
DRewriteObjC.cpp2599 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr() local
2602 castType = Context->getPointerType(castType); in SynthMsgSendStretCallExpr()
2603 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMsgSendStretCallExpr()
2952 QualType castType = in SynthMessageExpr() local
2954 castType = Context->getPointerType(castType); in SynthMessageExpr()
2955 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMessageExpr()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp2686 QualType castType = in RewriteObjCBoxedExpr() local
2688 castType = Context->getPointerType(castType); in RewriteObjCBoxedExpr()
2689 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCBoxedExpr()
2807 QualType castType = in RewriteObjCArrayLiteralExpr() local
2809 castType = Context->getPointerType(castType); in RewriteObjCArrayLiteralExpr()
2810 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCArrayLiteralExpr()
2959 QualType castType = in RewriteObjCDictionaryLiteralExpr() local
2961 castType = Context->getPointerType(castType); in RewriteObjCDictionaryLiteralExpr()
2962 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCDictionaryLiteralExpr()
3102 QualType castType = Context->getPointerType(FuncType); in SynthMsgSendStretCallExpr() local
[all …]
DRewriteObjC.cpp2608 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr() local
2611 castType = Context->getPointerType(castType); in SynthMsgSendStretCallExpr()
2612 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMsgSendStretCallExpr()
2965 QualType castType = in SynthMessageExpr() local
2967 castType = Context->getPointerType(castType); in SynthMessageExpr()
2968 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMessageExpr()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslGrammar.cpp3007 TType castType; in acceptUnaryExpression() local
3008 if (acceptType(castType)) { in acceptUnaryExpression()
3013 castType.transferArraySizes(arraySizes); in acceptUnaryExpression()
3021 TFunction* constructorFunction = parseContext.makeConstructorCall(loc, castType); in acceptUnaryExpression()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslGrammar.cpp3009 TType castType; in acceptUnaryExpression() local
3010 if (acceptType(castType)) { in acceptUnaryExpression()
3015 castType.transferArraySizes(arraySizes); in acceptUnaryExpression()
3023 TFunction* constructorFunction = parseContext.makeConstructorCall(loc, castType); in acceptUnaryExpression()
/external/clang/include/clang/Sema/
DSema.h7674 void CheckTollFreeBridgeCast(QualType castType, Expr *castExpr);
7676 void CheckObjCBridgeRelatedCast(QualType castType, Expr *castExpr);
7678 bool CheckTollFreeBridgeStaticCast(QualType castType, Expr *castExpr,
8915 QualType castType, Expr *&op,
8925 bool CheckObjCARCUnavailableWeakConversion(QualType castType,
/external/llvm-project/clang/include/clang/Sema/
DSema.h9658 void CheckTollFreeBridgeCast(QualType castType, Expr *castExpr);
9660 void CheckObjCBridgeRelatedCast(QualType castType, Expr *castExpr);
9662 bool CheckTollFreeBridgeStaticCast(QualType castType, Expr *castExpr,
11535 QualType castType, Expr *&op,
11545 bool CheckObjCARCUnavailableWeakConversion(QualType castType,