OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scriptTests
(Results
1 - 4
of
4
) sorted by null
/external/skia/src/animator/
SkAnimatorScript2.cpp
553
static const SkScriptNAnswer
scriptTests
[] = {
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));
SkScript.cpp
[
all
...]
SkAnimatorScript.cpp
516
static const SkScriptNAnswer
scriptTests
[] = {
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
[index].fStringAnswer) == 0)
[
all
...]
SkScriptTokenizer.cpp
[
all
...]
Completed in 64 milliseconds