Home
last modified time | relevance | path

Searched refs:_PyUnicode_AsUTF8String (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Objects/
Dfileobject.c374 bytes = _PyUnicode_AsUTF8String(unicode, "backslashreplace"); in stdprinter_write()
Dunicodeobject.c3907 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.c692 return codec_tuple(_PyUnicode_AsUTF8String(str, errors), in _codecs_utf_8_encode_impl()
D_tkinter.c1168 encoded = _PyUnicode_AsUTF8String(value, "surrogateescape"); in AsObj()
/third_party/python/Include/cpython/
Dunicodeobject.h776 PyAPI_FUNC(PyObject*) _PyUnicode_AsUTF8String(
/third_party/python/Modules/_io/
Dtextio.c773 return _PyUnicode_AsUTF8String(text, PyUnicode_AsUTF8(self->errors)); in utf8_encode()