Home
last modified time | relevance | path

Searched refs:utf_8_encode (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/encodings/
Dutf_8.py13 encode = codecs.utf_8_encode
20 return codecs.utf_8_encode(input, self.errors)[0]
26 encode = codecs.utf_8_encode
Dutf_8_sig.py15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0],
35 codecs.utf_8_encode(input, self.errors)[0]
37 return codecs.utf_8_encode(input, self.errors)[0]
94 self.encode = codecs.utf_8_encode
/external/python/cpython2/Lib/encodings/
Dutf_8.py13 encode = codecs.utf_8_encode
20 return codecs.utf_8_encode(input, self.errors)[0]
26 encode = codecs.utf_8_encode
Dutf_8_sig.py15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input))
33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0]
35 return codecs.utf_8_encode(input, self.errors)[0]
81 self.encode = codecs.utf_8_encode
/external/python/cpython2/Modules/
D_codecsmodule.c685 utf_8_encode(PyObject *self, in utf_8_encode() function
1067 {"utf_8_encode", utf_8_encode, METH_VARARGS},