/external/chromium_org/ppapi/proxy/ |
pdf_resource.cc | 75 UCollator* collator = usearch_getCollator(searcher); local 76 if (ucol_getStrength(collator) != strength) { 77 ucol_setStrength(collator, strength);
|
/external/chromium_org/v8/test/intl/overrides/ |
caching.js | 47 // Using collator. Faster than default, but not by much. 48 var collator = Intl.Collator(); variable 51 collator.compare('a', 'c');
|
/external/chromium_org/third_party/icu/source/i18n/ |
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...] |
usrchimp.h | 63 const UCollator *collator; member in struct:UStringSearch 87 * For tertiary we can't use the collator->tertiaryMask, that is a
|
colldata.cpp | 462 CollData *get(UCollator *collator, UErrorCode &status); 468 static char *getKey(UCollator *collator, char *keyBuffer, int32_t *charBufferLength); 518 CollData *CollDataCache::get(UCollator *collator, UErrorCode &status) 522 char *key = getKey(collator, keyBuffer, &keyLength); 532 newData = new CollData(collator, key, keyLength, status); 587 char *CollDataCache::getKey(UCollator *collator, char *keyBuffer, int32_t *keyBufferLength) 590 int32_t len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status); 597 len = ucol_getShortDefinitionString(collator, NULL, keyBuffer, *keyBufferLength, &status); 643 CollData::CollData(UCollator *collator, char *cacheKey, int32_t cacheKeyLength, UErrorCode &status) 696 coll = ucol_safeClone(collator, NULL, NULL, &status) [all...] |
/external/icu4c/i18n/ |
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...] |
usrchimp.h | 63 const UCollator *collator; member in struct:UStringSearch 87 * For tertiary we can't use the collator->tertiaryMask, that is a
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
srchtest.h | 39 RuleBasedCollator * getCollator(const char *collator); 42 Collator::ECollationStrength getECollationStrength(
|
/external/chromium_org/v8/test/intl/collator/ |
wellformed-unsupported-locale.js | 30 var collator = Intl.Collator(['xx']); variable 32 assertEquals(collator.resolvedOptions().locale, %GetDefaultICULocale());
|
de-sort.js | 33 var collator = Intl.Collator(['de']); variable 34 var result = strings.sort(collator.compare);
|
default-locale.js | 28 // Constructing Collator with no locale arguments or with [] 31 var collator = new Intl.Collator([]); 33 var options = collator.resolvedOptions(); 43 var collatorNone = new Intl.Collator(); 47 var collatorBraket = new Intl.Collator({}); 50 var collatorWithOptions = new Intl.Collator(undefined, {usage: 'search'});
|
en-sort.js | 32 var collator = Intl.Collator(['en']); variable 33 var result = strings.sort(collator.compare);
|
property-override.js | 40 // Update both collator.js and collator.cc so they have the same list of 45 var options = Intl.Collator().resolvedOptions(); 65 var locale = Intl.Collator().resolvedOptions().locale;
|
/external/icu4c/test/intltest/ |
colldata.h | 60 * @param coll - the Collator used to collect the CEs. 194 * This class holds the Collator-specific data needed to 213 * @param collator - the collator 216 CollData(UCollator *collator, UErrorCode &status);
|
srchtest.h | 39 RuleBasedCollator * getCollator(const char *collator); 42 Collator::ECollationStrength getECollationStrength(
|
/external/chromium/chrome/browser/ |
background_application_list_model.cc | 27 explicit ExtensionNameComparator(icu::Collator* collator); 31 icu::Collator* collator_; 34 ExtensionNameComparator::ExtensionNameComparator(icu::Collator* collator) 35 : collator_(collator) { 85 scoped_ptr<icu::Collator> collator(icu::Collator::createInstance(loc, error)); 87 ExtensionNameComparator(collator.get())) [all...] |
/external/chromium_org/chrome/browser/chromeos/options/ |
cert_library.cc | 28 #include "third_party/icu/source/i18n/unicode/coll.h" // icu::Collator 79 explicit CertNameComparator(icu::Collator* collator) 80 : collator_(collator) { 94 icu::Collator* collator_; 245 scoped_ptr<icu::Collator> collator(icu::Collator::createInstance( 248 collator.reset(); 249 CertNameComparator cert_name_comparator(collator.get()) [all...] |
/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...] |
/development/apps/Development/src/com/android/development/ |
AppHwConfigList.java | 34 import java.text.Collator; 149 return collator.compare(sa, sb); 151 private final Collator collator = Collator.getInstance();
|
RunningProcesses.java | 32 import java.text.Collator; 140 return collator.compare(sa, sb); 142 private final Collator collator = Collator.getInstance();
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
usearch.h | 28 * handled, e.g. for the German collator, characters ß 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...] |
/external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/ |
MainActivity.java | 15 import java.text.Collator; 31 private final Collator collator = Collator.getInstance(); 35 return collator.compare(map1.get("title"), map2.get("title"));
|
/external/icu4c/i18n/unicode/ |
usearch.h | 28 * handled, e.g. for the German collator, characters ß 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...] |
/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/chromium_org/third_party/WebKit/Source/core/xml/ |
XSLTUnicodeSort.cpp | 33 #include "wtf/unicode/Collator.h" 131 // The implementation of Collator should be lenient, and accept both "en-US" and "en_US", for example. 134 Collator collator(comp->has_lang ? (const char*)comp->lang : "en"); 135 collator.setOrderLowerFirst(comp->lower_first); 170 tst = collator.collate(string1.data(), string1.size(), string2.data(), string2.size()); 227 tst = collator.collate(string1.data(), string1.size(), string2.data(), string2.size());
|