Home
last modified time | relevance | path

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

/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.c540 Py_SetProgramName(p); in Py_Main()
542 Py_SetProgramName(argv[0]); in Py_Main()
544 Py_SetProgramName(argv[0]); in Py_Main()
/external/python/cpython2/Python/
Dfrozenmain.c39 Py_SetProgramName(argv[0]); in Py_FrozenMain()
Dpythonrun.c672 Py_SetProgramName(char *pn) in Py_SetProgramName() function
/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/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/cpython2/Doc/extending/
Dembedding.rst64 Py_SetProgramName(argv[0]); /* optional but recommended */
72 The :c:func:`Py_SetProgramName` function should be called before
Dextending.rst373 Py_SetProgramName(argv[0]);
/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/cpython2/Misc/
DHISTORY10454 Call Py_SetProgramName() instead of redefining getprogramname(),