Searched refs:read_coding_spec (Results 1 – 4 of 4) sorted by relevance
45 int read_coding_spec; /* whether 'coding:...' has been read */ member
123 tok->read_coding_spec = 0; in tok_new()268 tok->read_coding_spec = 1; in check_coding_spec()280 tok->read_coding_spec = 1; in check_coding_spec()285 tok->read_coding_spec = 1; in check_coding_spec()531 if (line != NULL && tok->lineno < 2 && !tok->read_coding_spec) { in decoding_fgets()709 if (tok->enc == NULL && !tok->read_coding_spec && newl[1]) { in decode_str()
53 int read_coding_spec; /* whether 'coding:...' has been read */ member
76 tok->read_coding_spec = 0; in tok_new()214 tok->read_coding_spec = 1; in check_coding_spec()227 tok->read_coding_spec = 1; in check_coding_spec()233 tok->read_coding_spec = 1; in check_coding_spec()528 if (line != NULL && tok->lineno < 2 && !tok->read_coding_spec) { in decoding_fgets()705 if (tok->enc == NULL && !tok->read_coding_spec && newl[1]) { in decode_str()757 tok->read_coding_spec = 1; in PyTokenizer_FromUTF8()