Searched refs:SubtagBits (Results 1 – 5 of 5) sorted by relevance
/frameworks/minikin/fuzz/locale_fuzzer/ |
D | locale_fuzzer.cpp | 26 const SubtagBits subtangBits[] = {SubtagBits::EMPTY, SubtagBits::LANGUAGE, SubtagBits::SCRIPT, 27 SubtagBits::REGION, SubtagBits::VARIANT, SubtagBits::EMOJI, 28 SubtagBits::ALL};
|
/frameworks/minikin/libs/minikin/ |
D | HyphenatorMap.cpp | 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()
|
D | Locale.h | 42 enum class SubtagBits : uint8_t { enum 52 inline constexpr SubtagBits operator&(SubtagBits l, SubtagBits r) { 53 return static_cast<SubtagBits>(static_cast<uint8_t>(l) & static_cast<uint8_t>(r)); 55 inline constexpr SubtagBits operator|(SubtagBits l, SubtagBits r) { 56 return static_cast<SubtagBits>(static_cast<uint8_t>(l) | static_cast<uint8_t>(r)); 151 Locale getPartialLocale(SubtagBits bits) const;
|
D | Locale.cpp | 430 Locale Locale::getPartialLocale(SubtagBits bits) const { in getPartialLocale() 432 if ((bits & SubtagBits::LANGUAGE) != SubtagBits::EMPTY) { in getPartialLocale() 437 if ((bits & SubtagBits::SCRIPT) != SubtagBits::EMPTY) { in getPartialLocale() 441 if ((bits & SubtagBits::REGION) != SubtagBits::EMPTY) { in getPartialLocale() 444 if ((bits & SubtagBits::VARIANT) != SubtagBits::EMPTY) { in getPartialLocale() 447 if ((bits & SubtagBits::EMOJI) != SubtagBits::EMPTY) { in getPartialLocale()
|
D | HyphenatorMap.h | 75 const Hyphenator* lookupBySubtag(const Locale& locale, SubtagBits bits) const
|