Home
last modified time | relevance | path

Searched refs:PyModuleDef (Results 1 – 25 of 133) sorted by relevance

123456

/external/python/cpython3/Modules/
D_testmultiphase.c129 PyModuleDef *def = PyModule_GetDef(mod); in call_state_registration_func()
239 static PyModuleDef main_def = TEST_MODULE_DEF("main", main_slots, testexport_methods);
250 static PyModuleDef def_nonmodule;
251 static PyModuleDef def_nonmodule_with_methods;
255 createfunc_nonmodule(PyObject *spec, PyModuleDef *def) in createfunc_nonmodule()
286 static PyModuleDef def_nonmodule = TEST_MODULE_DEF(
316 static PyModuleDef def_nonmodule_with_methods = TEST_MODULE_DEF(
327 static PyModuleDef def_nonascii_latin = { \
345 static PyModuleDef def_nonascii_kana = { \
373 static PyModuleDef null_slots_def = TEST_MODULE_DEF(
[all …]
D_testimportmultiple.c8 static struct PyModuleDef _testimportmultiple = {
25 static struct PyModuleDef _foomodule = {
42 static struct PyModuleDef _barmodule = {
D_cryptmodule.c49 static struct PyModuleDef cryptmodule = {
D_opcode.c62 static struct PyModuleDef opcodemodule = {
Datexitmodule.c14 static struct PyModuleDef atexitmodule;
314 static struct PyModuleDef atexitmodule = {
Dsymtablemodule.c51 static struct PyModuleDef symtablemodule = {
D_weakref.c140 static struct PyModuleDef weakrefmodule = {
Dfpetestmodule.c176 static struct PyModuleDef fpetestmodule = {
D_curses_panel.c46 static struct PyModuleDef _curses_panelmodule;
490 static struct PyModuleDef _curses_panelmodule = {
Dfpectlmodule.c250 static struct PyModuleDef fpectlmodule = {
/external/python/cpython3/Include/
Dmoduleobject.h34 PyAPI_FUNC(struct PyModuleDef*) PyModule_GetDef(PyObject*);
39 PyAPI_FUNC(PyObject *) PyModuleDef_Init(struct PyModuleDef*);
74 typedef struct PyModuleDef{ struct
84 } PyModuleDef; argument
Dpystate.h161 PyAPI_FUNC(int) _PyState_AddModule(PyObject*, struct PyModuleDef*);
165 PyAPI_FUNC(int) PyState_AddModule(PyObject*, struct PyModuleDef*);
166 PyAPI_FUNC(int) PyState_RemoveModule(struct PyModuleDef*);
168 PyAPI_FUNC(PyObject*) PyState_FindModule(struct PyModuleDef*);
Dmodsupport.h85 PyAPI_FUNC(int) PyModule_ExecDef(PyObject *module, PyModuleDef *def);
150 PyAPI_FUNC(PyObject *) PyModule_Create2(struct PyModuleDef*,
163 PyAPI_FUNC(PyObject *) PyModule_FromDefAndSpec2(PyModuleDef *def,
/external/python/cpython3/Doc/c-api/
Dmodule.rst92 :c:member:`PyModuleDef.m_size`.
95 .. c:function:: PyModuleDef* PyModule_GetDef(PyObject *module)
97 Return a pointer to the :c:type:`PyModuleDef` struct from which the module was
139 .. c:type:: PyModuleDef
218 .. c:function:: PyObject* PyModule_Create(PyModuleDef *def)
225 .. c:function:: PyObject* PyModule_Create2(PyModuleDef *def, int module_api_version)
266 (PyInit_modulename) returns a :c:type:`PyModuleDef` instance with non-empty
267 :c:member:`~PyModuleDef.m_slots`. Before it is returned, the ``PyModuleDef``
270 .. c:function:: PyObject* PyModuleDef_Init(PyModuleDef *def)
303 .. c:function:: PyObject* create_module(PyObject *spec, PyModuleDef *def)
[all …]
/external/python/cpython3/Objects/
Dmoduleobject.c12 struct PyModuleDef *md_def;
26 sizeof(struct PyModuleDef), /* tp_size */
32 PyModuleDef_Init(struct PyModuleDef* def) in PyModuleDef_Init()
162 PyModule_Create2(struct PyModuleDef* module, int module_api_version) in PyModule_Create2()
227 PyModule_FromDefAndSpec2(struct PyModuleDef* def, PyObject *spec, int module_api_version) in PyModule_FromDefAndSpec2()
230 PyObject *(*create)(PyObject *, PyModuleDef*) = NULL; in PyModule_FromDefAndSpec2()
351 PyModule_ExecDef(PyObject *module, PyModuleDef *def) in PyModule_ExecDef()
524 PyModuleDef*
/external/python/cpython3/Python/
Dpystate.c268 PyState_FindModule(struct PyModuleDef* module) in PyState_FindModule()
287 _PyState_AddModule(PyObject* module, struct PyModuleDef* def) in _PyState_AddModule()
314 PyState_AddModule(PyObject* module, struct PyModuleDef* def) in PyState_AddModule()
335 PyState_RemoveModule(struct PyModuleDef* def) in PyState_RemoveModule()
371 PyModuleDef *md = PyModule_GetDef(m); in _PyState_ClearModules()
Dimportdl.c99 PyModuleDef *def; in _PyImport_LoadDynamicModuleWithSpec()
188 return PyModule_FromDefAndSpec((PyModuleDef*)m, spec); in _PyImport_LoadDynamicModuleWithSpec()
Dimport.c531 struct PyModuleDef *def; in _PyImport_FixupExtensionObject()
595 PyModuleDef* def; in _PyImport_FindExtensionObject()
601 def = (PyModuleDef *)PyDict_GetItem(extensions, key); in _PyImport_FindExtensionObject()
1060 PyModuleDef *def; in _imp_create_builtin()
1075 return PyModule_FromDefAndSpec((PyModuleDef*)mod, spec); in _imp_create_builtin()
1934 PyModuleDef *def; in exec_builtin_or_dynamic()
2076 static struct PyModuleDef impmodule = {
/external/python/cpython3/Doc/includes/
Dnoddy.c32 static PyModuleDef noddymodule = {
Dshoddy.c75 static PyModuleDef shoddymodule = {
Dnoddy2.c149 static PyModuleDef noddy2module = {
/external/protobuf/python/google/protobuf/internal/
Dapi_implementation.cc80 static struct PyModuleDef _module = {
/external/python/cpython3/Modules/_blake2/
Dblake2module.c28 static struct PyModuleDef blake2_module = {
/external/python/cpython3/PC/
D_testconsole.c113 static PyModuleDef testconsole_def = {
Dwinsound.c212 static struct PyModuleDef winsoundmodule = {

123456