HomeSort by relevance Sort by last modified time
    Searched full:collator (Results 76 - 100 of 242) sorted by null

1 2 34 5 6 7 8 910

  /external/icu4c/test/cintltst/
usrchtst.c 60 log_err_status(*status, "Error opening collator\n");
157 * Getting the collator
159 static UCollator *getCollator(const char *collator)
161 if (collator == NULL) {
164 if (strcmp(collator, "fr") == 0) {
167 else if (strcmp(collator, "de") == 0) {
170 else if (strcmp(collator, "es") == 0) {
261 log_data_err("Opening collator failed.\n");
286 log_data_err("Opening collator failed.\n");
547 UCollator *collator = getCollator(search.collator) local
578 UCollator *collator = getCollator(search.collator); local
619 UCollator *collator = getCollator(search.collator); local
775 UCollator *collator = getCollator(search->collator); local
882 UCollator *collator = getCollator(search->collator); local
1655 UCollator *collator; local
1698 UCollator *collator; local
1865 UCollator *collator = getCollator(search->collator); local
1983 UCollator *collator = getCollator(search->collator); local
2269 UCollator *collator; local
2383 UCollator *collator = NULL; local
    [all...]
cfintst.c 83 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));
101 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));
callcoll.c 28 * a customized collator object. For example, number 1 to be sorted
433 log_data_err("No collator! Any data around?\n");
612 log_err("Unable to open collator for locale %s\n", locale);
629 log_err("Unable to open collator for locale %s\n", locale);
653 log_err_status(status, "Unable to open collator with rules %s\n", rules);
675 log_err_status(status, "Unable to open collator for locale %s\n", locale);
699 log_err("Unable to open collator with rules %s\n", rules);
719 log_err_status(status, "ERROR: in creation of rule based collator :%s\n", myErrorName(status));
744 log_err_status(status, "ERROR: in creation of rule based collator :%s\n", myErrorName(status));
771 log_err_status(status, "ERROR: in creation of rule based collator :%s\n", myErrorName(status))
    [all...]
