Lines Matching full:testresult
168 struct TestResult {
222 class SortByPixel : public TestResult {
229 class SortByTime : public TestResult {
236 class SortByName : public TestResult {
250 TestResult fResult;
360 static bool addError(TestState* data, const TestResult& testResult) {
361 if (testResult.fPixelError <= 0 && testResult.fTime <= 0) {
365 int pixelError = testResult.fPixelError;
369 data->fPixelWorst[index] = *(SortByPixel*) &testResult;
375 int time = testResult.fTime;
379 data->fSlowest[index] = *(SortByTime*) &testResult;
385 *data->fPixelWorst.append() = *(SortByPixel*) &testResult;
389 *data->fSlowest.append() = *(SortByTime*) &testResult;
439 void TestResult::testOne() {
624 SkTDArray<TestResult>* tests, SkTDArray<SortByName*>* sorted) {
632 TestResult test;
653 SkTDArray<TestResult>& testSet = tests[dirNo - firstDirNo];
706 SkTDArray<TestResult> tests[1];
731 TestResult test;
771 const TestResult& result = *worst[index];
783 const TestResult& result = *slowest[index];
791 const TestResult& result = state.fPixelWorst[index];
836 SkTArray<TestResult, true> errors;
883 static bool buildTests(SkTDArray<TestResult>* tests, SkTDArray<SortByName*>* sorted) {
900 SkAutoTDeleteArray<SkTDArray<TestResult> > tests(new SkTDArray<TestResult>[dirCount]);
939 SkAutoTDeleteArray<SkTDArray<TestResult> > results(new SkTDArray<TestResult>[dirCount]);
943 SkTDArray<TestResult> allResults;
945 SkTDArray<TestResult>& array = results.get()[dirNo - firstDirNo];
984 TestResult state;
1004 TestResult state;