Home
last modified time | relevance | path

Searched refs:SubtagBits (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/libs/minikin/
DHyphenatorMap.cpp25 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()
DLocale.h41 enum class SubtagBits : uint8_t { enum
51 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;
DLocale.cpp408 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()
DHyphenatorMap.h75 const Hyphenator* lookupBySubtag(const Locale& locale, SubtagBits bits) const