Searched refs:already_warned (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Python/ |
D | _warnings.c | 175 already_warned(PyObject *registry, PyObject *key, int should_set) in already_warned() function 177 PyObject *already_warned; in already_warned() local 182 already_warned = PyDict_GetItem(registry, key); in already_warned() 183 if (already_warned != NULL) { in already_warned() 184 int rc = PyObject_IsTrue(already_warned); in already_warned() 242 rc = already_warned(registry, altkey, 1); in update_registry() 347 rc = already_warned(registry, key, 0); in warn_explicit()
|
/external/python/cpython3/Python/ |
D | _warnings.c | 388 already_warned(PyObject *registry, PyObject *key, int should_set) in already_warned() function 390 PyObject *version_obj, *already_warned; in already_warned() local 419 already_warned = PyDict_GetItemWithError(registry, key); in already_warned() 420 if (already_warned != NULL) { in already_warned() 421 int rc = PyObject_IsTrue(already_warned); in already_warned() 482 rc = already_warned(registry, altkey, 1); in update_registry() 682 rc = already_warned(registry, key, 0); in warn_explicit()
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 484 Python/_warnings.c:already_warned():PyId_version _Py_IDENTIFIER(version)
|
D | known.tsv | 1422 Python/_warnings.c already_warned PyId_version variable _Py_IDENTIFIER(version)
|