Searched refs:PyModuleDef (Results 1 – 25 of 152) sorted by relevance
1234567
/third_party/python/Modules/ |
D | _testmultiphase.c | 124 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.c | 8 static struct PyModuleDef _testimportmultiple = { 25 static struct PyModuleDef _foomodule = { 42 static struct PyModuleDef _barmodule = {
|
D | spwdmodule.c | 74 static struct PyModuleDef spwdmodule; 244 static struct PyModuleDef spwdmodule = {
|
D | _contextvarsmodule.c | 50 static struct PyModuleDef _contextvarsmodule = {
|
D | _cryptmodule.c | 64 static struct PyModuleDef cryptmodule = {
|
D | _opcode.c | 77 static struct PyModuleDef opcodemodule = {
|
D | grpmodule.c | 49 static struct PyModuleDef grpmodule; 347 static struct PyModuleDef grpmodule = {
|
D | pwdmodule.c | 62 static struct PyModuleDef pwdmodule; 356 static struct PyModuleDef pwdmodule = {
|
D | _queuemodule.c | 18 static struct PyModuleDef queuemodule; 429 static struct PyModuleDef queuemodule = {
|
D | _ssl.h | 34 static struct PyModuleDef _sslmodule_def;
|
D | _uuidmodule.c | 110 static struct PyModuleDef uuidmodule = {
|
/third_party/python/Include/ |
D | moduleobject.h | 35 PyAPI_FUNC(struct PyModuleDef*) PyModule_GetDef(PyObject*); 40 PyAPI_FUNC(PyObject *) PyModuleDef_Init(struct PyModuleDef*); 75 typedef struct PyModuleDef{ struct 85 } PyModuleDef; argument
|
D | pystate.h | 53 PyAPI_FUNC(int) PyState_AddModule(PyObject*, struct PyModuleDef*); 54 PyAPI_FUNC(int) PyState_RemoveModule(struct PyModuleDef*); 56 PyAPI_FUNC(PyObject*) PyState_FindModule(struct PyModuleDef*);
|
D | modsupport.h | 161 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/ |
D | module.rst | 93 :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/ |
D | moduleobject.c | 28 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/ |
D | pycore_moduleobject.h | 14 struct PyModuleDef *md_def; 21 static inline PyModuleDef* _PyModule_GetDef(PyObject *mod) { in _PyModule_GetDef()
|
D | pycore_pystate.h | 145 struct PyModuleDef* def);
|
/third_party/python/Python/ |
D | importdl.c | 102 PyModuleDef *def; in _PyImport_LoadDynamicModuleWithSpec() 201 return PyModule_FromDefAndSpec((PyModuleDef*)m, spec); in _PyImport_LoadDynamicModuleWithSpec()
|
/third_party/python/Doc/includes/ |
D | custom.c | 19 static PyModuleDef custommodule = {
|
D | sublist.c | 42 static PyModuleDef sublistmodule = {
|
/third_party/python/Modules/_xxtestfuzz/ |
D | _xxtestfuzz.c | 32 static struct PyModuleDef _fuzzmodule = {
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | api_implementation.cc | 81 static struct PyModuleDef _module = {PyModuleDef_HEAD_INIT,
|
/third_party/python/Modules/_multiprocessing/ |
D | posixshmem.c | 113 static struct PyModuleDef _posixshmemmodule = {
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | message_module.cc | 77 static struct PyModuleDef _module = {PyModuleDef_HEAD_INIT,
|
1234567