Home
last modified time | relevance | path

Searched refs:fs_codec (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Include/internal/
Dpycore_interp.h72 struct _Py_unicode_fs_codec fs_codec; member
/third_party/python/Objects/
Dunicodeobject.c475 if (!interp->unicode.fs_codec.encoding) { in unicode_check_encoding_errors()
3859 struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec; in PyUnicode_EncodeFSDefault() local
3860 if (fs_codec->utf8) { in PyUnicode_EncodeFSDefault()
3862 fs_codec->error_handler, in PyUnicode_EncodeFSDefault()
3863 fs_codec->errors); in PyUnicode_EncodeFSDefault()
3866 else if (fs_codec->encoding) { in PyUnicode_EncodeFSDefault()
3868 fs_codec->encoding, in PyUnicode_EncodeFSDefault()
3869 fs_codec->errors); in PyUnicode_EncodeFSDefault()
4096 struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec; in PyUnicode_DecodeFSDefaultAndSize() local
4097 if (fs_codec->utf8) { in PyUnicode_DecodeFSDefaultAndSize()
[all …]
/third_party/python/Modules/_io/
Dtextio.c1011 if (!interp->unicode.fs_codec.encoding) { in io_check_errors()