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