Lines Matching refs:gTests
28 } gTests[] = { in test_pack8() local
36 for (size_t i = 4; i < SK_ARRAY_COUNT(gTests); i++) { in test_pack8()
38 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); in test_pack8()
39 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8()
40 gTests[i].fCount, dst, maxSize - 1); in test_pack8()
42 dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8()
43 gTests[i].fCount, dst, sizeof(dst)); in test_pack8()
46 int srcCount = SkPackBits::Unpack8(dst, dstSize, src, gTests[i].fCount - 1); in test_pack8()
49 bool match = gTests[i].fCount == srcCount && in test_pack8()
50 memcmp(gTests[i].fSrc, src, in test_pack8()
51 gTests[i].fCount * sizeof(uint8_t)) == 0; in test_pack8()