Lines Matching refs:info
79 const SkMemberInfo* info;
81 info = copy->getMember(++index);
82 if (info == NULL)
84 if (info->fType == SkType_MemberProperty) {
91 if (info->fType == SkType_MemberFunction)
93 if (info->fType == SkType_Array) {
94 SkTDOperandArray* array = (SkTDOperandArray*) info->memberData(this);
98 SkTDOperandArray* copyArray = (SkTDOperandArray*) info->memberData(copy);
105 elementType = info->arrayType();
111 if (SkDisplayType::IsDisplayable(maker, info->fType)) {
112 SkDisplayable** displayable = (SkDisplayable**) info->memberData(this);
116 info->setMemberData(copy, deeper, sizeof(deeper));
119 if (info->fType == SkType_String || info->fType == SkType_DynamicString) {
121 info->getString(this, &string);
122 info->setString(copy, string);
125 void* data = info->memberData(this);
126 size_t size = SkMemberInfo::GetSize(info->fType);
127 info->setMemberData(copy, data, size);
155 const SkMemberInfo* info;
162 info = this->getMember(++index);
163 if (NULL == info) {
167 if (SkType_MemberProperty == info->fType) {
171 dumpValues(info, value.fType, value.fOperand, blankValue.fOperand, value.fOperand, blankValue.fOperand);
177 if (SkDisplayType::IsDisplayable(maker, info->fType)) {
181 if (info->fType == SkType_MemberFunction)
185 if (info->fType == SkType_Array) {
186 SkTDOperandArray* array = (SkTDOperandArray*) info->memberData(this);
195 elementType = info->arrayType();
197 SkDebugf("%s=\"[", info->fName);
223 if (info->fType == SkType_String || info->fType == SkType_DynamicString) {
225 info->getString(this, &string);
227 SkDebugf("%s=\"%s\"\t", info->fName, string->c_str());
233 int i = info->fCount;
234 info->getValue(this, values, i);
236 dumpValues(info, info->fType, values[0], blankValues[0], values[1], blankValues[1]);
257 const SkMemberInfo* info;
261 info = this->getMember(++index);
262 if (NULL == info) {
265 if (SkDisplayType::IsDisplayable(maker, info->fType)) {
266 SkDisplayable** displayable = (SkDisplayable**) info->memberData(this);
295 void SkDisplayable::dumpValues(const SkMemberInfo* info, SkDisplayTypes type, SkOperand op, SkOperand blankOp,
310 SkDebugf("%s=\"[%g,%g]\" ", info->fName, SkScalarToFloat(op.fScalar), SkScalarToFloat(op2.fScalar));
319 SkDebugf("%s=\"%s\" ", info->fName, "angle");
322 SkDebugf("%s=\"%s\" ", info->fName, "position");
325 SkDebugf("%s=\"INVALID\" ", info->fName);
333 SkDebugf("%s=\"%s\" ", info->fName, "solid");
336 SkDebugf("%s=\"%s\" ", info->fName, "outer");
339 SkDebugf("%s=\"%s\" ", info->fName, "inner");
342 SkDebugf("%s=\"INVALID\" ", info->fName);
347 SkDebugf("%s=\"%s\" ", info->fName, "bilinear");
350 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "cw" : "ccw");
353 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "winding" : "evenOdd");
358 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "clamp" : op.fS32 == 1 ? "repeat" : "mirror");
362 SkDebugf("%s=\"%s\" ", info->fName, op.fS32 == 0 ? "false" : "true");
366 SkDebugf(" %s=\"%d\" ", info->fName, op.fS32);
370 SkDebugf("%s=\"%g\" ", info->fName, SkScalarToFloat(op.fScalar));
376 SkDebugf("%s=\"%s\" ", info->fName, op.fString->c_str());
380 SkDebugf(" %s=\"%g\" ", info->fName, SkScalarToFloat(SkScalarDiv(op.fS32, 1000)));
402 const SkMemberInfo* info, SkTypedArray* values, SkScriptValue* value) {
410 executeFunction(target, info->functionIndex(), typedValues, info->getType(), value);
436 const SkFunctionParamType* SkDisplayable::getParameters(const SkMemberInfo* info,
440 int funcIndex = info->functionIndex();
510 void SkDisplayable::setReference(const SkMemberInfo* info, SkDisplayable* displayable) {
511 if (info->fType == SkType_MemberProperty) {
515 setProperty(info->propertyIndex(), scriptValue);
516 } else if (info->fType == SkType_Array) {
519 SkTDScalarArray* array = (SkTDScalarArray* ) info->memberData(this);
529 void* storage = info->memberData(this);