Lines Matching refs:badData
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()
174 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
175 badData[64] = 0x01; // image shifted down in DEF_TEST()
176 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 3, 4); in DEF_TEST()
178 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
179 badData[62] = 0xff; // image shifted right in DEF_TEST()
180 badData[63] = 0xff; in DEF_TEST()
181 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 3 + 0xFFFF, 3); in DEF_TEST()
183 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
184 badData[64] = 0xff; // image shifted down in DEF_TEST()
185 badData[65] = 0xff; in DEF_TEST()
186 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 3, 3 + 0xFFFF); in DEF_TEST()