Home
last modified time | relevance | path

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

1234567

/third_party/python/Modules/
D_testmultiphase.c124 static PyModuleDef def_meth_state_access;
302 PyModuleDef *def = PyModule_GetDef(mod); in call_state_registration_func()
425 static PyModuleDef main_def = TEST_MODULE_DEF("main", main_slots, testexport_methods);
436 static PyModuleDef def_nonmodule;
437 static PyModuleDef def_nonmodule_with_methods;
441 createfunc_nonmodule(PyObject *spec, PyModuleDef *def) in createfunc_nonmodule()
472 static PyModuleDef def_nonmodule = TEST_MODULE_DEF(
502 static PyModuleDef def_nonmodule_with_methods = TEST_MODULE_DEF(
513 static PyModuleDef def_nonascii_latin = { \
531 static PyModuleDef def_nonascii_kana = { \
[all …]
D_testimportmultiple.c8 static struct PyModuleDef _testimportmultiple = {
25 static struct PyModuleDef _foomodule = {
42 static struct PyModuleDef _barmodule = {
Dspwdmodule.c74 static struct PyModuleDef spwdmodule;
244 static struct PyModuleDef spwdmodule = {
D_contextvarsmodule.c50 static struct PyModuleDef _contextvarsmodule = {
D_cryptmodule.c64 static struct PyModuleDef cryptmodule = {
D_opcode.c77 static struct PyModuleDef opcodemodule = {
Dgrpmodule.c49 static struct PyModuleDef grpmodule;
347 static struct PyModuleDef grpmodule = {
Dpwdmodule.c62 static struct PyModuleDef pwdmodule;
356 static struct PyModuleDef pwdmodule = {
D_queuemodule.c18 static struct PyModuleDef queuemodule;
429 static struct PyModuleDef queuemodule = {
D_ssl.h34 static struct PyModuleDef _sslmodule_def;
D_uuidmodule.c110 static struct PyModuleDef uuidmodule = {
/third_party/python/Include/
Dmoduleobject.h35 PyAPI_FUNC(struct PyModuleDef*) PyModule_GetDef(PyObject*);
40 PyAPI_FUNC(PyObject *) PyModuleDef_Init(struct PyModuleDef*);
75 typedef struct PyModuleDef{ struct
85 } PyModuleDef; argument
Dpystate.h53 PyAPI_FUNC(int) PyState_AddModule(PyObject*, struct PyModuleDef*);
54 PyAPI_FUNC(int) PyState_RemoveModule(struct PyModuleDef*);
56 PyAPI_FUNC(PyObject*) PyState_FindModule(struct PyModuleDef*);
Dmodsupport.h161 PyAPI_FUNC(int) PyModule_ExecDef(PyObject *module, PyModuleDef *def);
226 PyAPI_FUNC(PyObject *) PyModule_Create2(struct PyModuleDef*,
229 PyAPI_FUNC(PyObject *) _PyModule_CreateInitialized(struct PyModuleDef*,
243 PyAPI_FUNC(PyObject *) PyModule_FromDefAndSpec2(PyModuleDef *def,
/third_party/python/Doc/c-api/
Dmodule.rst93 :c:member:`PyModuleDef.m_size`.
96 .. c:function:: PyModuleDef* PyModule_GetDef(PyObject *module)
98 Return a pointer to the :c:type:`PyModuleDef` struct from which the module was
140 .. c:type:: PyModuleDef
228 :c:member:`~PyModuleDef.m_free` is called directly.
255 .. c:function:: PyObject* PyModule_Create(PyModuleDef *def)
262 .. c:function:: PyObject* PyModule_Create2(PyModuleDef *def, int module_api_version)
303 (PyInit_modulename) returns a :c:type:`PyModuleDef` instance with non-empty
304 :c:member:`~PyModuleDef.m_slots`. Before it is returned, the ``PyModuleDef``
307 .. c:function:: PyObject* PyModuleDef_Init(PyModuleDef *def)
[all …]
/third_party/python/Objects/
Dmoduleobject.c28 sizeof(struct PyModuleDef), /* tp_basicsize */
41 struct PyModuleDef *def = module->md_def; in _PyModule_IsExtension()
47 PyModuleDef_Init(struct PyModuleDef* def) in PyModuleDef_Init()
174 PyModule_Create2(struct PyModuleDef* module, int module_api_version) in PyModule_Create2()
185 _PyModule_CreateInitialized(struct PyModuleDef* module, int module_api_version) in _PyModule_CreateInitialized()
248 PyModule_FromDefAndSpec2(struct PyModuleDef* def, PyObject *spec, int module_api_version) in PyModule_FromDefAndSpec2()
251 PyObject *(*create)(PyObject *, PyModuleDef*) = NULL; in PyModule_FromDefAndSpec2()
372 PyModule_ExecDef(PyObject *module, PyModuleDef *def) in PyModule_ExecDef()
544 PyModuleDef*
/third_party/python/Include/internal/
Dpycore_moduleobject.h14 struct PyModuleDef *md_def;
21 static inline PyModuleDef* _PyModule_GetDef(PyObject *mod) { in _PyModule_GetDef()
Dpycore_pystate.h145 struct PyModuleDef* def);
/third_party/python/Python/
Dimportdl.c102 PyModuleDef *def; in _PyImport_LoadDynamicModuleWithSpec()
201 return PyModule_FromDefAndSpec((PyModuleDef*)m, spec); in _PyImport_LoadDynamicModuleWithSpec()
/third_party/python/Doc/includes/
Dcustom.c19 static PyModuleDef custommodule = {
Dsublist.c42 static PyModuleDef sublistmodule = {
/third_party/python/Modules/_xxtestfuzz/
D_xxtestfuzz.c32 static struct PyModuleDef _fuzzmodule = {
/third_party/protobuf/python/google/protobuf/internal/
Dapi_implementation.cc81 static struct PyModuleDef _module = {PyModuleDef_HEAD_INIT,
/third_party/python/Modules/_multiprocessing/
Dposixshmem.c113 static struct PyModuleDef _posixshmemmodule = {
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage_module.cc77 static struct PyModuleDef _module = {PyModuleDef_HEAD_INIT,

1234567