/external/clang/lib/Sema/ |
D | SemaCast.cpp | 52 : Self(S), SrcExpr(src), DestType(destType), in CastOperation() 67 QualType DestType; member 120 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); in checkCastAlign() 127 if (Self.CheckObjCARCConversion(OpRange, DestType, src, CCK) == in checkObjCARCConversion() 158 QualType DestType, bool CStyle, 163 QualType DestType, bool CStyle, 169 QualType DestType, bool CStyle, 175 CanQualType DestType, bool CStyle, 183 QualType DestType,bool CStyle, 190 QualType DestType, [all …]
|
D | SemaInit.cpp | 3409 QualType DestType, in TryInitializerListConstruction() argument 3413 if (!S.isStdInitializerList(DestType, &E)) in TryInitializerListConstruction() 3433 Sequence.AddStdInitializerListConstructionStep(DestType); in TryInitializerListConstruction() 3514 MultiExprArg Args, QualType DestType, in TryConstructorInitialization() argument 3522 if (!S.isCompleteType(Kind.getLocation(), DestType)) { in TryConstructorInitialization() 3523 Sequence.setIncompleteTypeFailure(DestType); in TryConstructorInitialization() 3527 const RecordType *DestRecordType = DestType->getAs<RecordType>(); in TryConstructorInitialization() 3627 Best->FoundDecl, CtorDecl, DestType, HadMultipleCandidates, in TryConstructorInitialization() 3693 QualType DestType = Entity.getType(); in TryReferenceListInitialization() local 3694 QualType cv1T1 = DestType->getAs<ReferenceType>()->getPointeeType(); in TryReferenceListInitialization() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCast.cpp | 58 : Self(S), SrcExpr(src), DestType(destType), in CastOperation() 73 QualType DestType; member 137 void checkAddressSpaceCast(QualType SrcType, QualType DestType); 140 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); in checkCastAlign() 147 if (Self.CheckObjCConversion(OpRange, DestType, src, CCK) == in checkObjCConversion() 169 if (const auto *DestType = dyn_cast<PointerType>(ToType)) { in CheckNoDeref() local 170 if (!DestType->getPointeeType()->hasAttr(attr::NoDeref)) { in CheckNoDeref() 191 QualType DestType); 205 QualType DestType, bool CStyle, 210 QualType DestType, bool CStyle, [all …]
|
D | SemaInit.cpp | 3850 QualType DestType, in TryInitializerListConstruction() argument 3854 if (!S.isStdInitializerList(DestType, &E)) in TryInitializerListConstruction() 3875 Sequence.AddStdInitializerListConstructionStep(DestType); in TryInitializerListConstruction() 3900 QualType DestType, in ResolveConstructorOverload() argument 3907 CandidateSet.setDestAS(DestType.getQualifiers().getAddressSpace()); in ResolveConstructorOverload() 3987 ConvTemplate, I.getPair(), ActingDC, Initializer, DestType, in ResolveConstructorOverload() 3992 DestType, CandidateSet, AllowExplicit, in ResolveConstructorOverload() 4016 MultiExprArg Args, QualType DestType, in TryConstructorInitialization() argument 4031 if (!S.isCompleteType(Kind.getLocation(), DestType)) { in TryConstructorInitialization() 4032 Sequence.setIncompleteTypeFailure(DestType); in TryConstructorInitialization() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | AvoidCStyleCastsCheck.cpp | 36 static bool needsConstCast(QualType SourceType, QualType DestType) { in needsConstCast() argument 37 while ((SourceType->isPointerType() && DestType->isPointerType()) || in needsConstCast() 38 (SourceType->isReferenceType() && DestType->isReferenceType())) { in needsConstCast() 40 DestType = DestType->getPointeeType(); in needsConstCast() 41 if (SourceType.isConstQualified() && !DestType.isConstQualified()) { in needsConstCast() 42 return (SourceType->isPointerType() == DestType->isPointerType()) && in needsConstCast() 43 (SourceType->isReferenceType() == DestType->isReferenceType()); in needsConstCast() 81 const QualType DestType = DestTypeAsWritten.getCanonicalType(); in check() local 173 if (SourceType == DestType) { in check() 178 if (needsConstCast(SourceType, DestType) && in check() [all …]
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | warp_sse4.cc | 168 template <bool is_compound, typename DestType> 170 int delta, DestType* dest_row, in VerticalFilter() 189 template <bool is_compound, typename DestType> 191 int delta, DestType* dest_row, in VerticalFilter() 210 template <bool is_compound, typename DestType> 213 DestType* dst_row, ptrdiff_t dest_stride) { in WarpRegion1() 238 const DestType* const first_dst_row = dst_row; in WarpRegion1() 246 template <bool is_compound, typename DestType> 250 DestType* dst_row, ptrdiff_t dest_stride) { in WarpRegion2() 281 VerticalFilter<is_compound, DestType>(intermediate_result_column, y4, gamma, in WarpRegion2() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeCstyleCastCheck.cpp | 20 static bool needsConstCast(QualType SourceType, QualType DestType) { in needsConstCast() argument 22 DestType = DestType.getNonReferenceType(); in needsConstCast() 23 while (SourceType->isPointerType() && DestType->isPointerType()) { in needsConstCast() 25 DestType = DestType->getPointeeType(); in needsConstCast() 26 if (SourceType.isConstQualified() && !DestType.isConstQualified()) in needsConstCast()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | UndefinedMemoryManipulationCheck.cpp | 51 QualType DestType = Call->getArg(0)->IgnoreImplicit()->getType(); in check() local 52 if (!DestType->getPointeeType().isNull()) in check() 53 DestType = DestType->getPointeeType(); in check() 56 << DestType; in check()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | ConversionChecker.cpp | 47 bool isLossOfPrecision(const ImplicitCastExpr *Cast, QualType DestType, 129 QualType DestType, in isLossOfPrecision() argument 137 if (!DestType->isRealType() || !SubType->isIntegerType()) in isLossOfPrecision() 140 const bool isFloat = DestType->isFloatingType(); in isLossOfPrecision() 149 const llvm::fltSemantics &Sema = AC.getFloatTypeSemantics(DestType); in isLossOfPrecision() 152 RepresentsUntilExp = AC.getIntWidth(DestType); in isLossOfPrecision() 157 if (DestType->isSignedIntegerType()) in isLossOfPrecision()
|
/external/libgav1/libgav1/src/dsp/ |
D | warp.cc | 99 using DestType = in Warp_C() typedef 101 auto* dst = static_cast<DestType*>(dest); in Warp_C() 192 DestType* dst_row = dst + start_x - block_start_x; in Warp_C() 201 const DestType* const first_dst_row = dst_row; in Warp_C() 229 DestType* dst_row = dst + start_x - block_start_x; in Warp_C() 248 dst_row[x] = static_cast<DestType>(sum); in Warp_C() 250 dst_row[x] = static_cast<DestType>(Clip3(sum, 0, kMaxPixel)); in Warp_C() 369 DestType* dst_row = dst + start_x - block_start_x; in Warp_C() 415 dst_row[x] = static_cast<DestType>(sum); in Warp_C() 417 dst_row[x] = static_cast<DestType>(Clip3(sum, 0, kMaxPixel)); in Warp_C()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | ImplicitBoolConversionCheck.cpp | 199 QualType DestType, ASTContext &Context) { in getEquivalentForBoolLiteral() argument 202 (DestType->isPointerType() || DestType->isMemberPointerType()) && in getEquivalentForBoolLiteral() 207 if (DestType->isFloatingType()) { in getEquivalentForBoolLiteral() 208 if (Context.hasSameType(DestType, Context.FloatTy)) { in getEquivalentForBoolLiteral() 214 if (DestType->isUnsignedIntegerType()) { in getEquivalentForBoolLiteral() 379 QualType DestType = in handleCastFromBool() local 382 << DestType; in handleCastFromBool() 387 *Cast, getEquivalentForBoolLiteral(BoolLiteral, DestType, Context)); in handleCastFromBool() 389 fixGenericExprCastFromBool(Diag, Cast, Context, DestType.getAsString()); in handleCastFromBool()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyAddMissingPrototypes.cpp | 96 if (auto *DestType = dyn_cast<FunctionType>( in runOnModule() local 100 NewType = DestType; in runOnModule() 102 } else if (NewType != DestType) { in runOnModule() 106 LLVM_DEBUG(dbgs() << " " << *DestType << "\n"); in runOnModule()
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyAddMissingPrototypes.cpp | 96 if (auto *DestType = dyn_cast<FunctionType>( in runOnModule() local 100 NewType = DestType; in runOnModule() 102 } else if (NewType != DestType) { in runOnModule() 106 LLVM_DEBUG(dbgs() << " " << *DestType << "\n"); in runOnModule()
|
/external/angle/src/image_util/ |
D | copyimage.inc | 32 template <typename DestType> 35 DestType::WriteDepthStencil(reinterpret_cast<DestType *>(dest),
|
D | copyimage.h | 30 template <typename DestType>
|
/external/angle/src/libANGLE/renderer/vulkan/shaders/src/ |
D | ImageCopy.frag | 38 #define DestType vec4 40 #define DestType ivec4 42 #define DestType uvec4 48 layout(location = 0) out DestType dest; 171 DestType destValue = DestType(srcValue);
|
D | ConvertVertex.comp | 81 #define DestType int 83 #define DestType uint 85 #define DestType float 291 DestType convertComponent(SrcType srcValue) 298 uint makeDestinationComponent(uint cd, DestType value) 355 DestType destValue = convertComponent(srcValue);
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | warp_neon.cc | 129 using DestType = in Warp_NEON() typedef 131 auto* dst = static_cast<DestType*>(dest); in Warp_NEON() 222 DestType* dst_row = dst + start_x - block_start_x; in Warp_NEON() 258 DestType* dst_row = dst + start_x - block_start_x; in Warp_NEON() 390 DestType* dst_row = dst + start_x - block_start_x; in Warp_NEON()
|
/external/libbrillo/brillo/ |
D | any.h | 78 template<typename DestType> 87 using CanonicalDestType = typename std::decay<DestType>::type; in IsTypeCompatible()
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 88 QualType DestType, SourceLocation Loc); 91 QualType DestType, SourceLocation Loc); 397 QualType DestType, in EmitComplexToComplexCast() argument 401 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast() 406 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); in EmitComplexToComplexCast() 407 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc); in EmitComplexToComplexCast() 413 QualType DestType, in EmitScalarToComplexCast() argument 416 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast() 417 Val = CGF.EmitScalarConversion(Val, SrcType, DestType, Loc); in EmitScalarToComplexCast()
|
D | CGExprConstant.cpp | 1238 QualType DestType, in EmitConstantExpr() argument 1244 if (DestType->isReferenceType()) in EmitConstantExpr() 1251 C = EmitConstantValue(Result.Val, DestType, CGF); in EmitConstantExpr() 1263 QualType DestType, in EmitConstantValue() argument 1266 if (auto *AT = DestType->getAs<AtomicType>()) { in EmitConstantValue() 1271 uint64_t OuterSize = Context.getTypeSize(DestType); in EmitConstantValue() 1288 llvm::Type *DestTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValue() 1400 llvm::Type *ResultType = getTypes().ConvertType(DestType); in EmitConstantValue() 1412 return ConstStructBuilder::BuildStruct(*this, CGF, Value, DestType); in EmitConstantValue() 1414 const ArrayType *CAT = Context.getAsArrayType(DestType); in EmitConstantValue() [all …]
|
/external/eigen/Eigen/src/Householder/ |
D | HouseholderSequence.h | 233 template<typename DestType> inline void evalTo(DestType& dst) const 235 Matrix<Scalar, DestType::RowsAtCompileTime, 1, 236 AutoAlign|ColMajor, DestType::MaxRowsAtCompileTime, 1> workspace(rows());
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 86 QualType DestType, SourceLocation Loc); 89 QualType DestType, SourceLocation Loc); 428 QualType DestType, in EmitComplexToComplexCast() argument 432 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast() 438 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); in EmitComplexToComplexCast() 440 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc); in EmitComplexToComplexCast() 446 QualType DestType, in EmitScalarToComplexCast() argument 449 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast() 450 Val = CGF.EmitScalarConversion(Val, SrcType, DestType, Loc); in EmitScalarToComplexCast()
|
/external/llvm-project/clang/test/CodeGenObjC/ |
D | parameterized_classes.m | 85 @interface Base<DestType> : NSObject { 86 DestType _destination;
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
D | DGMRES.h | 209 template<typename RhsType, typename DestType> 210 int dgmresApplyDeflation(const RhsType& In, DestType& Out) const; 504 template<typename RhsType, typename DestType> 505 int DGMRES<_MatrixType, _Preconditioner>::dgmresApplyDeflation(const RhsType &x, DestType &y) const
|