Home
last modified time | relevance | path

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

12

/external/python/cpython3/Programs/
D_testembed.c18 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/
Dmain.c545 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/
Dloop.c22 Py_SetProgramName(argv[0]); in main()
Ddemo.c10 Py_SetProgramName(argv[0]); in 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/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()
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/
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/Python/
Dfrozenmain.c82 Py_SetProgramName(argv_copy[0]); in Py_FrozenMain()
Dpathconfig.c188 Py_SetProgramName(const wchar_t *program_name) in Py_SetProgramName() function
/external/python/cpython2/Include/
Dpythonrun.h22 PyAPI_FUNC(void) Py_SetProgramName(char *);
/external/python/cpython3/Include/
Dpylifecycle.h40 PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
/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/Doc/c-api/
Dinit.rst31 * :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 …]
Dintro.rst638 single: Py_SetProgramName()
645 ``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.rst66 Py_SetProgramName(program); /* optional but recommended */
77 The :c:func:`Py_SetProgramName` function should be called before
/external/python/cpython3/PC/
Dpython3.def757 Py_SetProgramName=python37.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.rst846 :c:func:`Py_SetProgramName` and :c:func:`Py_SetPythonHome` now take the
/external/python/cpython3/Doc/data/
Drefcounts.dat3002 Py_SetProgramName:void:::
3003 Py_SetProgramName:const wchar_t*:name::
/external/python/cpython3/Doc/using/
Dwindows.rst986 :c:func:`Py_SetProgramName` before :c:func:`Py_Initialize`.

12