Lines Matching refs:input
15 def decode(input, errors='strict'):
16 return codecs.utf_16_decode(input, errors, True)
23 def encode(self, input, final=False):
25 result = codecs.utf_16_encode(input, self.errors)[0]
31 return self.encoder(input, self.errors)[0]
58 def _buffer_decode(self, input, errors, final):
61 codecs.utf_16_ex_decode(input, errors, 0, final)
69 return self.decoder(input, self.errors, final)
113 def encode(self, input, errors='strict'):
115 result = codecs.utf_16_encode(input, errors)
122 return self.encoder(input, errors)
133 def decode(self, input, errors='strict'):
135 codecs.utf_16_ex_decode(input, errors, 0, False)