Lines Matching refs:ti
125 translator_info ti; in IdentifyTests() local
136 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
137 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti) == B_OK); in IdentifyTests()
139 CheckBits_Bmp(&ti); in IdentifyTests()
141 CheckBmp(&ti, pinfo[i].identifyString); in IdentifyTests()
145 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
146 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL, in IdentifyTests()
149 CheckBits_Bmp(&ti); in IdentifyTests()
151 CheckBmp(&ti, pinfo[i].identifyString); in IdentifyTests()
155 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
156 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL, in IdentifyTests()
159 CheckBits_Bmp(&ti); in IdentifyTests()
161 CheckBmp(&ti, pinfo[i].identifyString); in IdentifyTests()
181 translator_info ti; in IdentifyTest() local
182 memset(&ti, 0, sizeof(translator_info)); in IdentifyTest()
183 result = proster->Identify(&wronginput, NULL, &ti, 0, in IdentifyTest()
186 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0); in IdentifyTest()
190 memset(&ti, 0, sizeof(translator_info)); in IdentifyTest()
191 result = proster->Identify(&wronginput, NULL, &ti); in IdentifyTest()
193 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0); in IdentifyTest()
198 CPPUNIT_ASSERT(proster->Identify(&mallempty, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
204 CPPUNIT_ASSERT(proster->Identify(&memmonkey, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
214 CPPUNIT_ASSERT(proster->Identify(&mallabrev, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
242 CPPUNIT_ASSERT(proster->Identify(&mallbadfs, NULL, &ti) == B_OK); in IdentifyTest()
266 CPPUNIT_ASSERT(proster->Identify(&mallbadr, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
290 CPPUNIT_ASSERT(proster->Identify(&mallbaddo1, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
309 CPPUNIT_ASSERT(proster->Identify(&mallbaddo2, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
330 CPPUNIT_ASSERT(proster->Identify(&mallbaddo3, NULL, &ti) == B_OK); in IdentifyTest()
348 CPPUNIT_ASSERT(proster->Identify(&mallos2abrev, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
366 CPPUNIT_ASSERT(proster->Identify(&mallos2abrev2, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
390 CPPUNIT_ASSERT(proster->Identify(&mallmsabrev1, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
414 CPPUNIT_ASSERT(proster->Identify(&mallmsabrev2, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
438 CPPUNIT_ASSERT(proster->Identify(&mallmssize, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
462 CPPUNIT_ASSERT(proster->Identify(&mallmssize2, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
480 CPPUNIT_ASSERT(proster->Identify(&mallos2size, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
498 CPPUNIT_ASSERT(proster->Identify(&mallos2size2, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
522 CPPUNIT_ASSERT(proster->Identify(&mallmswidth, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
540 CPPUNIT_ASSERT(proster->Identify(&mallos2width, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
564 CPPUNIT_ASSERT(proster->Identify(&mallmsheight, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
582 CPPUNIT_ASSERT(proster->Identify(&mallos2height, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
606 CPPUNIT_ASSERT(proster->Identify(&mallmsplanes, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
630 CPPUNIT_ASSERT(proster->Identify(&mallmsplanes2, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
648 CPPUNIT_ASSERT(proster->Identify(&mallos2planes, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
666 CPPUNIT_ASSERT(proster->Identify(&mallos2planes2, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
695 CPPUNIT_ASSERT(proster->Identify(&mallmsbitdepth, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
714 CPPUNIT_ASSERT(proster->Identify(&mallos2bitdepth, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()
749 CPPUNIT_ASSERT(proster->Identify(&mallmscomp, NULL, &ti) in IdentifyTest()
781 CPPUNIT_ASSERT(proster->Identify(&mallmscolors, NULL, &ti) == B_NO_TRANSLATOR); in IdentifyTest()