Lines Matching refs:ti
119 translator_info ti; in IdentifyTests() local
130 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
131 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti) == B_OK); in IdentifyTests()
133 CheckBits_Tga(&ti); in IdentifyTests()
135 CheckTga(&ti, pinfo[i].identifyString); in IdentifyTests()
139 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
140 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL, in IdentifyTests()
143 CheckBits_Tga(&ti); in IdentifyTests()
145 CheckTga(&ti, pinfo[i].identifyString); in IdentifyTests()
149 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
150 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL, in IdentifyTests()
153 CheckBits_Tga(&ti); in IdentifyTests()
155 CheckTga(&ti, pinfo[i].identifyString); in IdentifyTests()
175 translator_info ti; in IdentifyTest() local
176 memset(&ti, 0, sizeof(translator_info)); in IdentifyTest()
177 result = proster->Identify(&wronginput, NULL, &ti, 0, in IdentifyTest()
180 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0); in IdentifyTest()
184 memset(&ti, 0, sizeof(translator_info)); in IdentifyTest()
185 result = proster->Identify(&wronginput, NULL, &ti); in IdentifyTest()
187 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0); in IdentifyTest()