Home
last modified time | relevance | path

Searched refs:PyModule_AddType (Results 1 – 25 of 52) sorted by relevance

123

/third_party/python/Modules/
D_contextvarsmodule.c33 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()
Dxxlimited.c314 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.c861 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()
Dspwdmodule.c219 if (PyModule_AddType(module, state->StructSpwdType) < 0) { in spwdmodule_exec()
D_bz2module.c785 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()
Dgrpmodule.c322 if (PyModule_AddType(module, state->StructGrpType) < 0) { in grpmodule_exec()
Dpwdmodule.c333 if (PyModule_AddType(module, state->StructPwdType) < 0) { in pwdmodule_exec()
D_queuemodule.c416 if (PyModule_AddType(module, state->SimpleQueueType) < 0) { in queuemodule_exec()
D_lzmamodule.c1564 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.c1607 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.c1737 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()
Dresource.c374 if (PyModule_AddType(module, state->StructRUsageType) < 0) { in resource_exec()
D_functoolsmodule.c1453 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.c2131 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.c660 if (PyModule_AddType(mod, state->PyCursesPanel_Type) < 0) { in _curses_panel_exec()
D_randommodule.c595 if (PyModule_AddType(module, (PyTypeObject *)state->Random_Type) < 0) { in _random_exec()
Dselectmodule.c2489 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.c519 if (PyModule_AddType(module, (PyTypeObject *)state->dbm_error) < 0) { in _dbm_exec()
D_gdbmmodule.c720 if (PyModule_AddType(module, (PyTypeObject *)state->gdbm_error) < 0) { in _gdbm_exec()
/third_party/python/Modules/_blake2/
Dblake2module.c85 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/
Dmultiprocessing.c193 if (PyModule_AddType(module, &_PyMp_SemLockType) < 0) { in multiprocessing_exec()
/third_party/python/Include/
Dmodsupport.h152 PyAPI_FUNC(int) PyModule_AddType(PyObject *module, PyTypeObject *type);
/third_party/python/Modules/_sqlite/
Dmodule.c344 if (PyModule_AddType(module, &type) < 0) { \
/third_party/python/Modules/_io/
D_iomodule.c701 if (PyModule_AddType(m, type) < 0) { \ in PyInit__io()
/third_party/python/Python/
Dmodsupport.c704 PyModule_AddType(PyObject *module, PyTypeObject *type) in PyModule_AddType() function

123