Home
last modified time | relevance | path

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

/frameworks/minikin/fuzz/locale_fuzzer/
Dlocale_fuzzer.cpp26 const SubtagBits subtangBits[] = {SubtagBits::EMPTY, SubtagBits::LANGUAGE, SubtagBits::SCRIPT,
27 SubtagBits::REGION, SubtagBits::VARIANT, SubtagBits::EMOJI,
28 SubtagBits::ALL};
/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.h42 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;
DLocale.cpp430 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()
DHyphenatorMap.h75 const Hyphenator* lookupBySubtag(const Locale& locale, SubtagBits bits) const