Lines Matching refs:badData
157 unsigned char badData[sizeof(gGIFData)]; in DEF_TEST() local
159 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
160 badData[6] = 0x01; // image too wide in DEF_TEST()
161 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)); in DEF_TEST()
164 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
165 badData[8] = 0x01; // image too tall in DEF_TEST()
166 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)); in DEF_TEST()
169 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
170 badData[62] = 0x01; // image shifted right in DEF_TEST()
171 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 4, 3); in DEF_TEST()
173 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
174 badData[64] = 0x01; // image shifted down in DEF_TEST()
175 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 3, 4); in DEF_TEST()
177 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
178 badData[62] = 0xff; // image shifted right in DEF_TEST()
179 badData[63] = 0xff; in DEF_TEST()
180 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 3 + 0xFFFF, 3); in DEF_TEST()
182 memcpy(badData, gGIFData, sizeof(gGIFData)); in DEF_TEST()
183 badData[64] = 0xff; // image shifted down in DEF_TEST()
184 badData[65] = 0xff; in DEF_TEST()
185 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 3, 3 + 0xFFFF); in DEF_TEST()