/external/icu/icu4c/source/test/intltest/ |
svccoll.cpp | 41 Collator* frcol = Collator::createInstance(FR, status); local 45 delete frcol; 51 Collator *clone = frcol->clone(); 52 URegistryKey key = Collator::registerInstance(frcol, US, status); 53 // frcol has been adopted. We must not use it any more, nor rely on its attributes. 54 frcol = NULL; 90 // recreate frcol 91 frcol = Collator::createInstance(FR, status); 100 Collator *clone = frcol->clone(); 101 URegistryKey key = Collator::registerInstance(frcol, fu_FU, status) 363 Collator* frcol = Collator::createInstance(Locale::getFrance(), status); local [all...] |
apicoll.cpp | 210 Collator *frCol = Collator::createInstance(Locale::getCanadaFrench(), success); 220 if (frCol->getLocale(ULOC_ACTUAL_LOCALE, success) != Locale::getCanadaFrench()) { 221 doAssert((*frCol != *junk), "The junk is the same as the fr_CA collator."); 223 Collator *aFrCol = frCol->clone(); 224 doAssert((*frCol == *aFrCol), "The cloning of a fr_CA collator failed."); 227 delete frCol; [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationServiceTest.java | 36 Collator frcol = Collator.getInstance(ULocale.FRANCE); local 40 Object key = Collator.registerInstance(frcol, ULocale.US); 42 if (!frcol.equals(ncol)) { 65 Object key = Collator.registerInstance(frcol, fu_FU); 67 if (!frcol.equals(ncol)) { 222 Collator frcol = Collator.getInstance(ULocale.FRANCE); local 229 new CollatorInfo(ULocale.US, frcol, null), 269 if (!frcol.equals(ncol)) {
|
CollationAPITest.java | 522 Collator frCol = null; 524 frCol = Collator.getInstance(Locale.CANADA_FRENCH); 530 doAssert(!(frCol.equals(junk)), "The junk is the same as the fr_CA collator."); [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationServiceTest.java | 32 Collator frcol = Collator.getInstance(ULocale.FRANCE); local 36 Object key = Collator.registerInstance(frcol, ULocale.US); 38 if (!frcol.equals(ncol)) { 61 Object key = Collator.registerInstance(frcol, fu_FU); 63 if (!frcol.equals(ncol)) { 218 Collator frcol = Collator.getInstance(ULocale.FRANCE); local 225 new CollatorInfo(ULocale.US, frcol, null), 265 if (!frcol.equals(ncol)) {
|
CollationAPITest.java | 518 Collator frCol = null; 520 frCol = Collator.getInstance(Locale.CANADA_FRENCH); 526 doAssert(!(frCol.equals(junk)), "The junk is the same as the fr_CA collator."); [all...] |