Searched refs:_PyUnicode_AsUTF8String (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Objects/ |
D | fileobject.c | 374 bytes = _PyUnicode_AsUTF8String(unicode, "backslashreplace"); in stdprinter_write()
|
D | unicodeobject.c | 3907 return _PyUnicode_AsUTF8String(unicode, errors); in PyUnicode_AsEncodedString() 3923 return _PyUnicode_AsUTF8String(unicode, errors); in PyUnicode_AsEncodedString() 5719 _PyUnicode_AsUTF8String(PyObject *unicode, const char *errors) in _PyUnicode_AsUTF8String() function 5735 v = _PyUnicode_AsUTF8String(unicode, errors); in PyUnicode_EncodeUTF8() 5743 return _PyUnicode_AsUTF8String(unicode, NULL); in PyUnicode_AsUTF8String()
|
/third_party/python/Modules/ |
D | _codecsmodule.c | 692 return codec_tuple(_PyUnicode_AsUTF8String(str, errors), in _codecs_utf_8_encode_impl()
|
D | _tkinter.c | 1168 encoded = _PyUnicode_AsUTF8String(value, "surrogateescape"); in AsObj()
|
/third_party/python/Include/cpython/ |
D | unicodeobject.h | 776 PyAPI_FUNC(PyObject*) _PyUnicode_AsUTF8String(
|
/third_party/python/Modules/_io/ |
D | textio.c | 773 return _PyUnicode_AsUTF8String(text, PyUnicode_AsUTF8(self->errors)); in utf8_encode()
|