Searched refs:_PyUnicode_AsUTF8String (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Objects/ |
D | fileobject.c | 377 bytes = _PyUnicode_AsUTF8String(unicode, "backslashreplace"); in stdprinter_write()
|
D | unicodeobject.c | 3447 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.c | 762 return codec_tuple(_PyUnicode_AsUTF8String(str, errors), in _codecs_utf_8_encode_impl()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 1316 PyAPI_FUNC(PyObject*) _PyUnicode_AsUTF8String(
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 770 return _PyUnicode_AsUTF8String(text, PyUnicode_AsUTF8(self->errors)); in utf8_encode()
|