| /external/python/cpython3/Python/ |
| D | Python-ast.c | 11604 if (PyModule_AddObjectRef(m, "AST", state->AST_type) < 0) { in astmodule_exec() 11616 if (PyModule_AddObjectRef(m, "mod", state->mod_type) < 0) { in astmodule_exec() 11619 if (PyModule_AddObjectRef(m, "Module", state->Module_type) < 0) { in astmodule_exec() 11622 if (PyModule_AddObjectRef(m, "Interactive", state->Interactive_type) < 0) { in astmodule_exec() 11625 if (PyModule_AddObjectRef(m, "Expression", state->Expression_type) < 0) { in astmodule_exec() 11628 if (PyModule_AddObjectRef(m, "FunctionType", state->FunctionType_type) < 0) in astmodule_exec() 11632 if (PyModule_AddObjectRef(m, "stmt", state->stmt_type) < 0) { in astmodule_exec() 11635 if (PyModule_AddObjectRef(m, "FunctionDef", state->FunctionDef_type) < 0) { in astmodule_exec() 11638 if (PyModule_AddObjectRef(m, "AsyncFunctionDef", in astmodule_exec() 11642 if (PyModule_AddObjectRef(m, "ClassDef", state->ClassDef_type) < 0) { in astmodule_exec() [all …]
|
| D | modsupport.c | 637 PyModule_AddObjectRef(PyObject *mod, const char *name, PyObject *value) in PyModule_AddObjectRef() function 672 int res = PyModule_AddObjectRef(mod, name, value); in PyModule_AddObject() 686 int res = PyModule_AddObjectRef(m, name, obj); in PyModule_AddIntConstant() 698 int res = PyModule_AddObjectRef(m, name, obj); in PyModule_AddStringConstant() 713 return PyModule_AddObjectRef(module, name, (PyObject *)type); in PyModule_AddType()
|
| D | importdl.c | 226 if (PyModule_AddObjectRef(m, "__file__", path) < 0) { in _PyImport_LoadDynamicModuleWithSpec()
|
| D | _warnings.c | 1360 if (PyModule_AddObjectRef(module, "filters", st->filters) < 0) { in warnings_module_exec() 1363 if (PyModule_AddObjectRef(module, "_onceregistry", st->once_registry) < 0) { in warnings_module_exec() 1366 if (PyModule_AddObjectRef(module, "_defaultaction", st->default_action) < 0) { in warnings_module_exec()
|
| D | import.c | 2153 if (PyModule_AddObjectRef(module, "check_hash_based_pycs", pyc_mode) < 0) { in imp_module_exec()
|
| /external/python/cpython3/Modules/_sqlite/ |
| D | module.c | 261 int res = PyModule_AddObjectRef(module, "converters", _pysqlite_converters); in converters_init() 358 int res = PyModule_AddObjectRef(module, name, exc); \
|
| D | microprotocols.c | 46 int res = PyModule_AddObjectRef(module, "adapters", psyco_adapters); in pysqlite_microprotocols_init()
|
| /external/python/cpython3/Doc/c-api/ |
| D | module.rst | 274 object is typically populated using functions like :c:func:`PyModule_AddObjectRef`. 447 .. c:function:: int PyModule_AddObjectRef(PyObject *module, const char *name, PyObject *value) 466 int res = PyModule_AddObjectRef(module, "spam", obj); 478 int res = PyModule_AddObjectRef(module, "spam", obj); 491 Similar to :c:func:`PyModule_AddObjectRef`, but steals a reference to 494 The new :c:func:`PyModule_AddObjectRef` function is recommended, since it is
|
| /external/python/cpython3/Include/ |
| D | modsupport.h | 142 PyAPI_FUNC(int) PyModule_AddObjectRef(PyObject *mod, const char *name, PyObject *value);
|
| /external/python/cpython3/Modules/ |
| D | _csv.c | 1707 if (PyModule_AddObjectRef(module, "Dialect", temp) < 0) { in csv_exec() 1713 if (PyModule_AddObjectRef(module, "Reader", temp) < 0) { in csv_exec() 1719 if (PyModule_AddObjectRef(module, "Writer", temp) < 0) { in csv_exec() 1734 if (PyModule_AddObjectRef(module, "_dialects", module_state->dialects) < 0) { in csv_exec()
|
| D | _queuemodule.c | 407 if (PyModule_AddObjectRef(module, "Empty", state->EmptyError) < 0) { in queuemodule_exec()
|
| D | pyexpat.c | 1875 if (PyModule_AddObjectRef(mod, "error", state->error) < 0) { in pyexpat_exec() 1879 if (PyModule_AddObjectRef(mod, "ExpatError", state->error) < 0) { in pyexpat_exec() 1883 if (PyModule_AddObjectRef(mod, "XMLParserType", in pyexpat_exec()
|
| D | _testmultiphase.c | 880 if (PyModule_AddObjectRef(module, "Error", PyExc_Exception) < 0) { in PyInit__test_module_state_shared()
|
| D | _hashopenssl.c | 2224 int rc = PyModule_AddObjectRef(module, "_constructors", proxy); in hashlib_init_constructors() 2241 if (PyModule_AddObjectRef(module, "UnsupportedDigestmodError", in hashlib_exception()
|
| D | gcmodule.c | 2015 if (PyModule_AddObjectRef(module, "garbage", gcstate->garbage) < 0) { in gcmodule_exec() 2019 if (PyModule_AddObjectRef(module, "callbacks", gcstate->callbacks) < 0) { in gcmodule_exec()
|
| D | _ssl.c | 5661 if (PyModule_AddObjectRef(module, name, exc) < 0) goto error; \ in sslmodule_init_exceptions() 5669 if (PyModule_AddObjectRef(module, "SSLError", state->PySSLErrorObject) < 0) { in sslmodule_init_exceptions() 6047 if (PyModule_AddObjectRef(module, "err_codes_to_names", state->err_codes_to_names)) in sslmodule_init_errorcodes() 6049 if (PyModule_AddObjectRef(module, "err_names_to_codes", state->err_names_to_codes)) in sslmodule_init_errorcodes() 6051 if (PyModule_AddObjectRef(module, "lib_codes_to_names", state->lib_codes_to_names)) in sslmodule_init_errorcodes()
|
| D | unicodedata.c | 1516 int rc = PyModule_AddObjectRef(module, "_ucnhash_CAPI", capsule); in unicodedata_exec()
|
| D | selectmodule.c | 2422 if (PyModule_AddObjectRef(m, "error", PyExc_OSError) < 0) {
|
| D | _struct.c | 2442 if (PyModule_AddObjectRef(m, "error", state->StructError) < 0) { in _structmodule_exec()
|
| D | _sre.c | 2906 int res = PyModule_AddObjectRef(module, name, o); \
|
| /external/python/cpython3/PC/ |
| D | python3dll.c | 366 EXPORT_FUNC(PyModule_AddObjectRef)
|
| /external/python/cpython3/Doc/data/ |
| D | stable_abi.dat | 390 function,PyModule_AddObjectRef,3.10,
|
| /external/python/cpython3/Misc/ |
| D | stable_abi.txt | 2103 function PyModule_AddObjectRef
|
| /external/python/cpython3/Misc/NEWS.d/ |
| D | 3.10.0a3.rst | 1458 Added :c:func:`PyModule_AddObjectRef` function: similar to
|
| /external/python/cpython3/Modules/_ctypes/ |
| D | _ctypes.c | 5767 if (PyModule_AddObjectRef(mod, name, obj) < 0) { \ in _ctypes_add_objects()
|