Home
last modified time | relevance | path

Searched refs:BCollator (Results 1 – 24 of 24) sorted by relevance

/haiku/src/kits/locale/
H A DCollator.cpp28 BCollator::BCollator() in BCollator() function in BCollator
42 BCollator::BCollator(const char* locale, int8 strength, bool ignorePunctuation) in BCollator() function in BCollator
52 BCollator::BCollator(BMessage* archive) in BCollator() function in BCollator
78 BCollator::BCollator(const BCollator& other) in BCollator() function in BCollator
86 BCollator::~BCollator() in ~BCollator()
92 BCollator& BCollator::operator=(const BCollator& source) in operator =()
108 BCollator::SetIgnorePunctuation(bool ignore) in SetIgnorePunctuation()
115 BCollator::IgnorePunctuation() const in IgnorePunctuation()
122 BCollator::SetNumericSorting(bool enable) in SetNumericSorting()
136 BCollator::GetSortKey(const char* string, BString* key) const in GetSortKey()
[all …]
H A DLocale.cpp69 BLocale::GetCollator(BCollator* collator) const in GetCollator()
147 BLocale::SetCollator(const BCollator& newCollator) in SetCollator()
H A DLocaleRosterData.cpp611 fDefaultLocale.SetCollator(BCollator(langName.String())); in _SetPreferredLanguages()
622 fDefaultLocale.SetCollator(BCollator("en")); in _SetPreferredLanguages()
/haiku/headers/os/locale/
H A DCollator.h36 class BCollator : public BArchivable {
38 BCollator();
39 BCollator(const char* locale,
42 BCollator(BMessage* archive);
44 BCollator(const BCollator& other);
46 ~BCollator();
48 BCollator& operator=(const BCollator& source);
81 BCollator::Equal(const char *s1, const char *s2) const in Equal()
88 BCollator::Greater(const char *s1, const char *s2) const in Greater()
95 BCollator::GreaterOrEqual(const char *s1, const char *s2) const in GreaterOrEqual()
H A DLocale.h31 status_t GetCollator(BCollator* collator) const;
38 void SetCollator(const BCollator& newCollator);
55 BCollator fCollator;
H A DLocaleRoster.h17 class BCollator; variable
/haiku/docs/user/locale/
H A DCollator.dox20 \brief Provides the BCollator class.
25 \class BCollator
30 BCollator is designed to handle collation (sorting) of strings. Unlike
39 BCollator from more than one thread you need to protect it with
47 \fn BCollator::BCollator()
60 \fn BCollator::BCollator(const char* locale,
82 \fn BCollator::BCollator(BMessage* archive)
85 \param archive The message to unarchive the BCollator object from.
92 \fn BCollator::BCollator(const BCollator& other)
95 Copies a BCollator object from another BCollator object.
[all …]
H A DLocale.dox66 status_t BLocale::GetCollator(BCollator* collator) const
96 \fn status_t BLocale::GetCollator(BCollator* collator) const
99 \param collator A pointer to a BCollator object to fill out.
172 \fn void BLocale::SetCollator(const BCollator& newCollator)
/haiku/src/apps/haikudepot/util/
H A DLocaleUtils.h16 class BCollator; variable
22 static BCollator* GetSharedCollator();
46 static void _GetCollator(BCollator* collator);
49 static BCollator* sSharedCollator;
H A DLocaleUtils.cpp26 BCollator* LocaleUtils::sSharedCollator = NULL;
30 /*static*/ BCollator*
34 sSharedCollator = new BCollator(); in GetSharedCollator()
43 LocaleUtils::_GetCollator(BCollator* collator) in _GetCollator()
H A DLanguageMenuUtils.cpp113 BCollator* collator = LocaleUtils::GetSharedCollator(); in _LanguagesPresentationCompareFn()
/haiku/src/kits/shared/
H A DNaturalCompare.cpp30 static BCollator* collator = NULL; in NaturalCompare()
34 collator = new BCollator(); in NaturalCompare()
/haiku/src/tests/kits/locale/
H A DcollatorTest.cpp51 BCollator *gCollator;
130 BCollator defaultCollator; in main()
163 gCollator = new BCollator(addon, strength, true); in main()
177 gCollator = dynamic_cast<BCollator *>(unarchived); in main()
H A DcollatorSpeed.cpp50 test(BCollator *collator, const char *name, int8 strength) in test()
87 BCollator *collator = NULL; in main()
113 collator = new BCollator(collatorAddOn, B_COLLATE_PRIMARY, true); in main()
H A DCollatorTest.cpp36 BCollator collator; in TestSortKeys()
/haiku/src/apps/haikudepot/packagemodel/
H A DPackageCategory.cpp70 BCollator* collator = LocaleUtils::GetSharedCollator(); in Compare()
/haiku/src/apps/firstbootprompt/
H A DBootPromptWindow.cpp112 static BCollator collator; in compare_void_list_items()
124 static BCollator collator; in compare_void_menu_items()
/haiku/src/apps/deskbar/
H A DTeamMenu.cpp72 BCollator collator; in CompareByName()
H A DExpandoMenuBar.cpp639 BCollator collator; in AddTeam()
/haiku/src/bin/pkgman/
H A Dcommand_search.cpp127 BCollator fCollator;
/haiku/src/preferences/time/
H A DZoneView.cpp80 BCollator fCollator;
/haiku/src/preferences/locale/
H A DLocaleWindow.cpp56 static BCollator collator; in compare_typed_list_items()
/haiku/src/kits/tracker/
H A DOpenWithWindow.cpp1119 BCollator collator; in SortByName()
1230 BCollator collator; in DoneBuildingItemList()
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp158 BCollator collator; in TranslationComparator()