Lines Matching refs:start

62     tok->start = NULL;
115 tok->start = NULL;
360 Py_ssize_t start = tok->start == NULL ? -1 : tok->start - tok->buf;
361 Py_ssize_t line_start = tok->start == NULL ? -1 : tok->line_start - tok->buf;
372 tok->start = start < 0 ? NULL : tok->buf + start;
497 /* Check whether the characters at s start a valid
549 /* invalid start byte */
870 if (tok->start == NULL) {
930 else if (tok->start != NULL) {
965 if (tok->start == NULL) {
1323 s = PyUnicode_DecodeUTF8(tok->start, tok->cur - tok->start, NULL);
1352 tok->cur = (char *)tok->start + PyBytes_GET_SIZE(s);
1420 tok->start = NULL;
1519 tok->start = tok->cur;
1540 * a TYPE_COMMENT at the start of a function won't set an
1559 tok->start = NULL;
1565 /* Set start of current token */
1566 tok->start = tok->cur == NULL ? NULL : tok->cur - 1;
1577 p = tok->start;
1679 *p_start = tok->start;
1683 if (tok->cur - tok->start == 5 && tok->start[0] == 'a') {
1694 if (memcmp(tok->start, "async", 5) == 0) {
1697 if (memcmp(tok->start, "await", 5) == 0) {
1701 else if (memcmp(tok->start, "async", 5) == 0) {
1715 && ahead_tok.cur - ahead_tok.start == 3
1716 && memcmp(ahead_tok.start, "def", 3) == 0)
1736 *p_start = tok->start;
1755 *p_start = tok->start;
1767 *p_start = tok->start;
1893 tok, (int)(tok->start + 1 - tok->line_start),
1941 *p_start = tok->start;
1964 *p_start = tok->start;
1983 /* Find the quote size and start of string */
2010 // the start of string, and report the error
2012 tok->cur = (char *)tok->start;
2015 int start = tok->lineno;
2019 " (detected at line %d)", start);
2027 " line %d)", start);
2045 *p_start = tok->start;
2072 *p_start = tok->start;
2089 tok->parencolstack[tok->level] = (int)(tok->start - tok->line_start);
2127 *p_start = tok->start;
2236 tok_dump(int type, char *start, char *end)
2240 fprintf(stderr, "(%.*s)", (int)(end - start), start);