Searched refs:maketrans (Results 1 – 23 of 23) sorted by relevance
/external/python/cpython2/Lib/ |
D | base64.py | 56 return encoded.translate(string.maketrans(b'+/', altchars[:2])) 73 s = s.translate(string.maketrans(altchars[:2], '+/')) 98 _urlsafe_encode_translation = string.maketrans(b'+/', b'-_') 99 _urlsafe_decode_translation = string.maketrans(b'-_', b'+/') 210 s = s.translate(string.maketrans(b'01', b'O' + map01))
|
D | stringold.py | 382 def maketrans(fromstr, tostr): function 429 from strop import maketrans, lowercase, uppercase, whitespace
|
D | string.py | 61 def maketrans(fromstr, tostr): function 530 from strop import maketrans, lowercase, uppercase, whitespace
|
D | textwrap.py | 82 whitespace_trans = string.maketrans(_whitespace, ' ' * len(_whitespace))
|
D | xmllib.py | 73 attrtrans = string.maketrans(' \r\n\t', ' ')
|
D | zipfile.py | 1066 table = string.maketrans(illegal, '_' * len(illegal))
|
/external/python/cpython2/Lib/test/ |
D | test_strop.py | 107 self.assertTrue(strop.maketrans("abc", "xyz") == transtable) 108 self.assertRaises(ValueError, strop.maketrans, "abc", "xyzq")
|
D | test_string.py | 95 self.assertEqual(string.maketrans('abc', 'xyz'), transtable) 96 self.assertRaises(ValueError, string.maketrans, 'abc', 'xyzq')
|
D | string_tests.py | 1322 string.maketrans('abc', 'xyz') 1324 self.assertRaises(ValueError, string.maketrans, 'abc', 'xyzw') 1327 table = string.maketrans('abc', 'xyz') 1330 table = string.maketrans('a', 'A')
|
D | test_urllib2.py | 37 fname = fname.translate(string.maketrans("/.", "./"))
|
D | test_bigmem.py | 431 trans = string.maketrans('.aZ', '-!$')
|
/external/python/cpython2/Lib/plat-riscos/ |
D | rourl2path.py | 10 __slash_dot = string.maketrans("/.", "./")
|
/external/python/cpython2/Lib/distutils/ |
D | fancy_getopt.py | 31 longopt_xlate = string.maketrans('-', '_') 408 WS_TRANS = string.maketrans(string.whitespace, ' ' * len(string.whitespace))
|
/external/autotest/client/site_tests/graphics_GLMark2/ |
D | graphics_GLMark2.py | 29 description_table = string.maketrans(':,=;', '.-__')
|
/external/webrtc/tools/sslroots/ |
D | generate_sslroots.py | 181 translation_table = string.maketrans(bad_chars, replacement_chars)
|
/external/devlib/devlib/utils/ |
D | misc.py | 489 TRANS_TABLE = string.maketrans(BAD_CHARS, '_' * len(BAD_CHARS))
|
/external/python/cpython2/Lib/distutils/command/ |
D | build_ext.py | 632 all_dots = string.maketrans('/'+os.sep, '..')
|
/external/autotest/client/bin/ |
D | partition.py | 790 return names.translate(string.maketrans('[]', ' ')).split()
|
/external/chromium-trace/catapult/third_party/zipfile/ |
D | zipfile_2_7_13.py | 1066 table = string.maketrans(illegal, '_' * len(illegal))
|
/external/autotest/site_utils/rpm_control_system/ |
D | BeautifulSoup.py | 1973 c.EBCDIC_TO_ASCII_MAP = string.maketrans( \
|
/external/python/cpython2/Doc/library/ |
D | string.rst | 784 .. function:: maketrans(from, to)
|
D | stdtypes.rst | 1355 You can use the :func:`~string.maketrans` helper function in the :mod:`string`
|
/external/python/cpython2/Misc/ |
D | HISTORY | 13799 - The string.maketrans() requires its first two arguments to be 14691 characters to delete. New function string.maketrans() creates a
|