Home
last modified time | relevance | path

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

12

/external/python/cpython2/Demo/embed/
Dloop.c22 Py_SetProgramName(argv[0]); in main()
Ddemo.c10 Py_SetProgramName(argv[0]); in main()
/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()
/external/python/cpython2/Python/
Dfrozenmain.c39 Py_SetProgramName(argv[0]); in Py_FrozenMain()
Dpythonrun.c681 Py_SetProgramName(char *pn) in Py_SetProgramName() function
/external/python/cpython3/Include/
Dpylifecycle.h38 PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
/external/python/cpython3/Python/
Dfrozenmain.c82 Py_SetProgramName(argv_copy[0]); in Py_FrozenMain()
Dpathconfig.c507 Py_SetProgramName(const wchar_t *program_name) in Py_SetProgramName() function
/external/python/cpython3/PC/bdist_wininst/
Dinstall.c338 DECLPROC(hPython, void, Py_SetProgramName, (wchar_t *)); in compile_filelist()
350 if (!Py_Initialize || !Py_SetProgramName || !Py_Finalize) in compile_filelist()
357 Py_SetProgramName(wmodulename); in compile_filelist()
851 DECLPROC(hPython, void, Py_SetProgramName, (wchar_t *)); in do_run_simple_script()
856 if (!Py_Initialize || !Py_SetProgramName || !Py_FinalizeEx || in do_run_simple_script()
860 Py_SetProgramName(wmodulename); in do_run_simple_script()
1331 void (__cdecl * Py_SetProgramName)(char *); in get_sys_prefix()
1362 Py_SetProgramName = (void (*)(char *))GetProcAddress in get_sys_prefix()
1376 Py_SetProgramName(exe); in get_sys_prefix()
/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()
/external/python/cpython3/Programs/
D_testembed.c27 Py_SetProgramName(PROGRAM_NAME); in _testembed_Py_Initialize()
162 Py_SetProgramName(program); in test_pre_initialization_api()
425 Py_SetProgramName(L"./globalvar"); in test_init_global_config()
517 Py_SetProgramName(L"./globalvar"); in test_init_from_config()
/external/python/cpython2/Include/
Dpythonrun.h22 PyAPI_FUNC(void) Py_SetProgramName(char *);
/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
/external/python/cpython2/PC/os2vacpp/
Dpython.def445 Py_SetProgramName
/external/python/cpython3/Modules/_xxtestfuzz/
Dfuzzer.c415 Py_SetProgramName(wide_program_name); in LLVMFuzzerInitialize()
/external/python/cpython3/Doc/c-api/
Dinit.rst33 * :c:func:`Py_SetProgramName`
231 single: Py_SetProgramName()
348 .. c:function:: void Py_SetProgramName(const wchar_t *name)
372 .. index:: single: Py_SetProgramName()
374 Return the program name set with :c:func:`Py_SetProgramName`, or the default.
383 :c:func:`Py_SetProgramName` and some environment variables; for example, if the
396 :c:func:`Py_SetProgramName` and some environment variables; for example, if the
430 single: Py_SetProgramName()
435 (set by :c:func:`Py_SetProgramName` above). The returned string points into
448 (set by :c:func:`Py_SetProgramName` above) and some environment variables.
Dintro.rst702 single: Py_SetProgramName()
709 ``Py_SetProgramName(file)`` *before* calling :c:func:`Py_Initialize`. Note that
/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
/external/python/cpython3/Doc/extending/
Dembedding.rst67 Py_SetProgramName(program); /* optional but recommended */
78 The :c:func:`Py_SetProgramName` function should be called before
/external/python/cpython3/PC/
Dpython3.def762 Py_SetProgramName=python39.Py_SetProgramName
/external/python/cpython2/PC/os2emx/
Dpython27.def1074 "Py_SetProgramName"
/external/python/cpython2/Doc/data/
Drefcounts.dat1801 Py_SetProgramName:void:::
1802 Py_SetProgramName:char*:name::
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst845 :c:func:`Py_SetProgramName` and :c:func:`Py_SetPythonHome` now take the
/external/python/cpython3/Doc/data/
Drefcounts.dat3043 Py_SetProgramName:void:::
3044 Py_SetProgramName:const wchar_t*:name::

12