Searched refs:code_point (Results 1 – 9 of 9) sorted by relevance
/netbsd-src/external/gpl3/gcc/dist/contrib/unicode/from_glibc/ |
H A D | unicode_utils.py | 78 def fill_attribute(code_point, fields): argument 85 UNICODE_ATTRIBUTES[code_point] = { 144 for code_point in range( 147 fill_attribute(code_point, fields) 180 for code_point in range(int(start, 16), int(end, 16)+1): 182 if code_point in DERIVED_CORE_PROPERTIES: 183 DERIVED_CORE_PROPERTIES[code_point].append(prop) 185 DERIVED_CORE_PROPERTIES[code_point] = [prop] 213 for code_point in range(int(start, 16), int(end, 16)+1): 214 EAST_ASIAN_WIDTHS[code_point] = match.group('property') [all …]
|
H A D | utf8_gen.py | 170 def convert_to_hex(code_point): argument 184 if code_point in surrogates: 185 return surrogates[code_point] 187 '/x{:02x}'.format(c) for c in chr(code_point).encode('UTF-8')
|
/netbsd-src/external/gpl3/gcc.old/dist/contrib/unicode/from_glibc/ |
H A D | unicode_utils.py | 78 def fill_attribute(code_point, fields): argument 85 UNICODE_ATTRIBUTES[code_point] = { 144 for code_point in range( 147 fill_attribute(code_point, fields) 180 for code_point in range(int(start, 16), int(end, 16)+1): 182 if code_point in DERIVED_CORE_PROPERTIES: 183 DERIVED_CORE_PROPERTIES[code_point].append(prop) 185 DERIVED_CORE_PROPERTIES[code_point] = [prop] 213 for code_point in range(int(start, 16), int(end, 16)+1): 214 EAST_ASIAN_WIDTHS[code_point] = match.group('property') [all …]
|
H A D | utf8_gen.py | 170 def convert_to_hex(code_point): argument 184 if code_point in surrogates: 185 return surrogates[code_point] 187 '/x{:02x}'.format(c) for c in chr(code_point).encode('UTF-8')
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/wind/ |
H A D | combining.c | 52 _wind_combining_class(uint32_t code_point) in _wind_combining_class() argument 54 struct translation ts = {code_point, 0}; in _wind_combining_class()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
H A D | codecvt.cc | 323 write_utf8_code_point(range<C>& to, char32_t code_point) in write_utf8_code_point() argument 325 if (code_point < 0x80) in write_utf8_code_point() 329 to = code_point; in write_utf8_code_point() 331 else if (code_point <= 0x7FF) in write_utf8_code_point() 335 to = (code_point >> 6) + 0xC0; in write_utf8_code_point() 336 to = (code_point & 0x3F) + 0x80; in write_utf8_code_point() 338 else if (code_point <= 0xFFFF) in write_utf8_code_point() 342 to = (code_point >> 12) + 0xE0; in write_utf8_code_point() 343 to = ((code_point >> 6) & 0x3F) + 0x80; in write_utf8_code_point() 344 to = (code_point & 0x3F) + 0x80; in write_utf8_code_point() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
H A D | codecvt.cc | 329 write_utf8_code_point(range<C>& to, char32_t code_point) in write_utf8_code_point() argument 331 if (code_point < 0x80) in write_utf8_code_point() 335 to = code_point; in write_utf8_code_point() 337 else if (code_point <= 0x7FF) in write_utf8_code_point() 341 to = (code_point >> 6) + 0xC0; in write_utf8_code_point() 342 to = (code_point & 0x3F) + 0x80; in write_utf8_code_point() 344 else if (code_point <= 0xFFFF) in write_utf8_code_point() 348 to = (code_point >> 12) + 0xE0; in write_utf8_code_point() 349 to = ((code_point >> 6) & 0x3F) + 0x80; in write_utf8_code_point() 350 to = (code_point & 0x3F) + 0x80; in write_utf8_code_point() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/ |
H A D | gtest.cc | 1764 std::string CodePointToUtf8(UInt32 code_point) { in CodePointToUtf8() argument 1765 if (code_point > kMaxCodePoint4) { in CodePointToUtf8() 1766 return "(Invalid Unicode 0x" + String::FormatHexUInt32(code_point) + ")"; in CodePointToUtf8() 1770 if (code_point <= kMaxCodePoint1) { in CodePointToUtf8() 1772 str[0] = static_cast<char>(code_point); // 0xxxxxxx in CodePointToUtf8() 1773 } else if (code_point <= kMaxCodePoint2) { in CodePointToUtf8() 1775 str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6)); // 10xxxxxx in CodePointToUtf8() 1776 str[0] = static_cast<char>(0xC0 | code_point); // 110xxxxx in CodePointToUtf8() 1777 } else if (code_point <= kMaxCodePoint3) { in CodePointToUtf8() 1779 str[2] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6)); // 10xxxxxx in CodePointToUtf8() [all …]
|
H A D | gtest-internal-inl.h | 230 GTEST_API_ std::string CodePointToUtf8(UInt32 code_point);
|