Searched refs:twoLetterBase (Results 1 – 1 of 1) sorted by relevance
56 static uint16_t packLanguageOrRegion(const StringPiece& in, uint8_t twoLetterBase, in packLanguageOrRegion() argument60 (uint16_t)(in[0] - twoLetterBase) << 5 | (uint16_t)(in[1] - twoLetterBase); in packLanguageOrRegion()67 static size_t unpackLanguageOrRegion(uint16_t in, char* out, uint8_t twoLetterBase, in unpackLanguageOrRegion() argument74 out[0] = second + twoLetterBase; in unpackLanguageOrRegion()75 out[1] = third + twoLetterBase; in unpackLanguageOrRegion()