Home
last modified time | relevance | path

Searched refs:Py_SetProgramName (Results 1 – 25 of 39) sorted by relevance

12

/aosp_15_r20/external/python/cpython2/Modules/
Dmain.c550 Py_SetProgramName(p); in Py_Main()
552 Py_SetProgramName(argv[0]); in Py_Main()
554 Py_SetProgramName(argv[0]); in Py_Main()
/aosp_15_r20/external/python/cpython2/PC/bdist_wininst/
Dinstall.c310 DECLPROC(hPython, void, Py_SetProgramName, (char *)); in compile_filelist()
322 if (!Py_Initialize || !Py_SetProgramName || !Py_Finalize) in compile_filelist()
329 Py_SetProgramName(modulename); in compile_filelist()
810 DECLPROC(hPython, void, Py_SetProgramName, (char *)); in do_run_simple_script()
815 if (!Py_Initialize || !Py_SetProgramName || !Py_Finalize || in do_run_simple_script()
819 Py_SetProgramName(modulename); in do_run_simple_script()
1287 void (__cdecl * Py_SetProgramName)(char *); in get_sys_prefix()
1318 Py_SetProgramName = (void (*)(char *))GetProcAddress in get_sys_prefix()
1332 Py_SetProgramName(exe); in get_sys_prefix()
/aosp_15_r20/external/python/cpython3/Programs/
D_testembed.c86 Py_SetProgramName(PROGRAM_NAME); in _testembed_Py_Initialize()
281 Py_SetProgramName(program); in test_pre_initialization_api()
517 Py_SetProgramName(L"./globalvar"); in test_init_global_config()
609 Py_SetProgramName(L"./globalvar"); in test_init_from_config()
/aosp_15_r20/external/python/cpython2/Demo/embed/
Dloop.c22 Py_SetProgramName(argv[0]); in main()
Ddemo.c10 Py_SetProgramName(argv[0]); in main()
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dinit.rst18 single: Py_SetProgramName()
34 …exception of :c:func:`Py_SetProgramName`, :c:func:`Py_SetPythonHome`, :c:func:`PyEval_InitThreads`,
94 .. c:function:: void Py_SetProgramName(char *name)
114 .. index:: single: Py_SetProgramName()
116 Return the program name set with :c:func:`Py_SetProgramName`, or the default.
125 :c:func:`Py_SetProgramName` and some environment variables; for example, if the
138 :c:func:`Py_SetProgramName` and some environment variables; for example, if the
172 single: Py_SetProgramName()
177 (set by :c:func:`Py_SetProgramName` above). The returned string points into
189 (set by :c:func:`Py_SetProgramName` above) and some environment variables.
Dintro.rst555 single: Py_SetProgramName()
562 ``Py_SetProgramName(file)`` *before* calling :c:func:`Py_Initialize`. Note that
/aosp_15_r20/external/python/cpython2/Python/
Dfrozenmain.c39 Py_SetProgramName(argv[0]); in Py_FrozenMain()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dpylifecycle.h37 Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dpylifecycle.h37 Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
/aosp_15_r20/external/python/cpython3/Include/
Dpylifecycle.h37 Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dpylifecycle.h37 Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dpylifecycle.h37 Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dinit.rst33 * :c:func:`Py_SetProgramName`
232 single: Py_SetProgramName()
356 .. c:function:: void Py_SetProgramName(const wchar_t *name)
386 .. index:: single: Py_SetProgramName()
388 Return the program name set with :c:func:`Py_SetProgramName`, or the default.
403 :c:func:`Py_SetProgramName` and some environment variables; for example, if the
422 :c:func:`Py_SetProgramName` and some environment variables; for example, if the
462 single: Py_SetProgramName()
467 (set by :c:func:`Py_SetProgramName` above). The returned string points into
486 (set by :c:func:`Py_SetProgramName` above) and some environment variables.
Dintro.rst742 single: Py_SetProgramName()
749 ``Py_SetProgramName(file)`` *before* calling :c:func:`Py_Initialize`. Note that
/aosp_15_r20/external/python/cpython2/Include/
Dpythonrun.h22 PyAPI_FUNC(void) Py_SetProgramName(char *);
/aosp_15_r20/external/python/cpython2/PC/os2vacpp/
Dpython.def445 Py_SetProgramName
/aosp_15_r20/external/python/cpython2/Doc/extending/
Dembedding.rst64 Py_SetProgramName(argv[0]); /* optional but recommended */
72 The :c:func:`Py_SetProgramName` function should be called before
/aosp_15_r20/external/python/cpython3/Doc/extending/
Dembedding.rst67 Py_SetProgramName(program); /* optional but recommended */
78 The :c:func:`Py_SetProgramName` function should be called before
/aosp_15_r20/external/python/cpython3/Python/
Dpathconfig.c279 Py_SetProgramName(const wchar_t *program_name) in Py_SetProgramName() function
/aosp_15_r20/external/python/cpython2/PC/os2emx/
Dpython27.def1074 "Py_SetProgramName"
/aosp_15_r20/external/python/cpython2/Doc/data/
Drefcounts.dat1801 Py_SetProgramName:void:::
1802 Py_SetProgramName:char*:name::
/aosp_15_r20/external/python/cpython3/PC/
Dpython3dll.c84 EXPORT_FUNC(Py_SetProgramName)
/aosp_15_r20/external/python/cpython3/Doc/data/
Dstable_abi.dat844 function,Py_SetProgramName,3.2,,
/aosp_15_r20/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst845 :c:func:`Py_SetProgramName` and :c:func:`Py_SetPythonHome` now take the

12