Home
last modified time | relevance | path

Searched refs:Py_UCS1 (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython3/Python/
Dpystrhex.c13 Py_UCS1 sep_char = 0; in _Py_strhex_impl()
66 Py_UCS1 *retbuf; in _Py_strhex_impl()
73 retbuf = (Py_UCS1 *)PyBytes_AS_STRING(retval); in _Py_strhex_impl()
Dcodecs.c705 Py_UCS1 *outp; in PyCodec_ReplaceErrors()
761 Py_UCS1 *outp; in PyCodec_XMLCharRefReplaceErrors()
857 Py_UCS1 *outp; in PyCodec_BackslashReplaceErrors()
968 Py_UCS1 *outp; in PyCodec_NameReplaceErrors()
/external/python/markupsafe/src/markupsafe/
D_speedups.c94 Py_UCS1 *inp = PyUnicode_1BYTE_DATA(in); in escape_unicode_kind1()
95 Py_UCS1 *inp_end = inp + PyUnicode_GET_LENGTH(in); in escape_unicode_kind1()
96 Py_UCS1 *outp; in escape_unicode_kind1()
/external/python/cpython3/Include/cpython/
Dunicodeobject.h240 Py_UCS1 *latin1;
329 #define PyUnicode_1BYTE_DATA(op) ((Py_UCS1*)PyUnicode_DATA(op))
367 ((Py_UCS1 *)(data))[(index)] = (Py_UCS1)(value); \
386 ((const Py_UCS1 *)(data))[(index)] : \
402 ((const Py_UCS1 *)(PyUnicode_DATA((unicode))))[(index)] : \
/external/python/cpython3/Objects/stringlib/
Ducs1lib.h11 #define STRINGLIB_CHAR Py_UCS1
Dasciilib.h11 #define STRINGLIB_CHAR Py_UCS1
/external/python/cpython3/Modules/_sqlite/
Drow.c97 const Py_UCS1 *p1 = PyUnicode_1BYTE_DATA(left); in equal_ignore_case()
98 const Py_UCS1 *p2 = PyUnicode_1BYTE_DATA(right); in equal_ignore_case()
/external/python/cpython3/Objects/
Dunicodeobject.c253 Py_UCS1 ch = (unsigned char)value; in unicode_fill()
254 Py_UCS1 *to = (Py_UCS1 *)data + start; in unicode_fill()
341 _PyUnicode_FromUCS1(const Py_UCS1 *s, Py_ssize_t size);
909 BLOOM_UPDATE(Py_UCS1, mask, ptr, len); in make_bloom_mask()
996 if ((Py_UCS1) ch != ch) in findchar()
999 return ucs1lib_find_char((const Py_UCS1 *) s, size, (Py_UCS1) ch); in findchar()
1001 return ucs1lib_rfind_char((const Py_UCS1 *) s, size, (Py_UCS1) ch); in findchar()
1030 Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode); in unicode_fill_invalid()
1600 (const Py_UCS1*)from_data + how_many); in _copy_characters()
1612 Py_UCS1, Py_UCS2, in _copy_characters()
[all …]
Dlongobject.c1849 Py_UCS1 *p; in long_to_decimal_string_internal()
1850 WRITE_UNICODE_DIGITS(Py_UCS1); in long_to_decimal_string_internal()
2026 Py_UCS1 *p; in long_format_binary()
2027 WRITE_UNICODE_DIGITS(Py_UCS1); in long_format_binary()
Dbytesobject.c1269 Py_UCS1 *p; in PyBytes_Repr()
2349 const Py_UCS1 *str, *end; in _PyBytes_FromHex()
Dtypeobject.c3298 const Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name); in is_dunder_name()
/external/python/cpython3/Include/
Dunicodeobject.h104 typedef uint8_t Py_UCS1; typedef
/external/python/cpython3/Modules/
D_json.c163 Py_UCS1 *output; in ascii_escape_unicode()
298 Py_UCS1 *output = PyUnicode_1BYTE_DATA(rval); in escape_unicode()
D_sre.c228 #define SRE_CHAR Py_UCS1
D_testcapimodule.c111 CHECK_SIZEOF(Py_UCS1, 1); in test_sizeof_c_types()
114 CHECK_SIGNNESS(Py_UCS1, 0); in test_sizeof_c_types()
/external/python/cpython3/Doc/c-api/
Dunicode.rst51 Py_UCS1
127 .. c:function:: Py_UCS1* PyUnicode_1BYTE_DATA(PyObject *o)
/external/python/cpython3/Modules/_io/
Dtextio.c2090 const Py_UCS1 *nl = PyUnicode_1BYTE_DATA(readnl); in _PyIO_find_line_ending()
/external/python/cpython2/Objects/
Dbytesobject.c2360 Py_UCS1 *str, *end; in _PyBytes_FromHex()
/external/python/cpython3/Doc/data/
Drefcounts.dat2351 PyUnicode_1BYTE_DATA:Py_UCS1*:::
/external/python/cpython3/Doc/whatsnew/
D3.3.rst2190 * :c:type:`Py_UCS1`, :c:type:`Py_UCS2`, :c:type:`Py_UCS4` types