Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLocale.cpp57 static uint16_t packLanguageOrRegion(const StringPiece& in, uint8_t twoLetterBase, in packLanguageOrRegion() argument
61 (uint16_t)(in[0] - twoLetterBase) << 5 | (uint16_t)(in[1] - twoLetterBase); in packLanguageOrRegion()
68 static size_t unpackLanguageOrRegion(uint16_t in, char* out, uint8_t twoLetterBase, in unpackLanguageOrRegion() argument
75 out[0] = second + twoLetterBase; in unpackLanguageOrRegion()
76 out[1] = third + twoLetterBase; in unpackLanguageOrRegion()