Searched refs:tp2 (Results 1 – 2 of 2) sorted by relevance
233 Token *tp1, *tp2; in comparetokens() local236 tp2 = tr2->tp; in comparetokens()237 if (tr1->lp - tp1 != tr2->lp - tp2) in comparetokens()239 for (; tp1 < tr1->lp; tp1++, tp2++) in comparetokens()241 if (tp1->type != tp2->type in comparetokens()242 || (tp1->wslen == 0) != (tp2->wslen == 0) in comparetokens()243 || tp1->len != tp2->len in comparetokens()244 || strncmp((char *) tp1->t, (char *) tp2->t, tp1->len) != 0) in comparetokens()
565 Property::Pointer_t tp2 = createTwipsProperty(NS_style::LN_position, "1 cm"); in testCreateTwipsProperty() local566 … CPPUNIT_ASSERT_MESSAGE("getIntValue: wrong twips value returned", tp2->getIntValue() == 567); in testCreateTwipsProperty()567 …CPPUNIT_ASSERT_MESSAGE("getStringValue: wrong twips value returned", tp2->getStringValue() == "1.0… in testCreateTwipsProperty()
Completed in 18 milliseconds