Lines Matching defs:badData
158 unsigned char badData[sizeof(gGIFData)];
160 memcpy(badData, gGIFData, sizeof(gGIFData));
161 badData[6] = 0x01; // image too wide
162 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData));
165 memcpy(badData, gGIFData, sizeof(gGIFData));
166 badData[8] = 0x01; // image too tall
167 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData));
170 memcpy(badData, gGIFData, sizeof(gGIFData));
171 badData[62] = 0x01; // image shifted right
172 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 4, 3);
174 memcpy(badData, gGIFData, sizeof(gGIFData));
175 badData[64] = 0x01; // image shifted down
176 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 3, 4);
178 memcpy(badData, gGIFData, sizeof(gGIFData));
179 badData[62] = 0xff; // image shifted right
180 badData[63] = 0xff;
181 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 3 + 0xFFFF, 3);
183 memcpy(badData, gGIFData, sizeof(gGIFData));
184 badData[64] = 0xff; // image shifted down
185 badData[65] = 0xff;
186 test_gif_data_dims(reporter, static_cast<void *>(badData), sizeof(gGIFData), 3, 3 + 0xFFFF);