HomeSort by: relevance | last modified time | path
    Searched refs:code_point (Results 1 - 17 of 17) sorted by relevancy

  /src/external/gpl3/gcc/dist/contrib/unicode/from_glibc/
unicode_utils.py 78 def fill_attribute(code_point, fields):
79 '''Stores in UNICODE_ATTRIBUTES[code_point] the values from the fields.
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)
    [all...]
utf8_gen.py 170 def convert_to_hex(code_point):
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')
  /src/external/gpl3/gcc.old/dist/contrib/unicode/from_glibc/
unicode_utils.py 78 def fill_attribute(code_point, fields):
79 '''Stores in UNICODE_ATTRIBUTES[code_point] the values from the fields.
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)
    [all...]
utf8_gen.py 170 def convert_to_hex(code_point):
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')
  /src/external/gpl3/gcc/dist/contrib/unicode/
gen-combining-chars.py 24 def is_combining_char(code_point) -> bool:
25 return unicodedata.combining(chr(code_point)) != 0
38 for code_point in range(0x10FFFF):
39 value = is_combining_char(code_point)
41 print(f'{code_point=:x} {value=}')
44 ranges[-1].end = code_point
47 ranges.append(Range(code_point, code_point, value))
gen-printable-chars.py 24 def is_printable_char(code_point) -> bool:
25 category = unicodedata.category(chr(code_point))
40 for code_point in range(0x10FFFF):
41 value = is_printable_char(code_point)
43 print(f'{code_point=:x} {value=}')
46 ranges[-1].end = code_point
49 ranges.append(Range(code_point, code_point, value))
  /src/external/mit/libuv/dist/src/
idna.c 29 uint32_t code_point; local
40 code_point = b1;
45 code_point = (code_point << 6) | (b2 & 0x3F);
47 return 0x7FF & code_point; /* two-byte character */
52 code_point = (code_point << 6) | (b3 & 0x3F);
54 return 0xFFFF & code_point; /* three-byte character */
59 code_point = (code_point << 6) | (b4 & 0x3F)
372 int32_t code_point; local
390 int32_t code_point; local
430 int32_t code_point; local
467 int32_t code_point; local
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/wind/
combining.c 52 _wind_combining_class(uint32_t code_point)
54 struct translation ts = {code_point, 0};
  /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++23/
print.cc 138 [[maybe_unused]] uint32_t code_point{};
177 code_point = byte & 0x1F;
188 code_point = byte & 0x0F;
199 code_point = byte & 0x07;
229 code_point = (code_point << 6) | (byte & 0x3f);
238 if (code_point <= __gnu_cxx::__int_traits<_CharT>::__max)
239 out.push_back(code_point);
245 char16_t lead = LEAD_OFFSET + (code_point >> 10);
246 char16_t trail = 0xDC00 + (code_point & 0x3FF)
    [all...]
  /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
codecvt.cc 331 write_utf8_code_point(range<C>& to, char32_t code_point)
333 if (code_point < 0x80)
337 to = code_point;
339 else if (code_point <= 0x7FF)
343 to = (code_point >> 6) + 0xC0;
344 to = (code_point & 0x3F) + 0x80;
346 else if (code_point <= 0xFFFF)
350 to = (code_point >> 12) + 0xE0;
351 to = ((code_point >> 6) & 0x3F) + 0x80;
352 to = (code_point & 0x3F) + 0x80
    [all...]
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
codecvt.cc 329 write_utf8_code_point(range<C>& to, char32_t code_point)
331 if (code_point < 0x80)
335 to = code_point;
337 else if (code_point <= 0x7FF)
341 to = (code_point >> 6) + 0xC0;
342 to = (code_point & 0x3F) + 0x80;
344 else if (code_point <= 0xFFFF)
348 to = (code_point >> 12) + 0xE0;
349 to = ((code_point >> 6) & 0x3F) + 0x80;
350 to = (code_point & 0x3F) + 0x80
    [all...]
  /src/crypto/external/apache2/openssl/dist/providers/common/
capabilities.c 278 unsigned int code_point; member in struct:tls_sigalg_constants_st
301 (unsigned int *)&sigalg_constants_list[idx].code_point), \
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/
gtest.cc 1759 // code_point parameter is of type UInt32 because wchar_t may not be
1761 // If the code_point is not a valid Unicode code point
1764 std::string CodePointToUtf8(UInt32 code_point) {
1765 if (code_point > kMaxCodePoint4) {
1766 return "(Invalid Unicode 0x" + String::FormatHexUInt32(code_point) + ")";
1770 if (code_point <= kMaxCodePoint1) {
1772 str[0] = static_cast<char>(code_point); // 0xxxxxxx
1773 } else if (code_point <= kMaxCodePoint2) {
1775 str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6)); // 10xxxxxx
1776 str[0] = static_cast<char>(0xC0 | code_point); // 110xxxx
    [all...]
gtest-internal-inl.h 225 // code_point parameter is of type UInt32 because wchar_t may not be
227 // If the code_point is not a valid Unicode code point
230 GTEST_API_ std::string CodePointToUtf8(UInt32 code_point);
  /src/crypto/external/apache2/openssl/dist/test/
tls-provider.c 283 unsigned int code_point; /* for "tls-sigalg-alg", see provider-base(7) */ member in struct:tls_sigalg_st
327 &xor_sigalg.code_point),
348 &xor_sigalg_hash.code_point),
367 &xor_sigalg12.code_point),
3213 xor_sigalg.code_point = randomize_tls_alg_id(libctx);
3214 xor_sigalg_hash.code_point = randomize_tls_alg_id(libctx);
  /src/crypto/external/apache2/openssl/dist/ssl/
t1_lib.c 390 unsigned int code_point = 0; local
438 || !OSSL_PARAM_get_uint(p, &code_point)
439 || code_point > UINT16_MAX) {
443 sinf->code_point = (uint16_t)code_point;
2272 cache[cache_idx].sigalg = si.code_point;
2273 tls12_sigalgs_list[cache_idx] = si.code_point;
ssl_local.h 753 uint16_t code_point; /* IANA-specified code point of sigalg-name */ member in struct:tls_sigalg_info_st

Completed in 61 milliseconds