Searched refs:twoLetterBase (Results 1 – 1 of 1) sorted by relevance
69 static uint16_t packLanguageOrRegion(const StringPiece& in, uint8_t twoLetterBase, in packLanguageOrRegion() argument73 (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() argument87 out[0] = second + twoLetterBase; in unpackLanguageOrRegion()88 out[1] = third + twoLetterBase; in unpackLanguageOrRegion()