Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dfileobject.c377 bytes = _PyUnicode_AsUTF8String(unicode, "backslashreplace"); in stdprinter_write()
Dunicodeobject.c3447 return _PyUnicode_AsUTF8String(unicode, Py_FileSystemDefaultEncodeErrors); in PyUnicode_EncodeFSDefault()
3485 return _PyUnicode_AsUTF8String(unicode, errors); in PyUnicode_AsEncodedString()
3501 return _PyUnicode_AsUTF8String(unicode, errors); in PyUnicode_AsEncodedString()
3827 bytes = _PyUnicode_AsUTF8String(unicode, NULL); in PyUnicode_AsUTF8AndSize()
5175 _PyUnicode_AsUTF8String(PyObject *unicode, const char *errors) in _PyUnicode_AsUTF8String() function
5221 v = _PyUnicode_AsUTF8String(unicode, errors); in PyUnicode_EncodeUTF8()
5229 return _PyUnicode_AsUTF8String(unicode, NULL); in PyUnicode_AsUTF8String()
/external/python/cpython3/Modules/
D_codecsmodule.c762 return codec_tuple(_PyUnicode_AsUTF8String(str, errors), in _codecs_utf_8_encode_impl()
/external/python/cpython3/Include/
Dunicodeobject.h1316 PyAPI_FUNC(PyObject*) _PyUnicode_AsUTF8String(
/external/python/cpython3/Modules/_io/
Dtextio.c770 return _PyUnicode_AsUTF8String(text, PyUnicode_AsUTF8(self->errors)); in utf8_encode()