Lines Matching refs:decoding_state
74 tok->decoding_state = STATE_INIT; in tok_new()
235 assert(tok->decoding_state == STATE_RAW); in check_coding_spec()
242 tok->decoding_state = STATE_NORMAL; in check_coding_spec()
272 tok->decoding_state = STATE_RAW; in check_bom()
301 tok->decoding_state = STATE_NORMAL; in check_bom()
311 tok->decoding_state = STATE_NORMAL; in check_bom()
509 if (tok->decoding_state == STATE_NORMAL) { in decoding_fgets()
514 } else if (tok->decoding_state == STATE_RAW) { in decoding_fgets()
525 assert(tok->decoding_state != STATE_INIT); in decoding_fgets()
561 if (tok->decoding_state != STATE_NORMAL) { in decoding_feof()
756 tok->decoding_state = STATE_RAW; in PyTokenizer_FromUTF8()
799 tok->decoding_state = STATE_NORMAL; in PyTokenizer_FromFile()