Home
last modified time | relevance | path

Searched refs:maketrans (Results 1 – 16 of 16) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_strop.py106 self.assertTrue(strop.maketrans("abc", "xyz") == transtable)
107 self.assertRaises(ValueError, strop.maketrans, "abc", "xyzq")
Dtest_string.py98 self.assertEqual(string.maketrans('abc', 'xyz'), transtable)
99 self.assertRaises(ValueError, string.maketrans, 'abc', 'xyzq')
Dstring_tests.py1244 string.maketrans('abc', 'xyz')
1246 self.assertRaises(ValueError, string.maketrans, 'abc', 'xyzw')
1249 table = string.maketrans('abc', 'xyz')
1252 table = string.maketrans('a', 'A')
Dtest_urllib2.py30 fname = fname.translate(string.maketrans("/.", "./"))
Dtest_bigmem.py438 trans = string.maketrans('.aZ', '-!$')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dstringold.py382 def maketrans(fromstr, tostr): function
429 from strop import maketrans, lowercase, uppercase, whitespace
Dstring.py61 def maketrans(fromstr, tostr): function
528 from strop import maketrans, lowercase, uppercase, whitespace
Dtextwrap.py74 whitespace_trans = string.maketrans(_whitespace, ' ' * len(_whitespace))
Dxmllib.py73 attrtrans = string.maketrans(' \r\n\t', ' ')
Durllib.py1609 table = string.maketrans("", "")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dfancy_getopt.py31 longopt_xlate = string.maketrans('-', '_')
408 WS_TRANS = string.maketrans(string.whitespace, ' ' * len(string.whitespace))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dstring.py61 def maketrans(fromstr, tostr): function
530 from strop import maketrans, lowercase, uppercase, whitespace
Dtextwrap.py82 whitespace_trans = string.maketrans(_whitespace, ' ' * len(_whitespace))
Dxmllib.py73 attrtrans = string.maketrans(' \r\n\t', ' ')
Dzipfile.py1063 table = string.maketrans(illegal, '_' * len(illegal))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dbuild_ext.py632 all_dots = string.maketrans('/'+os.sep, '..')