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

1 23 4 5 6 7 8 910

  /external/icu4c/test/intltest/
svccoll.cpp 42 Collator* frcol = Collator::createInstance(FR, status);
43 Collator* uscol = Collator::createInstance(US, status);
51 { // try override en_US collator
52 URegistryKey key = Collator::registerInstance(frcol, US, status);
54 Collator* ncol = Collator::createInstance(US_FOO, status);
56 errln("register of french collator for en_US failed on request for en_US_FOO");
58 // ensure original collator's params not touche
217 Collator* collator; member in struct:CollatorInfo
    [all...]
currcoll.cpp 83 Collator::EComparisonResult expectedResult = Collator::EQUAL;
84 RuleBasedCollator *c = (RuleBasedCollator *)Collator::createInstance("en_US", status);
88 errcheckln (status, "Collator::createInstance() failed! - %s", u_errorName(status));
103 expectedResult = Collator::LESS;
107 expectedResult = Collator::EQUAL;
111 expectedResult = Collator::GREATER;
114 Collator::EComparisonResult compareResult = c->compare(source, target);
135 Collator::EComparisonResult keyResult = sourceKey.compareTo(targetKey);
jacoll.h 53 static const Collator::EComparisonResult results[];
60 Collator *myCollation;
allcoll.h 9 * a customized collator object. For example, number 1 to be sorted
50 static const Collator::EComparisonResult results[];
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 61 * Test Collator::createInstance(... version...) for some locale. Called by TestProperty().
66 Collator *collator1, *collator2;
70 collator1=Collator::createInstance(locale, errorCode);
77 collator2=Collator::createInstance(locale, version1, errorCode);
81 test.errln("error: Collator::createInstance(\"%s\", (%s collator)->getVersion()) returns a different collator\n", locale.getName(), locale.getName());
85 test.errln("error: Collator::createInstance(\"%s\", (%s collator)->getVersion()) fails: %s\n", locale.getName(), locale.getName(), u_errorName(errorCode));
91 // Collator Class Propertie
    [all...]
dadrcoll.cpp 42 UCA = (RuleBasedCollator*)Collator::createInstance("root", status);
56 logln("TestSuite Collator: ");
107 el.relation = Collator::LESS;
111 el.relation = Collator::EQUAL;
115 el.relation = Collator::GREATER;
147 // Reads the options string and sets appropriate attributes in collator
149 DataDrivenCollatorTest::processArguments(Collator *col, const UChar *start, int32_t optLen) {
169 Collator *col = NULL;
183 col = Collator::createInstance(localeName, status);
185 logln("Testing collator for locale "+testSetting)
    [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...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
NameNormalizer.java 22 import java.text.Collator;
49 sCachedCompressingCollator = (RuleBasedCollator) Collator.getInstance(locale);
50 sCachedCompressingCollator.setStrength(Collator.PRIMARY);
51 sCachedCompressingCollator.setDecomposition(Collator.CANONICAL_DECOMPOSITION);
53 sCachedComplexityCollator = (RuleBasedCollator) Collator.getInstance(locale);
54 sCachedComplexityCollator.setStrength(Collator.SECONDARY);
  /external/chromium_org/third_party/icu/source/i18n/unicode/
coll.h 40 * 11/02/99 helena Collator performance enhancements. Eliminates the
82 * The <code>Collator</code> class performs locale-sensitive string
92 * <code>Collator</code> is an abstract base class. Subclasses implement
100 * <code>Collator</code> object for a given locale. You will only need to
101 * look at the subclasses of <code>Collator</code> if you need to
106 * <code>Collator</code> for the default locale.
112 * Collator* myCollator = Collator::createInstance(success);
121 * You can set a <code>Collator</code>'s <em>strength</em> property to
133 * //Get the Collator for US English and set its strength to PRIMAR
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
currcoll.cpp 83 Collator::EComparisonResult expectedResult = Collator::EQUAL;
84 RuleBasedCollator *c = (RuleBasedCollator *)Collator::createInstance("en_US", status);
88 errcheckln (status, "Collator::createInstance() failed! - %s", u_errorName(status));
103 expectedResult = Collator::LESS;
107 expectedResult = Collator::EQUAL;
111 expectedResult = Collator::GREATER;
114 Collator::EComparisonResult compareResult = c->compare(source, target);
135 Collator::EComparisonResult keyResult = sourceKey.compareTo(targetKey);
jacoll.h 53 static const Collator::EComparisonResult results[];
60 Collator *myCollation;
allcoll.h 9 * a customized collator object. For example, number 1 to be sorted
50 static const Collator::EComparisonResult results[];
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 59 * Test Collator::createInstance(... version...) for some locale. Called by TestProperty().
64 Collator *collator1, *collator2;
68 collator1=Collator::createInstance(locale, errorCode);
75 collator2=Collator::createInstance(locale, version1, errorCode);
79 test.errln("error: Collator::createInstance(\"%s\", (%s collator)->getVersion()) returns a different collator\n", locale.getName(), locale.getName());
83 test.errln("error: Collator::createInstance(\"%s\", (%s collator)->getVersion()) fails: %s\n", locale.getName(), locale.getName(), u_errorName(errorCode));
89 // Collator Class Propertie
    [all...]
dadrcoll.cpp 42 UCA = (RuleBasedCollator*)Collator::createInstance("root", status);
56 logln("TestSuite Collator: ");
107 el.relation = Collator::LESS;
111 el.relation = Collator::EQUAL;
115 el.relation = Collator::GREATER;
147 // Reads the options string and sets appropriate attributes in collator
149 DataDrivenCollatorTest::processArguments(Collator *col, const UChar *start, int32_t optLen) {
169 Collator *col = NULL;
183 col = Collator::createInstance(localeName, status);
185 logln("Testing collator for locale "+testSetting)
    [all...]
  /external/icu4c/i18n/unicode/
coll.h 40 * 11/02/99 helena Collator performance enhancements. Eliminates the
82 * The <code>Collator</code> class performs locale-sensitive string
92 * <code>Collator</code> is an abstract base class. Subclasses implement
100 * <code>Collator</code> object for a given locale. You will only need to
101 * look at the subclasses of <code>Collator</code> if you need to
106 * <code>Collator</code> for the default locale.
112 * Collator* myCollator = Collator::createInstance(success);
121 * You can set a <code>Collator</code>'s <em>strength</em> property to
133 * //Get the Collator for US English and set its strength to PRIMAR
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/transformer/
NodeSortKey.java 23 import java.text.Collator;
48 /** Collator instance */
49 Collator m_col;
119 m_col = Collator.getInstance(m_locale);
124 new Object[]{ langValue }); //"Could not find Collator for <sort xml:lang="+langValue);
126 m_col = Collator.getInstance();
  /external/chromium_org/ui/base/models/
table_model.cc 39 static icu::Collator* collator = NULL; member in namespace:ui
76 icu::Collator* collator = GetCollator(); local
78 if (collator)
79 return base::i18n::CompareString16WithCollator(collator, value1, value2);
86 delete collator;
87 collator = NULL;
90 icu::Collator* TableModel::GetCollator() {
91 if (!collator) {
    [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");
36 collator = new RuleBasedCollator("= 1 , 2 ; 3 , 4 < 5 ; 6 , 7");
43 * ((RuleBasedCollator)collator).getCollationElementIterator("1234567");
52 // bytes = collator.getCollationKey("1234567").toByteArray()
    [all...]
OldCollationElementIteratorTest.java 21 import java.text.Collator;
29 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(Locale.US);
  /external/chromium_org/v8/src/
i18n.h 37 class Collator;
106 class Collator {
108 // Create a collator for the specificied locale and options. Returns the
110 static icu::Collator* InitializeCollator(
116 // Unpacks collator object from corresponding JavaScript object.
117 static icu::Collator* UnpackCollator(Isolate* isolate, Handle<JSObject> obj);
119 // Release memory we allocated for the Collator once the JS object that holds
125 Collator();
  /external/chromium_org/ui/base/l10n/
l10n_util_collator.h 21 // operator (), comparing the string results using a collator.
28 StringMethodComparatorWithCollator(icu::Collator* collator, Method method)
29 : collator_(collator),
39 icu::Collator* collator_;
63 // a string. Sorting is done using a collator, unless a collator can not be
71 scoped_ptr<icu::Collator> collator(icu::Collator::createInstance(loc, error))
    [all...]

Completed in 773 milliseconds

1 23 4 5 6 7 8 910