Home
last modified time | relevance | path

Searched refs:PyImport_ImportModule (Results 1 – 25 of 68) sorted by relevance

123

/external/python/cpython3/Python/
Dpylifecycle.c142 return PyImport_ImportModule("warnings"); in PyModule_GetWarningsModule()
976 PyObject *warnings_module = PyImport_ImportModule("warnings"); in _Py_InitializeMainInterpreter()
1575 PyObject *bimod = PyImport_ImportModule("builtins"); in add_main_module()
1662 m = PyImport_ImportModule("site"); in initsite()
1836 if ((m = PyImport_ImportModule("encodings.utf_8")) == NULL) { in init_sys_streams()
1841 if (!(m = PyImport_ImportModule("encodings.latin_1"))) { in init_sys_streams()
1846 if (!(bimod = PyImport_ImportModule("builtins"))) { in init_sys_streams()
1850 if (!(iomod = PyImport_ImportModule("io"))) { in init_sys_streams()
Dimport.c107 zimpimport = PyImport_ImportModule("zipimport"); in _PyImportZip_Init()
1382 PyImport_ImportModule(const char *name) in PyImport_ImportModule() function
1407 return PyImport_ImportModule(name); in PyImport_ImportModuleNoBlock()
1858 imp = PyImport_ImportModule("imp"); in PyImport_ReloadModule()
/external/python/cpython2/Modules/_multiprocessing/
Dmultiprocessing.c255 temp = PyImport_ImportModule(PICKLE_MODULE); in init_multiprocessing()
264 temp = PyImport_ImportModule("multiprocessing"); in init_multiprocessing()
/external/python/cpython2/Doc/c-api/
Dimport.rst9 .. c:function:: PyObject* PyImport_ImportModule(const char *name)
39 This version of :c:func:`PyImport_ImportModule` does not block. It's intended
43 the module from sys.modules and falls back to :c:func:`PyImport_ImportModule`
121 loaded, you will get an empty module object. Use :c:func:`PyImport_ImportModule`
216 :c:func:`PyImport_ImportModule`. (Note the misnomer --- this function would
/external/python/cpython3/Doc/c-api/
Dimport.rst9 .. c:function:: PyObject* PyImport_ImportModule(const char *name)
33 This function is a deprecated alias of :c:func:`PyImport_ImportModule`.
56 :c:func:`PyImport_ImportModule`.
108 loaded, you will get an empty module object. Use :c:func:`PyImport_ImportModule`
246 :c:func:`PyImport_ImportModule`. (Note the misnomer --- this function would
/external/python/cpython2/Include/
Dimport.h16 PyAPI_FUNC(PyObject *) PyImport_ImportModule(const char *name);
/external/python/cpython3/Doc/includes/
Dcapsulethunk.h96 object = PyImport_ImportModule(trace); in PyCapsule_Import()
/external/python/cpython2/Doc/includes/
Dcapsulethunk.h96 object = PyImport_ImportModule(trace); in PyCapsule_Import()
/external/python/cpython2/Modules/
Dmain.c178 runpy = PyImport_ImportModule("runpy"); in RunModule()
581 v = PyImport_ImportModule("readline"); in Py_Main()
/external/python/cpython2/Objects/
Dcobject.c104 if ((m = PyImport_ImportModule(module_name))) { in PyCObject_Import()
Dcapsule.c220 object = PyImport_ImportModule(trace); in PyCapsule_Import()
/external/python/cpython2/Python/
Dmactoolboxglue.c359 if (!PyImport_ImportModule(module)) return NULL; \
373 if (!PyImport_ImportModule(module)) return 0; \
Dpythonrun.c96 return PyImport_ImportModule("warnings"); in PyModule_GetWarningsModule()
277 PyObject *warnings_module = PyImport_ImportModule("warnings"); in Py_InitializeEx()
721 PyObject *bimod = PyImport_ImportModule("__builtin__"); in initmain()
735 m = PyImport_ImportModule("site"); in initsite()
/external/python/cpython3/Include/
Dimport.h60 PyAPI_FUNC(PyObject *) PyImport_ImportModule(
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc257 ScopedPyObjectPtr well_known_types(PyImport_ImportModule( in New()
1739 ScopedPyObjectPtr message_module(PyImport_ImportModule( in CheckAndGetInteger()
2470 PyImport_ImportModule("google.protobuf.text_format")); in CheckAndGetInteger()
2928 ScopedPyObjectPtr collections(PyImport_ImportModule("collections")); in CheckAndGetInteger()
2952 ScopedPyObjectPtr containers(PyImport_ImportModule( in CheckAndGetInteger()
3048 PyObject* enum_type_wrapper = PyImport_ImportModule( in CheckAndGetInteger()
3057 PyObject* message_module = PyImport_ImportModule( in CheckAndGetInteger()
3067 PyObject* pickle_module = PyImport_ImportModule("pickle"); in CheckAndGetInteger()
/external/libchrome/third_party/markupsafe/
D_speedups.c46 module = PyImport_ImportModule("markupsafe"); in init_constants()
/external/python/cpython3/Objects/
Dcapsule.c220 object = PyImport_ImportModule(trace); in PyCapsule_Import()
Dfileobject.c36 io = PyImport_ImportModule("io"); in PyFile_FromFd()
/external/python/cpython2/PC/os2vacpp/
Dpython.def209 PyImport_ImportModule
/external/python/cpython3/Programs/
D_testembed.c340 PyObject *json = PyImport_ImportModule("json"); in dump_config_impl()
/external/python/cpython2/Modules/_ctypes/
Dctypes.h29 #define PyImport_ImportModuleNoBlock PyImport_ImportModule
/external/python/cpython3/Modules/cjkcodecs/
Dcjkcodecs.h365 mod = PyImport_ImportModule(modname); in importmap()
/external/python/cpython2/Modules/cjkcodecs/
Dcjkcodecs.h362 mod = PyImport_ImportModule((char *)modname); in importmap()
/external/python/cpython2/Modules/_io/
D_iomodule.c640 _PyIO_os_module = PyImport_ImportModule("os"); in init_io()
/external/python/cpython3/Modules/_io/
D_iomodule.c572 mod = PyImport_ImportModule("_bootlocale"); in _PyIO_get_locale_module()

123