Lines Matching refs:ct1
118 CompoundTransliterator *ct1=new CompoundTransliterator("Greek-Latin;Latin-Devanagari",parseError,status);
121 delete ct1;
127 delete ct1;
131 CompoundTransliterator *copyct1=new CompoundTransliterator(*ct1);
144 if(copyct1->getID() != ct1->getID() || copyct2->getID() != ct2->getID() ||
145 copyct1->getCount() != ct1->getCount() || copyct2->getCount() != ct2->getCount() ||
146 copyct2->getID() == ct1->getID() || copyct1->getID() == ct2->getID() ||
147 copyct2->getCount() == ct1->getCount() || copyct1->getCount() == ct2->getCount() ){
151 if(equalct1.getID() != ct1->getID() || equalct2.getID() != ct2->getID() ||
153 equalct1.getCount() != ct1->getCount() || equalct2.getCount() != ct2->getCount() ||
154 copyct2->getID() == ct1->getID() || copyct1->getID() == ct2->getID() ||
156 equalct2.getCount() == ct1->getCount() || equalct1.getCount() == ct2->getCount() ) {
160 CompoundTransliterator *clonect1a=(CompoundTransliterator*)ct1->clone();
166 if(clonect1a->getID() != ct1->getID() || clonect1a->getCount() != ct1->getCount() ||
178 delete ct1;
193 CompoundTransliterator *ct1=new CompoundTransliterator("Halfwidth-Fullwidth;Fullwidth-Halfwidth", parseError, status);
195 CompoundTransliterator *ct3=(CompoundTransliterator*)ct1;
207 if(ct1->getCount() == ct2->getCount() || ct1->getCount() != ct3->getCount() ||
209 ct4->getCount() != ct5->getCount() || ct4->getCount() == ct1->getCount() ||
218 retUS = &ct1->getTargetSet(ts);
226 retUS = &ct1->getSourceSet(ss);
231 delete ct1;
242 CompoundTransliterator *ct1=new CompoundTransliterator(ID, parseError, status);
247 int32_t count=ct1->getCount();
251 UnicodeString child= ct1->getTransliterator(i).getID();
276 ct1->setTransliterators(transarray, count);
277 if(ct1->getCount() != count || ct1->getID() != ID2){
278 errln((UnicodeString)"Error: setTransliterators() failed.\n\t Count:- expected->" + count + (UnicodeString)". got->" + ct1->getCount() +
279 (UnicodeString)"\n\tID :- expected->" + ID2 + (UnicodeString)". got->" + ct1->getID());
286 temp.append(ct1->getTransliterator(i).getID());
289 temp.append(ct1->getTransliterator(i).getID());
301 ct1->adoptTransliterators(transarray2, 1);
303 if(ct1->getCount() != 1 || ct1->getID() != ID3){
304 errln((UnicodeString)"Error: adoptTransliterators() failed.\n\t Count:- expected->1" + (UnicodeString)". got->" + ct1->getCount() +
305 (UnicodeString)"\n\tID :- expected->" + ID3 + (UnicodeString)". got->" + ct1->getID());
310 delete ct1;
348 CompoundTransliterator *ct1=new CompoundTransliterator("Any-Hex;Hex-Any",parseError, status);
356 expect(*ct1, s, s);
360 ct1->handleTransliterate(rsource2, index, FALSE);
361 expectAux(ct1->getID() + ":String, index(0,0,0), incremental=FALSE", rsource2 + "->" + rsource2, rsource2==expectedResult, expectedResult);
365 ct1->handleTransliterate(rsource3, index, TRUE);
366 expectAux(ct1->getID() + ":String, index(1,2,3), incremental=TRUE", rsource3 + "->" + rsource3, rsource3==expectedResult, expectedResult);
369 delete ct1;