Home
last modified time | relevance | path

Searched refs:gTests (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DPackBitsTest.cpp27 } gTests[] = { in test_pack16() local
34 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); i++) { in test_pack16()
36 size_t dstSize = SkPackBits::Pack16(gTests[i].fSrc, in test_pack16()
37 gTests[i].fCount, dst); in test_pack16()
40 bool match = gTests[i].fCount == srcCount && memcmp(gTests[i].fSrc, src, in test_pack16()
41 gTests[i].fCount * sizeof(uint16_t)) == 0; in test_pack16()
77 } gTests[] = { in test_pack8() local
85 for (size_t i = 4; i < SK_ARRAY_COUNT(gTests); i++) { in test_pack8()
87 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); in test_pack8()
88 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8()
[all …]
DDrawBitmapRectTest.cpp238 } gTests[] = { in test_giantrepeat_crbug118018() local
245 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_giantrepeat_crbug118018()
247 gTests[i].fWidth, gTests[i].fHeight, in test_giantrepeat_crbug118018()
248 gTests[i].fExpectedToDraw); in test_giantrepeat_crbug118018()
/external/chromium_org/third_party/skia/tests/
DPackBitsTest.cpp27 } gTests[] = { in test_pack16() local
34 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); i++) { in test_pack16()
36 size_t dstSize = SkPackBits::Pack16(gTests[i].fSrc, in test_pack16()
37 gTests[i].fCount, dst); in test_pack16()
40 bool match = gTests[i].fCount == srcCount && memcmp(gTests[i].fSrc, src, in test_pack16()
41 gTests[i].fCount * sizeof(uint16_t)) == 0; in test_pack16()
77 } gTests[] = { in test_pack8() local
85 for (size_t i = 4; i < SK_ARRAY_COUNT(gTests); i++) { in test_pack8()
87 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); in test_pack8()
88 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8()
[all …]
DDrawBitmapRectTest.cpp238 } gTests[] = { in test_giantrepeat_crbug118018() local
245 for (size_t i = 0; i < SK_ARRAY_COUNT(gTests); ++i) { in test_giantrepeat_crbug118018()
247 gTests[i].fWidth, gTests[i].fHeight, in test_giantrepeat_crbug118018()
248 gTests[i].fExpectedToDraw); in test_giantrepeat_crbug118018()