Searched refs:PyUnicode_1BYTE_DATA (Results 1 – 18 of 18) sorted by relevance
/external/python/cpython3/Objects/stringlib/ |
D | eq.h | 22 return memcmp(PyUnicode_1BYTE_DATA(a), PyUnicode_1BYTE_DATA(b), in unicode_eq()
|
D | ucs1lib.h | 19 #define STRINGLIB_STR PyUnicode_1BYTE_DATA
|
D | asciilib.h | 19 #define STRINGLIB_STR PyUnicode_1BYTE_DATA
|
/external/python/cpython3/Python/ |
D | pystrhex.c | 26 retbuf = PyUnicode_1BYTE_DATA(retval); in _Py_strhex_impl()
|
D | codecs.c | 801 outp = PyUnicode_1BYTE_DATA(res); in PyCodec_XMLCharRefReplaceErrors() 880 outp = PyUnicode_1BYTE_DATA(res); in PyCodec_BackslashReplaceErrors() 933 outp = PyUnicode_1BYTE_DATA(res); in PyCodec_BackslashReplaceErrors() 1013 for (i = start, outp = PyUnicode_1BYTE_DATA(res); in PyCodec_NameReplaceErrors() 1045 assert(outp == PyUnicode_1BYTE_DATA(res) + ressize); in PyCodec_NameReplaceErrors()
|
D | marshal.c | 455 w_short_pstring((char *) PyUnicode_1BYTE_DATA(v), in w_complex_object() 463 w_pstring((char *) PyUnicode_1BYTE_DATA(v), in w_complex_object()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 913 Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode); in unicode_fill_invalid() 1488 PyUnicode_1BYTE_DATA(from) + from_start, in _copy_characters() 1489 PyUnicode_1BYTE_DATA(from) + from_start + how_many, in _copy_characters() 1498 PyUnicode_1BYTE_DATA(from) + from_start, in _copy_characters() 1499 PyUnicode_1BYTE_DATA(from) + from_start + how_many, in _copy_characters() 1524 PyUnicode_1BYTE_DATA(to) + to_start in _copy_characters() 1534 PyUnicode_1BYTE_DATA(to) + to_start in _copy_characters() 1711 PyUnicode_1BYTE_DATA(unicode)); in _PyUnicode_Ready() 1712 PyUnicode_1BYTE_DATA(unicode)[_PyUnicode_WSTR_LENGTH(unicode)] = '\0'; in _PyUnicode_Ready() 1997 PyUnicode_1BYTE_DATA(unicode)[0] = ch; in get_latin1_char() [all …]
|
D | bytesobject.c | 843 pbuf = (const char *)PyUnicode_1BYTE_DATA(temp); in _PyBytes_FormatEx() 905 pbuf = (const char *)PyUnicode_1BYTE_DATA(temp); in _PyBytes_FormatEx() 1382 p = PyUnicode_1BYTE_DATA(v); in PyBytes_Repr() 2379 str = PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex() 2399 invalid_char = str - PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex() 2406 invalid_char = str - PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex()
|
D | codeobject.c | 22 s = PyUnicode_1BYTE_DATA(o); in all_name_chars()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 837 pbuf = (const char *)PyUnicode_1BYTE_DATA(temp); in _PyBytes_FormatEx() 899 pbuf = (const char *)PyUnicode_1BYTE_DATA(temp); in _PyBytes_FormatEx() 1376 p = PyUnicode_1BYTE_DATA(v); in PyBytes_Repr() 2386 str = PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex() 2406 invalid_char = str - PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex() 2413 invalid_char = str - PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex()
|
/external/python/cpython3/Modules/ |
D | _json.c | 210 output = PyUnicode_1BYTE_DATA(rval); in ascii_escape_unicode() 308 Py_UCS1 *output = PyUnicode_1BYTE_DATA(rval); in escape_unicode()
|
D | binascii.c | 223 buf->buf = (void *) PyUnicode_1BYTE_DATA(arg); in ascii_buffer_converter()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 451 #define PyUnicode_1BYTE_DATA(op) ((Py_UCS1*)PyUnicode_DATA(op)) macro
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 833 self->writenl = (const char *)PyUnicode_1BYTE_DATA(self->readnl); in set_newline() 1974 Py_UCS1 *nl = PyUnicode_1BYTE_DATA(readnl); in _PyIO_find_line_ending()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2310 PyUnicode_1BYTE_DATA:Py_UCS1*::: 2311 PyUnicode_1BYTE_DATA:PyObject*:o:0:
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 2948 memcpy(PyUnicode_1BYTE_DATA(res), s, size); in unicode_fromascii()
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 119 .. c:function:: Py_UCS1* PyUnicode_1BYTE_DATA(PyObject *o)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 2195 * :c:macro:`PyUnicode_DATA`, :c:macro:`PyUnicode_1BYTE_DATA`,
|