Lines Matching refs:sourceline
342 PyObject *category, PyObject *sourceline) in show_warning() argument
377 if (sourceline) { in show_warning()
384 if (PyUnicode_READY(sourceline) < 1) in show_warning()
387 kind = PyUnicode_KIND(sourceline); in show_warning()
388 data = PyUnicode_DATA(sourceline); in show_warning()
389 len = PyUnicode_GET_LENGTH(sourceline); in show_warning()
396 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
400 PyFile_WriteObject(sourceline, f_stderr, Py_PRINT_RAW); in show_warning()
416 PyObject *sourceline, PyObject *source) in call_show_warning() argument
429 show_warning(filename, lineno, text, category, sourceline); in call_show_warning()
473 PyObject *module, PyObject *registry, PyObject *sourceline, in warn_explicit() argument
592 lineno_obj, sourceline, source) < 0) in warn_explicit()