Searched refs:SubtagBits (Results 1 – 4 of 4) sorted by relevance
25 constexpr SubtagBits LANGUAGE = SubtagBits::LANGUAGE;26 constexpr SubtagBits SCRIPT = SubtagBits::SCRIPT;27 constexpr SubtagBits REGION = SubtagBits::REGION;28 constexpr SubtagBits VARIANT = SubtagBits::VARIANT;120 const Hyphenator* HyphenatorMap::lookupBySubtag(const Locale& locale, SubtagBits bits) const { in lookupBySubtag()
41 enum class SubtagBits : uint8_t { enum51 inline constexpr SubtagBits operator&(SubtagBits l, SubtagBits r) {52 return static_cast<SubtagBits>(static_cast<uint8_t>(l) & static_cast<uint8_t>(r));54 inline constexpr SubtagBits operator|(SubtagBits l, SubtagBits r) {55 return static_cast<SubtagBits>(static_cast<uint8_t>(l) | static_cast<uint8_t>(r));149 Locale getPartialLocale(SubtagBits bits) const;
408 Locale Locale::getPartialLocale(SubtagBits bits) const { in getPartialLocale()410 if ((bits & SubtagBits::LANGUAGE) != SubtagBits::EMPTY) { in getPartialLocale()415 if ((bits & SubtagBits::SCRIPT) != SubtagBits::EMPTY) { in getPartialLocale()419 if ((bits & SubtagBits::REGION) != SubtagBits::EMPTY) { in getPartialLocale()422 if ((bits & SubtagBits::VARIANT) != SubtagBits::EMPTY) { in getPartialLocale()425 if ((bits & SubtagBits::EMOJI) != SubtagBits::EMPTY) { in getPartialLocale()
75 const Hyphenator* lookupBySubtag(const Locale& locale, SubtagBits bits) const