/external/python/cpython3/Lib/test/ |
test_cmd_line.py | 257 path = path.encode("ascii", "backslashreplace") 273 path = path.encode("ascii", "backslashreplace") 296 escaped = repr(text).encode(encoding, 'backslashreplace')
|
test_codecs.py | 362 self.assertEqual("[\uDC80]".encode(self.encoding, "backslashreplace"), 399 backslashreplace = ''.join('\\x%02x' % b 401 self.assertEqual(test_sequence.decode(self.encoding, "backslashreplace"), 402 before + backslashreplace + after) 805 (b'[\x80\xff]', 'backslashreplace', '[\\x80\\xff]'), [all...] |
/external/python/cpython3/Lib/pydoc_data/ |
topics.py | [all...] |
/external/python/cpython3/Objects/stringlib/ |
codecs.h | 351 p = backslashreplace(&writer, p,
|
/external/python/cpython2/Lib/pydoc_data/ |
topics.py | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/pydoc_data/ |
topics.py | [all...] |
/external/python/cpython3/Objects/ |
unicodeobject.c | 381 if (strcmp(errors, "backslashreplace") == 0) { 622 /* Implementation of the "backslashreplace" error handler for 8-bit encodings: 625 backslashreplace(_PyBytesWriter *writer, char *str, function [all...] |