Home
last modified time | relevance | path

Searched refs:Py_FileSystemDefaultEncoding (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython3/Python/
Dpreconfig.c27 const char *Py_FileSystemDefaultEncoding = NULL; variable
35 if (!Py_HasFileSystemDefaultEncoding && Py_FileSystemDefaultEncoding) { in _Py_ClearFileSystemEncoding()
36 PyMem_RawFree((char*)Py_FileSystemDefaultEncoding); in _Py_ClearFileSystemEncoding()
37 Py_FileSystemDefaultEncoding = NULL; in _Py_ClearFileSystemEncoding()
64 Py_FileSystemDefaultEncoding = encoding2; in _Py_SetFileSystemEncoding()
Dinitconfig.c203 SET_ITEM_STR(Py_FileSystemDefaultEncoding); in _Py_GetGlobalVariablesAsDict()
/external/python/cpython3/Include/
Dfileobject.h22 PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
/external/python/cpython2/Modules/
Dposixmodule.c772 Py_FileSystemDefaultEncoding, in convert_to_unicode()
883 Py_FileSystemDefaultEncoding, &path1)) in posix_1str()
903 Py_FileSystemDefaultEncoding, &path1, in posix_2str()
904 Py_FileSystemDefaultEncoding, &path2)) in posix_2str()
1671 Py_FileSystemDefaultEncoding, &path)) in posix_do_stat()
1722 Py_FileSystemDefaultEncoding, &path, &mode)) in posix_access()
1741 Py_FileSystemDefaultEncoding, &path, &mode)) in posix_access()
1884 if (!PyArg_ParseTuple(args, "eti:chmod", Py_FileSystemDefaultEncoding, in posix_chmod()
1908 if (!PyArg_ParseTuple(args, "eti:chmod", Py_FileSystemDefaultEncoding, in posix_chmod()
1955 if (!PyArg_ParseTuple(args, "eti:lchmod", Py_FileSystemDefaultEncoding, in posix_lchmod()
[all …]
D_ssl.c2738 Py_FileSystemDefaultEncoding, &certfile_bytes, in load_cert_chain()
2751 u, Py_FileSystemDefaultEncoding, NULL); in load_cert_chain()
2950 u, Py_FileSystemDefaultEncoding, NULL); in load_verify_locations()
2965 u, Py_FileSystemDefaultEncoding, NULL); in load_verify_locations()
3063 u, Py_FileSystemDefaultEncoding, NULL); in load_dh_params()
/external/python/cpython2/Include/
Dfileobject.h59 PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
/external/python/cpython3/Doc/c-api/
Dunicode.rst799 :c:data:`Py_FileSystemDefaultEncoding` (the locale encoding read at
835 :c:data:`Py_FileSystemDefaultEncoding` (the locale encoding read at
858 :c:data:`Py_FileSystemDefaultEncoding` should be used as the encoding, and
897 Decode a string using :c:data:`Py_FileSystemDefaultEncoding` and the
900 If :c:data:`Py_FileSystemDefaultEncoding` is not set, fall back to the
903 :c:data:`Py_FileSystemDefaultEncoding` is initialized at startup from the
918 Decode a null-terminated string using :c:data:`Py_FileSystemDefaultEncoding`
921 If :c:data:`Py_FileSystemDefaultEncoding` is not set, fall back to the
932 Encode a Unicode object to :c:data:`Py_FileSystemDefaultEncoding` with the
937 If :c:data:`Py_FileSystemDefaultEncoding` is not set, fall back to the
[all …]
/external/python/cpython2/Python/
Dpythonrun.c311 if (!overridden || !Py_FileSystemDefaultEncoding) { in Py_InitializeEx()
341 if (!Py_FileSystemDefaultEncoding) { in Py_InitializeEx()
342 Py_FileSystemDefaultEncoding = loc_codeset; in Py_InitializeEx()
Dsysmodule.c263 if (Py_FileSystemDefaultEncoding) in sys_getfilesystemencoding()
264 return PyString_FromString(Py_FileSystemDefaultEncoding); in sys_getfilesystemencoding()
Dbltinmodule.c21 const char *Py_FileSystemDefaultEncoding = "mbcs"; variable
23 const char *Py_FileSystemDefaultEncoding = "utf-8"; variable
25 const char *Py_FileSystemDefaultEncoding = NULL; /* use default */ variable
Dimport.c1479 PyUnicode_GET_SIZE(v), Py_FileSystemDefaultEncoding, NULL); in find_module()
/external/python/cpython3/Tools/c-analyzer/
Dignored-globals.txt141 Py_FileSystemDefaultEncoding
Dknown.tsv981 Python/preconfig.c - Py_FileSystemDefaultEncoding variable const char * Py_FileSystemDefaultEncoding
/external/python/cpython3/PC/
Dpython3.def732 Py_FileSystemDefaultEncoding=python39.Py_FileSystemDefaultEncoding DATA
/external/python/cpython2/Modules/_io/
Dfileio.c280 u, Py_FileSystemDefaultEncoding, NULL); in fileio_init()
/external/python/cpython2/PC/os2emx/
Dpython27.def749 "Py_FileSystemDefaultEncoding"
/external/python/cpython2/Objects/
Dfileobject.c2459 Py_FileSystemDefaultEncoding, in file_init()
/external/python/cpython2/Mac/Modules/file/
D_Filemodule.c3306 if (!PyArg_Parse(v, "et", Py_FileSystemDefaultEncoding, &path)) in PyMac_GetFSRef()
/external/python/cpython2/Doc/c-api/
Dunicode.rst422 ASCII. The file system calls should use :c:data:`Py_FileSystemDefaultEncoding`
/external/python/cffi/c/
D_cffi_backend.c4301 Py_FileSystemDefaultEncoding, &filename_or_null, &flags)) in b_do_dlopen()
/external/python/cpython3/Misc/
DHISTORY11537 Py_FileSystemDefaultEncoding is not set.
12773 object to Py_FileSystemDefaultEncoding with the "surrogateescape" error
12774 handler, and return bytes. If Py_FileSystemDefaultEncoding is not set, fall
17099 with `Py_FileSystemDefaultEncoding` and a new API method
21666 Py_FileSystemDefaultEncoding.
/external/python/cpython2/Misc/
DHISTORY4282 Py_FileSystemDefaultEncoding.