Home
last modified time | relevance | path

Searched refs:DstType (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/effects/gradients/
DSk4fLinearGradient.cpp29 template<typename DstType, bool do_premul>
30 void fill(const Sk4f& c, DstType* dst, int n);
55 template<typename DstType, bool do_premul>
56 void store(const Sk4f& color, DstType* dst);
78 template<typename DstType, bool do_premul>
83 DstType* dst) { in store4x()
84 store<DstType, do_premul>(c0, dst++); in store4x()
85 store<DstType, do_premul>(c1, dst++); in store4x()
86 store<DstType, do_premul>(c2, dst++); in store4x()
87 store<DstType, do_premul>(c3, dst++); in store4x()
[all …]
DSk4fLinearGradient.h25 template<typename DstType, TileMode>
28 template <typename DstType, bool premul>
29 void shadePremulSpan(int x, int y, DstType[], int count) const;
31 template <typename DstType, bool premul, SkShader::TileMode tileMode>
32 void shadePremulTileSpan(int x, int y, DstType[], int count) const;
34 template <typename DstType, bool premul, SkShader::TileMode tileMode>
35 void shadeSpanInternal(int x, int y, DstType[], int count) const;
/external/skia/src/core/
DSkBlitter_PM4f.cpp37 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitV()
42 device = (typename State::DstType*)((char*)device + deviceRB); in blitV()
50 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitRect()
56 device = (typename State::DstType*)((char*)device + deviceRB); in blitRect()
61 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitAntiH()
93 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitLCDMask()
100 device = (typename State::DstType*)((char*)device + dstRB); in blitLCDMask()
122 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitMask()
129 device = (typename State::DstType*)((char*)device + dstRB); in blitMask()
148 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitH()
[all …]
DSkXfermodeU64.cpp19 enum DstType { enum
28 template <DstType D> Sk4f unit_to_bias(const Sk4f& x4) { in unit_to_bias()
32 template <DstType D> Sk4f bias_to_unit(const Sk4f& x4) { in bias_to_unit()
50 template <DstType D> Sk4f load_from_dst(uint64_t dst) { in load_from_dst()
55 template <DstType D> uint64_t store_to_dst(const Sk4f& x4) { in store_to_dst()
70 template <DstType D> void xfer_u64_1(const SkXfermode* xfer, uint64_t dst[], in xfer_u64_1()
90 template <DstType D> void xfer_u64_n(const SkXfermode* xfer, uint64_t dst[], in xfer_u64_n()
119 template <DstType D> void clear(const SkXfermode*, uint64_t dst[], in clear()
142 template <DstType D> void src_1(const SkXfermode*, uint64_t dst[], in src_1()
155 template <DstType D> void src_n(const SkXfermode*, uint64_t dst[], in src_n()
[all …]
DSkXfermode4f.cpp12 enum DstType { enum
25 template <DstType D> Sk4f load_dst(SkPMColor dstC) { in load_dst()
33 template <DstType D> uint32_t store_dst(const Sk4f& x4) { in store_dst()
43 template <DstType D> void general_1(const SkXfermode* xfer, uint32_t dst[], in general_1()
63 template <DstType D> void general_n(const SkXfermode* xfer, uint32_t dst[], in general_n()
134 template <DstType D> void src_n(const SkXfermode*, uint32_t dst[], in src_n()
157 template <DstType D> void src_1(const SkXfermode*, uint32_t dst[], in src_1()
227 template <DstType D> void srcover_n(const SkXfermode*, uint32_t dst[], in srcover_n()
387 template <DstType D>
414 template <DstType D>
[all …]
DSkBlitter.h140 static SkShader::ContextRec::DstType PreferredShaderDest(const SkImageInfo&);
DSkBlitter.cpp792 SkShader::ContextRec::DstType SkBlitter::PreferredShaderDest(const SkImageInfo& dstInfo) { in PreferredShaderDest()
/external/gemmlowp/internal/
Doutput_neon.h243 template <typename DstType>
244 inline void StoreFinalOutput(NEONFragmentUint8x4x1 value, DstType* dst, int row,
253 template <typename DstType>
254 inline void StoreFinalOutput(NEONFragmentUint8x16x1 value, DstType* dst,
261 template <typename DstType>
262 inline void StoreFinalOutput(NEONFragmentInt32x4x1 value, DstType* dst, int row,
269 template <typename DstType>
270 inline void StoreFinalOutput(NEONFragmentInt32x16x1 value, DstType* dst,
Doutput.h384 template <typename OutputType, typename DstType>
385 void StoreFinalOutput(OutputType value, DstType* dst, int row, int col) {
398 template <typename DstType>
399 void Execute(InputType input, DstType* dst, int row, int col) {
405 typedef typename DstType::Scalar ScalarDstType;
/external/deqp/framework/randomshaders/
DrsgExpression.cpp512 template <typename SrcType, typename DstType>
513 inline DstType convert (SrcType src) in convert()
516 return Scalar::min<DstType>().template as<DstType>(); in convert()
518 return Scalar::max<DstType>().template as<DstType>(); in convert()
520 return DstType(src); in convert()
542 template <typename SrcType, typename DstType>
543 inline void convertValueRange (SrcType srcMin, SrcType srcMax, DstType& dstMin, DstType& dstMax) in convertValueRange()
545 dstMin = convert<SrcType, DstType>(srcMin); in convertValueRange()
546 dstMax = convert<SrcType, DstType>(srcMax); in convertValueRange()
573 template <typename SrcType, typename DstType>
[all …]
/external/skia/include/core/
DSkShader.h103 enum DstType { enum
109 DstType dstType) in ContextRec()
118 const DstType fPreferredDstType; // the "natural" client dest type
/external/clang/lib/CodeGen/
DCGExprScalar.cpp146 Value *Src, QualType SrcType, QualType DstType,
599 QualType DstType, llvm::Type *DstTy, SourceLocation Loc) { in EmitFloatConversionCheck() argument
610 assert(DstType->isFloatingType()); in EmitFloatConversionCheck()
614 APFloat::getLargest(CGF.getContext().getFloatTypeSemantics(DstType)); in EmitFloatConversionCheck()
640 unsigned Width = CGF.getContext().getIntWidth(DstType); in EmitFloatConversionCheck()
641 bool Unsigned = DstType->isUnsignedIntegerOrEnumerationType(); in EmitFloatConversionCheck()
698 if (CGF.getContext().getFloatingTypeOrder(OrigSrcType, DstType) != 1) in EmitFloatConversionCheck()
705 CGF.getContext().getFloatTypeSemantics(DstType); in EmitFloatConversionCheck()
725 CGF.EmitCheckTypeDescriptor(DstType)}; in EmitFloatConversionCheck()
733 QualType DstType, in EmitScalarConversion() argument
[all …]
DCGStmtOpenMP.cpp47 static Address castValueFromUintptr(CodeGenFunction &CGF, QualType DstType, in castValueFromUintptr() argument
54 Ctx.getPointerType(DstType), SourceLocation()); in castValueFromUintptr()
56 CGF.MakeNaturalAlignAddrLValue(CastedPtr, Ctx.getPointerType(DstType)) in castValueFromUintptr()
62 QualType RefType = Ctx.getLValueReferenceType(DstType); in castValueFromUintptr()
/external/clang/include/clang/AST/
DExpr.h3564 ConvertVectorExpr(Expr* SrcExpr, TypeSourceInfo *TI, QualType DstType, in ConvertVectorExpr() argument
3567 : Expr(ConvertVectorExprClass, DstType, VK, OK, in ConvertVectorExpr()
3568 DstType->isDependentType(), in ConvertVectorExpr()
3569 DstType->isDependentType() || SrcExpr->isValueDependent(), in ConvertVectorExpr()
3570 (DstType->isInstantiationDependentType() || in ConvertVectorExpr()
3572 (DstType->containsUnexpandedParameterPack() || in ConvertVectorExpr()
4716 AsTypeExpr(Expr* SrcExpr, QualType DstType, in AsTypeExpr() argument
4719 : Expr(AsTypeExprClass, DstType, VK, OK, in AsTypeExpr()
4720 DstType->isDependentType(), in AsTypeExpr()
4721 DstType->isDependentType() || SrcExpr->isValueDependent(), in AsTypeExpr()
[all …]
/external/clang/lib/Sema/
DSema.cpp352 void Sema::diagnoseNullableToNonnullConversion(QualType DstType, in diagnoseNullableToNonnullConversion() argument
359 Optional<NullabilityKind> TypeNullability = DstType->getNullability(Context); in diagnoseNullableToNonnullConversion()
363 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType; in diagnoseNullableToNonnullConversion()
DSemaStmt.cpp1171 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, in DiagnoseAssignmentEnum() argument
1176 if (const EnumType *ET = DstType->getAs<EnumType>()) in DiagnoseAssignmentEnum()
1177 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && in DiagnoseAssignmentEnum()
1182 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
1183 bool DstIsSigned = DstType->isSignedIntegerOrEnumerationType(); in DiagnoseAssignmentEnum()
1192 << DstType.getUnqualifiedType(); in DiagnoseAssignmentEnum()
1217 << DstType.getUnqualifiedType(); in DiagnoseAssignmentEnum()
DSemaExpr.cpp11799 Sema::ConversionToObjCStringLiteralCheck(QualType DstType, Expr *&Exp) { in ConversionToObjCStringLiteralCheck() argument
11803 const ObjCObjectPointerType *PT = DstType->getAs<ObjCObjectPointerType>(); in ConversionToObjCStringLiteralCheck()
11831 static bool maybeDiagnoseAssignmentToFunction(Sema &S, QualType DstType, in maybeDiagnoseAssignmentToFunction() argument
11833 if (!DstType->isFunctionPointerType() || in maybeDiagnoseAssignmentToFunction()
11852 QualType DstType, QualType SrcType, in DiagnoseAssignmentResult() argument
11871 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult()
11876 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
11881 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
11889 CheckInferredResultType = DstType->isObjCObjectPointerType() && in DiagnoseAssignmentResult()
11892 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
[all …]
/external/clang/include/clang/Sema/
DSema.h3518 void diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType,
7522 bool ConversionToObjCStringLiteralCheck(QualType DstType, Expr *&SrcExpr);
8382 QualType DstType, QualType SrcType,
8394 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2057 Type *DstType = Trunc->getType(); in getAddExpr() local
2101 return getTruncateExpr(Fold, DstType); in getAddExpr()