Home | History | Annotate | Download | only in tests

Lines Matching refs:testStream

32 static void TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream,
34 if (testStream == NULL)
43 testStream->setMemory(testData.getMemoryBase(), dataSize, true);
45 bool status = SkFlate::Deflate(testStream, &compressed);
49 size_t inputSize = testStream->getLength();
51 inputSize = testStream->read(NULL, SkZeroSizeMemStream::kGetSizeKey);
54 testStream->getMemoryBase(),
65 testStream->setData(data1.get())->unref();
67 status = SkFlate::Inflate(testStream, &uncompressed);
71 inputSize = testStream->getLength();
73 inputSize = testStream->read(NULL, SkZeroSizeMemStream::kGetSizeKey);
75 REPORTER_ASSERT(reporter, memcmp(testStream->getMemoryBase(),