/external/chromium/third_party/icu/public/i18n/unicode/ |
H A D | rbnf.h | 906 * end of the default collator for the locale, enabling additional equivalences 992 Collator* collator; member in class:RuleBasedNumberFormat
|
H A D | tblcoll.h | 181 /** Opens a collator from a collator binary image created using 183 * collator remains owned by the user and should stay around for 184 * the lifetime of the collator. The API also takes a base collator 187 * lifetime of the collator 190 * @param base fallback collator, usually UCA. Base is required to be 191 * present through the lifetime of the collator. Currently 194 * @return newly created collator 453 * @return locale where the collation data lives. If the collator 870 setUCollator(UCollator *collator) argument [all...] |
/external/icu4c/i18n/unicode/ |
H A D | rbnf.h | 909 * end of the default collator for the locale, enabling additional equivalences 995 Collator* collator; member in class:RuleBasedNumberFormat
|
H A D | tblcoll.h | 181 /** Opens a collator from a collator binary image created using 183 * collator remains owned by the user and should stay around for 184 * the lifetime of the collator. The API also takes a base collator 187 * lifetime of the collator 190 * @param base fallback collator, usually UCA. Base is required to be 191 * present through the lifetime of the collator. Currently 194 * @return newly created collator 453 * @return locale where the collation data lives. If the collator 870 setUCollator(UCollator *collator) argument [all...] |
/external/chromium/third_party/icu/source/i18n/ |
H A D | usrchimp.h | 61 const UCollator *collator; member in struct:UStringSearch 84 * For tertiary we can't use the collator->tertiaryMask, that is a
|
H A D | coll.cpp | 60 * Release all static memory held by collator. 385 Collator *collator; local 388 collator=new RuleBasedCollator(loc, status); 390 if (collator == 0) { 396 collator->getVersion(info); 398 delete collator; 403 return collator;
|
H A D | bmsearch.cpp | 657 UCollator *collator = data->getCollator(); local 659 patCEs = new CEList(collator, patternString, status); 674 target = new Target(collator, targetString, patCEs->size(), status);
|
H A D | colldata.cpp | 457 CollData *get(UCollator *collator, UErrorCode &status); 463 static char *getKey(UCollator *collator, char *keyBuffer, int32_t *charBufferLength); 515 CollData *CollDataCache::get(UCollator *collator, UErrorCode &status) argument 519 char *key = getKey(collator, keyBuffer, &keyLength); 529 newData = new CollData(collator, key, keyLength, status); 584 char *CollDataCache::getKey(UCollator *collator, char *keyBuffer, int32_t *keyBufferLength) argument 587 int32_t len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status); 594 len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status); 640 CollData::CollData(UCollator *collator, char *cacheKey, int32_t cacheKeyLength, UErrorCode &status) argument 693 coll = ucol_safeClone(collator, NUL 1017 open(UCollator *collator, UErrorCode &status) argument [all...] |
H A D | nfrule.cpp | 1120 * text with a collator). If there's no match, this is 0. 1134 // get the formatter's collator and use it to create two 1137 // exception if the collator we get back from the formatter 1141 RuleBasedCollator* collator = (RuleBasedCollator*)formatter->getCollator(); local 1142 CollationElementIterator* strIter = collator->createCollationElementIterator(str); 1143 CollationElementIterator* prefixIter = collator->createCollationElementIterator(prefix); 1145 if (collator == NULL || strIter == NULL || prefixIter == NULL) { 1146 delete collator; 1250 // ugly contortions. First, use the collator to compare the 1253 collator 1443 RuleBasedCollator* collator = (RuleBasedCollator*)(formatter->getCollator()); local [all...] |
/external/icu4c/samples/coll/ |
H A D | coll.cpp | 54 UCollator * collator = 0; variable 143 UCollationResult result = ucol_strcoll(collator, source, -1, target, -1); 154 * Creates a collator 158 // Set up an ICU collator 164 collator = ucol_openRules(rules, -1, UCOL_OFF, UCOL_TERTIARY, 168 collator = ucol_open(opt_locale, &status); 183 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 186 ucol_setAttribute(collator, UCOL_FRENCH_COLLATION, UCOL_ON, &status); 189 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, 193 ucol_setAttribute(collator, UCOL_CASE_FIRS [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
H A D | usrchdat.c | 29 const char *collator; member in struct:SearchData
|
H A D | usrchtst.c | 60 log_err_status(*status, "Error opening collator\n"); 157 * Getting the collator 159 static UCollator *getCollator(const char *collator) argument 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"); 441 UCollator *collator local 472 UCollator *collator = getCollator(search.collator); local 513 UCollator *collator = getCollator(search.collator); local 669 UCollator *collator = getCollator(search->collator); local 776 UCollator *collator = getCollator(search->collator); local 1549 UCollator *collator; local 1592 UCollator *collator; local 1759 UCollator *collator = getCollator(search->collator); local 1877 UCollator *collator = getCollator(search->collator); local 2163 UCollator *collator; local 2277 UCollator *collator = NULL; local [all...] |
/external/icu4c/i18n/ |
H A D | usrchimp.h | 63 const UCollator *collator; member in struct:UStringSearch 87 * For tertiary we can't use the collator->tertiaryMask, that is a
|
H A D | bmsearch.cpp | 610 UCollator *collator = data->getCollator(); local 612 patCEs = new CEList(collator, patternString, status); 627 target = new Target(collator, targetString, patCEs->size(), status);
|
H A D | coll.cpp | 60 * Release all static memory held by collator. 385 Collator *collator; local 388 collator=new RuleBasedCollator(loc, status); 390 if (collator == 0) { 396 collator->getVersion(info); 398 delete collator; 403 return collator;
|
H A D | colldata.cpp | 457 CollData *get(UCollator *collator, UErrorCode &status); 463 static char *getKey(UCollator *collator, char *keyBuffer, int32_t *charBufferLength); 513 CollData *CollDataCache::get(UCollator *collator, UErrorCode &status) argument 517 char *key = getKey(collator, keyBuffer, &keyLength); 527 newData = new CollData(collator, key, keyLength, status); 582 char *CollDataCache::getKey(UCollator *collator, char *keyBuffer, int32_t *keyBufferLength) argument 585 int32_t len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status); 592 len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status); 638 CollData::CollData(UCollator *collator, char *cacheKey, int32_t cacheKeyLength, UErrorCode &status) argument 691 coll = ucol_safeClone(collator, NUL 1015 open(UCollator *collator, UErrorCode &status) argument [all...] |
/external/icu4c/samples/strsrch/ |
H A D | strsrch.cpp | 59 UCollator * collator = 0; variable 146 * Creates a collator 150 // Set up an ICU collator 155 collator = ucol_openRules(rules, -1, UCOL_OFF, UCOL_TERTIARY, 159 collator = ucol_open(opt_locale, &status); 174 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 177 ucol_setAttribute(collator, UCOL_FRENCH_COLLATION, UCOL_ON, &status); 180 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, 184 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, 188 ucol_setAttribute(collator, UCOL_CASE_LEVE [all...] |
/external/icu4c/test/cintltst/ |
H A D | usrchdat.c | 29 const char *collator; /* currently supported "fr" "es" "de", plus NULL/other => "en" */ member in struct:SearchData
|
H A D | usrchtst.c | 60 log_err_status(*status, "Error opening collator\n"); 157 * Getting the collator 159 static UCollator *getCollator(const char *collator) argument 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"); 448 UCollator *collator local 479 UCollator *collator = getCollator(search.collator); local 520 UCollator *collator = getCollator(search.collator); local 676 UCollator *collator = getCollator(search->collator); local 783 UCollator *collator = getCollator(search->collator); local 1556 UCollator *collator; local 1599 UCollator *collator; local 1766 UCollator *collator = getCollator(search->collator); local 1884 UCollator *collator = getCollator(search->collator); local 2170 UCollator *collator; local 2284 UCollator *collator = NULL; local [all...] |
/external/icu4c/test/intltest/ |
H A D | svccoll.cpp | 51 { // try override en_US collator 56 errln("register of french collator for en_US failed on request for en_US_FOO"); 58 // ensure original collator's params not touched 61 errln(UnicodeString("fr collator's requested locale changed to ") + loc.getName()); 65 errln(UnicodeString("fr collator's valid locale changed to ") + loc.getName()); 83 errln("failed to unregister french collator"); 89 errln("collator after unregister does not match original"); 99 { // try create collator for new locale 107 errln("register of fr collator for fu_FU failed"); 170 errln("collator fuf 209 Collator* collator; member in struct:CollatorInfo [all...] |
H A D | srchtest.cpp | 28 dataerrln(__FILE__ " cannot test - failed to create collator."); \ 178 RuleBasedCollator * StringSearchTest::getCollator(const char *collator) argument 180 if (collator == NULL) { 183 if (strcmp(collator, "fr") == 0) { 186 else if (strcmp(collator, "de") == 0) { 189 else if (strcmp(collator, "es") == 0) { 359 Collator *collator = getCollator(search->collator); local 381 collator->setStrength(getECollationStrength(search->strength)); 382 strsrch = new StringSearch(pattern, text, (RuleBasedCollator *)collator, 416 Collator *collator = getCollator(search->collator); local 469 Collator *collator = getCollator(search->collator); local 803 RuleBasedCollator *collator = getCollator(search->collator); local 906 RuleBasedCollator *collator = getCollator(search->collator); local 1506 RuleBasedCollator *collator = new RuleBasedCollator(rules, local 1544 RuleBasedCollator *collator = new RuleBasedCollator(rules, local 1668 RuleBasedCollator *collator = getCollator(search->collator); local 1774 RuleBasedCollator *collator = getCollator(search->collator); local 2013 Collator *collator = strsrch->getCollator(); local 2111 RuleBasedCollator *collator = new RuleBasedCollator(rules, local [all...] |
/external/sqlite/android/ |
H A D | sqlite3_android.cpp | 236 UCollator* collator; member in struct:SqliteUserData 290 UCollator* collator = (UCollator*)sqlite3_user_data(context); local 373 uint32_t result = ucol_getSortKey(collator, token, -1, (uint8_t*)keybuf, sizeof(keybuf)-1); 416 static void localized_collator_dtor(UCollator* collator) argument 418 ucol_close(collator); 423 // This collator may be removed in the near future, so you MUST not use now. 432 UCollator* collator = ucol_open(systemLocale, &status); local 437 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); 444 ucol_getShortDefinitionString(collator, NULL, buf, 1024, &status); 447 err = sqlite3_create_collation_v2(handle, LOCALIZED_COLLATOR_NAME, SQLITE_UTF16, collator, 516 UCollator * collator = ucol_open(NULL, &status); local [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
H A D | srchtest.cpp | 28 dataerrln(__FILE__ " cannot test - failed to create collator."); \ 176 RuleBasedCollator * StringSearchTest::getCollator(const char *collator) argument 178 if (collator == NULL) { 181 if (strcmp(collator, "fr") == 0) { 184 else if (strcmp(collator, "de") == 0) { 187 else if (strcmp(collator, "es") == 0) { 349 Collator *collator = getCollator(search->collator); local 371 collator->setStrength(getECollationStrength(search->strength)); 372 strsrch = new StringSearch(pattern, text, (RuleBasedCollator *)collator, 406 Collator *collator = getCollator(search->collator); local 459 Collator *collator = getCollator(search->collator); local 793 RuleBasedCollator *collator = getCollator(search->collator); local 896 RuleBasedCollator *collator = getCollator(search->collator); local 1496 RuleBasedCollator *collator = new RuleBasedCollator(rules, local 1534 RuleBasedCollator *collator = new RuleBasedCollator(rules, local 1658 RuleBasedCollator *collator = getCollator(search->collator); local 1764 RuleBasedCollator *collator = getCollator(search->collator); local 2003 Collator *collator = strsrch->getCollator(); local 2101 RuleBasedCollator *collator = new RuleBasedCollator(rules, local [all...] |
H A D | svccoll.cpp | 51 { // try override en_US collator 56 errln("register of french collator for en_US failed on request for en_US_FOO"); 58 // ensure original collator's params not touched 61 errln(UnicodeString("fr collator's requested locale changed to ") + loc.getName()); 65 errln(UnicodeString("fr collator's valid locale changed to ") + loc.getName()); 83 errln("failed to unregister french collator"); 89 errln("collator after unregister does not match original"); 99 { // try create collator for new locale 107 errln("register of fr collator for fu_FU failed"); 170 errln("collator fuf 211 Collator* collator; member in struct:CollatorInfo [all...] |
/external/chromium/third_party/icu/source/tools/dumpce/ |
H A D | dumpce.cpp | 287 * Prints the attribute values in the argument collator into the output stream 288 * @param collator 290 void outputAttribute(UCollator *collator, UErrorCode *error) argument 304 int attributeval = ucol_getAttribute(collator, attribute, error); 306 fprintf(stdout, "Failure in reading collator attribute\n"); 322 * Prints the normalization mode in the argument collator into the output stream 323 * @param collator 325 void outputNormalization(UCollator *collator) argument 328 int normmode = ucol_getAttribute(collator, UCOL_NORMALIZATION_MODE, &status); 437 * Sets the collator wit 441 setAttributes(UCollator *collator, UErrorCode *error) argument [all...] |