Lines Matching refs:line_start
375 Py_ssize_t line_start = tok->start == NULL ? -1 : tok->line_start - tok->buf; in tok_reserve_buf() local
387 tok->line_start = line_start < 0 ? NULL : tok->buf + line_start; in tok_reserve_buf()
845 tok->line_start = tok->cur; in tok_underflow_string()
922 tok->line_start = tok->buf; in tok_underflow_interactive()
1055 tok->line_start = tok->cur; in tok_nextc()
1086 errtext = PyUnicode_DecodeUTF8(tok->line_start, tok->cur - tok->line_start, in _syntaxerror_range()
1099 Py_ssize_t line_len = strcspn(tok->line_start, "\n"); in _syntaxerror_range()
1100 if (line_len != tok->cur - tok->line_start) { in _syntaxerror_range()
1102 errtext = PyUnicode_DecodeUTF8(tok->line_start, line_len, in _syntaxerror_range()
1818 tok, (int)(tok->start + 1 - tok->line_start), in tok_get()
1819 (int)(zeros_end - tok->line_start), in tok_get()
1906 tok->multi_line_start = tok->line_start; in tok_get()
1933 tok->line_start = tok->multi_line_start; in tok_get()
2013 tok->parencolstack[tok->level] = (int)(tok->start - tok->line_start); in tok_get()