Searched refs:Py_UCS2 (Results 1 – 14 of 14) sorted by relevance
/external/python/markupsafe/src/markupsafe/ |
D | _speedups.c | 120 Py_UCS2 *inp = PyUnicode_2BYTE_DATA(in); in escape_unicode_kind2() 121 Py_UCS2 *inp_end = inp + PyUnicode_GET_LENGTH(in); in escape_unicode_kind2() 122 Py_UCS2 *outp; in escape_unicode_kind2()
|
/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 241 Py_UCS2 *ucs2; 330 #define PyUnicode_2BYTE_DATA(op) ((Py_UCS2*)PyUnicode_DATA(op)) 371 ((Py_UCS2 *)(data))[(index)] = (Py_UCS2)(value); \ 388 ((const Py_UCS2 *)(data))[(index)] : \ 404 ((const Py_UCS2 *)(PyUnicode_DATA((unicode))))[(index)] : \
|
/external/python/cpython3/Modules/ |
D | unicodename_db.h | 29466 Py_UCS2 seq[4];
|
D | _json.c | 301 Py_UCS2 *output = PyUnicode_2BYTE_DATA(rval); in escape_unicode()
|
D | _sre.c | 235 #define SRE_CHAR Py_UCS2
|
D | _testcapimodule.c | 112 CHECK_SIZEOF(Py_UCS2, 2); in test_sizeof_c_types() 115 CHECK_SIGNNESS(Py_UCS2, 0); in test_sizeof_c_types()
|
/external/python/cpython3/Objects/stringlib/ |
D | codecs.h | 648 *out++ = SWAB2((Py_UCS2)ch); in STRINGLIB() 711 *out++ = SWAB2((Py_UCS2)ch); in STRINGLIB() 717 Py_UCS2 ch1 = Py_UNICODE_HIGH_SURROGATE(ch); in STRINGLIB() 718 Py_UCS2 ch2 = Py_UNICODE_LOW_SURROGATE(ch); in STRINGLIB() 725 *out++ = SWAB2((Py_UCS2)ch); in STRINGLIB()
|
D | ucs2lib.h | 11 #define STRINGLIB_CHAR Py_UCS2
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 260 Py_UCS2 ch = (Py_UCS2)value; in unicode_fill() 261 Py_UCS2 *to = (Py_UCS2 *)data + start; in unicode_fill() 262 const Py_UCS2 *end = to + length; in unicode_fill() 343 _PyUnicode_FromUCS2(const Py_UCS2 *s, Py_ssize_t size); 912 BLOOM_UPDATE(Py_UCS2, mask, ptr, len); in make_bloom_mask() 1003 if ((Py_UCS2) ch != ch) in findchar() 1006 return ucs2lib_find_char((const Py_UCS2 *) s, size, (Py_UCS2) ch); in findchar() 1008 return ucs2lib_rfind_char((const Py_UCS2 *) s, size, (Py_UCS2) ch); in findchar() 1480 ((Py_UCS2*)data)[size] = 0; in PyUnicode_New() 1612 Py_UCS1, Py_UCS2, in _copy_characters() [all …]
|
D | longobject.c | 1853 Py_UCS2 *p; in long_to_decimal_string_internal() 1854 WRITE_UNICODE_DIGITS(Py_UCS2); in long_to_decimal_string_internal() 2030 Py_UCS2 *p; in long_format_binary() 2031 WRITE_UNICODE_DIGITS(Py_UCS2); in long_format_binary()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 103 typedef uint16_t Py_UCS2; typedef
|
/external/python/cpython3/Python/ |
D | codecs.c | 730 Py_UCS2 *outp; in PyCodec_ReplaceErrors() 1328 Py_UCS2 ch[4]; /* decode up to 4 bad bytes. */ in PyCodec_SurrogateEscapeErrors()
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 50 Py_UCS2 128 Py_UCS2* PyUnicode_2BYTE_DATA(PyObject *o)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 2190 * :c:type:`Py_UCS1`, :c:type:`Py_UCS2`, :c:type:`Py_UCS4` types
|