Home
last modified time | relevance | path

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

1234

/external/python/cpython3/Modules/_xxtestfuzz/
Dfuzzer.c88 PyObject* struct_module = PyImport_ImportModule("struct"); in init_struct_unpack()
151 PyObject* json_module = PyImport_ImportModule("json"); in init_json_loads()
197 PyObject* sre_compile_module = PyImport_ImportModule("sre_compile"); in init_sre_compile()
206 PyObject* sre_constants = PyImport_ImportModule("sre_constants"); in init_sre_compile()
288 PyObject* re_module = PyImport_ImportModule("re"); in init_sre_match()
344 csv_module = PyImport_ImportModule("csv"); in init_csv_reader()
/external/python/cffi/cffi/
D_cffi_errors.h40 bi = PyImport_ImportModule("builtins"); in _cffi_start_error_capture()
42 bi = PyImport_ImportModule("__builtin__"); in _cffi_start_error_capture()
D_cffi_include.h213 module = PyImport_ImportModule("_cffi_backend"); in _cffi_init()
/external/python/cpython3/Python/
Dpylifecycle.c107 return PyImport_ImportModule("warnings"); in PyModule_GetWarningsModule()
1044 PyObject *warnings_module = PyImport_ImportModule("warnings"); in init_interp_main()
1691 PyObject *bimod = PyImport_ImportModule("builtins"); in add_main_module()
1728 m = PyImport_ImportModule("site"); in init_import_site()
1918 if (!(iomod = PyImport_ImportModule("io"))) { in init_set_builtins_open()
1922 if (!(bimod = PyImport_ImportModule("builtins"))) { in init_set_builtins_open()
1975 if ((m = PyImport_ImportModule("encodings.utf_8")) == NULL) { in init_sys_streams()
1980 if (!(m = PyImport_ImportModule("encodings.latin_1"))) { in init_sys_streams()
1985 if (!(iomod = PyImport_ImportModule("io"))) { in init_sys_streams()
/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/cpython3/Modules/
Dmain.c215 PyObject *mod = PyImport_ImportModule("readline"); in pymain_import_readline()
263 runpy = PyImport_ImportModule("runpy"); in pymain_run_module()
455 sys = PyImport_ImportModule("sys"); in pymain_run_interactive_hook()
D_zoneinfo.c656 PyObject *pickle = PyImport_ImportModule("pickle"); in zoneinfo_reduce()
2479 PyObject *weakref_module = PyImport_ImportModule("weakref"); in new_weak_cache()
2636 PyObject *_tzpath_module = PyImport_ImportModule("zoneinfo._tzpath"); in zoneinfomodule_exec()
2648 PyObject *io_module = PyImport_ImportModule("io"); in zoneinfomodule_exec()
2659 _common_mod = PyImport_ImportModule("zoneinfo._common"); in zoneinfomodule_exec()
/external/python/cpython2/Include/
Dimport.h16 PyAPI_FUNC(PyObject *) PyImport_ImportModule(const char *name);
/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/cffi/c/
Dfile_emulator.h9 PyObject *io = PyImport_ImportModule("_io"); in init_file_emulator()
Dcffi1_module.c100 PyObject *m = PyImport_ImportModule(*p_include); in make_included_tuples()
/external/python/cpython3/Include/
Dimport.h46 PyAPI_FUNC(PyObject *) PyImport_ImportModule(
/external/python/cpython2/Doc/includes/
Dcapsulethunk.h96 object = PyImport_ImportModule(trace); in PyCapsule_Import()
/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`
231 :c:func:`PyImport_ImportModule`. (Note the misnomer --- this function would
/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/Modules/
Dmain.c183 runpy = PyImport_ImportModule("runpy"); in RunModule()
586 v = PyImport_ImportModule("readline"); in Py_Main()
/external/python/cpython3/Objects/
Dfileobject.c39 io = PyImport_ImportModule("_io"); in PyFile_FromFd()
562 iomod = PyImport_ImportModule("_io"); in PyFile_OpenCodeObject()
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/libchrome/third_party/markupsafe/
D_speedups.c46 module = PyImport_ImportModule("markupsafe"); in init_constants()
/external/python/markupsafe/src/markupsafe/
D_speedups.c11 module = PyImport_ImportModule("markupsafe"); in init_constants()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc245 ScopedPyObjectPtr well_known_types(PyImport_ImportModule( in New()
1729 ScopedPyObjectPtr message_module(PyImport_ImportModule( in InternalSerializeToString()
2399 PyImport_ImportModule("google.protobuf.text_format")); in ToUnicode()
2995 ScopedPyObjectPtr collections(PyImport_ImportModule("collections")); in InitProto2MessageModule()
3086 PyObject* enum_type_wrapper = PyImport_ImportModule( in InitProto2MessageModule()
3095 PyObject* message_module = PyImport_ImportModule( in InitProto2MessageModule()
3105 PyObject* pickle_module = PyImport_ImportModule("pickle"); in InitProto2MessageModule()
/external/python/cpython2/PC/os2vacpp/
Dpython.def209 PyImport_ImportModule

1234