Searched refs:PyModuleDef (Results 1 – 25 of 133) sorted by relevance
123456
/external/python/cpython3/Modules/ |
D | _testmultiphase.c | 129 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.c | 8 static struct PyModuleDef _testimportmultiple = { 25 static struct PyModuleDef _foomodule = { 42 static struct PyModuleDef _barmodule = {
|
D | _cryptmodule.c | 49 static struct PyModuleDef cryptmodule = {
|
D | _opcode.c | 62 static struct PyModuleDef opcodemodule = {
|
D | atexitmodule.c | 14 static struct PyModuleDef atexitmodule; 314 static struct PyModuleDef atexitmodule = {
|
D | symtablemodule.c | 51 static struct PyModuleDef symtablemodule = {
|
D | _weakref.c | 140 static struct PyModuleDef weakrefmodule = {
|
D | fpetestmodule.c | 176 static struct PyModuleDef fpetestmodule = {
|
D | _curses_panel.c | 46 static struct PyModuleDef _curses_panelmodule; 490 static struct PyModuleDef _curses_panelmodule = {
|
D | fpectlmodule.c | 250 static struct PyModuleDef fpectlmodule = {
|
/external/python/cpython3/Include/ |
D | moduleobject.h | 34 PyAPI_FUNC(struct PyModuleDef*) PyModule_GetDef(PyObject*); 39 PyAPI_FUNC(PyObject *) PyModuleDef_Init(struct PyModuleDef*); 74 typedef struct PyModuleDef{ struct 84 } PyModuleDef; argument
|
D | pystate.h | 161 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*);
|
D | modsupport.h | 85 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/ |
D | module.rst | 92 :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/ |
D | moduleobject.c | 12 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/ |
D | pystate.c | 268 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()
|
D | importdl.c | 99 PyModuleDef *def; in _PyImport_LoadDynamicModuleWithSpec() 188 return PyModule_FromDefAndSpec((PyModuleDef*)m, spec); in _PyImport_LoadDynamicModuleWithSpec()
|
D | import.c | 531 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/ |
D | noddy.c | 32 static PyModuleDef noddymodule = {
|
D | shoddy.c | 75 static PyModuleDef shoddymodule = {
|
D | noddy2.c | 149 static PyModuleDef noddy2module = {
|
/external/protobuf/python/google/protobuf/internal/ |
D | api_implementation.cc | 80 static struct PyModuleDef _module = {
|
/external/python/cpython3/Modules/_blake2/ |
D | blake2module.c | 28 static struct PyModuleDef blake2_module = {
|
/external/python/cpython3/PC/ |
D | _testconsole.c | 113 static PyModuleDef testconsole_def = {
|
D | winsound.c | 212 static struct PyModuleDef winsoundmodule = {
|
123456