HomeSort by relevance Sort by last modified time
    Searched refs:RuleBasedCollator (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/icu4c/i18n/
tblcoll.cpp 17 * constructor which reads RuleBasedCollator object from
19 * RuleBasedCollator out to a binary file. The streamIn
27 * Added a private RuleBasedCollator(Locale&) constructor,
43 * 08/10/98 erm Synched with 1.2 version of RuleBasedCollator.java
74 /* public RuleBasedCollator constructor ---------------------------------- */
81 RuleBasedCollator::RuleBasedCollator(const RuleBasedCollator& that)
87 RuleBasedCollator::operator=(that);
90 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
RuleBasedCollatorTest.java 25 import java.text.RuleBasedCollator;
36 RuleBasedCollator rbc = null;
39 rbc = new RuleBasedCollator(Simple);
50 RuleBasedCollator coll = new RuleBasedCollator(rule);
56 RuleBasedCollator coll = new RuleBasedCollator(rule);
63 RuleBasedCollator coll = (RuleBasedCollator) Collator
65 RuleBasedCollator clone = (RuleBasedCollator) coll.clone()
    [all...]
CollationElementIteratorTest.java 22 import java.text.RuleBasedCollator;
36 private RuleBasedCollator coll;
39 coll = (RuleBasedCollator) Collator.getInstance(Locale.US);
102 RuleBasedCollator rbColl = (RuleBasedCollator) Collator
115 RuleBasedCollator rbColl = (RuleBasedCollator) Collator
130 RuleBasedCollator rbColl = (RuleBasedCollator) Collator
145 RuleBasedCollator rbColl = (RuleBasedCollator) Collato
    [all...]
CollatorTest.java 21 import java.text.RuleBasedCollator;
190 if (c1 instanceof RuleBasedCollator) {
192 new RuleBasedCollator(((RuleBasedCollator) c1).getRules());
207 RuleBasedCollator collator;
209 collator = new RuleBasedCollator("; \u0300 < a, A < b < c < d");
238 RuleBasedCollator collator;
240 collator = new RuleBasedCollator("; \u0300 < a, A < b < c < d");
CollationKeyTest.java 22 import java.text.RuleBasedCollator;
98 collator = new RuleBasedCollator("= 1 , 2 ; 3 , 4 < 5 ; 6 , 7");
106 * ((RuleBasedCollator)collator).getCollationElementIterator("1234567");
  /external/icu4c/i18n/unicode/
coleitr.h 78 * RuleBasedCollator* rbc =
79 * (RuleBasedCollator*) RuleBasedCollator::createInstance(success);
117 * @see RuleBasedCollator
296 friend class RuleBasedCollator;
309 const RuleBasedCollator* order, UErrorCode& status);
322 const RuleBasedCollator* order, UErrorCode& status);
361 order &= RuleBasedCollator::PRIMARYORDERMASK;
362 return (order >> RuleBasedCollator::PRIMARYORDERSHIFT);
372 order = order & RuleBasedCollator::SECONDARYORDERMASK
    [all...]
stsearch.h 17 * \brief C++ API: Service for searching text based on RuleBasedCollator.
32 * in a {@link RuleBasedCollator} object.
134 * @see RuleBasedCollator
176 * @param coll A <tt>RuleBasedCollator</tt> object which defines
193 RuleBasedCollator *coll,
237 * @param coll A <tt>RuleBasedCollator</tt> object which defines
253 RuleBasedCollator *coll,
364 * Caller may modify but <b>must not</b> delete the <tt>RuleBasedCollator</tt>!
370 RuleBasedCollator * getCollator() const;
382 void setCollator(RuleBasedCollator *coll, UErrorCode &status)
    [all...]
tblcoll.h 10 * \brief C++ API: RuleBasedCollator class provides the simple implementation of Collator.
22 * constructor which reads RuleBasedCollator object from
24 * RuleBasedCollator out to a binary file. The streamIn
30 * Added a private RuleBasedCollator(Locale&) constructor,
45 * 08/05/98 erm Synched with 1.2 version of RuleBasedCollator.java
84 * The RuleBasedCollator class provides the simple implementation of
94 * RuleBasedCollator is a thin C++ wrapper over the C implementation.
107 * Note, RuleBasedCollator is not to be subclassed.
111 class U_I18N_API RuleBasedCollator : public Collator
118 * RuleBasedCollator constructor. This takes the table rules and builds
    [all...]
sortkey.h 40 class RuleBasedCollator;
91 * @see RuleBasedCollator
274 * Allow private access to RuleBasedCollator
276 friend class RuleBasedCollator;
  /external/icu4c/test/intltest/
