Searched refs:Py_UCS1 (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython3/Python/ |
D | pystrhex.c | 9 Py_UCS1* retbuf; in _Py_strhex_impl() 18 retbuf = (Py_UCS1*) PyMem_Malloc(arglen*2); in _Py_strhex_impl()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 228 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 …]
|
D | longobject.c | 1733 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()
|
D | bytesobject.c | 2353 Py_UCS1 *str, *end; in _PyBytes_FromHex()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 114 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/ |
D | ucs1lib.h | 11 #define STRINGLIB_CHAR Py_UCS1
|
D | asciilib.h | 11 #define STRINGLIB_CHAR Py_UCS1
|
/external/python/cpython3/Modules/ |
D | _json.c | 308 Py_UCS1 *output = PyUnicode_1BYTE_DATA(rval); in escape_unicode()
|
D | _sre.c | 235 #define SRE_CHAR Py_UCS1
|
D | _testcapimodule.c | 96 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/ |
D | unicode.rst | 46 Py_UCS1 119 .. c:function:: Py_UCS1* PyUnicode_1BYTE_DATA(PyObject *o)
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 1974 Py_UCS1 *nl = PyUnicode_1BYTE_DATA(readnl); in _PyIO_find_line_ending()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 2360 Py_UCS1 *str, *end; in _PyBytes_FromHex()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2310 PyUnicode_1BYTE_DATA:Py_UCS1*:::
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 2190 * :c:type:`Py_UCS1`, :c:type:`Py_UCS2`, :c:type:`Py_UCS4` types
|