Home
last modified time | relevance | path

Searched refs:fType (Results 1 – 25 of 81) sorted by relevance

1234

/external/icu4c/i18n/
Dfmtable.cpp93 : UObject(), fType(kLong) in Formattable()
103 : UObject(), fType(kDate) in Formattable()
113 : UObject(), fType(kDouble) in Formattable()
123 : UObject(), fType(kLong) in Formattable()
133 : UObject(), fType(kInt64) in Formattable()
143 : UObject(), fType(kString) in Formattable()
154 : UObject(), fType(kString) in Formattable()
161 : UObject(), fType(kObject) in Formattable()
170 : UObject(), fType(kArray) in Formattable()
181 : UObject(source), fType(kLong) in Formattable()
[all …]
/external/skia/src/animator/
DSkMemberInfo.cpp92 SkASSERT(fType != SkType_String && fType != SkType_MemberProperty); in getArrayValue()
109 switch (fType) { in getSize()
126 byteSize = GetSize((SkDisplayTypes) fType); in getSize()
132 if (fType == SkType_MemberProperty) { in getString()
135 SkASSERT(value.fType == SkType_String); in getString()
140 SkASSERT(fType == SkType_String || fType == SkType_DynamicString); in getString()
146 SkASSERT(fType != SkType_String && fType != SkType_MemberProperty); in getValue()
164 if (fType == SkType_Array) { in setValue()
196 scriptValue.fType = SkType_Unknown; in setValue()
204 if (displayable && fType != SkType_MemberProperty && fType != SkType_MemberFunction) in setValue()
[all …]
DSkMemberInfo.h49 SkDisplayTypes fType; member
54 unsigned char fType;
58 SkASSERT(fType == SkType_Array); in arrayType()
62 SkASSERT(fType == SkType_MemberFunction); in functionIndex()
67 return fType == SkType_MemberProperty || fType == SkType_Array || in getCount()
68 fType == SkType_MemberFunction ? 1 : fCount; in getCount()
74 return fType == SkType_MemberProperty || fType == SkType_Array || in getType()
75 fType == SkType_MemberFunction ? (SkDisplayTypes) fCount : (SkDisplayTypes) fType; in getType()
81 SkASSERT(fType != SkType_MemberProperty && fType != SkType_MemberFunction); in memberData()
85 SkASSERT(fType == SkType_MemberProperty); in propertyIndex()
[all …]
DSkOperand.h43 SkDisplayTypes fType; member
44 SkTypedArray* getArray() { SkASSERT(fType == SkType_Array); return fOperand.fArray; } in getArray()
45 …SkDisplayable* getDisplayable() { SkASSERT(fType == SkType_Displayable); return fOperand.fDisplaya… in getDisplayable()
46 SkDrawable* getDrawable() { SkASSERT(fType == SkType_Drawable); return fOperand.fDrawable; } in getDrawable()
47 … int32_t getS32(SkAnimateMaker* maker) { SkASSERT(fType == SkType_Int || fType == SkType_Boolean || in getS32()
48 SkDisplayType::IsEnum(maker, fType)); return fOperand.fS32; } in getS32()
49 SkMSec getMSec() { SkASSERT(fType == SkType_MSec); return fOperand.fMSec; } in getMSec()
50 SkScalar getScalar() { SkASSERT(fType == SkType_Float); return fOperand.fScalar; } in getScalar()
51 SkString* getString() { SkASSERT(fType == SkType_String); return fOperand.fString; } in getString()
DSkScriptTokenizer.cpp153 value->fType = toType; in addTokenConst()
182 switch (value.fType) { in addTokenValue()
339 SkOperand2::OpType type = value->fType; in convertTo()
367 if (top.fType != SkOperand2::kObject) in evaluateDotParam()
490 value->fOperand.fArray->setType(type = tokenValue.fType); in innerScript()
494 if (tokenValue.fType != type) in innerScript()
545 operand.fType = SkOperand2::kS32; in innerScript()
549 operand.fType = SkOperand2::kScalar; in innerScript()
589 operand.fType = SkOperand2::kString; in innerScript()
606 addTokenInt(top.fType); in innerScript()
[all …]
DSkAnimatorScript.cpp92 if (success == false || result->fType != type) { in evaluate()
101 SkDisplayTypes type = scriptValue->fType; in Box()
129 scriptValue->fType = SkType_Displayable; in Box()
137 scriptValue->fType = SkType_Displayable; in Box()
151 if (scriptValue->fType == SkType_String) { in Eval()
161 value->fType = SkType_Int; in EvalEnum()
180 value->fType = SkType_Displayable; in EvalID()
187 value->fType = SkType_String; in EvalID()
191 value->fType = SkType_Displayable; in EvalID()
204 value->fType = SkType_Int; in EvalNamedColor()
[all …]
DSkBuildCondensedInfo.cpp48 if (info[inner].fType == SkType_BaseClassInfo) { in AddInfo()
55 if (info[inner].fType != SkType_BaseClassInfo && info[inner].fName) in AddInfo()
58 SkASSERT(info[inner].fType < 256); in AddInfo()
68 const char* name = (info[inner].fType != SkType_BaseClassInfo && info[inner].fName) ? in WriteInfo()
79 if (info[inner].fType == SkType_BaseClassInfo) { in WriteInfo()
86 info[inner].fType, info[inner].fCount); in WriteInfo()
89 if (info[inner].fType != SkType_BaseClassInfo && info[inner].fName) in WriteInfo()
121 const SkMemberInfo* info = GetMembers(maker, gTypeNames[index].fType, &infoCount); in BuildCondensedInfo()
124 AddInfo(gTypeNames[index].fType, info, infoCount); in BuildCondensedInfo()
175 while (gTypeNames[typeNameIndex].fType < index) in BuildCondensedInfo()
[all …]
DSkDisplayable.cpp92 if (info->fType == SkType_MemberProperty) { in deepCopy()
99 if (info->fType == SkType_MemberFunction) in deepCopy()
101 if (info->fType == SkType_Array) { in deepCopy()
119 if (SkDisplayType::IsDisplayable(maker, info->fType)) { in deepCopy()
127 if (info->fType == SkType_String || info->fType == SkType_DynamicString) { in deepCopy()
134 size_t size = SkMemberInfo::GetSize(info->fType); in deepCopy()
175 if (SkType_MemberProperty == info->fType) { in dumpAttrs()
179 …dumpValues(info, value.fType, value.fOperand, blankValue.fOperand, value.fOperand, blankValue.fOpe… in dumpAttrs()
185 if (SkDisplayType::IsDisplayable(maker, info->fType)) { in dumpAttrs()
189 if (info->fType == SkType_MemberFunction) in dumpAttrs()
[all …]
DSkOperand2.h36 SkOperand2::OpType fType : 8; member
39 SkOpArray* getArray() { SkASSERT(fType == SkOperand2::kArray); return fOperand.fArray; } in getArray()
40 void* getObject() { SkASSERT(fType == SkOperand2::kObject); return fOperand.fObject; } in getObject()
41 int32_t getS32() { SkASSERT(fType == SkOperand2::kS32); return fOperand.fS32; } in getS32()
42 SkScalar getScalar() { SkASSERT(fType == SkOperand2::kScalar); return fOperand.fScalar; } in getScalar()
43 SkString* getString() { SkASSERT(fType == SkOperand2::kString); return fOperand.fString; } in getString()
DSkAnimatorScript2.cpp139 SkASSERT(value.fType == fEngine->getReturnType()); in invoke()
196 ref->fType = SkOperand2::kObject; in getMemberReference()
203 ref->fType = SkAnimatorScript2::ToOpType(info->getType()); in getMemberReference()
211 if (info->fType == SkType_MemberProperty) { in invoke()
231 if (info == NULL || info->fType != SkType_MemberFunction) in getMemberReference()
233 ref->fType = SkAnimatorScript2::ToOpType(info->getType()); in getMemberReference()
395 if (info->fType == SkType_Array) in evalMemberCommon()
405 if (info->fType != SkType_MemberProperty && info->fType != SkType_MemberFunction) in evalMemberCommon()
414 if (info->fType != SkType_MemberProperty && info->fType != SkType_MemberFunction) { in evalMemberCommon()
420 SkASSERT(info->fType != SkType_MemberProperty); // !!! incomplete in evalMemberCommon()
[all …]
DSkTypedArray.h29 SkDisplayTypes getType() { return fType; } in getType()
30 SkScriptEngine::SkOpType getOpType() { return SkScriptEngine::ToOpType(fType); } in getOpType()
33 fType = type; in setType()
36 SkDisplayTypes fType;
DSkDrawExtraPathEffect.cpp115 fMaker->setExtraPropertyCallBack(fDraw->fType, GetDistance, &distance); in next()
144 fMaker->clearExtraPropertyCallBack(fDraw->fType); in next()
155 value->fType = SkType_Float; in GetContourLength()
164 value->fType = SkType_Float; in GetDistance()
220 SkDrawShape1DPathEffect::SkDrawShape1DPathEffect(SkDisplayTypes type) : fType(type) { in SkDrawShape1DPathEffect()
254 fMaker->setExtraPropertyCallBack(fDraw->fType, Get2D, this); in next()
283 fMaker->clearExtraPropertyCallBack(fDraw->fType); in next()
296 value->fType = SkType_Float; in Get2D()
299 value->fType = SkType_Int; in Get2D()
330 SkDrawShape2DPathEffect::SkDrawShape2DPathEffect(SkDisplayTypes type) : fType(type) { in SkDrawShape2DPathEffect()
[all …]
DSkOperandIterpolator.cpp23 fType = SkType_Unknown; in SkOperandInterpolator()
37 fType = type; in reset()
85 if (fType == SkType_Float || fType == SkType_3D_Point) { in timeToValues()
88 } else if (fType == SkType_Int || fType == SkType_MSec) { in timeToValues()
DSkScript.cpp351 SkDisplayTypes type = value->fType; in convertTo()
362 value->fType = ToDisplayType(type); in convertTo()
561 if (tokenValue.fType == SkType_Displayable) { in innerScript()
565 if (tokenValue.fType != tokenInfo->getType()) { in innerScript()
587 if (tokenValue.fType == SkType_Structure) { in innerScript()
597 value->fOperand.fArray->setType(type = tokenValue.fType); in innerScript()
601 if (tokenValue.fType != type) { in innerScript()
733 scriptValue.fType = ToDisplayType(topType); in innerScript()
850 value->fType = ToDisplayType(type); in innerScript()
902 scriptValue.fType = ToDisplayType(type); in handleArrayIndexer()
[all …]
DSkOpArray.h14 SkOperand2::OpType getType() { return fType; } in getType()
16 fType = type; in setType()
19 SkOperand2::OpType fType;
DSkDisplayTypes.cpp141 scriptValue->fType = SkType_String; in executeFunction()
142 SkASSERT(parameters[0].fType == SkType_Int); in executeFunction()
148 SkASSERT(parameters[1].fType == SkType_Int); in executeFunction()
167 scriptValue->fType = SkType_Int; in getProperty()
218 value->fType = SkType_Int; in getProperty()
DSkGetCondensedInfo.cpp80 if (info->fType == SkType_BaseClassInfo) { in _lookup()
89 SkASSERT(info->fType != SkType_BaseClassInfo); in _lookup()
101 if (info->fType == SkType_BaseClassInfo) { in Find()
110 SkASSERT(info->fType != SkType_BaseClassInfo); in Find()
DSkDrawRectangle.cpp82 value->fType = SkType_Boolean; in getProperty()
92 value->fType = SkType_Float; in getProperty()
107 SkASSERT(value.fType == SkType_Float); in setProperty()
113 SkASSERT(value.fType == SkType_Float); in setProperty()
/external/icu4c/common/
Drbbinode.cpp50 fType = t; in RBBINode()
78 fType = other.fType; in RBBINode()
110 switch (this->fType) { in ~RBBINode()
144 if (fType == RBBINode::varRef) { in cloneTree()
148 } else if (fType == RBBINode::uset) { in cloneTree()
185 if (fType == varRef) { in flattenVariables()
212 U_ASSERT(fType != setRef); in flattenSets()
215 if (fLeftChild->fType==setRef) { in flattenSets()
228 if (fRightChild->fType==setRef) { in flattenSets()
254 if (fType == kind) { in findNodes()
[all …]
Drbbitblb.cpp186 if (n->fType == RBBINode::setRef || in calcNullable()
187 n->fType == RBBINode::endMark ) { in calcNullable()
193 if (n->fType == RBBINode::lookAhead || n->fType == RBBINode::tag) { in calcNullable()
207 if (n->fType == RBBINode::opOr) { in calcNullable()
210 else if (n->fType == RBBINode::opCat) { in calcNullable()
213 else if (n->fType == RBBINode::opStar || n->fType == RBBINode::opQuestion) { in calcNullable()
233 if (n->fType == RBBINode::leafChar || in calcFirstPos()
234 n->fType == RBBINode::endMark || in calcFirstPos()
235 n->fType == RBBINode::lookAhead || in calcFirstPos()
236 n->fType == RBBINode::tag) { in calcFirstPos()
[all …]
/external/skia/src/views/
DSkEvent.cpp21 fType = NULL; in initialize()
40 if (((size_t) fType & 1) == 0) in SkEvent()
41 setType(src.fType); in SkEvent()
57 if (((size_t) fType & 1) == 0) in ~SkEvent()
58 sk_free((void*) fType); in ~SkEvent()
72 if ((size_t) fType & 1) { // not a pointer
74 size_t len = makeCharArray(chars, (size_t) fType);
75 fType = (char*) sk_malloc_throw(len);
76 SkASSERT(((size_t) fType & 1) == 0);
77 memcpy(fType, chars, len);
[all …]
DSkMetaData.cpp53 this->set(rec->name(), rec->data(), rec->fDataLen, (Type)rec->fType, rec->fDataCount); in operator =()
104 rec->fType = SkToU8(type); in set()
106 rec->fType = type; in set()
221 if (rec->fType == type && !strcmp(rec->name(), name)) in find()
235 if (rec->fType == type && !strcmp(rec->name(), name)) in remove()
294 *t = (SkMetaData::Type)fRec->fType; in next()
358 SkMetaData::Type fType; in UnitTest() member
380 SkASSERT(gElems[i].fType == t); in UnitTest()
/external/icu4c/tools/genrb/
Dreslist.c104 if (current->fType == URES_INT) { in array_write()
105 resources[i] = (current->fType << 28) | (current->u.fIntValue.fValue & 0xFFFFFFF); in array_write()
106 } else if (current->fType == URES_BINARY) { in array_write()
110 resources[i] = (current->fType << 28) | (usedOffset >> 2); in array_write()
114 resources[i] = (current->fType << 28) | (usedOffset >> 2); in array_write()
189 if(res->fType == URES_TABLE) { in table_write()
219 if(res->fType == URES_TABLE) { in table_write()
225 if (current->fType == URES_INT) { in table_write()
226 resources[i] = (current->fType << 28) | (current->u.fIntValue.fValue & 0xFFFFFFF); in table_write()
227 } else if (current->fType == URES_BINARY) { in table_write()
[all …]
/external/webkit/WebCore/platform/win/
DContextMenuItemWin.cpp68 m_platformDescription->fType = MFT_SEPARATOR; in ContextMenuItem()
78 m_platformDescription->fType = MFT_STRING; in ContextMenuItem()
89 if (m_platformDescription->fType == MFT_STRING) in ~ContextMenuItem()
105 …if (((m_platformDescription->fType & ~MFT_OWNERDRAW) == MFT_STRING) && m_platformDescription->hSub… in type()
107 else if (m_platformDescription->fType & MFT_SEPARATOR) in type()
131 m_platformDescription->fType = MFT_SEPARATOR; in setType()
133 m_platformDescription->fType = MFT_STRING; in setType()
/external/skia/src/core/
DSkPathMeasure.cpp124 seg->fType = kQuad_SegType; in compute_quad_segs()
148 seg->fType = kCubic_SegType; in compute_cubic_segs()
182 seg->fType = fIter.isCloseLine() ? in buildSegments()
228 SkASSERT(s[0].fType == s[1].fType); in buildSegments()
422 SkASSERT(seg[-1].fType == seg->fType); in distanceToSegment()
462 compute_pos_tan(*fPath, fSegments[0].fPtIndex, seg->fPtIndex, seg->fType, in getPosTan()
512 seg->fType, startT, &p, NULL); in getSegment()
517 seg_to(*fPath, fSegments[0].fPtIndex, seg->fPtIndex, seg->fType, in getSegment()
521 seg_to(*fPath, fSegments[0].fPtIndex, seg->fPtIndex, seg->fType, in getSegment()
526 seg_to(*fPath, fSegments[0].fPtIndex, seg->fPtIndex, seg->fType, in getSegment()
[all …]

1234