Searched refs:PyModuleObject (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Objects/ |
D | moduleobject.c | 20 {"__dict__", T_OBJECT, offsetof(PyModuleObject, md_dict), READONLY}, 39 PyModuleObject *module = (PyModuleObject*)obj; in _PyModule_IsExtension() 61 module_init_dict(PyModuleObject *mod, PyObject *md_dict, in module_init_dict() 94 PyModuleObject *m; in PyModule_NewObject() 95 m = PyObject_GC_New(PyModuleObject, &PyModule_Type); in PyModule_NewObject() 188 PyModuleObject *m; in _PyModule_CreateInitialized() 218 if ((m = (PyModuleObject*)PyModule_New(name)) == NULL) in _PyModule_CreateInitialized() 328 ((PyModuleObject*)m)->md_state = NULL; in PyModule_FromDefAndSpec2() 329 ((PyModuleObject*)m)->md_def = def; in PyModule_FromDefAndSpec2() 384 PyModuleObject *md = (PyModuleObject*)module; in PyModule_ExecDef() [all …]
|
/third_party/python/Include/internal/ |
D | pycore_moduleobject.h | 19 } PyModuleObject; typedef 23 return ((PyModuleObject *)mod)->md_def; in _PyModule_GetDef() 28 return ((PyModuleObject *)mod)->md_state; in _PyModule_GetState() 33 PyObject *dict = ((PyModuleObject *)mod) -> md_dict; in _PyModule_GetDict()
|
/third_party/python/Objects/clinic/ |
D | moduleobject.c.h | 14 module___init___impl(PyModuleObject *self, PyObject *name, PyObject *doc); 46 return_value = module___init___impl((PyModuleObject *)self, name, doc); in module___init__()
|