Searched refs:badData (Results 1 – 2 of 2) sorted by relevance
/external/skqp/tests/ |
D | GifTest.cpp | 158 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/ |
D | GifTest.cpp | 158 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 …]
|