Searched refs:PyUnicode_1BYTE_DATA (Results 1 – 20 of 20) 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/Modules/_sqlite/ |
D | row.c | 97 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/Python/ |
D | pystrhex.c | 75 retbuf = PyUnicode_1BYTE_DATA(retval); in _Py_strhex_impl()
|
D | codecs.c | 805 outp = PyUnicode_1BYTE_DATA(res); in PyCodec_XMLCharRefReplaceErrors() 884 outp = PyUnicode_1BYTE_DATA(res); in PyCodec_BackslashReplaceErrors() 937 outp = PyUnicode_1BYTE_DATA(res); in PyCodec_BackslashReplaceErrors() 1017 for (i = start, outp = PyUnicode_1BYTE_DATA(res); in PyCodec_NameReplaceErrors() 1049 assert(outp == PyUnicode_1BYTE_DATA(res) + ressize); in PyCodec_NameReplaceErrors()
|
D | marshal.c | 436 w_short_pstring((char *) PyUnicode_1BYTE_DATA(v), in w_complex_object() 444 w_pstring((char *) PyUnicode_1BYTE_DATA(v), in w_complex_object()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 953 Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode); in unicode_fill_invalid() 1531 PyUnicode_1BYTE_DATA(from) + from_start, in _copy_characters() 1532 PyUnicode_1BYTE_DATA(from) + from_start + how_many, in _copy_characters() 1541 PyUnicode_1BYTE_DATA(from) + from_start, in _copy_characters() 1542 PyUnicode_1BYTE_DATA(from) + from_start + how_many, in _copy_characters() 1567 PyUnicode_1BYTE_DATA(to) + to_start in _copy_characters() 1577 PyUnicode_1BYTE_DATA(to) + to_start in _copy_characters() 1754 PyUnicode_1BYTE_DATA(unicode)); in _PyUnicode_Ready() 1755 PyUnicode_1BYTE_DATA(unicode)[_PyUnicode_WSTR_LENGTH(unicode)] = '\0'; in _PyUnicode_Ready() 2040 PyUnicode_1BYTE_DATA(unicode)[0] = ch; in get_latin1_char() [all …]
|
D | bytesobject.c | 841 pbuf = (const char *)PyUnicode_1BYTE_DATA(temp); in _PyBytes_FormatEx() 903 pbuf = (const char *)PyUnicode_1BYTE_DATA(temp); in _PyBytes_FormatEx() 1372 p = PyUnicode_1BYTE_DATA(v); in PyBytes_Repr() 2371 str = PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex() 2391 invalid_char = str - PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex() 2398 invalid_char = str - PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex()
|
D | codeobject.c | 32 s = PyUnicode_1BYTE_DATA(o); in all_name_chars()
|
D | typeobject.c | 3178 Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name); in is_dunder_name()
|
/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/Include/cpython/ |
D | unicodeobject.h | 336 #define PyUnicode_1BYTE_DATA(op) ((Py_UCS1*)PyUnicode_DATA(op)) macro
|
/external/python/cpython3/Modules/ |
D | _json.c | 213 output = PyUnicode_1BYTE_DATA(rval); in ascii_escape_unicode() 311 Py_UCS1 *output = PyUnicode_1BYTE_DATA(rval); in escape_unicode()
|
D | binascii.c | 225 buf->buf = (void *) PyUnicode_1BYTE_DATA(arg); in ascii_buffer_converter()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 842 self->writenl = (const char *)PyUnicode_1BYTE_DATA(self->readnl); in set_newline() 2048 Py_UCS1 *nl = PyUnicode_1BYTE_DATA(readnl); in _PyIO_find_line_ending()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2345 PyUnicode_1BYTE_DATA:Py_UCS1*::: 2346 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`,
|