/external/python/cpython3/Programs/ |
D | _testembed.c | 18 Py_SetProgramName(L"./_testembed"); in _testembed_Py_Initialize() 151 Py_SetProgramName(program); in test_pre_initialization_api() 387 Py_SetProgramName(L"./globalvar"); in test_init_global_config() 467 Py_SetProgramName(L"./globalvar"); in test_init_from_config()
|
/external/python/cpython2/Modules/ |
D | main.c | 545 Py_SetProgramName(p); in Py_Main() 547 Py_SetProgramName(argv[0]); in Py_Main() 549 Py_SetProgramName(argv[0]); in Py_Main()
|
/external/python/cpython2/Demo/embed/ |
D | loop.c | 22 Py_SetProgramName(argv[0]); in main()
|
D | demo.c | 10 Py_SetProgramName(argv[0]); in main()
|
/external/python/cpython2/Python/ |
D | frozenmain.c | 39 Py_SetProgramName(argv[0]); in Py_FrozenMain()
|
D | pythonrun.c | 681 Py_SetProgramName(char *pn) in Py_SetProgramName() function
|
/external/python/cpython3/PC/bdist_wininst/ |
D | install.c | 338 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() 852 DECLPROC(hPython, void, Py_SetProgramName, (wchar_t *)); in do_run_simple_script() 857 if (!Py_Initialize || !Py_SetProgramName || !Py_FinalizeEx || in do_run_simple_script() 861 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/ |
D | install.c | 310 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/Python/ |
D | frozenmain.c | 82 Py_SetProgramName(argv_copy[0]); in Py_FrozenMain()
|
D | pathconfig.c | 188 Py_SetProgramName(const wchar_t *program_name) in Py_SetProgramName() function
|
/external/python/cpython2/Include/ |
D | pythonrun.h | 22 PyAPI_FUNC(void) Py_SetProgramName(char *);
|
/external/python/cpython3/Include/ |
D | pylifecycle.h | 40 PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
|
/external/python/cpython2/Doc/c-api/ |
D | init.rst | 18 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.
|
D | intro.rst | 555 single: Py_SetProgramName() 562 ``Py_SetProgramName(file)`` *before* calling :c:func:`Py_Initialize`. Note that
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 445 Py_SetProgramName
|
/external/python/cpython3/Doc/c-api/ |
D | init.rst | 31 * :c:func:`Py_SetProgramName` 228 single: Py_SetProgramName() 344 .. c:function:: void Py_SetProgramName(const wchar_t *name) 368 .. index:: single: Py_SetProgramName() 370 Return the program name set with :c:func:`Py_SetProgramName`, or the default. 379 :c:func:`Py_SetProgramName` and some environment variables; for example, if the 392 :c:func:`Py_SetProgramName` and some environment variables; for example, if the 426 single: Py_SetProgramName() 431 (set by :c:func:`Py_SetProgramName` above). The returned string points into 444 (set by :c:func:`Py_SetProgramName` above) and some environment variables. [all …]
|
D | intro.rst | 638 single: Py_SetProgramName() 645 ``Py_SetProgramName(file)`` *before* calling :c:func:`Py_Initialize`. Note that
|
/external/python/cpython2/Doc/extending/ |
D | embedding.rst | 64 Py_SetProgramName(argv[0]); /* optional but recommended */ 72 The :c:func:`Py_SetProgramName` function should be called before
|
/external/python/cpython3/Doc/extending/ |
D | embedding.rst | 66 Py_SetProgramName(program); /* optional but recommended */ 77 The :c:func:`Py_SetProgramName` function should be called before
|
/external/python/cpython3/PC/ |
D | python3.def | 757 Py_SetProgramName=python37.Py_SetProgramName
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 1074 "Py_SetProgramName"
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 1801 Py_SetProgramName:void::: 1802 Py_SetProgramName:char*:name::
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a4.rst | 846 :c:func:`Py_SetProgramName` and :c:func:`Py_SetPythonHome` now take the
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 3002 Py_SetProgramName:void::: 3003 Py_SetProgramName:const wchar_t*:name::
|
/external/python/cpython3/Doc/using/ |
D | windows.rst | 986 :c:func:`Py_SetProgramName` before :c:func:`Py_Initialize`.
|