Searched refs:PyModuleDef (Results 1 – 25 of 137) sorted by relevance
123456
/external/python/cpython3/Modules/ |
D | _testmultiphase.c | 131 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.c | 8 static struct PyModuleDef _testimportmultiple = { 25 static struct PyModuleDef _foomodule = { 42 static struct PyModuleDef _barmodule = {
|
D | _cryptmodule.c | 55 static struct PyModuleDef cryptmodule = {
|
D | _opcode.c | 62 static struct PyModuleDef opcodemodule = {
|
D | _contextvarsmodule.c | 30 static struct PyModuleDef _contextvarsmodule = {
|
D | atexitmodule.c | 14 static struct PyModuleDef atexitmodule; 338 static struct PyModuleDef atexitmodule = {
|
D | _uuidmodule.c | 43 static struct PyModuleDef uuidmodule = {
|
D | symtablemodule.c | 62 static struct PyModuleDef symtablemodule = {
|
D | _weakref.c | 140 static struct PyModuleDef weakrefmodule = {
|
D | _curses_panel.c | 46 static struct PyModuleDef _curses_panelmodule; 483 static struct PyModuleDef _curses_panelmodule = {
|
/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 | modsupport.h | 127 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,
|
D | pystate.h | 316 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/ |
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 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/ |
D | moduleobject.c | 13 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/ |
D | importdl.c | 99 PyModuleDef *def; in _PyImport_LoadDynamicModuleWithSpec() 193 return PyModule_FromDefAndSpec((PyModuleDef*)m, spec); in _PyImport_LoadDynamicModuleWithSpec()
|
D | pystate.c | 446 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()
|
D | import.c | 638 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/ |
D | custom.c | 18 static PyModuleDef custommodule = {
|
D | sublist.c | 41 static PyModuleDef sublistmodule = {
|
D | custom2.c | 111 static PyModuleDef custommodule = {
|
/external/python/cpython3/Modules/_xxtestfuzz/ |
D | _xxtestfuzz.c | 32 static struct PyModuleDef _fuzzmodule = {
|
/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 = {
|
123456