Home
last modified time | relevance | path

Searched refs:Py_DecodeLocale (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython3/android/
Dlauncher_main.cpp80 config.home = Py_DecodeLocale(executable_path.c_str(), NULL); in main()
101 path_entry = Py_DecodeLocale(internal_path.c_str(), NULL); in main()
112 path_entry = Py_DecodeLocale(stdlib_path.c_str(), NULL); in main()
/external/python/cpython3/Modules/
Dgetpath.c947 *abs_path_p = Py_DecodeLocale(execpath, &len); in calculate_program_macos()
1121 wchar_t* wbuf = Py_DecodeLocale(modPath, &len); in calculate_argv0_path_framework()
1440 calculate->path_env = Py_DecodeLocale(path, &len); in calculate_init()
1447 calculate->pythonpath_macro = Py_DecodeLocale(PYTHONPATH, &len); in calculate_init()
1451 calculate->prefix_macro = Py_DecodeLocale(PREFIX, &len); in calculate_init()
1455 calculate->exec_prefix_macro = Py_DecodeLocale(EXEC_PREFIX, &len); in calculate_init()
1459 calculate->vpath_macro = Py_DecodeLocale(VPATH, &len); in calculate_init()
1465 wchar_t *pyversion = Py_DecodeLocale("python" VERSION, &len); in calculate_init()
Dreadline.c1043 s = Py_DecodeLocale(rl_line_buffer, &start_size); in flex_complete()
1051 s = Py_DecodeLocale(rl_line_buffer + start, &end_size); in flex_complete()
/external/python/cpython3/Include/
Dfileutils.h8 PyAPI_FUNC(wchar_t *) Py_DecodeLocale(
/external/python/cpython3/Python/
Dfrozenmain.c65 argv_copy[i] = Py_DecodeLocale(argv[i], NULL); in Py_FrozenMain()
Dfileutils.c596 Py_DecodeLocale(const char* arg, size_t *wlen) in Py_DecodeLocale() function
1707 wbuf = Py_DecodeLocale(cbuf, &r1); in _Py_wreadlink()
1750 wresolved_path = Py_DecodeLocale(cresolved_path, &r); in _Py_wrealpath()
1882 wname = Py_DecodeLocale(fname, &len); in _Py_wgetcwd()
Dpreconfig.c89 wchar_t *arg = Py_DecodeLocale(args->bytes_argv[i], &len); in _PyArgv_AsWstrList()
Dinitconfig.c744 str2 = Py_DecodeLocale(str, &len); in config_set_bytes_string()
/external/python/cpython3/Misc/
Dcoverity_model.c87 wchar_t *Py_DecodeLocale(const char* arg, size_t *size) in Py_DecodeLocale() function
/external/python/cpython3/Programs/
D_testembed.c156 wchar_t *program = Py_DecodeLocale("./spam", NULL); in test_pre_initialization_api()
1402 wchar_t *path = Py_DecodeLocale(env, NULL); in test_init_setpath()
1435 wchar_t *path = Py_DecodeLocale(env, NULL); in test_init_setpath_config()
1464 wchar_t *home = Py_DecodeLocale(env, NULL); in test_init_setpythonhome()
/external/python/cpython3/Modules/_xxtestfuzz/
Dfuzzer.c414 wchar_t* wide_program_name = Py_DecodeLocale(*argv[0], NULL); in LLVMFuzzerInitialize()
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b4.rst47 Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode
D3.8.0a4.rst1381 Since Python 3.7.0, calling :c:func:`Py_DecodeLocale` before
D3.7.0a3.rst43 initialized statically, and so PyMem_RawMalloc() and Py_DecodeLocale() can
D3.5.3rc1.rst74 Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode
D3.8.0a1.rst793 On FreeBSD, Py_DecodeLocale() and Py_EncodeLocale() now also forces the
8877 Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 encoding on
/external/python/cpython3/Doc/c-api/
Dsys.rst119 .. c:function:: wchar_t* Py_DecodeLocale(const char* arg, size_t *size)
193 Use the :c:func:`Py_DecodeLocale` function to decode the bytes string back
Dinit_config.rst315 ``free()`` is always safe. :c:func:`Py_DecodeLocale` must not be called before
365 Decode *str* using ``Py_DecodeLocale()`` and set the result into ``*config_str``.
377 Set command line arguments: decode bytes using :c:func:`Py_DecodeLocale`.
Dinit.rst53 * :c:func:`Py_DecodeLocale`
366 Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
480 Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
586 Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
613 Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
630 Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
Dunicode.rst806 The :c:func:`Py_DecodeLocale` function.
812 ``surrogateescape`` error handler, except on Android. Previously, :c:func:`Py_DecodeLocale`
910 The :c:func:`Py_DecodeLocale` function.
/external/python/cpython3/PC/
Dpython3.def725 Py_DecodeLocale=python39.Py_DecodeLocale
/external/python/cpython3/Doc/extending/
Dembedding.rst62 wchar_t *program = Py_DecodeLocale(argv[0], NULL);
Dextending.rst391 wchar_t *program = Py_DecodeLocale(argv[0], NULL);
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.cpp308 return Py_DecodeLocale(absolute_python_home, &size); in InitializePythonHome()
/external/python/cpython3/Doc/whatsnew/
D3.5.rst2185 * :c:func:`Py_DecodeLocale` (replaced ``_Py_char2wchar()``),

12