Lines Matching refs:fOperand
193 addTokenInt(value.fOperand.fS32); in addTokenValue()
201 addTokenScalar(value.fOperand.fScalar); in addTokenValue()
209 addTokenString(*value.fOperand.fString); in addTokenValue()
377 void* object = top.fOperand.fObject; in evaluateDotParam()
404 inner = value->fOperand.fString->c_str(); in evaluateScript()
497 if (value->fOperand.fArray->count() == 0) in innerScript()
498 value->fOperand.fArray->setType(type = tokenValue.fType); in innerScript()
500 type = value->fOperand.fArray->getType(); in innerScript()
504 *value->fOperand.fArray->append() = tokenValue.fOperand; in innerScript()
542 script = SkParse::FindHex(script, (uint32_t*) &operand.fOperand.fS32); in innerScript()
550 dotCheck = SkParse::FindS32(script, &operand.fOperand.fS32); in innerScript()
557 script = SkParse::FindScalar(script, &operand.fOperand.fScalar); in innerScript()
577 operand.fOperand.fString = new SkString(); in innerScript()
586 operand.fOperand.fString->set(stringStart, script - stringStart); in innerScript()
588 char* stringWrite = operand.fOperand.fString->writable_str(); in innerScript()
597 track(operand.fOperand.fString); in innerScript()
637 operand.fOperand.fArray = value->fOperand.fArray = new SkOpArray(fReturnType); in innerScript()
638 track(value->fOperand.fArray); in innerScript()
731 SkString* string = fValueStack.top().fOperand.fString; in innerScript()
739 operand.fOperand.fString = string; in innerScript()
753 runtime.getResult(&value1.fOperand); in innerScript()
783 int index = scriptValue.fOperand.fS32; in handleArrayIndexer()
790 scriptValue.fType = scriptValue.fOperand.fArray->getType(); in handleArrayIndexer()
792 if ((unsigned) index >= (unsigned) scriptValue.fOperand.fArray->count()) { in handleArrayIndexer()
796 scriptValue.fOperand = scriptValue.fOperand.fArray->begin()[index]; in handleArrayIndexer()
818 … callbackResult.fType = (*callBack)->getReturnType(callbackResult.fOperand.fReference, NULL); in handleFunction()
840 track(callbackResult.fOperand.fString); in handleMember()
861 track(callbackResult.fOperand.fString); in handleMemberFunction()
880 … if (callbackResult.fType == SkOperand2::kString && callbackResult.fOperand.fString == NULL) { in handleProperty()
881 callbackResult.fOperand.fString = new SkString(fToken, fTokenLength); in handleProperty()
882 track(callbackResult.fOperand.fString); in handleProperty()
900 success = callBackConvert->convert(scriptValue->fType, &scriptValue->fOperand); in handleUnbox()
903 track(scriptValue->fOperand.fString); in handleUnbox()
987 … int index = value.fType == SkOperand2::kScalar ? SkScalarFloorToInt(value.fOperand.fScalar) : in processLogicalOp()
988 value.fOperand.fS32; in processLogicalOp()
992 SkOpArray* array = arrayValue.fOperand.fArray; in processLogicalOp()
998 resultValue.fOperand = operand; in processLogicalOp()
1085 value1.fType = getUnboxType(value1.fOperand); in processOp()
1090 value1.fType = getUnboxType(value2.fOperand); in processOp()
1160 runtime.getResult(&value1.fOperand); in processOp()
1167 runtime.untrack(value1.fOperand.fString); in processOp()
1169 runtime.untrack(value1.fOperand.fArray); in processOp()
1198 SkOperand2& operand = value->fOperand; in ConvertTo()
1257 string->appendS32(value.fOperand.fS32); in ValueToString()
1261 string->appendScalar(value.fOperand.fScalar); in ValueToString()
1264 string->set(*value.fOperand.fString); in ValueToString()
1487 if (value.fOperand.fS32 != scriptTests[index].fIntAnswer) in UnitTest()
1488 …EBUGF(("script '%s' == value %d != expected answer %d\n", script, value.fOperand.fS32, scriptTests… in UnitTest()
1489 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer); in UnitTest()
1492 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); in UnitTest()
1494 …EBUGF(("script '%s' == value %g != expected answer %g\n", script, value.fOperand.fScalar / (1.0f *… in UnitTest()
1498 SkASSERT(value.fOperand.fString->equals(scriptTests[index].fStringAnswer)); in UnitTest()