Home
last modified time | relevance | path

Searched refs:collator_ (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/libaddressinput/chromium/
Dcanonicalize_string.cc24 collator_( in ChromeStringCanonicalizer()
27 collator_->setStrength(icu::Collator::PRIMARY); in ChromeStringCanonicalizer()
45 int32_t buffer_size = collator_->getSortKey(icu_str, NULL, 0); in CanonicalizeString()
49 collator_->getSortKey(icu_str, buffer.get(), buffer_size); in CanonicalizeString()
56 scoped_ptr<icu::Collator> collator_; member in i18n::addressinput::__anonefd7e7e40111::ChromeStringCanonicalizer
Dstring_compare.cc22 collator_.reset( in IcuStringComparer()
25 collator_->setStrength(icu::Collator::PRIMARY); in IcuStringComparer()
32 int result = collator_->compareUTF8(a, b, error_code); in Compare()
41 ::scoped_ptr<icu::Collator> collator_;
Dinput_suggester.cc228 collator_.reset( in StringCanonicalizer()
231 collator_->setStrength(icu::Collator::PRIMARY); in StringCanonicalizer()
243 collator_->getSortKey(icu_str, &buffer_[0], buffer_size()); in Canonicalize()
248 sort_key_size = collator_->getSortKey(icu_str, &buffer_[0], buffer_size()); in Canonicalize()
Dinput_suggester.h97 scoped_ptr<icu::Collator> collator_; variable
/external/chromium_org/ui/base/l10n/
Dl10n_util_collator.h29 : collator_(collator), in StringMethodComparatorWithCollator()
34 return base::i18n::CompareString16WithCollator(collator_, in operator()
39 icu::Collator* collator_;
93 : collator_(collator) { } in StringComparator()
100 return StringComparator<base::string16>(collator_)(lhs_string_key, in operator()
105 icu::Collator* collator_;
115 if (!collator_) in operator()
117 return base::i18n::CompareString16WithCollator(collator_, lhs, rhs) == in operator()
/external/chromium_org/components/enhanced_bookmarks/
Denhanced_bookmark_utils.cc46 : collator_(collator) {} in BookmarkNameComparator()
52 if (!collator_) in operator ()()
55 collator_, n1->GetTitle(), n2->GetTitle()) == UCOL_LESS; in operator ()()
59 icu::Collator* collator_; member in enhanced_bookmarks::BookmarkNameComparator
/external/chromium_org/chrome/browser/chromeos/options/
Dcert_library.cc81 : collator_(collator) { in CertNameComparator()
88 if (collator_ == NULL) in operator ()()
91 collator_, lhs_name, rhs_name) == UCOL_LESS; in operator ()()
95 icu::Collator* collator_; member in chromeos::CertNameComparator
/external/icu/icu4c/source/i18n/
Dalphaindex.cpp210 collator_(NULL), collatorPrimaryOnly_(NULL), in AlphabeticIndex()
221 collator_(collator), collatorPrimaryOnly_(NULL), in AlphabeticIndex()
229 delete collator_; in ~AlphabeticIndex()
644 inputList_->sortWithUComparator(recordCompareFn, collator_, errorCode); in initBuckets()
821 return *collator_; in getCollator()
885 if (locale == NULL && collator_ == NULL) { in init()
900 if (collator_ == NULL) { in init()
910 collator_ = dynamic_cast<RuleBasedCollator *>(coll); in init()
911 if (collator_ == NULL) { in init()
917 collatorPrimaryOnly_ = static_cast<RuleBasedCollator *>(collator_->clone()); in init()
/external/chromium_org/third_party/icu/source/i18n/
Dalphaindex.cpp209 collator_(NULL), collatorPrimaryOnly_(NULL), in AlphabeticIndex()
220 collator_(collator), collatorPrimaryOnly_(NULL), in AlphabeticIndex()
228 delete collator_; in ~AlphabeticIndex()
648 inputList_->sortWithUComparator(recordCompareFn, collator_, errorCode); in initBuckets()
870 return *dynamic_cast<RuleBasedCollator *>(collator_); in getCollator()
934 if (locale == NULL && collator_ == NULL) { in init()
949 if (collator_ == NULL) { in init()
950 collator_ = static_cast<RuleBasedCollator *>(Collator::createInstance(*locale, status)); in init()
952 if (collator_ == NULL) { in init()
957 collatorPrimaryOnly_ = static_cast<RuleBasedCollator *>(collator_->clone()); in init()
/external/chromium_org/chrome/browser/android/bookmarks/
Dbookmarks_bridge.cc53 : collator_(collator) {} in BookmarkTitleComparer()
56 if (collator_) { in operator ()()
58 collator_, lhs->GetTitle(), rhs->GetTitle()) == UCOL_LESS; in operator ()()
65 const icu::Collator* collator_; member in __anon71298b930111::BookmarkTitleComparer
70 scoped_ptr<icu::Collator> collator_; in GetICUCollator() local
71 collator_.reset(icu::Collator::createInstance(error)); in GetICUCollator()
73 collator_.reset(NULL); in GetICUCollator()
75 return collator_.Pass(); in GetICUCollator()
/external/chromium_org/chrome/browser/background/
Dbackground_application_list_model.cc59 icu::Collator* collator_; member in ExtensionNameComparator
63 : collator_(collator) { in ExtensionNameComparator()
69 return l10n_util::StringComparator<base::string16>(collator_)( in operator ()()
/external/chromium_org/chrome/browser/notifications/
Dmessage_center_settings_controller.cc102 explicit NotifierComparator(icu::Collator* collator) : collator_(collator) {} in NotifierComparator()
106 collator_, n1->name, n2->name) == UCOL_LESS; in operator ()()
110 icu::Collator* collator_; member in __anone0efc6970111::NotifierComparator
/external/chromium_org/components/bookmarks/browser/
Dbookmark_model.cc76 explicit SortComparator(icu::Collator* collator) : collator_(collator) {} in SortComparator()
82 if (!collator_) in operator ()()
85 collator_, n1->GetTitle(), n2->GetTitle()) == UCOL_LESS; in operator ()()
92 icu::Collator* collator_; member in __anon5a7a7b9c0111::SortComparator
/external/chromium_org/chrome/browser/ui/webui/options/
Dcertificate_manager_handler.cc78 : collator_(collator) { in DictionaryIdComparator()
93 if (collator_ == NULL) in operator ()()
96 collator_, a_str, b_str) == UCOL_LESS; in operator ()()
99 icu::Collator* collator_; member
/external/icu/icu4c/source/i18n/unicode/
Dalphaindex.h735 RuleBasedCollator *collator_; variable
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dalphaindex.h744 RuleBasedCollator *collator_; variable