Lines Matching refs:decoding_state
140 tok->decoding_state = STATE_INIT; in tok_new()
317 assert(tok->decoding_state == STATE_RAW); in check_coding_spec()
324 tok->decoding_state = STATE_NORMAL; in check_coding_spec()
354 tok->decoding_state = STATE_RAW; in check_bom()
383 tok->decoding_state = STATE_NORMAL; in check_bom()
393 tok->decoding_state = STATE_NORMAL; in check_bom()
591 if (tok->decoding_state == STATE_NORMAL) { in decoding_fgets()
596 } else if (tok->decoding_state == STATE_RAW) { in decoding_fgets()
607 assert(tok->decoding_state != STATE_INIT); in decoding_fgets()
645 if (tok->decoding_state != STATE_NORMAL) { in decoding_feof()
836 tok->decoding_state = STATE_RAW; in PyTokenizer_FromUTF8()
879 tok->decoding_state = STATE_NORMAL; in PyTokenizer_FromFile()