Home
last modified time | relevance | path

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

123

/external/python/cpython3/Programs/
D_testembed.c19 Py_Initialize(); in _testembed_Py_Initialize()
122 Py_Initialize(); in test_forced_io_encoding()
154 Py_Initialize(); in test_pre_initialization_api()
273 Py_Initialize(); in test_initialize_twice()
421 Py_Initialize(); in test_init_global_config()
/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/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()
731 DECLPROC(hPython, void, Py_Initialize, (void)); in do_run_installscript()
741 if (!Py_Initialize || !PySys_SetArgv in do_run_installscript()
763 Py_Initialize(); in do_run_installscript()
851 DECLPROC(hPython, void, Py_Initialize, (void)); in do_run_simple_script()
857 if (!Py_Initialize || !Py_SetProgramName || !Py_FinalizeEx || in do_run_simple_script()
862 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/cpython3/Misc/NEWS.d/
D3.7.0.rst16 Calling Py_Initialize() twice does nothing, instead of failing with a fatal
/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/cpython2/Python/
Dfrozenmain.c40 Py_Initialize(); in Py_FrozenMain()
/external/python/cpython3/Doc/extending/
Dembedding.rst28 the very least, you have to call the function :c:func:`Py_Initialize`. There are
67 Py_Initialize();
78 :c:func:`Py_Initialize` to inform the interpreter about paths to Python run-time
80 :c:func:`Py_Initialize`, followed by the execution of a hard-coded Python script
172 Py_Initialize();
246 following two statements before the call to :c:func:`Py_Initialize`::
/external/python/cpython3/Doc/c-api/
Dinit.rst15 In an application embedding Python, the :c:func:`Py_Initialize` function must
62 :c:func:`Py_Initialize`: :c:func:`Py_EncodeLocale`, :c:func:`Py_GetPath`,
225 .. c:function:: void Py_Initialize()
259 This function works like :c:func:`Py_Initialize` if *initsigs* is ``1``. If
268 :c:func:`Py_Initialize` is called again.
273 Undo all initializations made by :c:func:`Py_Initialize` and subsequent use of
276 the last call to :c:func:`Py_Initialize`. Ideally, this frees all memory
278 time (without calling :c:func:`Py_Initialize` again first). Normally the
298 than once; this can happen if an application calls :c:func:`Py_Initialize` and
317 single: Py_Initialize()
[all …]
Dsys.rst209 called prior to :c:func:`Py_Initialize`.
214 to :c:func:`Py_Initialize` in order to affect the warnings filter list.
222 :mod:`warnings` in :c:func:`Py_Initialize` to be effective, but can't be
272 may be called prior to :c:func:`Py_Initialize`.
Dintro.rst601 single: Py_Initialize()
608 The basic initialization function is :c:func:`Py_Initialize`. This initializes
615 :c:func:`Py_Initialize` does not set the "script argument list" (``sys.argv``).
618 after the call to :c:func:`Py_Initialize`.
621 slightly different), :c:func:`Py_Initialize` calculates the module search path
645 ``Py_SetProgramName(file)`` *before* calling :c:func:`Py_Initialize`. Note that
656 :c:func:`Py_Initialize`) or the application is simply done with its use of
/external/python/cpython3/Doc/includes/
Drun-func.c15 Py_Initialize(); in main()
/external/python/cpython2/Doc/includes/
Drun-func.c15 Py_Initialize(); in main()
/external/python/cpython2/Mac/Tools/
Dpythonw.c62 if (dladdr(Py_Initialize, &info) == 0) { in get_python_path()
/external/python/cpython3/Python/
Dfrozenmain.c83 Py_Initialize(); in Py_FrozenMain()
/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/cpython3/Include/
Dpylifecycle.h96 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.c551 Py_Initialize(); in Py_Main()

123