Home
last modified time | relevance | path

Searched refs:badData (Results 1 – 2 of 2) sorted by relevance

/external/skqp/tests/
DGifTest.cpp158 unsigned char badData[sizeof(gGIFData)]; in DEF_TEST() local
160 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
161 badData[6] = 0x01; // image too wide in DEF_TEST()
162 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)); in DEF_TEST()
165 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
166 badData[8] = 0x01; // image too tall in DEF_TEST()
167 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)); in DEF_TEST()
170 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
171 badData[62] = 0x01; // image shifted right in DEF_TEST()
172 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 4, 3); in DEF_TEST()
[all …]
/external/skia/tests/
DGifTest.cpp158 unsigned char badData[sizeof(gGIFData)]; in DEF_TEST() local
160 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
161 badData[6] = 0x01; // image too wide in DEF_TEST()
162 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)); in DEF_TEST()
165 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
166 badData[8] = 0x01; // image too tall in DEF_TEST()
167 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)); in DEF_TEST()
170 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
171 badData[62] = 0x01; // image shifted right in DEF_TEST()
172 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 4, 3); in DEF_TEST()
[all …]