/external/skia/experimental/svg/model/ |
D | SkSVGTypes.h | 97 SkSVGPaint() : fType(Type::kInherit), fColor(SK_ColorBLACK) {} in SkSVGPaint() 98 explicit SkSVGPaint(Type t) : fType(t), fColor(SK_ColorBLACK) {} in SkSVGPaint() 99 explicit SkSVGPaint(const SkSVGColorType& c) : fType(Type::kColor), fColor(c) {} in SkSVGPaint() 101 : fType(Type::kIRI), fColor(SK_ColorBLACK), fIRI(iri) {} in SkSVGPaint() 107 return fType == other.fType && fColor == other.fColor && fIRI == other.fIRI; 111 Type type() const { return fType; } in type() 112 const SkSVGColorType& color() const { SkASSERT(fType == Type::kColor); return fColor; } in color() 113 const SkString& iri() const { SkASSERT(fType == Type::kIRI); return fIRI; } in iri() 116 Type fType; 131 SkSVGClip() : fType(Type::kNone) {} in SkSVGClip() [all …]
|
/external/skqp/experimental/svg/model/ |
D | SkSVGTypes.h | 97 SkSVGPaint() : fType(Type::kInherit), fColor(SK_ColorBLACK) {} in SkSVGPaint() 98 explicit SkSVGPaint(Type t) : fType(t), fColor(SK_ColorBLACK) {} in SkSVGPaint() 99 explicit SkSVGPaint(const SkSVGColorType& c) : fType(Type::kColor), fColor(c) {} in SkSVGPaint() 101 : fType(Type::kIRI), fColor(SK_ColorBLACK), fIRI(iri) {} in SkSVGPaint() 107 return fType == other.fType && fColor == other.fColor && fIRI == other.fIRI; 111 Type type() const { return fType; } in type() 112 const SkSVGColorType& color() const { SkASSERT(fType == Type::kColor); return fColor; } in color() 113 const SkString& iri() const { SkASSERT(fType == Type::kIRI); return fIRI; } in iri() 116 Type fType; 131 SkSVGClip() : fType(Type::kNone) {} in SkSVGClip() [all …]
|
/external/skqp/src/sksl/ir/ |
D | SkSLConstructor.h | 35 if (fType == *irGenerator.fContext.fFloat_Type || in constantPropagate() 36 fType == *irGenerator.fContext.fHalf_Type) { in constantPropagate() 42 } else if (fType == *irGenerator.fContext.fUInt_Type || in constantPropagate() 43 fType == *irGenerator.fContext.fUShort_Type) { in constantPropagate() 48 &fType)); in constantPropagate() 68 return std::unique_ptr<Expression>(new Constructor(fOffset, fType, std::move(cloned))); in clone() 72 String result = fType.description() + "("; in description() 93 SkASSERT(other.fKind == Expression::kConstructor_Kind && other.fType == fType); in compareConstant() 95 if (c.fType.kind() == Type::kVector_Kind) { in compareConstant() 96 for (int i = 0; i < fType.columns(); i++) { in compareConstant() [all …]
|
/external/skia/src/sksl/ir/ |
D | SkSLConstructor.h | 35 if (fType.isFloat()) { in constantPropagate() 41 } else if (fType.isInteger()) { in constantPropagate() 46 &fType)); in constantPropagate() 66 return std::unique_ptr<Expression>(new Constructor(fOffset, fType, std::move(cloned))); in clone() 70 String result = fType.description() + "("; in description() 91 SkASSERT(other.fKind == Expression::kConstructor_Kind && other.fType == fType); in compareConstant() 93 if (c.fType.kind() == Type::kVector_Kind) { in compareConstant() 94 for (int i = 0; i < fType.columns(); i++) { in compareConstant() 104 SkASSERT(fType.kind() == Type::kMatrix_Kind); in compareConstant() 108 if (fType.componentType().isFloat()) { in compareConstant() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLProgramDataManager.cpp | 31 uniform.fType = builderUniform.fVariable.getType(); in GrGLProgramDataManager() 47 pathProcVarying.fType = builderPathProcVarying.fVariable.getType(); in GrGLProgramDataManager() 66 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1i() 77 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1iv() 87 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1f() 98 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1fv() 112 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); in set2i() 123 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); in set2iv() 133 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); in set2f() 144 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); in set2fv() [all …]
|
/external/skqp/src/gpu/gl/ |
D | GrGLProgramDataManager.cpp | 31 uniform.fType = builderUniform.fVariable.getType(); in GrGLProgramDataManager() 47 pathProcVarying.fType = builderPathProcVarying.fVariable.getType(); in GrGLProgramDataManager() 66 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1i() 77 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1iv() 87 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1f() 98 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1fv() 112 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); in set2i() 123 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); in set2iv() 133 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); in set2f() 144 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); in set2fv() [all …]
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineStateDataManager.cpp | 33 uniform.fType = uniformInfo.fVariable.getType(); in GrVkPipelineStateDataManager() 62 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1i() 72 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1iv() 88 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1f() 99 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1fv() 115 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); in set2i() 126 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); in set2iv() 142 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); in set2f() 154 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); in set2fv() 173 SkASSERT(uni.fType == kInt3_GrSLType || uni.fType == kShort3_GrSLType); in set3i() [all …]
|
D | GrVkBuffer.cpp | 32 switch (desc.fType) { in Create() 67 desc.fType, in Create() 73 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc, desc.fType); in Create() 76 GrVkMemory::FreeBufferMemory(gpu, desc.fType, alloc); in Create() 109 GrVkMemory::FreeBufferMemory(gpu, fType, fAlloc); in freeGPUData() 162 buffer_type_to_access_flags(fDesc.fType), in internalMap() 220 buffer_type_to_access_flags(fDesc.fType), in internalUnmap() 251 SkASSERT(!fResource || kVertex_Type == fDesc.fType || kIndex_Type == fDesc.fType in validate() 252 || kTexel_Type == fDesc.fType || kCopyRead_Type == fDesc.fType in validate() 253 || kCopyWrite_Type == fDesc.fType || kUniform_Type == fDesc.fType); in validate()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipelineStateDataManager.cpp | 33 uniform.fType = uniformInfo.fVariable.getType(); in GrVkPipelineStateDataManager() 62 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1i() 72 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1iv() 88 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1f() 99 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1fv() 115 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); in set2i() 126 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); in set2iv() 142 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); in set2f() 154 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); in set2fv() 173 SkASSERT(uni.fType == kInt3_GrSLType || uni.fType == kShort3_GrSLType); in set3i() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | fmtable.cpp | 106 fType = kLong; in init() 126 fType = kDate; in Formattable() 136 fType = kDouble; in Formattable() 155 fType = kInt64; in Formattable() 174 fType = kString; in Formattable() 185 fType = kString; in Formattable() 192 fType = kObject; in Formattable() 199 : UObject(), fType(kArray) in Formattable() 202 fType = kArray; in Formattable() 230 fType = source.fType; in operator =() [all …]
|
/external/skia/src/shaders/ |
D | SkLights.h | 34 : fType(other.fType) in Light() 40 : fType(other.fType) in Light() 57 LightType type() const { return fType; } in type() 60 SkASSERT(kDirectional_LightType == fType); in dir() 64 SkASSERT(kPoint_LightType == fType); in pos() 68 SkASSERT(kPoint_LightType == fType); in intensity() 77 fType = other.fType; 85 return (fType == other.fType) && 98 : fType(type) in Light() 103 LightType fType; variable
|
/external/skqp/src/shaders/ |
D | SkLights.h | 34 : fType(other.fType) in Light() 40 : fType(other.fType) in Light() 57 LightType type() const { return fType; } in type() 60 SkASSERT(kDirectional_LightType == fType); in dir() 64 SkASSERT(kPoint_LightType == fType); in pos() 68 SkASSERT(kPoint_LightType == fType); in intensity() 77 fType = other.fType; 85 return (fType == other.fType) && 98 : fType(type) in Light() 103 LightType fType; variable
|
/external/skqp/src/sksl/ |
D | SkSLSPIRVCodeGenerator.cpp | 384 types.push_back(this->getType(*f.fType, memoryLayout)); in writeStruct() 393 size_t size = memoryLayout.size(*type.fields()[i].fType); in writeStruct() 394 size_t alignment = memoryLayout.alignment(*type.fields()[i].fType); in writeStruct() 420 if (type.fields()[i].fType->kind() == Type::kMatrix_Kind) { in writeStruct() 424 (SpvId) memoryLayout.stride(*type.fields()[i].fType), in writeStruct() 428 Type::Kind kind = type.fields()[i].fType->kind(); in writeStruct() 566 key += function.fParameters[i]->fType.description(); in getFunctionType() 599 parameterTypes.push_back(this->getPointerType(function.fParameters[i]->fType, in getFunctionType() 675 const Type& type = c.fArguments[0]->fType; in writeIntrinsicCall() 702 this->writeWord(this->getType(c.fType), out); in writeIntrinsicCall() [all …]
|
D | SkSLGLSLCodeGenerator.cpp | 181 this->writeTypePrecision(*f.fType); in writeType() 183 this->writeType(*f.fType); in writeType() 257 this->fFunctionHeader += String(" ") + this->getTypePrecision(absExpr.fType) + in writeMinAbsHack() 258 this->getTypeName(absExpr.fType) + " " + tmpVar1 + ";\n"; in writeMinAbsHack() 259 this->fFunctionHeader += String(" ") + this->getTypePrecision(otherExpr.fType) + in writeMinAbsHack() 260 this->getTypeName(otherExpr.fType) + " " + tmpVar2 + ";\n"; in writeMinAbsHack() 276 if (mat.fType == *fContext.fFloat2x2_Type || mat.fType == *fContext.fHalf2x2_Type) { in writeDeterminantHack() 287 else if (mat.fType == *fContext.fFloat3x3_Type || mat.fType == *fContext.fHalf3x3_Type) { in writeDeterminantHack() 304 else if (mat.fType == *fContext.fFloat4x4_Type || mat.fType == *fContext.fHalf4x4_Type) { in writeDeterminantHack() 341 if (mat.fType == *fContext.fFloat2x2_Type || mat.fType == *fContext.fHalf2x2_Type) { in writeInverseHack() [all …]
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.h | 28 : fType(kPremulGrColorUniform_Type) in Color() 32 : fType(type) in Color() 38 Type fType; member 53 explicit Coverage(uint8_t coverage) : fType(kUniform_Type), fCoverage(coverage) {} in Coverage() 54 Coverage(Type type) : fType(type), fCoverage(0xff) { in Coverage() 58 Type fType; member 69 LocalCoords(Type type) : fType(type), fMatrix(nullptr) {} in LocalCoords() 70 LocalCoords(Type type, const SkMatrix* matrix) : fType(type), fMatrix(matrix) { in LocalCoords() 75 Type fType; member
|
D | GrShaderVar.h | 43 : fType(kHalf_GrSLType) in GrShaderVar() 50 : fType(type) in fType() function 60 : fType(type) in fType() function 70 : fType(type) in GrShaderVar() 79 : fType(type) in GrShaderVar() 88 : fType(that.fType) in GrShaderVar() 108 fType = type; 129 fType = type; 151 fType = type; 173 fType = type; [all …]
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlPipelineStateDataManager.mm | 33 uniform.fType = uniformInfo.fVariable.getType(); 62 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); 72 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); 88 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); 99 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); 115 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); 126 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); 142 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); 154 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); 173 SkASSERT(uni.fType == kInt3_GrSLType || uni.fType == kShort3_GrSLType); [all …]
|
/external/skia/src/gpu/mtl/ |
D | GrMtlPipelineStateDataManager.mm | 33 uniform.fType = uniformInfo.fVariable.getType(); 62 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); 72 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); 88 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); 99 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); 115 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); 126 SkASSERT(uni.fType == kInt2_GrSLType || uni.fType == kShort2_GrSLType); 142 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); 154 SkASSERT(uni.fType == kFloat2_GrSLType || uni.fType == kHalf2_GrSLType); 173 SkASSERT(uni.fType == kInt3_GrSLType || uni.fType == kShort3_GrSLType); [all …]
|
/external/skqp/src/gpu/ |
D | GrDefaultGeoProcFactory.h | 30 : fType(kPremulGrColorUniform_Type) in Color() 34 : fType(type) in Color() 40 Type fType; member 55 explicit Coverage(uint8_t coverage) : fType(kUniform_Type), fCoverage(coverage) {} in Coverage() 56 Coverage(Type type) : fType(type), fCoverage(0xff) { in Coverage() 60 Type fType; member 71 LocalCoords(Type type) : fType(type), fMatrix(nullptr) {} in LocalCoords() 72 LocalCoords(Type type, const SkMatrix* matrix) : fType(type), fMatrix(matrix) { in LocalCoords() 77 Type fType; member
|
D | GrShaderVar.h | 43 : fType(kHalf_GrSLType) in GrShaderVar() 51 : fType(type) in fType() function 63 : fType(type) in fType() function 75 : fType(type) in fType() function 86 : fType(type) in fType() function 96 : fType(that.fType) in GrShaderVar() 119 fType = type; 143 fType = type; 168 fType = type; 193 fType = type; [all …]
|
/external/icu/icu4c/source/common/ |
D | rbbinode.cpp | 54 fType = t; in RBBINode() 84 fType = other.fType; in RBBINode() 118 switch (this->fType) { in ~RBBINode() 152 if (fType == RBBINode::varRef) { in cloneTree() 156 } else if (fType == RBBINode::uset) { in cloneTree() 196 if (fType == varRef) { in flattenVariables() 227 U_ASSERT(fType != setRef); in flattenSets() 230 if (fLeftChild->fType==setRef) { in flattenSets() 243 if (fRightChild->fType==setRef) { in flattenSets() 269 if (fType == kind) { in findNodes() [all …]
|
/external/skia/src/sksl/ |
D | SkSLSPIRVCodeGenerator.cpp | 383 types.push_back(this->getType(*f.fType, memoryLayout)); in writeStruct() 393 size_t size = memoryLayout.size(*field.fType); in writeStruct() 394 size_t alignment = memoryLayout.alignment(*field.fType); in writeStruct() 420 if (field.fType->kind() == Type::kMatrix_Kind) { in writeStruct() 424 (SpvId) memoryLayout.stride(*field.fType), in writeStruct() 427 if (!field.fType->highPrecision()) { in writeStruct() 432 Type::Kind kind = field.fType->kind(); in writeStruct() 572 key += function.fParameters[i]->fType.description(); in getFunctionType() 605 parameterTypes.push_back(this->getPointerType(function.fParameters[i]->fType, in getFunctionType() 681 const Type& type = c.fArguments[0]->fType; in writeIntrinsicCall() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RBBINode.java | 69 int fType; // enum NodeType field in RBBINode 112 fType = t; in RBBINode() 132 fType = other.fType; 159 if (fType == RBBINode.varRef) { 163 } else if (fType == RBBINode.uset) { 200 if (fType == varRef) { 227 Assert.assrt(fType != setRef); 230 if (fLeftChild.fType == setRef) { 242 if (fRightChild.fType == setRef) { 262 if (fType == kind) { [all …]
|
/external/skia/modules/particles/src/ |
D | SkCurve.cpp | 48 SkScalar result = eval_segment(fMin, x, fType); in eval() 50 result += (eval_segment(fMax, x, fType) - result) * t; in eval() 59 v->visit("Type", fType, gCurveSegmentTypeMapping, SK_ARRAY_COUNT(gCurveSegmentTypeMapping)); in visitFields() 63 if (fType == kCubic_SegmentType) { in visitFields() 67 if (fType != kConstant_SegmentType) { in visitFields() 72 if (fType == kCubic_SegmentType) { in visitFields() 76 if (fType != kConstant_SegmentType) { in visitFields() 125 SkColor4f result = eval_segment(fMin, x, fType); in eval() 127 result = result + (eval_segment(fMax, x, fType) - result) * t; in eval() 133 v->visit("Type", fType, gCurveSegmentTypeMapping, SK_ARRAY_COUNT(gCurveSegmentTypeMapping)); in visitFields() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RBBINode.java | 68 int fType; // enum NodeType field in RBBINode 111 fType = t; in RBBINode() 131 fType = other.fType; 158 if (fType == RBBINode.varRef) { 162 } else if (fType == RBBINode.uset) { 199 if (fType == varRef) { 226 Assert.assrt(fType != setRef); 229 if (fLeftChild.fType == setRef) { 241 if (fRightChild.fType == setRef) { 261 if (fType == kind) { [all …]
|