Lines Matching refs:sourceline
489 PyObject *category, PyObject *sourceline) in show_warning() argument
524 if (sourceline) { in show_warning()
531 if (PyUnicode_READY(sourceline) < 1) in show_warning()
534 kind = PyUnicode_KIND(sourceline); in show_warning()
535 data = PyUnicode_DATA(sourceline); in show_warning()
536 len = PyUnicode_GET_LENGTH(sourceline); in show_warning()
543 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
547 PyFile_WriteObject(sourceline, f_stderr, Py_PRINT_RAW); in show_warning()
563 PyObject *sourceline, PyObject *source) in call_show_warning() argument
576 show_warning(filename, lineno, text, category, sourceline); in call_show_warning()
620 PyObject *module, PyObject *registry, PyObject *sourceline, in warn_explicit() argument
743 lineno_obj, sourceline, source) < 0) in warn_explicit()