Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLocale.cpp69 static uint16_t packLanguageOrRegion(const StringPiece& in, uint8_t twoLetterBase, in packLanguageOrRegion() argument
73 (uint16_t)(in[0] - twoLetterBase) << 5 | (uint16_t)(in[1] - twoLetterBase); in packLanguageOrRegion()
80 static size_t unpackLanguageOrRegion(uint16_t in, char* out, uint8_t twoLetterBase, in unpackLanguageOrRegion() argument
87 out[0] = second + twoLetterBase; in unpackLanguageOrRegion()
88 out[1] = third + twoLetterBase; in unpackLanguageOrRegion()