Home
last modified time | relevance | path

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

123

/external/python/cpython3/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()
Dxxmodule.c372 int rc = PyModule_AddType(m, (PyTypeObject *)ErrorObject); in xx_exec()
379 if (PyModule_AddType(m, &Str_Type) < 0) { in xx_exec()
382 if (PyModule_AddType(m, &Null_Type) < 0) { in xx_exec()
Dxxlimited.c366 if (PyModule_AddType(m, (PyTypeObject*)state->Error_Type) < 0) { in xx_modexec()
374 if (PyModule_AddType(m, (PyTypeObject*)state->Xxo_Type) < 0) { in xx_modexec()
387 if (PyModule_AddType(m, (PyTypeObject*)Str_Type) < 0) { in xx_modexec()
D_lsprof.c868 if (PyModule_AddType(module, state->profiler_type) < 0) { in _lsprof_exec()
876 if (PyModule_AddType(module, state->stats_entry_type) < 0) { in _lsprof_exec()
884 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()
Dpwdmodule.c331 if (PyModule_AddType(module, state->StructPwdType) < 0) { in pwdmodule_exec()
Dgrpmodule.c322 if (PyModule_AddType(module, state->StructGrpType) < 0) { in grpmodule_exec()
D_queuemodule.c425 if (PyModule_AddType(module, state->SimpleQueueType) < 0) { in queuemodule_exec()
D_operator.c1823 if (PyModule_AddType(module, (PyTypeObject *)state->attrgetter_type) < 0) { in operator_exec()
1831 if (PyModule_AddType(module, (PyTypeObject *)state->itemgetter_type) < 0) { in operator_exec()
1839 if (PyModule_AddType(module, (PyTypeObject *)state->methodcaller_type) < 0) { in operator_exec()
D_threadmodule.c1609 if (PyModule_AddType(module, rlock_type) < 0) { in thread_module_exec()
1626 if (PyModule_AddType(module, state->local_type) < 0) { in thread_module_exec()
1640 if (PyModule_AddType(module, state->excepthook_type) < 0) { in thread_module_exec()
D_lzmamodule.c1565 if (PyModule_AddType(module, (PyTypeObject *)state->error) < 0) { in lzma_exec()
1576 if (PyModule_AddType(module, state->lzma_compressor_type) < 0) { in lzma_exec()
1586 if (PyModule_AddType(module, state->lzma_decompressor_type) < 0) { in lzma_exec()
Dresource.c376 if (PyModule_AddType(module, state->StructRUsageType) < 0) { in resource_exec()
D_hashopenssl.c2143 if (PyModule_AddType(module, state->EVPtype) < 0) { in hashlib_init_evptype()
2165 if (PyModule_AddType(module, state->EVPXOFtype) < 0) { in hashlib_init_evpxoftype()
2181 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.c594 if (PyModule_AddType(module, (PyTypeObject *)state->Random_Type) < 0) { in _random_exec()
Dselectmodule.c2511 if (PyModule_AddType(m, state->pyEpoll_Type) < 0) {
2560 if (PyModule_AddType(m, state->kqueue_event_Type) < 0) {
2569 if (PyModule_AddType(m, state->kqueue_queue_Type) < 0) {
D_dbmmodule.c524 if (PyModule_AddType(module, (PyTypeObject *)state->dbm_error) < 0) { in _dbm_exec()
/external/python/cpython3/Modules/_blake2/
Dblake2module.c88 if (PyModule_AddType(m, st->blake2b_type) < 0) { in blake2_exec()
110 if (PyModule_AddType(m, st->blake2s_type) < 0) { in blake2_exec()
/external/python/cpython3/Include/
Dmodsupport.h58 PyAPI_FUNC(int) PyModule_AddType(PyObject *module, PyTypeObject *type);
/external/python/cpython3/Modules/_multiprocessing/
Dmultiprocessing.c192 if (PyModule_AddType(module, &_PyMp_SemLockType) < 0) { in multiprocessing_exec()
/external/python/cpython3/Python/
DPython-tokenize.c141 if (PyModule_AddType(m, state->TokenizerIter) < 0) { in tokenizemodule_exec()
Dmodsupport.c704 PyModule_AddType(PyObject *module, PyTypeObject *type) in PyModule_AddType() function
/external/python/cpython3/Modules/_io/
D_iomodule.c734 if (PyModule_AddType(m, type) < 0) { in PyInit__io()
/external/python/cpython3/Modules/_sha3/
Dsha3module.c617 if (PyModule_AddType(m, st->type) < 0) { \ in _sha3_exec()

123