Home
last modified time | relevance | path

Searched refs:read_coding_spec (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Parser/
Dtokenizer.h45 int read_coding_spec; /* whether 'coding:...' has been read */ member
Dtokenizer.c123 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()
/external/python/cpython3/Parser/
Dtokenizer.h53 int read_coding_spec; /* whether 'coding:...' has been read */ member
Dtokenizer.c76 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()