Home
last modified time | relevance | path

Searched refs:ucs (Results 1 – 25 of 31) sorted by relevance

12

/external/libxkbcommon/src/
Dkeysym-utf.c47 uint16_t ucs; member
859 return table[mid].ucs; in bin_search()
901 xkb_utf32_to_keysym(uint32_t ucs) in xkb_utf32_to_keysym() argument
904 if ((ucs >= 0x0020 && ucs <= 0x007e) || in xkb_utf32_to_keysym()
905 (ucs >= 0x00a0 && ucs <= 0x00ff)) in xkb_utf32_to_keysym()
906 return ucs; in xkb_utf32_to_keysym()
909 if ((ucs >= (XKB_KEY_BackSpace & 0x7f) && ucs <= (XKB_KEY_Clear & 0x7f)) || in xkb_utf32_to_keysym()
910 ucs == (XKB_KEY_Return & 0x7f) || ucs == (XKB_KEY_Escape & 0x7f)) in xkb_utf32_to_keysym()
911 return ucs | 0xff00; in xkb_utf32_to_keysym()
912 if (ucs == (XKB_KEY_Delete & 0x7f)) in xkb_utf32_to_keysym()
[all …]
/external/llvm-project/flang/lib/Parser/
Dcharacters.cpp68 template <> EncodedCharacter EncodeCharacter<Encoding::LATIN_1>(char32_t ucs) { in EncodeCharacter() argument
69 CHECK(ucs <= 0xff); in EncodeCharacter()
71 result.buffer[0] = ucs; in EncodeCharacter()
76 template <> EncodedCharacter EncodeCharacter<Encoding::UTF_8>(char32_t ucs) { in EncodeCharacter() argument
79 if (ucs <= 0x7f) { in EncodeCharacter()
80 result.buffer[0] = ucs; in EncodeCharacter()
82 } else if (ucs <= 0x7ff) { in EncodeCharacter()
83 result.buffer[0] = 0xc0 | (ucs >> 6); in EncodeCharacter()
84 result.buffer[1] = 0x80 | (ucs & 0x3f); in EncodeCharacter()
86 } else if (ucs <= 0xffff) { in EncodeCharacter()
[all …]
Dunparse.cpp214 auto ucs{DecodeString<std::u32string, Encoding::UTF_8>(x.v, false)}; in Unparse() local
215 Unparse(ucs.size()); in Unparse()
217 for (char32_t ch : ucs) { in Unparse()
/external/libwebsockets/lib/plat/unix/
Dunix-sockets.c305 uint32_t ucs = 0; in lws_plat_rawudp_broadcast() local
313 ucs += ntohs(*p16++); in lws_plat_rawudp_broadcast()
315 ucs += ucs >> 16; in lws_plat_rawudp_broadcast()
316 ucs ^= 0xffff; in lws_plat_rawudp_broadcast()
318 p[10] = ucs >> 8; in lws_plat_rawudp_broadcast()
319 p[11] = ucs; in lws_plat_rawudp_broadcast()
/external/skqp/tools/sk_app/unix/
Dkeysym2ucs.c41 unsigned short ucs; member
842 return keysymtab[mid].ucs; in keysym2ucs()
/external/skia/tools/sk_app/unix/
Dkeysym2ucs.c41 unsigned short ucs; member
842 return keysymtab[mid].ucs; in keysym2ucs()
/external/python/cpython3/Tools/gdb/
Dlibpython.py1229 ucs = int(field_str[i])
1231 if ucs < 0xD800 or ucs >= 0xDC00 or i == field_length:
1232 Py_UNICODEs.append(ucs)
1238 code = (ucs & 0x03FF) << 10
1248 (_unichr(ucs) if ucs <= 0x10ffff else '\ufffd')
1249 for ucs in Py_UNICODEs])
1296 ucs = ch
1305 ucs = ch + ch2
1310 printable = _unichr_is_printable(ucs)
1313 ucs.encode(ENCODING)
[all …]
/external/libxkbcommon/test/
Dkeysym.c117 test_utf32_to_keysym(uint32_t ucs, xkb_keysym_t expected) in test_utf32_to_keysym() argument
121 xkb_keysym_t actual = xkb_utf32_to_keysym(ucs); in test_utf32_to_keysym()
126 (unsigned long)ucs, expected_name, actual_name); in test_utf32_to_keysym()
/external/icu/icu4c/source/test/intltest/
Dtfsmalls.cpp247 UnicodeString ucs = "unicode-string"; in test_Formattable() local
255 ucs, in test_Formattable()
264 && (ft_arr[3].getType() == Formattable::kString) && (ft_arr[3].getString(temp) == ucs) in test_Formattable()
Dustrtest.cpp1141 static const UChar ucs[]={ 0x68, 0x6d, 0x20, 0 }; in TestMiscellaneous() local
1142 test1.insert(9, ucs, -1); in TestMiscellaneous()
1179 test1.setTo(TRUE, ucs, 3); in TestMiscellaneous()
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxmlparser.cpp447 unsigned long ucs = 0; in GetEntity() local
467 ucs += mult * (*q - '0'); in GetEntity()
469 ucs += mult * (*q - 'a' + 10); in GetEntity()
471 ucs += mult * (*q - 'A' + 10 ); in GetEntity()
494 ucs += mult * (*q - '0'); in GetEntity()
504 ConvertUTF32ToUTF8( ucs, value, length ); in GetEntity()
508 *value = (char)ucs; in GetEntity()
/external/python/cpython2/Tools/gdb/
Dlibpython.py1123 ucs = int(field_str[i])
1125 if ucs < 0xD800 or ucs >= 0xDC00 or i == field_length:
1126 Py_UNICODEs.append(ucs)
1132 code = (ucs & 0x03FF) << 10
1142 (_unichr(ucs) if ucs <= 0x10ffff else '\ufffd')
1143 for ucs in Py_UNICODEs])
/external/llvm-project/flang/include/flang/Parser/
Dcharacters.h187 template <Encoding ENCODING> EncodedCharacter EncodeCharacter(char32_t ucs);
191 EncodedCharacter EncodeCharacter(Encoding, char32_t ucs);
/external/icu/icu4c/source/extra/uconv/samples/utf8/
Dutf-8-demo.txt3 … is available from Markus Kuhn's website at http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo…
/external/e2fsprogs/po/
Den@quot.header5 # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
Den@boldquot.header5 # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
/external/libexif/po/
Den@quot.header5 # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
Den@boldquot.header5 # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
/external/tinyxml2/
Dtinyxml2.cpp462 unsigned long ucs = 0; in GetCharacterRef() local
463 TIXMLASSERT( sizeof( ucs ) >= 4 ); in GetCharacterRef()
503 TIXMLASSERT( ucs <= ULONG_MAX - digitScaled ); in GetCharacterRef()
504 ucs += digitScaled; in GetCharacterRef()
533 TIXMLASSERT( ucs <= ULONG_MAX - digitScaled ); in GetCharacterRef()
534 ucs += digitScaled; in GetCharacterRef()
545 ConvertUTF32ToUTF8( ucs, value, length ); in GetCharacterRef()
/external/python/cpython2/Objects/
Dunicodeobject.c3119 Py_UCS4 ucs; in unicodeescape_string() local
3124 ucs = (((ch & 0x03FF) << 10) | (ch2 & 0x03FF)) + 0x00010000; in unicodeescape_string()
3127 *p++ = hexdigit[(ucs >> 28) & 0x0000000F]; in unicodeescape_string()
3128 *p++ = hexdigit[(ucs >> 24) & 0x0000000F]; in unicodeescape_string()
3129 *p++ = hexdigit[(ucs >> 20) & 0x0000000F]; in unicodeescape_string()
3130 *p++ = hexdigit[(ucs >> 16) & 0x0000000F]; in unicodeescape_string()
3131 *p++ = hexdigit[(ucs >> 12) & 0x0000000F]; in unicodeescape_string()
3132 *p++ = hexdigit[(ucs >> 8) & 0x0000000F]; in unicodeescape_string()
3133 *p++ = hexdigit[(ucs >> 4) & 0x0000000F]; in unicodeescape_string()
3134 *p++ = hexdigit[ucs & 0x0000000F]; in unicodeescape_string()
[all …]
/external/python/cpython2/Modules/
DcPickle.c1369 Py_UCS4 ucs; in modified_EncodeRawUnicodeEscape()
1374 ucs = (((ch & 0x03FF) << 10) | (ch2 & 0x03FF)) + 0x00010000; in modified_EncodeRawUnicodeEscape()
1377 *p++ = hexdigit[(ucs >> 28) & 0xf]; in modified_EncodeRawUnicodeEscape()
1378 *p++ = hexdigit[(ucs >> 24) & 0xf]; in modified_EncodeRawUnicodeEscape()
1379 *p++ = hexdigit[(ucs >> 20) & 0xf]; in modified_EncodeRawUnicodeEscape()
1380 *p++ = hexdigit[(ucs >> 16) & 0xf]; in modified_EncodeRawUnicodeEscape()
1381 *p++ = hexdigit[(ucs >> 12) & 0xf]; in modified_EncodeRawUnicodeEscape()
1382 *p++ = hexdigit[(ucs >> 8) & 0xf]; in modified_EncodeRawUnicodeEscape()
1383 *p++ = hexdigit[(ucs >> 4) & 0xf]; in modified_EncodeRawUnicodeEscape()
1384 *p++ = hexdigit[ucs & 0xf]; in modified_EncodeRawUnicodeEscape()
/external/libxkbcommon/xkbcommon/
Dxkbcommon.h526 xkb_utf32_to_keysym(uint32_t ucs);
/external/libxml2/result/
Dintsubset2.xml.sax68 ucs - Unicode 4.0 - hex coding (4 or 5 hexadecimal digits)
Dintsubset2.xml.sax268 ucs - Unicode 4.0 - hex coding (4 or 5 hexadecimal digits)
/external/libxml2/result/noent/
Dintsubset2.xml.sax268 ucs - Unicode 4.0 - hex coding (4 or 5 hexadecimal digits)

12