Searched refs:PyModuleDef (Results 1 – 25 of 152) sorted by relevance
1234567
/external/python/cpython3/Modules/ |
D | _testmultiphase.c | 296 PyModuleDef *def = PyModule_GetDef(mod); in call_state_registration_func() 416 static PyModuleDef main_def = TEST_MODULE_DEF("main", main_slots, testexport_methods); 427 static PyModuleDef def_nonmodule; 428 static PyModuleDef def_nonmodule_with_methods; 432 createfunc_nonmodule(PyObject *spec, PyModuleDef *def) in createfunc_nonmodule() 463 static PyModuleDef def_nonmodule = TEST_MODULE_DEF( 493 static PyModuleDef def_nonmodule_with_methods = TEST_MODULE_DEF( 504 static PyModuleDef def_nonascii_latin = { \ 522 static PyModuleDef def_nonascii_kana = { \ 550 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 | 61 static struct PyModuleDef cryptmodule = {
|
D | _contextvarsmodule.c | 65 static struct PyModuleDef _contextvarsmodule = {
|
D | _opcode.c | 80 static struct PyModuleDef opcodemodule = {
|
D | grpmodule.c | 51 static struct PyModuleDef grpmodule; 344 static struct PyModuleDef grpmodule = {
|
D | pwdmodule.c | 64 static struct PyModuleDef pwdmodule; 338 static struct PyModuleDef pwdmodule = {
|
D | atexitmodule.c | 14 static struct PyModuleDef atexitmodule; 339 static struct PyModuleDef atexitmodule = {
|
D | _uuidmodule.c | 110 static struct PyModuleDef uuidmodule = {
|
/external/python/cpython3/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 | 153 PyAPI_FUNC(int) PyModule_ExecDef(PyObject *module, PyModuleDef *def); 218 PyAPI_FUNC(PyObject *) PyModule_Create2(struct PyModuleDef*, 221 PyAPI_FUNC(PyObject *) _PyModule_CreateInitialized(struct PyModuleDef*, 235 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 248 .. c:function:: PyObject* PyModule_Create(PyModuleDef *def) 255 .. c:function:: PyObject* PyModule_Create2(PyModuleDef *def, int module_api_version) 296 (PyInit_modulename) returns a :c:type:`PyModuleDef` instance with non-empty 297 :c:member:`~PyModuleDef.m_slots`. Before it is returned, the ``PyModuleDef`` 300 .. c:function:: PyObject* PyModuleDef_Init(PyModuleDef *def) 333 .. c:function:: PyObject* create_module(PyObject *spec, PyModuleDef *def) [all …]
|
/external/python/cpython3/Objects/ |
D | moduleobject.c | 18 struct PyModuleDef *md_def; 33 sizeof(struct PyModuleDef), /* tp_basicsize */ 39 PyModuleDef_Init(struct PyModuleDef* def) in PyModuleDef_Init() 166 PyModule_Create2(struct PyModuleDef* module, int module_api_version) in PyModule_Create2() 177 _PyModule_CreateInitialized(struct PyModuleDef* module, int module_api_version) in _PyModule_CreateInitialized() 240 PyModule_FromDefAndSpec2(struct PyModuleDef* def, PyObject *spec, int module_api_version) in PyModule_FromDefAndSpec2() 243 PyObject *(*create)(PyObject *, PyModuleDef*) = NULL; in PyModule_FromDefAndSpec2() 364 PyModule_ExecDef(PyObject *module, PyModuleDef *def) in PyModule_ExecDef() 535 PyModuleDef*
|
/external/python/cpython3/Python/ |
D | importdl.c | 99 PyModuleDef *def; in _PyImport_LoadDynamicModuleWithSpec() 198 return PyModule_FromDefAndSpec((PyModuleDef*)m, spec); in _PyImport_LoadDynamicModuleWithSpec()
|
/external/python/cffi/c/ |
D | cffi1_module.c | 135 struct PyModuleDef *module_def, local_module_def = { in _my_Py_InitModule() 144 module_def = PyMem_Malloc(sizeof(struct PyModuleDef)); in _my_Py_InitModule()
|
/external/python/pybind11/tests/ |
D | cross_module_gil_utils.cpp | 28 struct PyModuleDef moduledef = {
|
/external/python/cpython3/Doc/includes/ |
D | custom.c | 19 static PyModuleDef custommodule = {
|
D | sublist.c | 42 static PyModuleDef sublistmodule = {
|
/external/python/cpython3/Modules/_xxtestfuzz/ |
D | _xxtestfuzz.c | 32 static struct PyModuleDef _fuzzmodule = {
|
/external/protobuf/python/google/protobuf/internal/ |
D | api_implementation.cc | 81 static struct PyModuleDef _module = {PyModuleDef_HEAD_INIT,
|
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
D | PythonReadline.cpp | 26 static struct PyModuleDef readline_module = {
|
/external/python/cpython3/Modules/_multiprocessing/ |
D | posixshmem.c | 113 static struct PyModuleDef this_module = {
|
/external/python/cpython3/Include/internal/ |
D | pycore_pystate.h | 130 struct PyModuleDef* def);
|
/external/protobuf/python/google/protobuf/pyext/ |
D | message_module.cc | 77 static struct PyModuleDef _module = {PyModuleDef_HEAD_INIT,
|
1234567