Lines Matching defs:line
422 int *truncation, PyObject **line)
502 /* get the line number lineno */
524 if (line) {
526 *line = lineobj;
529 /* remove the indentation of the line */
556 /* Write some spaces before the line */
561 /* finally display the line */
579 int *truncation, PyObject **line)
582 NULL, truncation, line);
587 * When displaying a new traceback line, for certain syntactical constructs
593 * File "/home/isidentical/cpython/cpython/t.py", line 10, in <module>
595 * File "/home/isidentical/cpython/cpython/t.py", line 2, in add_values
660 extract_anchors_from_line(PyObject *filename, PyObject *line,
667 PyObject *segment = PyUnicode_Substring(line, start_offset, end_offset);
709 // start of the actual line (instead of the source code segment).
772 PyObject *line = PyUnicode_FromFormat(" File \"%U\", line %d, in %U\n",
774 if (line == NULL) {
778 int res = PyFile_WriteObject(line, f, Py_PRINT_RAW);
779 Py_DECREF(line);
832 // spans the whole line.
863 // If this is a multi-line expression, then we will highlight until
880 // Elide indicators if primary char spans the frame line
910 PyObject *line = PyUnicode_FromFormat(
912 ? " [Previous line repeated %ld more times]\n"
913 : " [Previous line repeated %ld more time]\n",
915 if (line == NULL) {
918 int err = PyFile_WriteObject(line, f, Py_PRINT_RAW);
919 Py_DECREF(line);
1180 /* Write a frame into the file fd: "File "xxx", line xxx in xxx".
1200 PUTS(fd, ", line ");