Searched refs:must_decode (Results 1 – 13 of 13) sorted by relevance
91 from .._compat import must_decode93 self.assertTrue(must_decode(foo) is foo)96 from .._compat import must_decode99 self.assertTrue(must_decode(foo) is foo)102 from .._compat import must_decode104 self.assertEqual(must_decode(foo), foo.decode('utf-8'))107 from .._compat import must_decode109 self.assertEqual(must_decode(foo), foo.decode('latin1'))
10 from repoze.who._compat import must_decode38 auth = {'login': must_decode(login),39 'password': must_decode(password)}
7 from .distribution import must_decode60 fp = io.StringIO(must_decode(data))
4 from ._compat import must_decode125 fp = StringIO(must_decode(data))
23 def must_decode(value): #pragma NO COVER function
89 fp = io.StringIO(distribution.must_decode(data))
123 def must_decode(value): function
1750 int must_decode = descriptor && !( descriptor->props & AV_CODEC_PROP_INTRA_ONLY ); in producer_get_image() local1756 int preseek = must_decode && codec_context->has_b_frames && speed >= 0.0 && speed <= 1.0; in producer_get_image()1905 if ( must_decode || int_position >= req_position || !self->pkt.data ) in producer_get_image()
1743 int must_decode = descriptor && !( descriptor->props & AV_CODEC_PROP_INTRA_ONLY ); in producer_get_image() local1749 int preseek = must_decode && codec_context->has_b_frames && speed >= 0.0 && speed <= 1.0; in producer_get_image()1898 if ( must_decode || int_position >= req_position || !self->pkt.data ) in producer_get_image()