Home
last modified time | relevance | path

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

123456

/external/python/cpython3/Modules/
D_testmultiphase.c131 PyModuleDef *def = PyModule_GetDef(mod); in call_state_registration_func()
244 static PyModuleDef main_def = TEST_MODULE_DEF("main", main_slots, testexport_methods);
255 static PyModuleDef def_nonmodule;
256 static PyModuleDef def_nonmodule_with_methods;
260 createfunc_nonmodule(PyObject *spec, PyModuleDef *def) in createfunc_nonmodule()
291 static PyModuleDef def_nonmodule = TEST_MODULE_DEF(
321 static PyModuleDef def_nonmodule_with_methods = TEST_MODULE_DEF(
332 static PyModuleDef def_nonascii_latin = { \
350 static PyModuleDef def_nonascii_kana = { \
378 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.c55 static struct PyModuleDef cryptmodule = {
D_opcode.c62 static struct PyModuleDef opcodemodule = {
D_contextvarsmodule.c30 static struct PyModuleDef _contextvarsmodule = {
Datexitmodule.c14 static struct PyModuleDef atexitmodule;
338 static struct PyModuleDef atexitmodule = {
D_uuidmodule.c43 static struct PyModuleDef uuidmodule = {
Dsymtablemodule.c62 static struct PyModuleDef symtablemodule = {
D_weakref.c140 static struct PyModuleDef weakrefmodule = {
D_curses_panel.c46 static struct PyModuleDef _curses_panelmodule;
483 static struct PyModuleDef _curses_panelmodule = {
/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
Dmodsupport.h127 PyAPI_FUNC(int) PyModule_ExecDef(PyObject *module, PyModuleDef *def);
192 PyAPI_FUNC(PyObject *) PyModule_Create2(struct PyModuleDef*,
195 PyAPI_FUNC(PyObject *) _PyModule_CreateInitialized(struct PyModuleDef*,
209 PyAPI_FUNC(PyObject *) PyModule_FromDefAndSpec2(PyModuleDef *def,
Dpystate.h316 PyAPI_FUNC(int) _PyState_AddModule(PyObject*, struct PyModuleDef*);
320 PyAPI_FUNC(int) PyState_AddModule(PyObject*, struct PyModuleDef*);
321 PyAPI_FUNC(int) PyState_RemoveModule(struct PyModuleDef*);
323 PyAPI_FUNC(PyObject*) PyState_FindModule(struct PyModuleDef*);
/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
224 .. c:function:: PyObject* PyModule_Create(PyModuleDef *def)
231 .. c:function:: PyObject* PyModule_Create2(PyModuleDef *def, int module_api_version)
272 (PyInit_modulename) returns a :c:type:`PyModuleDef` instance with non-empty
273 :c:member:`~PyModuleDef.m_slots`. Before it is returned, the ``PyModuleDef``
276 .. c:function:: PyObject* PyModuleDef_Init(PyModuleDef *def)
309 .. c:function:: PyObject* create_module(PyObject *spec, PyModuleDef *def)
[all …]
/external/python/cpython3/Objects/
Dmoduleobject.c13 struct PyModuleDef *md_def;
38 sizeof(struct PyModuleDef), /* tp_basicsize */
44 PyModuleDef_Init(struct PyModuleDef* def) in PyModuleDef_Init()
174 PyModule_Create2(struct PyModuleDef* module, int module_api_version) in PyModule_Create2()
182 _PyModule_CreateInitialized(struct PyModuleDef* module, int module_api_version) in _PyModule_CreateInitialized()
245 PyModule_FromDefAndSpec2(struct PyModuleDef* def, PyObject *spec, int module_api_version) in PyModule_FromDefAndSpec2()
248 PyObject *(*create)(PyObject *, PyModuleDef*) = NULL; in PyModule_FromDefAndSpec2()
379 PyModule_ExecDef(PyObject *module, PyModuleDef *def) in PyModule_ExecDef()
552 PyModuleDef*
/external/python/cpython3/Python/
Dimportdl.c99 PyModuleDef *def; in _PyImport_LoadDynamicModuleWithSpec()
193 return PyModule_FromDefAndSpec((PyModuleDef*)m, spec); in _PyImport_LoadDynamicModuleWithSpec()
Dpystate.c446 PyState_FindModule(struct PyModuleDef* module) in PyState_FindModule()
465 _PyState_AddModule(PyObject* module, struct PyModuleDef* def) in _PyState_AddModule()
492 PyState_AddModule(PyObject* module, struct PyModuleDef* def) in PyState_AddModule()
513 PyState_RemoveModule(struct PyModuleDef* def) in PyState_RemoveModule()
550 PyModuleDef *md = PyModule_GetDef(m); in _PyState_ClearModules()
Dimport.c638 struct PyModuleDef *def; in _PyImport_FixupExtensionObject()
709 PyModuleDef* def; in _PyImport_FindExtensionObjectEx()
715 def = (PyModuleDef *)PyDict_GetItem(extensions, key); in _PyImport_FindExtensionObjectEx()
1189 PyModuleDef *def; in _imp_create_builtin()
1204 return PyModule_FromDefAndSpec((PyModuleDef*)mod, spec); in _imp_create_builtin()
2088 PyModuleDef *def; in exec_builtin_or_dynamic()
2254 static struct PyModuleDef impmodule = {
/external/python/cpython3/Doc/includes/
Dcustom.c18 static PyModuleDef custommodule = {
Dsublist.c41 static PyModuleDef sublistmodule = {
Dcustom2.c111 static PyModuleDef custommodule = {
/external/python/cpython3/Modules/_xxtestfuzz/
D_xxtestfuzz.c32 static struct PyModuleDef _fuzzmodule = {
/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 = {

123456