Home
last modified time | relevance | path

Searched refs:Py_Initialize (Results 1 – 25 of 55) sorted by relevance

123

/external/python/cpython2/Demo/embed/
Dimportexc.c7 Py_Initialize(); in main()
Dloop.c28 Py_Initialize(); in main()
Ddemo.c13 Py_Initialize(); in main()
/external/python/cpython3/Misc/NEWS.d/
D3.7.0.rst16 Calling Py_Initialize() twice does nothing, instead of failing with a fatal
/external/python/cpython3/Programs/
D_testembed.c28 Py_Initialize(); in _testembed_Py_Initialize()
130 Py_Initialize(); in test_forced_io_encoding()
165 Py_Initialize(); in test_pre_initialization_api()
286 Py_Initialize(); in test_initialize_twice()
459 Py_Initialize(); in test_init_global_config()
1411 Py_Initialize(); in test_init_setpath()
1473 Py_Initialize(); in test_init_setpythonhome()
/external/python/cpython2/Python/
Dfrozenmain.c40 Py_Initialize(); in Py_FrozenMain()
/external/python/cpython3/PC/bdist_wininst/
Dinstall.c337 DECLPROC(hPython, void, Py_Initialize, (void)); in compile_filelist()
350 if (!Py_Initialize || !Py_SetProgramName || !Py_Finalize) in compile_filelist()
358 Py_Initialize(); in compile_filelist()
730 DECLPROC(hPython, void, Py_Initialize, (void)); in do_run_installscript()
740 if (!Py_Initialize || !PySys_SetArgv in do_run_installscript()
762 Py_Initialize(); in do_run_installscript()
850 DECLPROC(hPython, void, Py_Initialize, (void)); in do_run_simple_script()
856 if (!Py_Initialize || !Py_SetProgramName || !Py_FinalizeEx || in do_run_simple_script()
861 Py_Initialize(); in do_run_simple_script()
1330 void (__cdecl * Py_Initialize)(void); in get_sys_prefix()
[all …]
/external/python/cpython2/PC/bdist_wininst/
Dinstall.c309 DECLPROC(hPython, void, Py_Initialize, (void)); in compile_filelist()
322 if (!Py_Initialize || !Py_SetProgramName || !Py_Finalize) in compile_filelist()
330 Py_Initialize(); in compile_filelist()
700 DECLPROC(hPython, void, Py_Initialize, (void)); in do_run_installscript()
710 if (!Py_Initialize || !PySys_SetArgv in do_run_installscript()
732 Py_Initialize(); in do_run_installscript()
809 DECLPROC(hPython, void, Py_Initialize, (void)); in do_run_simple_script()
815 if (!Py_Initialize || !Py_SetProgramName || !Py_Finalize || in do_run_simple_script()
820 Py_Initialize(); in do_run_simple_script()
1286 void (__cdecl * Py_Initialize)(void); in get_sys_prefix()
[all …]
/external/python/cpython2/Doc/includes/
Drun-func.c15 Py_Initialize(); in main()
/external/python/cpython3/Include/
Dpylifecycle.h12 PyAPI_FUNC(void) Py_Initialize(void);
/external/python/cpython3/Doc/includes/
Drun-func.c16 Py_Initialize(); in main()
/external/python/cpython2/Doc/extending/
Dembedding.rst28 the very least, you have to call the function :c:func:`Py_Initialize`. There are
65 Py_Initialize();
73 :c:func:`Py_Initialize` to inform the interpreter about paths to Python run-time
75 :c:func:`Py_Initialize`, followed by the execution of a hard-coded Python script
166 Py_Initialize();
229 following two statements directly after :c:func:`Py_Initialize`::
/external/python/cpython3/Doc/extending/
Dembedding.rst28 the very least, you have to call the function :c:func:`Py_Initialize`. There are
68 Py_Initialize();
79 :c:func:`Py_Initialize` to inform the interpreter about paths to Python run-time
81 :c:func:`Py_Initialize`, followed by the execution of a hard-coded Python script
173 Py_Initialize();
247 following two statements before the call to :c:func:`Py_Initialize`::
/external/python/cpython2/Mac/Tools/
Dpythonw.c62 if (dladdr(Py_Initialize, &info) == 0) { in get_python_path()
/external/python/cpython3/Doc/c-api/
Dinit.rst17 In an application embedding Python, the :c:func:`Py_Initialize` function must
65 :c:func:`Py_Initialize`: :c:func:`Py_EncodeLocale`, :c:func:`Py_GetPath`,
228 .. c:function:: void Py_Initialize()
262 This function works like :c:func:`Py_Initialize` if *initsigs* is ``1``. If
271 :c:func:`Py_Initialize` is called again.
276 Undo all initializations made by :c:func:`Py_Initialize` and subsequent use of
279 the last call to :c:func:`Py_Initialize`. Ideally, this frees all memory
281 time (without calling :c:func:`Py_Initialize` again first). Normally the
301 than once; this can happen if an application calls :c:func:`Py_Initialize` and
321 single: Py_Initialize()
[all …]
Dsys.rst234 called prior to :c:func:`Py_Initialize`.
239 to :c:func:`Py_Initialize` in order to affect the warnings filter list.
247 :mod:`warnings` in :c:func:`Py_Initialize` to be effective, but can't be
297 may be called prior to :c:func:`Py_Initialize`.
348 This function is safe to call before :c:func:`Py_Initialize`. When called
Dintro.rst665 single: Py_Initialize()
672 The basic initialization function is :c:func:`Py_Initialize`. This initializes
679 :c:func:`Py_Initialize` does not set the "script argument list" (``sys.argv``).
682 after the call to :c:func:`Py_Initialize`.
685 slightly different), :c:func:`Py_Initialize` calculates the module search path
709 ``Py_SetProgramName(file)`` *before* calling :c:func:`Py_Initialize`. Note that
720 :c:func:`Py_Initialize`) or the application is simply done with its use of
Dfile.rst83 This function is safe to call before :c:func:`Py_Initialize`.
/external/python/cpython3/Mac/Tools/
Dpythonw.c65 if (dladdr(Py_Initialize, &info) == 0) { in get_python_path()
/external/python/cpython2/Doc/c-api/
Dinit.rst15 .. c:function:: void Py_Initialize()
46 This function works like :c:func:`Py_Initialize` if *initsigs* is ``1``. If
57 :c:func:`Py_Initialize` is called again.
62 Undo all initializations made by :c:func:`Py_Initialize` and subsequent use of
65 the last call to :c:func:`Py_Initialize`. Ideally, this frees all memory
67 time (without calling :c:func:`Py_Initialize` again first). There is no return
86 than once; this can happen if an application calls :c:func:`Py_Initialize` and
97 single: Py_Initialize()
101 This function should be called before :c:func:`Py_Initialize` is called for
466 interpreter (created automatically by :c:func:`Py_Initialize`). Python
[all …]
Dintro.rst517 single: Py_Initialize()
525 The basic initialization function is :c:func:`Py_Initialize`. This initializes
532 :c:func:`Py_Initialize` does not set the "script argument list" (``sys.argv``).
535 after the call to :c:func:`Py_Initialize`.
538 slightly different), :c:func:`Py_Initialize` calculates the module search path
562 ``Py_SetProgramName(file)`` *before* calling :c:func:`Py_Initialize`. Note that
573 :c:func:`Py_Initialize`) or the application is simply done with its use of
/external/python/cpython2/Include/
Dpythonrun.h28 PyAPI_FUNC(void) Py_Initialize(void);
/external/python/cpython2/Demo/pysvr/
Dpysvr.c224 Py_Initialize(); /* Initialize the interpreter */ in init_python()
/external/python/cpython2/PC/os2vacpp/
Dpython.def436 Py_Initialize
/external/python/cpython2/Modules/
Dmain.c556 Py_Initialize(); in Py_Main()

123