Home
last modified time | relevance | path

Searched refs:translate (Results 1 – 25 of 72) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dfnmatch.py51 res = translate(pat)
75 res = translate(pat)
81 def translate(pat): function
DCookie.py316 idmap=_idmap, translate=string.translate): argument
323 if "" == translate(str, idmap, LegalChars):
454 idmap=_idmap, translate=string.translate): argument
459 if "" != translate(key, idmap, LegalChars):
Dhmac.py72 self.outer.update(key.translate(trans_5C))
73 self.inner.update(key.translate(trans_36))
Dstringold.py347 def translate(s, table, deletions=""): function
356 return s.translate(table, deletions)
Dstring.py482 def translate(s, table, deletions=""): function
493 return s.translate(table, deletions)
498 return s.translate(table + s[:0])
Dtextwrap.py149 text = text.translate(self.whitespace_trans)
151 text = text.translate(self.unicode_whitespace_trans)
DUserString.py128 def translate(self, *args): member in UserString
129 return self.__class__(self.data.translate(*args))
Dbase64.py36 return s.translate(''.join(translation))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dfnmatch.py53 res = translate(pat)
79 res = translate(pat)
85 def translate(pat): function
Dhashlib.py185 inner.update(password.translate(_trans_36))
186 outer.update(password.translate(_trans_5C))
Dstring.py484 def translate(s, table, deletions=""): function
495 return s.translate(table, deletions)
500 return s.translate(table + s[:0])
Dtextwrap.py157 text = text.translate(self.whitespace_trans)
159 text = text.translate(self.unicode_whitespace_trans)
Dlocale.py382 code = localename.translate(_ascii_lower_map)
417 if code.split('@', 1)[1].translate(_ascii_lower_map) == modifier:
442 if defmod.translate(_ascii_lower_map) == modifier:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dfancy_getopt.py117 return string.translate(long_option, longopt_xlate)
423 text = string.translate(text, WS_TRANS)
473 return string.translate(opt, longopt_xlate)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
D__init__.py69 return '_'.join(encoding.translate(_norm_encoding_map).split())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
D__init__.py69 return '_'.join(encoding.translate(_norm_encoding_map).split())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_codeccallbacks.py784 self.assertRaises(ValueError, u"\xff".translate, D())
785 self.assertRaises(TypeError, u"\xff".translate, {0xff: sys.maxunicode+1})
786 self.assertRaises(TypeError, u"\xff".translate, {0xff: ()})
798 text.translate(charmap)
Dtest_strop.py110 self.assertTrue(strop.translate("xyzabcdef", transtable, "def")
Dtest_bytes.py801 self.assertFalse(x is x.translate(t))
947 c = b.translate(rosetta, b'l')
950 c = ba.translate(rosetta, b'l')
953 c = b.translate(None, b'e')
955 c = ba.translate(None, b'e')
957 self.assertRaises(TypeError, b.translate, None, None)
958 self.assertRaises(TypeError, ba.translate, None, None)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgetaddrinfo.c70 static int translate = NO; variable
256 translate = YES; in getaddrinfo()
606 if (translate && gai_afd->a_af == AF_INET) {
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/
DPiSmbiosRecordOnDataHubSmbiosRecordThunk.inf4 # translate the datahub's record to SMBIOS record.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dinstall.py391 opt_name = string.translate(self.negative_opt[opt_name],
395 opt_name = string.translate(opt_name, longopt_xlate)
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PCD/Dxe/
DPcdDxe.uni45 // In building platform, build tools will translate PcdSampleDynamicPcd to
161 // To fast searching a PCD entry in PCD database, PCD driver translate
163 // For binary DynamicEx type PCD, there is a another mapping table to translate
194 // - ExMapTable: This table is used translate a binary dynamicex type PCD's
DPcd.inf45 # In building platform, build tools will translate PcdSampleDynamicPcd to
161 # To fast searching a PCD entry in PCD database, PCD driver translate
163 # For binary DynamicEx type PCD, there is a another mapping table to translate
194 # - ExMapTable: This table is used translate a binary dynamicex type PCD's
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PCD/Pei/
DPcdPeim.uni44 // In building platform, build tools will translate PcdSampleDynamicPcd to
160 // To fast searching a PCD entry in PCD database, PCD driver translate
162 // For binary DynamicEx type PCD, there is a another mapping table to translate
193 // - ExMapTable: This table is used translate a binary dynamicex type PCD's

123