Home
last modified time | relevance | path

Searched refs:PyImport_AddModule (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython2/Demo/embed/
Ddemo.c72 PyImport_AddModule("xyzzy"); in initxyzzy()
/external/python/cpython2/Include/
Dimport.h15 PyAPI_FUNC(PyObject *) PyImport_AddModule(const char *name);
/external/python/cffi/cffi/
D_cffi_errors.h31 m = PyImport_AddModule("_cffi_error_capture"); in _cffi_start_error_capture()
/external/python/cpython3/Include/
Dimport.h43 PyAPI_FUNC(PyObject *) PyImport_AddModule(
/external/tensorflow/tensorflow/python/lib/core/
Dpy_util.cc50 PyObject* tb_module = PyImport_AddModule("traceback"); in TryAppendTraceback()
/external/python/cpython2/Python/
Dimport.c636 mod = PyImport_AddModule(name); in _PyImport_FindExtension()
685 PyImport_AddModule(const char *name) in PyImport_AddModule() function
727 m = PyImport_AddModule(name); in PyImport_ExecCodeModuleEx()
1176 m = PyImport_AddModule(name); in load_package()
2137 m = PyImport_AddModule(name); in PyImport_ImportFrozenModule()
3052 m = PyImport_AddModule(name); in imp_init_builtin()
3072 m = PyImport_AddModule(name); in imp_init_frozen()
Dpythonrun.c716 m = PyImport_AddModule("__main__"); in initmain()
860 m = PyImport_AddModule("__main__"); in PyRun_InteractiveOneFlags()
926 m = PyImport_AddModule("__main__"); in PyRun_SimpleFileExFlags()
979 m = PyImport_AddModule("__main__"); in PyRun_SimpleStringFlags()
Dmodsupport.c65 if ((m = PyImport_AddModule(name)) == NULL) in Py_InitModule4()
/external/python/cpython2/Demo/pysvr/
Dpysvr.c292 mainmod = PyImport_AddModule("__main__"); in run_interpreter()
/external/python/cpython2/PC/os2vacpp/
Dpython.def199 PyImport_AddModule
/external/python/cpython3/PC/
Dpython3.def276 PyImport_AddModule=python39.PyImport_AddModule
/external/python/cpython3/Python/
Dpylifecycle.c157 importlib = PyImport_AddModule("_frozen_importlib"); in init_importlib()
1678 m = PyImport_AddModule("__main__"); in add_main_module()
Dpythonrun.c390 m = PyImport_AddModule("__main__"); in PyRun_SimpleFileExFlags()
466 m = PyImport_AddModule("__main__"); in PyRun_SimpleStringFlags()
Dimport.c896 PyImport_AddModule(const char *name) in PyImport_AddModule() function
1291 mod = PyImport_AddModule(namestr); in _imp_create_builtin()
/external/python/cpython2/Doc/data/
Drefcounts.dat489 PyImport_AddModule:PyObject*::0:reference borrowed from sys.modules
490 PyImport_AddModule:char*:name::
1810 _PyImport_FindExtension:PyObject*::0:??? see PyImport_AddModule
/external/python/cpython2/PC/os2emx/
Dpython27.def961 "PyImport_AddModule"
/external/python/cpython2/Doc/c-api/
Dimport.rst111 .. c:function:: PyObject* PyImport_AddModule(const char *name)
/external/python/cpython2/Modules/
Dzipimport.c324 mod = PyImport_AddModule(fullname); in zipimporter_load_module()
/external/python/cpython3/Doc/c-api/
Dimport.rst115 .. c:function:: PyObject* PyImport_AddModule(const char *name)
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp812 return PythonModule(PyRefType::Borrowed, PyImport_AddModule(str.c_str())); in AddModule()
DScriptInterpreterPython.cpp895 PyImport_AddModule("lldb.embedded_interpreter")); in GetEmbeddedInterpreterModuleObjects()
/external/python/cpython3/Doc/data/
Drefcounts.dat970 PyImport_AddModule:PyObject*::0:reference borrowed from sys.modules
971 PyImport_AddModule:const char*:name::
/external/python/pybind11/include/pybind11/
Dpybind11.h983 auto result = reinterpret_borrow<module_>(PyImport_AddModule(full_name.c_str()));
/external/python/cpython3/Doc/extending/
Dextending.rst988 The function :c:func:`PyImport_AddModule` also returns a borrowed reference, even
/external/python/cpython2/Doc/extending/
Dextending.rst934 The function :c:func:`PyImport_AddModule` also returns a borrowed reference, even

12