Searched refs:code_point (Results 1 – 3 of 3) sorted by relevance
50 _wind_combining_class(uint32_t code_point) in _wind_combining_class() argument52 struct translation ts = {code_point}; in _wind_combining_class()
2010 // code_point parameter is of type uint32_t because wchar_t may not be in CodePointToUtf8() 2012 // If the code_point is not a valid Unicode code point in CodePointToUtf8() 2015 std::string CodePointToUtf8(uint32_t code_point) { in CodePointToUtf8() 2016 if (code_point > kMaxCodePoint4) {2017 return "(Invalid Unicode 0x" + String::FormatHexUInt32(code_point) + ")";2021 if (code_point <= kMaxCodePoint1) {2023 str[0] = static_cast<char>(code_point); // 0xxxxxxx2024 } else if (code_point <= kMaxCodePoint2) { in IsUtf16SurrogatePair() 2026 str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6)); // 10xxxxxx in IsUtf16SurrogatePair() 2027 str[0] = static_cast<char>(0xC0 | code_point); // 11 in IsUtf16SurrogatePair() 1989 CodePointToUtf8(uint32_t code_point) CodePointToUtf8() argument [all...]
221 // code_point parameter is of type UInt32 because wchar_t may not be223 // If the code_point is not a valid Unicode code point226 GTEST_API_ std::string CodePointToUtf8(uint32_t code_point);