/external/chromium_org/third_party/icu/source/test/intltest/ |
allcoll.cpp | 38 errcheckln(status, "ERROR: in creation of rule based collator from ruleset - %s", u_errorName(status)); 49 const Collator::EComparisonResult CollationDummyTest::results[] = { 50 Collator::LESS, 51 Collator::LESS, /*Collator::GREATER,*/ 52 Collator::LESS, 53 Collator::LESS, 54 Collator::LESS, 55 Collator::LESS, 56 Collator::LESS [all...] |
tscoll.h | 33 void doTest(Collator* col, const UChar *source, const UChar *target, Collator::EComparisonResult result); 35 void doTest(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result); 36 void doTestVariant(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result); 39 Collator::EComparisonResult compareResult, 40 Collator::EComparisonResult keyResult, 41 Collator::EComparisonResult incResult, 42 Collator::EComparisonResult expectedResult ) [all...] |
decoll.cpp | 39 myCollation = Collator::createInstance(Locale::getGermany(), status); 85 const Collator::EComparisonResult CollationGermanTest::results[][2] = 88 { Collator::LESS, Collator::LESS }, 89 { Collator::EQUAL, Collator::LESS }, 90 { Collator::GREATER, Collator::GREATER }, 91 { Collator::GREATER, Collator::GREATER } [all...] |
trcoll.cpp | 22 myCollation = Collator::createInstance(Locale("tr", "", ""),status); 58 const Collator::EComparisonResult CollationTurkishTest::results[] = { 59 Collator::LESS, 60 Collator::LESS, 61 Collator::LESS, 62 Collator::LESS, 63 Collator::GREATER, 64 Collator::LESS, 65 Collator::LESS, 66 Collator::GREATER [all...] |
decoll.h | 43 static const Collator::EComparisonResult results[][2]; 45 Collator *myCollation;
|
escoll.h | 42 static const Collator::EComparisonResult results[]; 44 Collator *myCollation;
|
ficoll.h | 41 static const Collator::EComparisonResult results[]; 43 Collator *myCollation;
|
lcukocol.h | 33 static const Collator::EComparisonResult results[]; 35 Collator *myCollation;
|
trcoll.h | 42 static const Collator::EComparisonResult results[]; 44 Collator *myCollation;
|
/external/icu4c/test/intltest/ |
allcoll.cpp | 38 errcheckln(status, "ERROR: in creation of rule based collator from ruleset - %s", u_errorName(status)); 49 const Collator::EComparisonResult CollationDummyTest::results[] = { 50 Collator::LESS, 51 Collator::LESS, /*Collator::GREATER,*/ 52 Collator::LESS, 53 Collator::LESS, 54 Collator::LESS, 55 Collator::LESS, 56 Collator::LESS [all...] |
tscoll.h | 33 void doTest(Collator* col, const UChar *source, const UChar *target, Collator::EComparisonResult result); 35 void doTest(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result); 36 void doTestVariant(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result); 39 Collator::EComparisonResult compareResult, 40 Collator::EComparisonResult keyResult, 41 Collator::EComparisonResult incResult, 42 Collator::EComparisonResult expectedResult ) [all...] |
decoll.cpp | 39 myCollation = Collator::createInstance(Locale::getGermany(), status); 85 const Collator::EComparisonResult CollationGermanTest::results[][2] = 88 { Collator::LESS, Collator::LESS }, 89 { Collator::EQUAL, Collator::LESS }, 90 { Collator::GREATER, Collator::GREATER }, 91 { Collator::GREATER, Collator::GREATER } [all...] |
ucaconf.h | 38 void setCollNonIgnorable(Collator *coll); 39 void setCollShifted(Collator *coll); 40 void testConformance(const Collator *coll); 44 Collator *rbUCA;
|
trcoll.cpp | 22 myCollation = Collator::createInstance(Locale("tr", "", ""),status); 58 const Collator::EComparisonResult CollationTurkishTest::results[] = { 59 Collator::LESS, 60 Collator::LESS, 61 Collator::LESS, 62 Collator::LESS, 63 Collator::GREATER, 64 Collator::LESS, 65 Collator::LESS, 66 Collator::GREATER [all...] |
decoll.h | 43 static const Collator::EComparisonResult results[][2]; 45 Collator *myCollation;
|
escoll.h | 42 static const Collator::EComparisonResult results[]; 44 Collator *myCollation;
|
ficoll.h | 41 static const Collator::EComparisonResult results[]; 43 Collator *myCollation;
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
PhonebookCollatorFactory.java | 19 import java.text.Collator; 23 * Returns the collator that can be used to sort contact list entries. This 24 * collator is the same as the one that is used in sqlite. 27 public static final Collator getCollator() { 28 return Collator.getInstance(Locale.getDefault());
|
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/ |
Collator.h | 42 class WTF_EXPORT Collator { 43 WTF_MAKE_NONCOPYABLE(Collator); WTF_MAKE_FAST_ALLOCATED; 47 Collator(const char* locale); // Parsing is lenient; e.g. language identifiers (such as "en-US") are accepted, too. 48 ~Collator(); 51 static PassOwnPtr<Collator> userDefault(); 64 using WTF::Collator;
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
CollationKeyTest.java | 20 import java.text.Collator; 31 Collator collator = Collator.getInstance(); local 32 collator.setStrength(Collator.PRIMARY); 33 CollationKey key1 = collator.getCollationKey("abc"); 34 CollationKey key2 = collator.getCollationKey("ABC"); 44 Collator collator = Collator.getInstance() local 55 Collator collator = Collator.getInstance(); local 66 Collator collator = Collator.getInstance(); local 78 Collator collator = Collator.getInstance(); local 91 Collator collator = Collator.getInstance(); local [all...] |
CollatorTest.java | 19 import java.text.Collator; 27 * @tests java.text.Collator#clone() 30 Collator c = Collator.getInstance(Locale.GERMAN); 31 Collator c2 = (Collator) c.clone(); 37 * @tests java.text.Collator#compare(java.lang.Object, java.lang.Object) 40 Collator c = Collator.getInstance(Locale.FRENCH); 43 c.setStrength(Collator.IDENTICAL) 207 RuleBasedCollator collator; local 238 RuleBasedCollator collator; local [all...] |
/libcore/luni/src/main/java/java/text/spi/ |
CollatorProvider.java | 20 import java.text.Collator; 26 * instances of {@code Collator}. 40 * Returns an instance of {@code Collator} for the given locale. 43 * @return an instance of {@code Collator} 49 public abstract Collator getInstance(Locale locale);
|
/libcore/luni/src/main/java/java/text/ |
Collator.java | 61 * This {@code Collator} deals only with two decomposition modes, the canonical 64 * {@code java.text.Collator.FULL_DECOMPOSITION} is not supported here. If the 65 * canonical decomposition mode is set, {@code Collator} handles un-normalized 75 * // Get the Collator for US English and set its strength to PRIMARY 76 * Collator usCollator = Collator.getInstance(Locale.US); 77 * usCollator.setStrength(Collator.PRIMARY); 85 * The following example shows how to compare two strings using the collator for 91 * Collator myCollator = Collator.getInstance() 226 Collator collator = (Collator) object; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
CityNameComparator.java | 18 import java.text.Collator; 23 private Collator mCollator; 26 mCollator = Collator.getInstance();
|
/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 21 import java.text.Collator; 29 Collator collator = Collator.getInstance(); local 30 collator.setStrength(Collator.PRIMARY); 31 assertEquals(Collator.PRIMARY, collator.getStrength()); 32 collator.setStrength(Collator.SECONDARY) [all...] |