Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dpystrhex.c12 Py_UCS1* retbuf; in _Py_strhex_impl()
14 Py_UCS1 sep_char = 0; in _Py_strhex_impl()
67 retbuf = (Py_UCS1*) PyMem_Malloc(resultlen); in _Py_strhex_impl()
/external/python/cpython3/Include/cpython/
Dunicodeobject.h243 Py_UCS1 *latin1;
336 #define PyUnicode_1BYTE_DATA(op) ((Py_UCS1*)PyUnicode_DATA(op))
374 ((Py_UCS1 *)(data))[(index)] = (Py_UCS1)(value); \
393 ((const Py_UCS1 *)(data))[(index)] : \
409 ((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.c239 Py_UCS1 ch = (unsigned char)value; in unicode_fill()
240 Py_UCS1 *to = (Py_UCS1 *)data + start; in unicode_fill()
321 _PyUnicode_FromUCS1(const Py_UCS1 *s, Py_ssize_t size);
835 BLOOM_UPDATE(Py_UCS1, mask, ptr, len); in make_bloom_mask()
919 if ((Py_UCS1) ch != ch) in findchar()
922 return ucs1lib_find_char((Py_UCS1 *) s, size, (Py_UCS1) ch); in findchar()
924 return ucs1lib_rfind_char((Py_UCS1 *) s, size, (Py_UCS1) ch); in findchar()
953 Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode); in unicode_fill_invalid()
1518 (Py_UCS1*)from_data + how_many); in _copy_characters()
1530 Py_UCS1, Py_UCS2, in _copy_characters()
[all …]
Dlongobject.c1896 Py_UCS1 *p; in long_to_decimal_string_internal()
1897 WRITE_UNICODE_DIGITS(Py_UCS1); in long_to_decimal_string_internal()
2073 Py_UCS1 *p; in long_format_binary()
2074 WRITE_UNICODE_DIGITS(Py_UCS1); in long_format_binary()
Dbytesobject.c2345 Py_UCS1 *str, *end; in _PyBytes_FromHex()
Dtypeobject.c3178 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.c311 Py_UCS1 *output = PyUnicode_1BYTE_DATA(rval); in escape_unicode()
D_sre.c228 #define SRE_CHAR Py_UCS1
D_testcapimodule.c107 CHECK_SIZEOF(Py_UCS1, 1); in test_sizeof_c_types()
110 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/cpython2/Objects/
Dbytesobject.c2360 Py_UCS1 *str, *end; in _PyBytes_FromHex()
/external/python/cpython3/Modules/_io/
Dtextio.c2048 Py_UCS1 *nl = PyUnicode_1BYTE_DATA(readnl); in _PyIO_find_line_ending()
/external/python/cpython3/Doc/data/
Drefcounts.dat2345 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