/external/chromium_org/v8/test/intl/collator/ |
H A D | wellformed-unsupported-locale.js | 30 var collator = Intl.Collator(['xx']); variable 32 assertEquals(collator.resolvedOptions().locale, %GetDefaultICULocale());
|
H A D | protected-icu-internals.js | 32 var collator = new Intl.Collator([]); 35 collator.collator = {'zzz':'some random object'}; 37 assertFalse(collator.collator.hasOwnProperty('zzz')); 42 Object.defineProperty(collator, 'collator', {value: undefined}); 49 assertFalse(delete collator.collator);
|
H A D | normalization.js | 42 var collator = Intl.Collator([], {normalization: false}); variable 44 assertEquals(0, collator.compare(toCompare[0], toCompare[1])); 45 assertFalse(collator.resolvedOptions().hasOwnProperty('normalization')); 48 collator = Intl.Collator(['de-u-kk-false']); 50 assertEquals(0, collator.compare(toCompare[0], toCompare[1])); 51 assertFalse(collator.resolvedOptions().hasOwnProperty('normalization')); 54 collator = Intl.Collator(); 55 assertEquals(0, collator.compare(toCompare[0], toCompare[1])); 56 assertFalse(collator.resolvedOptions().hasOwnProperty('normalization'));
|
H A D | de-sort.js | 33 var collator = Intl.Collator(['de']); variable 34 var result = strings.sort(collator.compare);
|
H A D | en-sort.js | 32 var collator = Intl.Collator(['en']); variable 33 var result = strings.sort(collator.compare);
|
H A D | sr-sort.js | 33 var collator = Intl.Collator(['sr']); variable 34 var result = strings.sort(collator.compare);
|
/external/chromium_org/v8/test/intl/overrides/ |
H A D | 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/base/i18n/ |
H A D | string_compare.cc | 15 UCollationResult CompareString16WithCollator(const icu::Collator* collator, argument 18 DCHECK(collator); 20 UCollationResult result = collator->compare(
|
H A D | string_search.cc | 27 UCollator* collator = usearch_getCollator(search_); local 28 ucol_setStrength(collator, UCOL_PRIMARY);
|
/external/chromium_org/third_party/icu/source/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 895 setUCollator(UCollator *collator) argument [all...] |
/external/chromium_org/ui/base/l10n/ |
H A D | l10n_util_collator.h | 21 // operator (), comparing the string results using a collator. 28 StringMethodComparatorWithCollator(icu::Collator* collator, Method method) argument 29 : 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)); 79 StringMethodComparatorWithCollator<T, Method>(collator.get(), method)); 92 explicit StringComparator(icu::Collator* collator) argument 93 : collator_(collator) { } 128 scoped_ptr<icu::Collator> collator(ic [all...] |
/external/chromium_org/ui/base/models/ |
H A D | 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; 91 if (!collator) { 93 collator = icu::Collator::createInstance(create_status); 95 collator = NULL; 99 return collator; [all...] |
/external/icu4c/i18n/unicode/ |
H A D | rbnf.h | 909 * end of the default collator for the locale, enabling additional equivalences 1018 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 377 * @return locale where the collation data lives. If the collator 834 setUCollator(UCollator *collator) argument [all...] |
/external/chromium/chrome/browser/chromeos/options/ |
H A D | wifi_config_model.cc | 37 explicit CertNameComparator(icu::Collator* collator) argument 38 : collator_(collator) { 93 scoped_ptr<icu::Collator> collator; local 95 collator.reset( 100 collator.reset(NULL); 101 CertNameComparator cert_name_comparator(collator.get());
|
/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/chrome/browser/autofill/ |
H A D | autofill_country.cc | 376 // Returns an ICU collator -- i.e. string comparator -- appropriate for the 380 // Returns the ICU sort key corresponding to |str| for the given |collator|. 384 const std::string GetSortKey(const icu::Collator& collator, 466 const icu::Collator* collator = GetCollatorForLocale(locale); local 479 std::string sort_key = GetSortKey(*collator, 495 icu::Collator* collator = GetCollatorForLocale(locale); local 502 std::string sort_key = GetSortKey(*collator, 522 icu::Collator* collator(icu::Collator::createInstance(icu_locale, ignored)); 526 collator->setAttribute(UCOL_STRENGTH, UCOL_SECONDARY, ignored); 528 collator 536 GetSortKey(const icu::Collator& collator, const icu::UnicodeString& str, scoped_array<uint8_t>* buffer, int32_t* buffer_size) const argument [all...] |
/external/chromium/chrome/browser/ |
H A D | background_application_list_model.cc | 27 explicit ExtensionNameComparator(icu::Collator* collator); 34 ExtensionNameComparator::ExtensionNameComparator(icu::Collator* collator) argument 35 : collator_(collator) { 85 scoped_ptr<icu::Collator> collator(icu::Collator::createInstance(loc, error)); 87 ExtensionNameComparator(collator.get()));
|
/external/chromium_org/chrome/browser/background/ |
H A D | background_application_list_model.cc | 47 explicit ExtensionNameComparator(icu::Collator* collator); 55 ExtensionNameComparator::ExtensionNameComparator(icu::Collator* collator) argument 56 : collator_(collator) { 119 scoped_ptr<icu::Collator> collator(icu::Collator::createInstance(loc, error)); 121 ExtensionNameComparator(collator.get()));
|
/external/chromium_org/chrome/browser/chromeos/options/ |
H A D | cert_library.cc | 79 explicit CertNameComparator(icu::Collator* collator) argument 80 : collator_(collator) { 245 scoped_ptr<icu::Collator> collator(icu::Collator::createInstance( 248 collator.reset(); 249 CertNameComparator cert_name_comparator(collator.get());
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_country.cc | 865 // Returns an ICU collator -- i.e. string comparator -- appropriate for the 869 // Returns the ICU sort key corresponding to |str| for the given |collator|. 873 const std::string GetSortKey(const icu::Collator& collator, 953 const icu::Collator* collator = GetCollatorForLocale(locale); local 963 std::string sort_key = GetSortKey(*collator, 979 icu::Collator* collator = GetCollatorForLocale(locale); local 986 std::string sort_key = GetSortKey(*collator, 1006 icu::Collator* collator(icu::Collator::createInstance(icu_locale, ignored)); 1010 collator->setAttribute(UCOL_STRENGTH, UCOL_SECONDARY, ignored); 1012 collator 1020 GetSortKey(const icu::Collator& collator, const base::string16& str, scoped_ptr<uint8_t[]>* buffer, int32_t* buffer_size) const argument [all...] |
/external/chromium_org/ppapi/proxy/ |
H A D | pdf_resource.cc | 75 UCollator* collator = usearch_getCollator(searcher); local 76 if (ucol_getStrength(collator) != strength) { 77 ucol_setStrength(collator, strength);
|
/external/chromium_org/third_party/icu/source/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
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | usrchdat.c | 29 const char *collator; /* currently supported "fr" "es" "de", plus NULL/other => "en" */ member in struct:SearchData
|