/third_party/python/Modules/ |
D | _contextvarsmodule.c | 33 if (PyModule_AddType(m, &PyContext_Type) < 0) { in _contextvars_exec() 36 if (PyModule_AddType(m, &PyContextVar_Type) < 0) { in _contextvars_exec() 39 if (PyModule_AddType(m, &PyContextToken_Type) < 0) { in _contextvars_exec()
|
D | xxlimited.c | 314 if (PyModule_AddType(m, (PyTypeObject*)state->Error_Type) < 0) { in xx_modexec() 322 if (PyModule_AddType(m, (PyTypeObject*)state->Xxo_Type) < 0) { in xx_modexec() 335 if (PyModule_AddType(m, (PyTypeObject*)Str_Type) < 0) { in xx_modexec()
|
D | _lsprof.c | 861 if (PyModule_AddType(module, state->profiler_type) < 0) { in _lsprof_exec() 869 if (PyModule_AddType(module, state->stats_entry_type) < 0) { in _lsprof_exec() 877 if (PyModule_AddType(module, state->stats_subentry_type) < 0) { in _lsprof_exec()
|
D | spwdmodule.c | 219 if (PyModule_AddType(module, state->StructSpwdType) < 0) { in spwdmodule_exec()
|
D | _bz2module.c | 785 if (PyModule_AddType(module, state->bz2_compressor_type) < 0) { in _bz2_exec() 795 if (PyModule_AddType(module, state->bz2_decompressor_type) < 0) { in _bz2_exec()
|
D | grpmodule.c | 322 if (PyModule_AddType(module, state->StructGrpType) < 0) { in grpmodule_exec()
|
D | pwdmodule.c | 333 if (PyModule_AddType(module, state->StructPwdType) < 0) { in pwdmodule_exec()
|
D | _queuemodule.c | 416 if (PyModule_AddType(module, state->SimpleQueueType) < 0) { in queuemodule_exec()
|
D | _lzmamodule.c | 1564 if (PyModule_AddType(module, (PyTypeObject *)state->error) < 0) { in lzma_exec() 1575 if (PyModule_AddType(module, state->lzma_compressor_type) < 0) { in lzma_exec() 1585 if (PyModule_AddType(module, state->lzma_decompressor_type) < 0) { in lzma_exec()
|
D | _threadmodule.c | 1607 if (PyModule_AddType(module, rlock_type) < 0) { in thread_module_exec() 1624 if (PyModule_AddType(module, state->local_type) < 0) { in thread_module_exec() 1639 if (PyModule_AddType(module, &ExceptHookArgsType) < 0) { in thread_module_exec()
|
D | _operator.c | 1737 if (PyModule_AddType(module, (PyTypeObject *)state->attrgetter_type) < 0) { in operator_exec() 1745 if (PyModule_AddType(module, (PyTypeObject *)state->itemgetter_type) < 0) { in operator_exec() 1753 if (PyModule_AddType(module, (PyTypeObject *)state->methodcaller_type) < 0) { in operator_exec()
|
D | resource.c | 374 if (PyModule_AddType(module, state->StructRUsageType) < 0) { in resource_exec()
|
D | _functoolsmodule.c | 1453 if (PyModule_AddType(module, state->partial_type) < 0) { in _functools_exec() 1462 if (PyModule_AddType(module, (PyTypeObject *)lru_cache_type) < 0) { in _functools_exec() 1473 if (PyModule_AddType(module, state->keyobject_type) < 0) { in _functools_exec()
|
D | _hashopenssl.c | 2131 if (PyModule_AddType(module, state->EVPtype) < 0) { in hashlib_init_evptype() 2153 if (PyModule_AddType(module, state->EVPXOFtype) < 0) { in hashlib_init_evpxoftype() 2169 if (PyModule_AddType(module, state->HMACtype) < 0) { in hashlib_init_hmactype()
|
D | _curses_panel.c | 660 if (PyModule_AddType(mod, state->PyCursesPanel_Type) < 0) { in _curses_panel_exec()
|
D | _randommodule.c | 595 if (PyModule_AddType(module, (PyTypeObject *)state->Random_Type) < 0) { in _random_exec()
|
D | selectmodule.c | 2489 if (PyModule_AddType(m, state->pyEpoll_Type) < 0) { 2538 if (PyModule_AddType(m, state->kqueue_event_Type) < 0) { 2547 if (PyModule_AddType(m, state->kqueue_queue_Type) < 0) {
|
D | _dbmmodule.c | 519 if (PyModule_AddType(module, (PyTypeObject *)state->dbm_error) < 0) { in _dbm_exec()
|
D | _gdbmmodule.c | 720 if (PyModule_AddType(module, (PyTypeObject *)state->gdbm_error) < 0) { in _gdbm_exec()
|
/third_party/python/Modules/_blake2/ |
D | blake2module.c | 85 if (PyModule_AddType(m, st->blake2b_type) < 0) { in blake2_exec() 107 if (PyModule_AddType(m, st->blake2s_type) < 0) { in blake2_exec()
|
/third_party/python/Modules/_multiprocessing/ |
D | multiprocessing.c | 193 if (PyModule_AddType(module, &_PyMp_SemLockType) < 0) { in multiprocessing_exec()
|
/third_party/python/Include/ |
D | modsupport.h | 152 PyAPI_FUNC(int) PyModule_AddType(PyObject *module, PyTypeObject *type);
|
/third_party/python/Modules/_sqlite/ |
D | module.c | 344 if (PyModule_AddType(module, &type) < 0) { \
|
/third_party/python/Modules/_io/ |
D | _iomodule.c | 701 if (PyModule_AddType(m, type) < 0) { \ in PyInit__io()
|
/third_party/python/Python/ |
D | modsupport.c | 704 PyModule_AddType(PyObject *module, PyTypeObject *type) in PyModule_AddType() function
|