Lines Matching refs:ti
86 translator_info ti; in IdentifyTests() local
97 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
98 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti) == B_OK); in IdentifyTests()
100 CheckBits_Tiff(&ti); in IdentifyTests()
102 CheckTiff(&ti, pinfo[i].identifyString); in IdentifyTests()
106 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
107 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL, in IdentifyTests()
110 CheckBits_Tiff(&ti); in IdentifyTests()
112 CheckTiff(&ti, pinfo[i].identifyString); in IdentifyTests()
116 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
117 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL, in IdentifyTests()
120 CheckBits_Tiff(&ti); in IdentifyTests()
122 CheckTiff(&ti, pinfo[i].identifyString); in IdentifyTests()
142 translator_info ti; in IdentifyTest() local
143 memset(&ti, 0, sizeof(translator_info)); in IdentifyTest()
144 result = proster->Identify(&wronginput, NULL, &ti, 0, in IdentifyTest()
147 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0); in IdentifyTest()
151 memset(&ti, 0, sizeof(translator_info)); in IdentifyTest()
152 result = proster->Identify(&wronginput, NULL, &ti); in IdentifyTest()
154 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0); in IdentifyTest()