Home
last modified time | relevance | path

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

12

/aosp_15_r20/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()
/aosp_15_r20/external/python/cpython2/Demo/embed/
Ddemo.c72 PyImport_AddModule("xyzzy"); in initxyzzy()
/aosp_15_r20/external/python/cpython2/Include/
Dimport.h15 PyAPI_FUNC(PyObject *) PyImport_AddModule(const char *name);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dimport.h43 PyAPI_FUNC(PyObject *) PyImport_AddModule(
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dimport.h43 PyAPI_FUNC(PyObject *) PyImport_AddModule(
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dimport.h43 PyAPI_FUNC(PyObject *) PyImport_AddModule(
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dimport.h43 PyAPI_FUNC(PyObject *) PyImport_AddModule(
/aosp_15_r20/external/python/cpython3/Include/
Dimport.h43 PyAPI_FUNC(PyObject *) PyImport_AddModule(
/aosp_15_r20/external/tensorflow/tensorflow/python/lib/core/
H A Dpy_util.cc50 PyObject* tb_module = PyImport_AddModule("traceback"); in TryAppendTraceback()
/aosp_15_r20/external/python/cpython2/Demo/pysvr/
Dpysvr.c292 mainmod = PyImport_AddModule("__main__"); in run_interpreter()
/aosp_15_r20/external/python/cpython2/PC/os2vacpp/
Dpython.def199 PyImport_AddModule
/aosp_15_r20/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
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpythoncapi_compat.h591 return Py_XNewRef(PyImport_AddModule(name)); in PyImport_AddModuleRef()
/aosp_15_r20/external/python/cpython3/Python/
Dpythonrun.c389 m = PyImport_AddModule("__main__"); in _PyRun_SimpleFileObject()
483 m = PyImport_AddModule("__main__"); in PyRun_SimpleStringFlags()
Dpylifecycle.c190 PyObject *importlib = PyImport_AddModule("_frozen_importlib"); // borrowed in init_importlib()
2103 m = PyImport_AddModule("__main__"); in add_main_module()
Dimport.c617 PyImport_AddModule(const char *name) in PyImport_AddModule() function
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dimport.rst111 .. c:function:: PyObject* PyImport_AddModule(const char *name)
/aosp_15_r20/external/python/cpython2/PC/os2emx/
Dpython27.def961 "PyImport_AddModule"
/aosp_15_r20/external/python/cpython3/PC/
Dpython3dll.c285 EXPORT_FUNC(PyImport_AddModule)
/aosp_15_r20/external/python/cpython2/Modules/
Dzipimport.c324 mod = PyImport_AddModule(fullname); in zipimporter_load_module()
/aosp_15_r20/external/python/cpython3/Doc/data/
Dstable_abi.dat301 function,PyImport_AddModule,3.2,,
Drefcounts.dat970 PyImport_AddModule:PyObject*::0:reference borrowed from sys.modules
971 PyImport_AddModule:const char*:name::
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dimport.rst115 .. c:function:: PyObject* PyImport_AddModule(const char *name)

12