HomeSort by relevance Sort by last modified time
    Searched refs:Collator (Results 51 - 75 of 300) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/icu/icu4c/source/test/intltest/
encoll.h 43 Collator *myCollation;
lcukocol.cpp 35 myCollation = Collator::createInstance("ko_kr", status);
39 errcheckln(status, "Couldn't instantiate the collator with %s", u_errorName(status));
60 const Collator::EComparisonResult LotusCollationKoreanTest::results[] = {
61 Collator::LESS
67 myCollation->setStrength(Collator::TERTIARY);
83 dataerrln("Class collator not instantiated");
apicoll.cpp 57 // Collator Class Properties
64 Collator *col = 0;
66 * Expected version of the English collator.
80 col = Collator::createInstance(Locale::getEnglish(), success);
82 errcheckln(success, "Default Collator creation failed. - %s", u_errorName(success));
97 errln("Testing Collator::getVersion() - unexpected result: %02x.%02x.%02x.%02x",
100 logln("Collator::getVersion() result: %02x.%02x.%02x.%02x",
104 doAssert((col->compare("ab", "abc") == Collator::LESS), "ab < abc comparison failed");
105 doAssert((col->compare("ab", "AB") == Collator::LESS), "ab < AB comparison failed");
106 doAssert((col->compare("blackbird", "black-bird") == Collator::GREATER), "black-bird > blackbird comparison failed")
    [all...]
regcoll.h 43 // Collator -> rules -> Collator round-trip broken for expanding characters
49 // Collator thinks "black-bird" == "black"
57 // Collator object's mode is changed
63 // Collator.IDENTICAL documented but not implemented
75 // Collator.getInstance() causes an ArrayIndexOutofBoundsException for Korean
100 // Collator.compare() method broken if either string contains spaces
173 // Collator.compare not handling spaces properly
192 // Collator.getCollationKey was hanging on certain character sequences
217 // Support for Swedish gone in 1.1.6 (Can't create Swedish collator)
    [all...]
g7coll.cpp 100 LocalPointer<Collator> myCollation(Collator::createInstance(locale, status));
102 errcheckln(status, "Couldn't instantiate collator. Error: %s", u_errorName(status));
105 myCollation->setStrength(Collator::QUATERNARY);
115 dataerrln("%s Collator missing rule string", locale.getName());
141 doTest(myCollation.getAlias(), testCases[results[i][j]], testCases[results[i][n]], Collator::LESS);
151 Collator *col = Collator::createInstance("en_US", status);
154 errcheckln(status, "Couldn't instantiate collator. Error: %s", u_errorName(status));
173 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS)
    [all...]
mnkytst.h 36 // perform monkey tests using Collator::compare
49 Collator *myCollator;
tscoll.cpp 60 logln("TestSuite Collator: ");
126 IntlTestCollator::doTestVariant(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result)
132 Collator::EComparisonResult compareResult = col->compare(source, target);
140 Collator::EComparisonResult keyResult = srckey.compareTo(tgtkey);
239 IntlTestCollator::doTest(Collator* col, const UChar *source, const UChar *target, Collator::EComparisonResult result) {
244 IntlTestCollator::doTest(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result)
248 if(result == Collator::LESS)
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldCollationKeyTest.java 20 import java.text.Collator;
29 Collator collator = Collator.getInstance(); local
30 collator.setStrength(Collator.PRIMARY);
31 CollationKey key1 = collator.getCollationKey("abc");
35 collator = new RuleBasedCollator("&0 = 1 , 2 ; 3 , 4 < 5 ; 6 , 7");
38 * ((RuleBasedCollator)collator).getCollationElementIterator("1234567");
47 // bytes = collator.getCollationKey("1234567").toByteArray()
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
PermissionsSummaryHelper.java 23 import java.text.Collator;
58 Collator collator = Collator.getInstance();
59 collator.setStrength(Collator.PRIMARY);
60 Collections.sort(grantedStandardLabels, collator);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
LocaleAliasCollationTest.java 13 import android.icu.text.Collator;
65 Collator c1 = Collator.getInstance(oldLoc);
66 Collator c2 = Collator.getInstance(newLoc);
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
LocaleAliasCollationTest.java 12 import com.ibm.icu.text.Collator;
61 Collator c1 = Collator.getInstance(oldLoc);
62 Collator c2 = Collator.getInstance(newLoc);
  /external/v8/src/
i18n.h 14 class Collator;
84 class Collator {
86 // Create a collator for the specificied locale and options. Returns the
88 static icu::Collator* InitializeCollator(
94 // Unpacks collator object from corresponding JavaScript object.
95 static icu::Collator* UnpackCollator(Isolate* isolate, Handle<JSObject> obj);
97 // Release memory we allocated for the Collator once the JS object that holds
102 Collator();
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
CollationDummyTest.java 15 package android.icu.dev.test.collator;
22 import android.icu.text.Collator;
133 -1, //Collator::GREATER,
189 myCollation.setStrength(Collator.TERTIARY);
198 myCollation.setStrength(Collator.PRIMARY);
207 myCollation.setStrength(Collator.SECONDARY);
216 myCollation.setStrength(Collator.TERTIARY);
226 myCollation.setStrength(Collator.IDENTICAL);
235 Collator coll = null;
237 coll = Collator.getInstance(Locale.ENGLISH)
    [all...]
CollationChineseTest.java 14 package android.icu.dev.test.collator;
19 import android.icu.text.Collator;
39 RuleBasedCollator collator = null; local
41 collator = (RuleBasedCollator)Collator.getInstance(
44 warnln("ERROR: in creation of collator of zh__PINYIN locale");
48 CollationTest.doTest(this, collator, seq[i], seq[i + 1], -1);
G7CollationTest.java 14 package android.icu.dev.test.collator;
20 import android.icu.text.Collator;
70 Collator col = Collator.getInstance(Locale.ENGLISH);
96 Collator col = Collator.getInstance(Locale.ENGLISH);
123 Collator col = Collator.getInstance(Locale.ENGLISH);
150 Collator col = Collator.getInstance(Locale.ENGLISH);
    [all...]
CollationMiscTest.java 14 package android.icu.dev.test.collator;
28 import android.icu.text.Collator;
29 import android.icu.text.Collator.ReorderCodes;
80 coll = (RuleBasedCollator)Collator.getInstance(Locale.ENGLISH);
83 warnln("Error opening collator\n");
117 Locale loc[] = Collator.getAvailableLocales();
121 coll = (RuleBasedCollator)Collator.getInstance(loc[i]);
122 coll.setStrength(Collator.IDENTICAL);
261 warnln("Unable to open collator with rules " + rules + ": " + e);
272 warnln("Unable to open collator with rules " + rules)
1960 RuleBasedCollator collator = (RuleBasedCollator) Collator.getInstance(); local
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationDummyTest.java 14 package com.ibm.icu.dev.test.collator;
21 import com.ibm.icu.text.Collator;
129 -1, //Collator::GREATER,
185 myCollation.setStrength(Collator.TERTIARY);
194 myCollation.setStrength(Collator.PRIMARY);
203 myCollation.setStrength(Collator.SECONDARY);
212 myCollation.setStrength(Collator.TERTIARY);
222 myCollation.setStrength(Collator.IDENTICAL);
231 Collator coll = null;
233 coll = Collator.getInstance(Locale.ENGLISH)
    [all...]
CollationChineseTest.java 13 package com.ibm.icu.dev.test.collator;
18 import com.ibm.icu.text.Collator;
35 RuleBasedCollator collator = null; local
37 collator = (RuleBasedCollator)Collator.getInstance(
40 warnln("ERROR: in creation of collator of zh__PINYIN locale");
44 CollationTest.doTest(this, collator, seq[i], seq[i + 1], -1);
G7CollationTest.java 13 package com.ibm.icu.dev.test.collator;
19 import com.ibm.icu.text.Collator;
66 Collator col = Collator.getInstance(Locale.ENGLISH);
92 Collator col = Collator.getInstance(Locale.ENGLISH);
119 Collator col = Collator.getInstance(Locale.ENGLISH);
146 Collator col = Collator.getInstance(Locale.ENGLISH);
    [all...]
CollationMiscTest.java 13 package com.ibm.icu.dev.test.collator;
27 import com.ibm.icu.text.Collator;
28 import com.ibm.icu.text.Collator.ReorderCodes;
76 coll = (RuleBasedCollator)Collator.getInstance(Locale.ENGLISH);
79 warnln("Error opening collator\n");
113 Locale loc[] = Collator.getAvailableLocales();
117 coll = (RuleBasedCollator)Collator.getInstance(loc[i]);
118 coll.setStrength(Collator.IDENTICAL);
257 warnln("Unable to open collator with rules " + rules + ": " + e);
268 warnln("Unable to open collator with rules " + rules)
1956 RuleBasedCollator collator = (RuleBasedCollator) Collator.getInstance(); local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CollatorServiceShim.java 22 import android.icu.text.Collator.CollatorFactory;
27 final class CollatorServiceShim extends Collator.ServiceShim {
29 Collator getInstance(ULocale locale) {
36 Collator coll = (Collator)service.get(locale, actualLoc);
40 throw new MissingResourceException("Could not locate Collator data", "", "");
43 return (Collator) coll.clone();
52 Object registerInstance(Collator collator, ULocale locale) {
53 // Set the collator locales while registering so that getInstance(
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
CollatorServiceShim.java 21 import com.ibm.icu.text.Collator.CollatorFactory;
26 final class CollatorServiceShim extends Collator.ServiceShim {
28 Collator getInstance(ULocale locale) {
35 Collator coll = (Collator)service.get(locale, actualLoc);
39 throw new MissingResourceException("Could not locate Collator data", "", "");
42 return (Collator) coll.clone();
51 Object registerInstance(Collator collator, ULocale locale) {
52 // Set the collator locales while registering so that getInstance(
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationBuilder.java 22 import android.icu.text.Collator;
66 // on the root collator's maxVariable/variableTop.
124 if(strength == Collator.IDENTICAL) { return; } // simple reset-at-position
127 assert(Collator.PRIMARY <= strength && strength <= Collator.TERTIARY);
142 } else if(strength == Collator.PRIMARY) {
171 index = findCommonNode(index, Collator.SECONDARY);
172 if(strength >= Collator.TERTIARY) {
173 index = findCommonNode(index, Collator.TERTIARY);
183 (strength == Collator.SECONDARY)
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationBuilder.java 21 import com.ibm.icu.text.Collator;
62 // on the root collator's maxVariable/variableTop.
120 if(strength == Collator.IDENTICAL) { return; } // simple reset-at-position
123 assert(Collator.PRIMARY <= strength && strength <= Collator.TERTIARY);
138 } else if(strength == Collator.PRIMARY) {
167 index = findCommonNode(index, Collator.SECONDARY);
168 if(strength >= Collator.TERTIARY) {
169 index = findCommonNode(index, Collator.TERTIARY);
179 (strength == Collator.SECONDARY)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/data/
City.java 19 import java.text.Collator;
145 private final Collator mNameCollator = Collator.getInstance();
170 private final Collator mNameCollator = Collator.getInstance();

Completed in 1093 milliseconds

1 23 4 5 6 7 8 91011>>