Lines Matching refs:msheader
224 MSInfoHeader msheader; in IdentifyTest() local
225 msheader.size = 40; in IdentifyTest()
226 msheader.width = 5; in IdentifyTest()
227 msheader.height = 5; in IdentifyTest()
228 msheader.planes = 1; in IdentifyTest()
229 msheader.bitsperpixel = 24; in IdentifyTest()
230 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
231 msheader.imagesize = 0; in IdentifyTest()
232 msheader.xpixperm = 23275; in IdentifyTest()
233 msheader.ypixperm = 23275; in IdentifyTest()
234 msheader.colorsused = 0; in IdentifyTest()
235 msheader.colorsimportant = 0; in IdentifyTest()
241 CPPUNIT_ASSERT(mallbadfs.Write(&msheader, 40) == 40); in IdentifyTest()
249 msheader.size = 40; in IdentifyTest()
250 msheader.width = 5; in IdentifyTest()
251 msheader.height = 5; in IdentifyTest()
252 msheader.planes = 1; in IdentifyTest()
253 msheader.bitsperpixel = 24; in IdentifyTest()
254 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
255 msheader.imagesize = 0; in IdentifyTest()
256 msheader.xpixperm = 23275; in IdentifyTest()
257 msheader.ypixperm = 23275; in IdentifyTest()
258 msheader.colorsused = 0; in IdentifyTest()
259 msheader.colorsimportant = 0; in IdentifyTest()
265 CPPUNIT_ASSERT(mallbadr.Write(&msheader, 40) == 40); in IdentifyTest()
273 msheader.size = 40; in IdentifyTest()
274 msheader.width = 5; in IdentifyTest()
275 msheader.height = 5; in IdentifyTest()
276 msheader.planes = 1; in IdentifyTest()
277 msheader.bitsperpixel = 24; in IdentifyTest()
278 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
279 msheader.imagesize = 0; in IdentifyTest()
280 msheader.xpixperm = 23275; in IdentifyTest()
281 msheader.ypixperm = 23275; in IdentifyTest()
282 msheader.colorsused = 0; in IdentifyTest()
283 msheader.colorsimportant = 0; in IdentifyTest()
289 CPPUNIT_ASSERT(mallbaddo1.Write(&msheader, 40) == 40); in IdentifyTest()
373 msheader.size = 40; in IdentifyTest()
374 msheader.width = 5; in IdentifyTest()
375 msheader.height = 5; in IdentifyTest()
376 msheader.planes = 1; in IdentifyTest()
377 msheader.bitsperpixel = 24; in IdentifyTest()
378 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
379 msheader.imagesize = 0; in IdentifyTest()
380 msheader.xpixperm = 23275; in IdentifyTest()
381 msheader.ypixperm = 23275; in IdentifyTest()
382 msheader.colorsused = 0; in IdentifyTest()
383 msheader.colorsimportant = 0; in IdentifyTest()
389 CPPUNIT_ASSERT(mallmsabrev1.Write(&msheader, 1) == 1); // only 1 byte of ms header written in IdentifyTest()
397 msheader.size = 40; in IdentifyTest()
398 msheader.width = 5; in IdentifyTest()
399 msheader.height = 5; in IdentifyTest()
400 msheader.planes = 1; in IdentifyTest()
401 msheader.bitsperpixel = 24; in IdentifyTest()
402 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
403 msheader.imagesize = 0; in IdentifyTest()
404 msheader.xpixperm = 23275; in IdentifyTest()
405 msheader.ypixperm = 23275; in IdentifyTest()
406 msheader.colorsused = 0; in IdentifyTest()
407 msheader.colorsimportant = 0; in IdentifyTest()
413 CPPUNIT_ASSERT(mallmsabrev2.Write(&msheader, 15) == 15); // less than half of ms header written in IdentifyTest()
421 msheader.size = 39; // size too small for MS format in IdentifyTest()
422 msheader.width = 5; in IdentifyTest()
423 msheader.height = 5; in IdentifyTest()
424 msheader.planes = 1; in IdentifyTest()
425 msheader.bitsperpixel = 24; in IdentifyTest()
426 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
427 msheader.imagesize = 0; in IdentifyTest()
428 msheader.xpixperm = 23275; in IdentifyTest()
429 msheader.ypixperm = 23275; in IdentifyTest()
430 msheader.colorsused = 0; in IdentifyTest()
431 msheader.colorsimportant = 0; in IdentifyTest()
437 CPPUNIT_ASSERT(mallmssize.Write(&msheader, 40) == 40); in IdentifyTest()
445 msheader.size = 41; // size too large for MS format in IdentifyTest()
446 msheader.width = 5; in IdentifyTest()
447 msheader.height = 5; in IdentifyTest()
448 msheader.planes = 1; in IdentifyTest()
449 msheader.bitsperpixel = 24; in IdentifyTest()
450 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
451 msheader.imagesize = 0; in IdentifyTest()
452 msheader.xpixperm = 23275; in IdentifyTest()
453 msheader.ypixperm = 23275; in IdentifyTest()
454 msheader.colorsused = 0; in IdentifyTest()
455 msheader.colorsimportant = 0; in IdentifyTest()
461 CPPUNIT_ASSERT(mallmssize2.Write(&msheader, 40) == 40); in IdentifyTest()
505 msheader.size = 40; in IdentifyTest()
506 msheader.width = 0; // width of zero is ridiculous in IdentifyTest()
507 msheader.height = 5; in IdentifyTest()
508 msheader.planes = 1; in IdentifyTest()
509 msheader.bitsperpixel = 24; in IdentifyTest()
510 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
511 msheader.imagesize = 0; in IdentifyTest()
512 msheader.xpixperm = 23275; in IdentifyTest()
513 msheader.ypixperm = 23275; in IdentifyTest()
514 msheader.colorsused = 0; in IdentifyTest()
515 msheader.colorsimportant = 0; in IdentifyTest()
521 CPPUNIT_ASSERT(mallmswidth.Write(&msheader, 40) == 40); in IdentifyTest()
547 msheader.size = 40; in IdentifyTest()
548 msheader.width = 5; in IdentifyTest()
549 msheader.height = 0; // zero is not a good value in IdentifyTest()
550 msheader.planes = 1; in IdentifyTest()
551 msheader.bitsperpixel = 24; in IdentifyTest()
552 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
553 msheader.imagesize = 0; in IdentifyTest()
554 msheader.xpixperm = 23275; in IdentifyTest()
555 msheader.ypixperm = 23275; in IdentifyTest()
556 msheader.colorsused = 0; in IdentifyTest()
557 msheader.colorsimportant = 0; in IdentifyTest()
563 CPPUNIT_ASSERT(mallmsheight.Write(&msheader, 40) == 40); in IdentifyTest()
589 msheader.size = 40; in IdentifyTest()
590 msheader.width = 5; in IdentifyTest()
591 msheader.height = 5; in IdentifyTest()
592 msheader.planes = 0; // should always be 1 in IdentifyTest()
593 msheader.bitsperpixel = 24; in IdentifyTest()
594 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
595 msheader.imagesize = 0; in IdentifyTest()
596 msheader.xpixperm = 23275; in IdentifyTest()
597 msheader.ypixperm = 23275; in IdentifyTest()
598 msheader.colorsused = 0; in IdentifyTest()
599 msheader.colorsimportant = 0; in IdentifyTest()
605 CPPUNIT_ASSERT(mallmsplanes.Write(&msheader, 40) == 40); in IdentifyTest()
613 msheader.size = 40; in IdentifyTest()
614 msheader.width = 5; in IdentifyTest()
615 msheader.height = 5; in IdentifyTest()
616 msheader.planes = 2; // should always be 1 in IdentifyTest()
617 msheader.bitsperpixel = 24; in IdentifyTest()
618 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
619 msheader.imagesize = 0; in IdentifyTest()
620 msheader.xpixperm = 23275; in IdentifyTest()
621 msheader.ypixperm = 23275; in IdentifyTest()
622 msheader.colorsused = 0; in IdentifyTest()
623 msheader.colorsimportant = 0; in IdentifyTest()
629 CPPUNIT_ASSERT(mallmsplanes2.Write(&msheader, 40) == 40); in IdentifyTest()
677 msheader.size = 40; in IdentifyTest()
678 msheader.width = 5; in IdentifyTest()
679 msheader.height = 5; in IdentifyTest()
680 msheader.planes = 1; in IdentifyTest()
681 msheader.bitsperpixel = bitdepths[i]; in IdentifyTest()
682 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
683 msheader.imagesize = 0; in IdentifyTest()
684 msheader.xpixperm = 23275; in IdentifyTest()
685 msheader.ypixperm = 23275; in IdentifyTest()
686 msheader.colorsused = 0; in IdentifyTest()
687 msheader.colorsimportant = 0; in IdentifyTest()
694 CPPUNIT_ASSERT(mallmsbitdepth.Write(&msheader, 40) == 40); in IdentifyTest()
731 msheader.size = 40; in IdentifyTest()
732 msheader.width = 5; in IdentifyTest()
733 msheader.height = 5; in IdentifyTest()
734 msheader.planes = 1; in IdentifyTest()
735 msheader.bitsperpixel = cbitdepths[n]; in IdentifyTest()
736 msheader.compression = compvalues[i]; in IdentifyTest()
737 msheader.imagesize = 0; in IdentifyTest()
738 msheader.xpixperm = 23275; in IdentifyTest()
739 msheader.ypixperm = 23275; in IdentifyTest()
740 msheader.colorsused = 0; in IdentifyTest()
741 msheader.colorsimportant = 0; in IdentifyTest()
748 CPPUNIT_ASSERT(mallmscomp.Write(&msheader, 40) == 40); in IdentifyTest()
763 msheader.size = 40; in IdentifyTest()
764 msheader.width = 5; in IdentifyTest()
765 msheader.height = 5; in IdentifyTest()
766 msheader.planes = 1; in IdentifyTest()
767 msheader.bitsperpixel = colordepths[i]; in IdentifyTest()
768 msheader.compression = BMP_NO_COMPRESS; in IdentifyTest()
769 msheader.imagesize = 0; in IdentifyTest()
770 msheader.xpixperm = 23275; in IdentifyTest()
771 msheader.ypixperm = 23275; in IdentifyTest()
772 msheader.colorsused = 0; //(1 << colordepths[i])/* + 1*/; in IdentifyTest()
773 msheader.colorsimportant = 0; //(1 << colordepths[i])/* + 1*/; in IdentifyTest()
780 CPPUNIT_ASSERT(mallmscolors.Write(&msheader, 40) == 40); in IdentifyTest()