reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/unittest/googletest/src/gtest.cc
 1766     str[1] = '\0';
 1767     str[0] = static_cast<char>(code_point);                          // 0xxxxxxx
 1769     str[2] = '\0';
 1770     str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
 1771     str[0] = static_cast<char>(0xC0 | code_point);                   // 110xxxxx
 1773     str[3] = '\0';
 1774     str[2] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
 1775     str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
 1776     str[0] = static_cast<char>(0xE0 | code_point);                   // 1110xxxx
 1778     str[4] = '\0';
 1779     str[3] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
 1780     str[2] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
 1781     str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6));  // 10xxxxxx
 1782     str[0] = static_cast<char>(0xF0 | code_point);                   // 11110xxx
 1784   return str;