Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/stringlib/
Deq.h22 return memcmp(PyUnicode_1BYTE_DATA(a), PyUnicode_1BYTE_DATA(b), in unicode_eq()
Ducs1lib.h19 #define STRINGLIB_STR PyUnicode_1BYTE_DATA
Dasciilib.h19 #define STRINGLIB_STR PyUnicode_1BYTE_DATA
/external/python/cpython3/Python/
Dpystrhex.c26 retbuf = PyUnicode_1BYTE_DATA(retval); in _Py_strhex_impl()
Dcodecs.c801 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()
Dmarshal.c455 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/
Dunicodeobject.c913 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 …]
Dbytesobject.c843 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()
Dcodeobject.c22 s = PyUnicode_1BYTE_DATA(o); in all_name_chars()
/external/python/cpython2/Objects/
Dbytesobject.c837 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.c210 output = PyUnicode_1BYTE_DATA(rval); in ascii_escape_unicode()
308 Py_UCS1 *output = PyUnicode_1BYTE_DATA(rval); in escape_unicode()
Dbinascii.c223 buf->buf = (void *) PyUnicode_1BYTE_DATA(arg); in ascii_buffer_converter()
/external/python/cpython3/Include/
Dunicodeobject.h451 #define PyUnicode_1BYTE_DATA(op) ((Py_UCS1*)PyUnicode_DATA(op)) macro
/external/python/cpython3/Modules/_io/
Dtextio.c833 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/
Drefcounts.dat2310 PyUnicode_1BYTE_DATA:Py_UCS1*:::
2311 PyUnicode_1BYTE_DATA:PyObject*:o:0:
/external/python/cpython3/Modules/_decimal/
D_decimal.c2948 memcpy(PyUnicode_1BYTE_DATA(res), s, size); in unicode_fromascii()
/external/python/cpython3/Doc/c-api/
Dunicode.rst119 .. c:function:: Py_UCS1* PyUnicode_1BYTE_DATA(PyObject *o)
/external/python/cpython3/Doc/whatsnew/
D3.3.rst2195 * :c:macro:`PyUnicode_DATA`, :c:macro:`PyUnicode_1BYTE_DATA`,