Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dpystrhex.c9 Py_UCS1* retbuf; in _Py_strhex_impl()
18 retbuf = (Py_UCS1*) PyMem_Malloc(arglen*2); in _Py_strhex_impl()
/external/python/cpython3/Objects/
Dunicodeobject.c228 Py_UCS1 ch = (unsigned char)value; \
229 Py_UCS1 *to = (Py_UCS1 *)data + start; \
303 _PyUnicode_FromUCS1(const Py_UCS1 *s, Py_ssize_t size);
795 BLOOM_UPDATE(Py_UCS1, mask, ptr, len); in make_bloom_mask()
879 if ((Py_UCS1) ch != ch) in findchar()
882 return ucs1lib_find_char((Py_UCS1 *) s, size, (Py_UCS1) ch); in findchar()
884 return ucs1lib_rfind_char((Py_UCS1 *) s, size, (Py_UCS1) ch); in findchar()
913 Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode); in unicode_fill_invalid()
1475 (Py_UCS1*)from_data + how_many); in _copy_characters()
1487 Py_UCS1, Py_UCS2, in _copy_characters()
[all …]
Dlongobject.c1733 Py_UCS1 *p; in long_to_decimal_string_internal()
1734 WRITE_UNICODE_DIGITS(Py_UCS1); in long_to_decimal_string_internal()
1910 Py_UCS1 *p; in long_format_binary()
1911 WRITE_UNICODE_DIGITS(Py_UCS1); in long_format_binary()
Dbytesobject.c2353 Py_UCS1 *str, *end; in _PyBytes_FromHex()
/external/python/cpython3/Include/
Dunicodeobject.h114 typedef uint8_t Py_UCS1; typedef
352 Py_UCS1 *latin1;
451 #define PyUnicode_1BYTE_DATA(op) ((Py_UCS1*)PyUnicode_DATA(op))
489 ((Py_UCS1 *)(data))[(index)] = (Py_UCS1)(value); \
508 ((const Py_UCS1 *)(data))[(index)] : \
524 ((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/
D_json.c308 Py_UCS1 *output = PyUnicode_1BYTE_DATA(rval); in escape_unicode()
D_sre.c235 #define SRE_CHAR Py_UCS1
D_testcapimodule.c96 CHECK_SIZEOF(Py_UCS1, 1); in test_sizeof_c_types()
99 CHECK_SIGNNESS(Py_UCS1, 0); in test_sizeof_c_types()
/external/python/cpython3/Doc/c-api/
Dunicode.rst46 Py_UCS1
119 .. c:function:: Py_UCS1* PyUnicode_1BYTE_DATA(PyObject *o)
/external/python/cpython3/Modules/_io/
Dtextio.c1974 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.dat2310 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