Searched refs:scriptTests (Results 1 - 9 of 9) sorted by relevance
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkAnimatorScript2.cpp | 553 static const SkScriptNAnswer scriptTests[] = { variable 582 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests) 594 SkAnimatorScript2 engine(*animator.fMaker, NULL, scriptTests[index].fType); 596 const char* script = scriptTests[index].fScript; 599 SkASSERT(scriptTests[index].fType == SkType_Unknown); 602 SkASSERT(value.fType == ToOpType(scriptTests[index].fType)); 606 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer); 609 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); 613 SkASSERT(value.fOperand.fString->equals(scriptTests[index].fStringAnswer));
|
H A D | SkScript.cpp | 1663 static const SkScriptNAnswer scriptTests[] = { 1869 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests) 1873 SkScriptEngine engine(SkScriptEngine::ToOpType(scriptTests[index].fType)); 1875 const char* script = scriptTests[index].fScript; 1877 SkASSERT(value.fType == scriptTests[index].fType); 1881 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer); 1884 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); 1888 SkASSERT(strcmp(value.fOperand.fString->c_str(), scriptTests[index].fStringAnswer) == 0);
|
H A D | SkAnimatorScript.cpp | 516 static const SkScriptNAnswer scriptTests[] = { variable 553 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests) 565 SkAnimatorScript engine(*animator.fMaker, NULL, scriptTests[index].fType); 567 const char* script = scriptTests[index].fScript; 570 SkDebugf("script failed: %s\n", scriptTests[index].fScript); 571 SkASSERT(scriptTests[index].fType == SkType_Unknown); 574 SkASSERT(value.fType == scriptTests[index].fType); 578 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer); 581 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); 585 SkASSERT(strcmp(value.fOperand.fString->c_str(), scriptTests[inde [all...] |
H A D | SkScriptTokenizer.cpp | 1287 static const SkScriptNAnswer2 scriptTests[] = { variable 1476 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests) 1483 SkScriptEngine2 engine(scriptTests[index].fType); 1485 const char* script = scriptTests[index].fScript; 1488 SkASSERT(value.fType == scriptTests[index].fType); 1492 if (value.fOperand.fS32 != scriptTests[index].fIntAnswer) 1493 SkDEBUGF(("script '%s' == value %d != expected answer %d\n", script, value.fOperand.fS32, scriptTests[index].fIntAnswer)); 1494 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer); 1497 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); 1499 SkDEBUGF(("script '%s' == value %g != expected answer %g\n", script, value.fOperand.fScalar / (1.0f * SK_Scalar1), scriptTests[inde [all...] |
/external/skia/src/animator/ |
H A D | SkAnimatorScript2.cpp | 553 static const SkScriptNAnswer scriptTests[] = { variable 582 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests) 594 SkAnimatorScript2 engine(*animator.fMaker, NULL, scriptTests[index].fType); 596 const char* script = scriptTests[index].fScript; 599 SkASSERT(scriptTests[index].fType == SkType_Unknown); 602 SkASSERT(value.fType == ToOpType(scriptTests[index].fType)); 606 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer); 609 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); 613 SkASSERT(value.fOperand.fString->equals(scriptTests[index].fStringAnswer));
|
H A D | SkScript.cpp | 1663 static const SkScriptNAnswer scriptTests[] = { 1869 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests) 1873 SkScriptEngine engine(SkScriptEngine::ToOpType(scriptTests[index].fType)); 1875 const char* script = scriptTests[index].fScript; 1877 SkASSERT(value.fType == scriptTests[index].fType); 1881 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer); 1884 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); 1888 SkASSERT(strcmp(value.fOperand.fString->c_str(), scriptTests[index].fStringAnswer) == 0);
|
H A D | SkAnimatorScript.cpp | 516 static const SkScriptNAnswer scriptTests[] = { variable 553 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests) 565 SkAnimatorScript engine(*animator.fMaker, NULL, scriptTests[index].fType); 567 const char* script = scriptTests[index].fScript; 570 SkDebugf("script failed: %s\n", scriptTests[index].fScript); 571 SkASSERT(scriptTests[index].fType == SkType_Unknown); 574 SkASSERT(value.fType == scriptTests[index].fType); 578 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer); 581 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); 585 SkASSERT(strcmp(value.fOperand.fString->c_str(), scriptTests[inde [all...] |
H A D | SkScriptTokenizer.cpp | 1287 static const SkScriptNAnswer2 scriptTests[] = { variable 1476 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests) 1483 SkScriptEngine2 engine(scriptTests[index].fType); 1485 const char* script = scriptTests[index].fScript; 1488 SkASSERT(value.fType == scriptTests[index].fType); 1492 if (value.fOperand.fS32 != scriptTests[index].fIntAnswer) 1493 SkDEBUGF(("script '%s' == value %d != expected answer %d\n", script, value.fOperand.fS32, scriptTests[index].fIntAnswer)); 1494 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer); 1497 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer); 1499 SkDEBUGF(("script '%s' == value %g != expected answer %g\n", script, value.fOperand.fScalar / (1.0f * SK_Scalar1), scriptTests[inde [all...] |
/external/icu4c/test/intltest/ |
H A D | itspoof.cpp | 564 } scriptTests[] = { local 578 for (testNum=0; testNum<LENGTHOF(scriptTests); testNum++) { 579 ScriptTest &test = scriptTests[testNum];
|
Completed in 163 milliseconds