/system/connectivity/wifilogd/ |
local_utils.h | 112 template <typename SrcType, typename DstType, SrcType MinAsSrcType, 113 SrcType MaxAsSrcType, DstType MinAsDstType, DstType MaxAsDstType> 114 DstType SafelyClamp(SrcType input) { 115 static_assert(std::is_integral<SrcType>::value,
|
/external/clang/lib/Sema/ |
SemaCast.cpp | 168 static TryCastResult TryStaticPointerDowncast(Sema &Self, QualType SrcType, 174 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType, 182 QualType SrcType, 325 QualType srcType = src->getType(); 326 if (!destType->isRecordType() && !srcType->isRecordType()) 374 << CT << srcType << destType 478 /// CastsAwayConstness - Check if the pointer conversion from SrcType to 487 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, 502 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() | [all...] |
SemaExprObjC.cpp | [all...] |
Sema.cpp | 352 QualType SrcType, 354 Optional<NullabilityKind> ExprNullability = SrcType->getNullability(Context); 362 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType; [all...] |
SemaExpr.cpp | [all...] |
SemaStmt.cpp | [all...] |
/external/pdfium/third_party/base/numerics/ |
safe_conversions.h | 78 using SrcType = typename internal::UnderlyingType<Src>::type; 79 return IsValueInRangeForNumericType<Dst, SrcType>(value) 80 ? static_cast<Dst>(static_cast<SrcType>(value)) 130 using SrcType = typename UnderlyingType<Src>::type; 131 return saturated_cast_impl<Dst, SaturationHandler, SrcType>( 133 DstRangeRelationToSrcRange<Dst, SaturationHandler, SrcType>(value)); 141 using SrcType = typename UnderlyingType<Src>::type; 151 static_assert(StaticDstRangeRelationToSrcRange<Dst, SrcType>::value == 156 return static_cast<Dst>(static_cast<SrcType>(value));
|
safe_math_impl.h | 545 using SrcType = typename internal::UnderlyingType<Src>::type; 546 return (std::is_integral<SrcType>::value || is_valid) 589 using SrcType = typename internal::UnderlyingType<Src>::type; 590 return (StaticDstRangeRelationToSrcRange<T, SrcType>::value ==
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorConversion.h | 127 typedef typename internal::unpacket_traits<SrcPacket>::type SrcType; 129 internal::scalar_cast_op<SrcType, TgtType> converter; 189 typedef typename internal::remove_all<typename internal::traits<ArgType>::Scalar>::type SrcType; 191 typedef typename PacketType<SrcType, Device>::type PacketSourceType; 210 return ConversionSubExprEval<internal::is_same<TargetType, SrcType>::value, TensorEvaluator<ArgType, Device>, Scalar>::run(m_impl, data); 220 internal::scalar_cast_op<SrcType, TargetType> converter; 228 internal::type_casting_traits<SrcType, TargetType>::VectorizedCast; 234 const double cast_cost = TensorOpCost::CastCost<SrcType, TargetType>(); 237 internal::type_casting_traits<SrcType, TargetType>::SrcCoeffRatio; 239 internal::type_casting_traits<SrcType, TargetType>::TgtCoeffRatio [all...] |
TensorCostModel.h | 48 template <typename SrcType, typename TargetType> 51 internal::scalar_cast_op<SrcType, TargetType> >::Cost;
|
/external/eigen/Eigen/src/OrderingMethods/ |
Ordering.h | 73 template <typename SrcType, unsigned int SrcUpLo> 74 void operator()(const SparseSelfAdjointView<SrcType, SrcUpLo>& mat, PermutationType& perm) 76 SparseMatrix<typename SrcType::Scalar, ColMajor, StorageIndex> C; C = mat;
|
/external/gemmlowp/internal/ |
dispatch_gemm_shape.h | 55 typedef VectorMap<Scalar, Shape> SrcType; 59 static DstType Run(const SrcType& src) { 66 typedef MatrixMap<Scalar, Order> SrcType; 69 static DstType Run(const SrcType& src) { 76 typedef OutputStageQuantizeDownInt32ToUint8ScalePC<Shape> SrcType; 79 static DstType Run(const SrcType& src) { 90 typedef OutputStageBiasAddition<VectorMapType> SrcType; 93 static DstType Run(const SrcType& src) {
|
/external/deqp/framework/randomshaders/ |
rsgExpression.cpp | 512 template <typename SrcType, typename DstType> 513 inline DstType convert (SrcType src) 515 if (Scalar::min<SrcType>() == src) 517 else if (Scalar::max<SrcType>() == src) 542 template <typename SrcType, typename DstType> 543 inline void convertValueRange (SrcType srcMin, SrcType srcMax, DstType& dstMin, DstType& dstMax) 545 dstMin = convert<SrcType, DstType>(srcMin); 546 dstMax = convert<SrcType, DstType>(srcMax); 572 // Returns whether it is possible to convert some SrcType value range to given DstType valueRang [all...] |
/external/skia/gm/ |
xfermodes.cpp | 14 enum SrcType { 116 /* The srcType argument indicates what to draw for the source part. Skia 120 void draw_mode(SkCanvas* canvas, SkBlendMode mode, SrcType srcType, SkScalar x, SkScalar y) { 128 switch (srcType) { 251 draw_mode(canvas, gModes[i].fMode, static_cast<SrcType>(sourceType),
|
/external/clang/lib/CodeGen/ |
CGExprComplex.cpp | 87 ComplexPairTy EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, 90 ComplexPairTy EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, 396 QualType SrcType, 400 SrcType = SrcType->castAs<ComplexType>()->getElementType(); 406 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); 407 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc); 412 QualType SrcType, 417 Val = CGF.EmitScalarConversion(Val, SrcType, DestType, Loc); [all...] |
CGExprScalar.cpp | 146 Value *Src, QualType SrcType, QualType DstType, 578 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) { 579 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs"); 581 if (SrcType->isRealFloatingType()) 584 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) 587 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) && 598 Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType, 671 CGF.getContext().getFloatTypeSemantics(SrcType); 732 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType, 735 return EmitScalarConversion(Src, SrcType, DstType, Loc, false) [all...] |
CGStmtOpenMP.cpp | [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_compiler_util.c | 364 unsigned int SrcType; 385 select->SrcType = src_type; 484 unsigned int src_type = d.Selects[i].SrcType; 488 src_type &= ~d.Selects[j].SrcType;
|
/external/clang/lib/AST/ |
ExprCXX.cpp | 570 QualType SrcType = getSubExpr()->getType(); 573 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) { 574 SrcType = SrcPTy->getPointeeType(); 582 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl()); [all...] |
ExprConstant.cpp | [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceAssemblerMIPS32.cpp | 797 const Type SrcType = OpRs->getType(); 799 if ((isScalarIntegerType(DstType) && isScalarFloatingType(SrcType)) || 800 (isScalarFloatingType(DstType) && isScalarIntegerType(SrcType))) { [all...] |
IceInstMIPS32.cpp | 645 const Type SrcType = Src->getType(); 648 if ((isScalarIntegerType(DstType) && isScalarFloatingType(SrcType)) || 649 (isScalarFloatingType(DstType) && isScalarIntegerType(SrcType))) { [all...] |
IceTargetLoweringX86BaseImpl.h | [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ScalarEvolution.cpp | [all...] |
/external/clang/include/clang/Sema/ |
Sema.h | [all...] |