HomeSort by relevance Sort by last modified time
    Searched refs:scriptTests (Results 1 - 4 of 4) sorted by null

  /external/skia/src/animator/
SkAnimatorScript2.cpp 546 static const SkScriptNAnswer scriptTests[] = {
575 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests)
587 SkAnimatorScript2 engine(*animator.fMaker, NULL, scriptTests[index].fType);
589 const char* script = scriptTests[index].fScript;
592 SkASSERT(scriptTests[index].fType == SkType_Unknown);
595 SkASSERT(value.fType == ToOpType(scriptTests[index].fType));
599 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer);
602 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer);
606 SkASSERT(value.fOperand.fString->equals(scriptTests[index].fStringAnswer));
SkScript.cpp     [all...]
SkAnimatorScript.cpp 524 static const SkScriptNAnswer scriptTests[] = {
561 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests)
573 SkAnimatorScript engine(*animator.fMaker, NULL, scriptTests[index].fType);
575 const char* script = scriptTests[index].fScript;
578 SkDebugf("script failed: %s\n", scriptTests[index].fScript);
579 SkASSERT(scriptTests[index].fType == SkType_Unknown);
582 SkASSERT(value.fType == scriptTests[index].fType);
586 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer);
589 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer);
593 SkASSERT(strcmp(value.fOperand.fString->c_str(), scriptTests[index].fStringAnswer) == 0)
    [all...]
SkScriptTokenizer.cpp     [all...]

Completed in 694 milliseconds