Lines Matching refs:encoder
16 self.encoder = None
19 if self.encoder is None:
22 self.encoder = codecs.utf_32_le_encode
24 self.encoder = codecs.utf_32_be_encode
26 return self.encoder(input, self.errors)[0]
30 self.encoder = None
37 return (2 if self.encoder is None else 0)
41 self.encoder = None
44 self.encoder = codecs.utf_32_le_encode
46 self.encoder = codecs.utf_32_be_encode
101 self.encoder = None
106 self.encoder = None
109 if self.encoder is None:
112 self.encoder = codecs.utf_32_le_encode
114 self.encoder = codecs.utf_32_be_encode
117 return self.encoder(input, errors)