Lines Matching refs:input
12 def quopri_encode(input, errors='strict'):
13 """Encode the input, returning a tuple (output object, length consumed).
22 f = StringIO(str(input))
26 return (output, len(input))
28 def quopri_decode(input, errors='strict'):
29 """Decode the input, returning a tuple (output object, length consumed).
37 f = StringIO(str(input))
41 return (output, len(input))
45 def encode(self, input,errors='strict'):
46 return quopri_encode(input,errors)
47 def decode(self, input,errors='strict'):
48 return quopri_decode(input,errors)
51 def encode(self, input, final=False):
52 return quopri_encode(input, self.errors)[0]
55 def decode(self, input, final=False):
56 return quopri_decode(input, self.errors)[0]