Searched refs:next_newline (Results 1 – 2 of 2) sorted by relevance
257 char *next_newline; in get_error_line_from_tokenizer_buffers() local258 if ((next_newline = strchr(cur_line, '\n')) == NULL) { // This is the last line in get_error_line_from_tokenizer_buffers()259 next_newline = cur_line + strlen(cur_line); in get_error_line_from_tokenizer_buffers()261 return PyUnicode_DecodeUTF8(cur_line, next_newline - cur_line, "replace"); in get_error_line_from_tokenizer_buffers()
444 char *next_newline; in get_error_line() local445 if ((next_newline = strchr(cur_line, '\n')) == NULL) { // This is the last line in get_error_line()446 next_newline = cur_line + strlen(cur_line); in get_error_line()448 return PyUnicode_DecodeUTF8(cur_line, next_newline - cur_line, "replace"); in get_error_line()