srchtest.h 32 RuleBasedCollator *m_en_us_;
33 RuleBasedCollator *m_fr_fr_;
34 RuleBasedCollator *m_de_;
35 RuleBasedCollator *m_es_;
39 RuleBasedCollator * getCollator(const char *collator);
allcoll.h 52 RuleBasedCollator *myCollation;
regcoll.cpp 26 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status);
88 RuleBasedCollator c1 = new RuleBasedCollator("< o "
112 RuleBasedCollator *c1 = new RuleBasedCollator(rules, status);
115 RuleBasedCollator *c2 = new RuleBasedCollator(c1->getRules(), status);
148 RuleBasedCollator *c = (RuleBasedCollator *) en_us->clone();
190 RuleBasedCollator *c = (RuleBasedCollator *) en_us->clone()
    [all...]
g7coll.cpp 100 RuleBasedCollator* tblColl1 = 0;
122 // const UnicodeString& defRules = ((RuleBasedCollator*)myCollation)->getRules();
124 tblColl1 = new RuleBasedCollator(((RuleBasedCollator*)myCollation)->getRules(), status);
168 const UnicodeString baseRules = ((RuleBasedCollator*)col)->getRules();
171 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status);
202 const UnicodeString baseRules = ((RuleBasedCollator*)col)->getRules();
205 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status)
    [all...]
itercoll.cpp 29 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status);
95 RuleBasedCollator *c1 = NULL;
96 c1 = new RuleBasedCollator(
101 errln("Couldn't create a RuleBasedCollator with a contracting sequence.");
113 RuleBasedCollator *c2 = NULL;
114 c2 = new RuleBasedCollator((UnicodeString)"&a < b < c/abd < d", status);
118 errln("Couldn't create a RuleBasedCollator with an expanding sequence.");
130 RuleBasedCollator *c3 = NULL;
131 c3 = new RuleBasedCollator((UnicodeString)"&a < b < c/aba < d < z < ch", status);
135 errln("Couldn't create a RuleBasedCollator with both an expanding and a contracting sequence.")
    [all...]
apicoll.h 38 * This tests the RuleBasedCollator
45 * This tests the RuleBasedCollator
173 void dump(UnicodeString msg, RuleBasedCollator* c, UErrorCode& status);
itercoll.h 111 RuleBasedCollator *en_us;
dadrcoll.h 54 RuleBasedCollator *UCA; // needed for opening collators from binary images
regcoll.h 81 // RuleBasedCollator.getRules does not return the exact pattern as input
128 // RuleBasedCollator breaks on "< a < bb" rule
134 // RuleBasedCollator.equals(null) throws NullPointerException
223 // RuleBasedCollator doesn't use getCollationElementIterator internally
243 RuleBasedCollator *en_us;
dadrcoll.cpp 42 UCA = (RuleBasedCollator*)Collator::createInstance("root", status);
195 col = new RuleBasedCollator(testSetting, status);
210 RuleBasedCollator* clone = NULL;
212 RuleBasedCollator* rbc = (RuleBasedCollator*)col;
217 clone = new RuleBasedCollator(cloneBuf, cloneSize, UCA, intStatus);
219 errln("Could not clone the RuleBasedCollator. Error: %s", u_errorName(intStatus));
apicoll.cpp 18 // constructor which reads RuleBasedCollator object from
20 // RuleBasedCollator out to a binary file. The streamIn
200 RuleBasedCollator *rcol = (RuleBasedCollator *)Collator::createInstance("da_DK",
247 doAssert(((RuleBasedCollator *)col)->getRules() == ((RuleBasedCollator *)junk)->getRules(),
295 RuleBasedCollator *col1, *col2, *col3, *col4;
301 col1 = new RuleBasedCollator(ruleset1, status);
311 col2 = new RuleBasedCollator(ruleset2, status);
322 col3 = (RuleBasedCollator *)Collator::createInstance(locale, status)
    [all...]
  /libcore/luni/src/main/java/java/text/
RuleBasedCollator.java 25 * {@code RuleBasedCollator} has the following restrictions for efficiency
32 * <li> If a character is not located in the {@code RuleBasedCollator}, the
124 * {@code RuleBasedCollator} automatically processes its rule table to include
131 * This allows you to use a RuleBasedCollator to compare accented strings even
150 * If you produce one of these errors, {@code RuleBasedCollator} throws a
157 * construct the {@code RuleBasedCollator} with the rules contained in a
163 * RuleBasedCollator mySimple = new RuleBasedCollator(Simple);
177 * RuleBasedCollator myNorwegian = new RuleBasedCollator(Norwegian)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
NameNormalizer.java 21 import java.text.RuleBasedCollator;
29 private static final RuleBasedCollator sCompressingCollator;
31 sCompressingCollator = (RuleBasedCollator)Collator.getInstance(Locale.getDefault());
36 private static final RuleBasedCollator sComplexityCollator;
38 sComplexityCollator = (RuleBasedCollator)Collator.getInstance(Locale.getDefault());
  /libcore/luni/src/test/java/libcore/java/text/
OldCollationElementIteratorTest.java 22 import java.text.RuleBasedCollator;
29 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(Locale.US);
CollatorTest.java 23 import java.text.RuleBasedCollator;
92 RuleBasedCollator coll = new RuleBasedCollator(rule);
96 RuleBasedCollator other = new RuleBasedCollator(rule);
112 new RuleBasedCollator("< a< b< c< d").getCollationElementIterator((CharacterIterator) null);
127 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(l);
132 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(l)
    [all...]
OldCollationKeyTest.java 22 import java.text.RuleBasedCollator;
36 collator = new RuleBasedCollator("= 1 , 2 ; 3 , 4 < 5 ; 6 , 7");
43 * ((RuleBasedCollator)collator).getCollationElementIterator("1234567");

Completed in 185 milliseconds

1 2 3