Home
last modified time | relevance | path

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

1234567

/external/python/cpython3/Modules/
D_testmultiphase.c296 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.c8 static struct PyModuleDef _testimportmultiple = {
25 static struct PyModuleDef _foomodule = {
42 static struct PyModuleDef _barmodule = {
D_cryptmodule.c61 static struct PyModuleDef cryptmodule = {
D_contextvarsmodule.c65 static struct PyModuleDef _contextvarsmodule = {
D_opcode.c80 static struct PyModuleDef opcodemodule = {
Dgrpmodule.c51 static struct PyModuleDef grpmodule;
344 static struct PyModuleDef grpmodule = {
Dpwdmodule.c64 static struct PyModuleDef pwdmodule;
338 static struct PyModuleDef pwdmodule = {
Datexitmodule.c14 static struct PyModuleDef atexitmodule;
339 static struct PyModuleDef atexitmodule = {
D_uuidmodule.c110 static struct PyModuleDef uuidmodule = {
/external/python/cpython3/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.h153 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/
Dmodule.rst92 :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/
Dmoduleobject.c18 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/
Dimportdl.c99 PyModuleDef *def; in _PyImport_LoadDynamicModuleWithSpec()
198 return PyModule_FromDefAndSpec((PyModuleDef*)m, spec); in _PyImport_LoadDynamicModuleWithSpec()
/external/python/cffi/c/
Dcffi1_module.c135 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/
Dcross_module_gil_utils.cpp28 struct PyModuleDef moduledef = {
/external/python/cpython3/Doc/includes/
Dcustom.c19 static PyModuleDef custommodule = {
Dsublist.c42 static PyModuleDef sublistmodule = {
/external/python/cpython3/Modules/_xxtestfuzz/
D_xxtestfuzz.c32 static struct PyModuleDef _fuzzmodule = {
/external/protobuf/python/google/protobuf/internal/
Dapi_implementation.cc81 static struct PyModuleDef _module = {PyModuleDef_HEAD_INIT,
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonReadline.cpp26 static struct PyModuleDef readline_module = {
/external/python/cpython3/Modules/_multiprocessing/
Dposixshmem.c113 static struct PyModuleDef this_module = {
/external/python/cpython3/Include/internal/
Dpycore_pystate.h130 struct PyModuleDef* def);
/external/protobuf/python/google/protobuf/pyext/
Dmessage_module.cc77 static struct PyModuleDef _module = {PyModuleDef_HEAD_INIT,

1234567