Lines Matching refs:getstate
129 initial_state = encoder.getstate()
135 partial_state = encoder.getstate()
145 en_state = encoder.getstate()
148 jp_state = encoder.getstate()
164 self.assertEqual(buffer_state_encoder.getstate(), 0)
166 self.assertEqual(buffer_state_encoder.getstate(),
173 self.assertEqual(buffer_state_encoder.getstate(), 0)
177 self.assertEqual(non_buffer_state_encoder.getstate(),
183 self.assertEqual(non_buffer_state_encoder.getstate(),
278 pending1, _ = decoder.getstate()
283 pending2, flags2 = decoder.getstate()
288 pending3, _ = decoder.getstate()
294 pending4, _ = decoder.getstate()
299 self.assertEqual(decoder.getstate(), (b'abc', 123456789))