capitst.c 14 *//* C API TEST For COLLATOR */
172 log_err_status(status, "Unable to open collator. %s\n", u_errorName(status));
286 /* Collator Properties
298 * Expected version of the English collator.
316 log_err_status(status, "Default Collator creation failed.: %s\n", myErrorName(status));
429 log_verbose("open an collator for french locale");
482 log_err_status(status, "RuleBased Collator creation failed.: %s\n", myErrorName(status));
486 log_verbose("PASS: RuleBased Collator creation passed\n");
491 log_err("RuleBased Collator creation failed.: %s\n", myErrorName(status));
495 log_verbose("PASS: RuleBased Collator creation passed\n")
    [all...]
  /development/apps/Development/src/com/android/development/
PackageBrowser.java 39 import java.text.Collator;
100 return collator.compare(a.label, b.label);
103 private final Collator collator = Collator.getInstance();
  /development/samples/ApiDemos/src/com/example/android/apis/
ApiDemos.java 28 import java.text.Collator;
114 private final Collator collator = Collator.getInstance();
117 return collator.compare(map1.get("title"), map2.get("title"));
  /development/samples/Support13Demos/src/com/example/android/supportv13/
Support13Demos.java 28 import java.text.Collator;
114 private final Collator collator = Collator.getInstance();
117 return collator.compare(map1.get("title"), map2.get("title"));
  /development/samples/Support4Demos/src/com/example/android/supportv4/
Support4Demos.java 28 import java.text.Collator;
114 private final Collator collator = Collator.getInstance();
117 return collator.compare(map1.get("title"), map2.get("title"));
  /packages/apps/Settings/src/com/android/settings/
AppPicker.java 19 import java.text.Collator;
139 return collator.compare(a.label, b.label);
142 private final Collator collator = Collator.getInstance();
  /external/icu4c/i18n/unicode/
stsearch.h 34 * handled, e.g. for the German collator, characters ß and SS will be matched
100 * Though collator attributes will be taken into consideration while
102 * attributes. These attributes can be set by getting the collator
104 * Lastly to update StringSearch to the new collator attributes,
146 * language rule set. A collator will be created in the process, which
171 * Creating a <tt>StringSearch</tt> instance using the argument collator
172 * language rule set. Note, user retains the ownership of this collator,
199 * language rule set. A collator will be created in the process, which
228 * Creating a <tt>StringSearch</tt> instance using the argument collator
229 * language rule set. Note, user retains the ownership of this collator,
    [all...]
usearch.h 28 * handled, e.g. for the German collator, characters &szlig; and SS will be matched
94 * Though collator attributes will be taken into consideration while
96 * attributes. These attributes can be set by getting the collator
98 * Lastly to update String Search to the new collator attributes,
186 * standard collation element comparison at the specified collator
198 * example, with a secondary-strength English collator, a plain 'e' in
212 * For example, with a secondary-strength English collator, a plain 'e'
227 * rule set. A collator will be created in the process, which will be owned by
256 * Creating a search iterator data struct using the argument collator language
257 * rule set. Note, user retains the ownership of this collator, thus the
    [all...]
colldata.h 27 * The size of the internal buffer for the Collator's short description string.
72 * @param coll - the Collator used to collect the CEs.
264 * This class holds the Collator-specific data needed to
285 * @param collator - the collator
297 static CollData *open(UCollator *collator, UErrorCode &status);
425 CollData(UCollator *collator, char *cacheKey, int32_t cachekeyLength, UErrorCode &status);
430 static char *getCollatorKey(UCollator *collator, char *buffer, int32_t bufferLength);
bmsearch.h 36 * the pattern, the "bad character" and "good suffix" tables, the Collator-based data needed to compute them,
44 * void boyerMooreExample(UCollator *collator, UnicodeString *pattern, UnicodeString *target)
47 * CollData *collData = CollData::open(collator, status);
113 * @param theData - A <code>CollData</code> object holding the Collator-sensitive data
bms.h 22 * A <code>UCD</code> object holds the Collator-specific data needed to
40 * @param coll - the collator
109 * the pattern, the "bad character" and "good suffix" tables, the Collator-based data needed to compute them,
117 * void boyerMooreExample(UCollator *collator, UChar *pattern, int32_t patternLen, UChar *target, int32_t targetLength)
124 * ucd = ucd_open(collator, &status);
188 * @param ucd - A <code>UCD</code> object holding the Collator-sensitive data
  /external/webkit/Source/WebCore/icu/unicode/
usearch.h 27 * handled, e.g. for the German collator, characters &szlig; and SS will be matched
93 * Though collator attributes will be taken into consideration while
95 * attributes. These attributes can be set by getting the collator
97 * Lastly to update String Search to the new collator attributes,
180 * rule set. A collator will be created in the process, which will be owned by
209 * Creating a search iterator data struct using the argument collator language
210 * rule set. Note, user retains the ownership of this collator, thus the
212 * NOTE: string search cannot be instantiated from a collator that has
218 * @param collator used for the language rules
226 * @param status for errors if it occurs. If collator, pattern or text is NULL,
    [all...]
  /external/icu4c/samples/legacy/
oldcol.cpp 64 fprintf(stderr, "initCollator_legacy(%s): error opening collator, %s!\n", locale, u_errorName(status));
78 fprintf(stderr, "closeCollator_legacy(): collator was already NULL!\n");
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
HanziToPinyinTest.java 23 import java.text.Collator;
40 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.CHINA)) {
  /external/icu4c/i18n/
tblcoll.cpp 28 * to be used by Collator::getInstance(). General
49 * 11/02/99 helena Collator performance enhancements. Special case
82 : Collator(that)
166 dataIsOwned = TRUE; // since we own a collator now, we need to get rid of it
192 UBool RuleBasedCollator::operator==(const Collator& that) const
195 if (Collator::operator==(that))
216 UBool RuleBasedCollator::operator!=(const Collator& other) const
247 Collator* RuleBasedCollator::clone() const
288 * Return a string representation of this collator's rules. The string can
290 * which will construct a collator that's functionally identical to this one
    [all...]
usearch.cpp 155 // note for tertiary we can't use the collator->tertiaryMask, that
306 coleiter = ucol_openElements(strsrch->collator, pattern->text,
314 uprv_init_collIterate(strsrch->collator, pattern->text,
381 coleiter = ucol_openElements(strsrch->collator, pattern->text,
388 uprv_init_collIterate(strsrch->collator, pattern->text,
795 * @param collator collation sata
802 inline int32_t getNextSafeOffset(const UCollator *collator,
808 while (result != textlength && ucol_unsafeCP(text[result], collator)) {
853 int32_t safeoffset = getNextSafeOffset(strsrch->collator,
1179 const UCollator *collator = strsrch->collator; local
1591 const UCollator *collator = strsrch->collator; local
1829 const UCollator *collator = strsrch->collator; local
2026 const UCollator *collator = strsrch->collator; local
2251 const UCollator *collator = strsrch->collator; local
2466 const UCollator *collator = strsrch->collator; local
2621 UCollator *collator = ucol_open(locale, status); local
    [all...]
rbnf.cpp 656 , collator(NULL)
673 , collator(NULL)
690 , collator(NULL)
706 , collator(NULL)
723 , collator(NULL)
737 , collator(NULL)
811 , collator(NULL)
    [all...]
  /external/icu4c/test/intltest/
encoll.h 43 Collator *myCollation;
rndmcoll.cpp 93 UBool operator()(Collator &coll, int count = 1000){
110 UBool check_transitivity(const Collator & coll, const UnicodeString &a, const UnicodeString &b, const UnicodeString &c){
161 Collator * c = new RuleBasedCollator(newRule,status);
164 errln( "Could not create Collator for the %d(th) generated rule.\n"
  /libcore/luni/src/main/java/libcore/icu/
NativeCollation.java 22 // Collator.
  /external/webkit/Source/WebCore/xml/
XSLTUnicodeSort.cpp 37 #include <wtf/unicode/Collator.h>
164 // The implementation of Collator should be lenient, and accept both "en-US" and "en_US", for example.
167 Collator collator(comp->has_lang ? (const char*)comp->lang : "en");
168 collator.setOrderLowerFirst(comp->lower_first);
201 tst = collator.collate(str1.characters(), str1.length(), str2.characters(), str2.length());
256 tst = collator.collate(str1.characters(), str1.length(), str2.characters(), str2.length());
  /frameworks/base/core/java/android/widget/
AlphabetIndexer.java 63 * Use a collator to compare strings in a localized manner.
65 private java.text.Collator mCollator;
95 // Get a Collator for the current locale for string comparisons.
96 mCollator = java.text.Collator.getInstance();
97 mCollator.setStrength(java.text.Collator.PRIMARY);

Completed in 418 milliseconds

1 2 34 5 6 7 8 910