HomeSort by relevance Sort by last modified time
    Searched refs:codecname (Results 1 - 6 of 6) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_charmapcodec.py 26 codecname = 'testcodec' variable
30 self.assertEqual(unicode('abc', codecname), u'abc')
31 self.assertEqual(unicode('xdef', codecname), u'abcdef')
32 self.assertEqual(unicode('defx', codecname), u'defabc')
33 self.assertEqual(unicode('dxf', codecname), u'dabcf')
34 self.assertEqual(unicode('dxfx', codecname), u'dabcfabc')
37 self.assertEqual(u'abc'.encode(codecname), 'abc')
38 self.assertEqual(u'xdef'.encode(codecname), 'abcdef')
39 self.assertEqual(u'defx'.encode(codecname), 'defabc')
40 self.assertEqual(u'dxf'.encode(codecname), 'dabcf')
    [all...]
  /external/python/cpython2/Lib/test/
test_charmapcodec.py 26 codecname = 'testcodec' variable
30 self.assertEqual(unicode('abc', codecname), u'abc')
31 self.assertEqual(unicode('xdef', codecname), u'abcdef')
32 self.assertEqual(unicode('defx', codecname), u'defabc')
33 self.assertEqual(unicode('dxf', codecname), u'dabcf')
34 self.assertEqual(unicode('dxfx', codecname), u'dabcfabc')
37 self.assertEqual(u'abc'.encode(codecname), 'abc')
38 self.assertEqual(u'xdef'.encode(codecname), 'abcdef')
39 self.assertEqual(u'defx'.encode(codecname), 'defabc')
40 self.assertEqual(u'dxf'.encode(codecname), 'dabcf'
    [all...]
  /external/python/cpython3/Lib/test/
test_charmapcodec.py 26 codecname = 'testcodec' variable
30 self.assertEqual(str(b'abc', codecname), 'abc')
31 self.assertEqual(str(b'xdef', codecname), 'abcdef')
32 self.assertEqual(str(b'defx', codecname), 'defabc')
33 self.assertEqual(str(b'dxf', codecname), 'dabcf')
34 self.assertEqual(str(b'dxfx', codecname), 'dabcfabc')
37 self.assertEqual('abc'.encode(codecname), b'abc')
38 self.assertEqual('xdef'.encode(codecname), b'abcdef')
39 self.assertEqual('defx'.encode(codecname), b'defabc')
40 self.assertEqual('dxf'.encode(codecname), b'dabcf'
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
charset.py 130 the module's charset-to-codec mapping; use add_codec(charset, codecname)
148 def add_codec(charset, codecname):
151 charset is the canonical name of a character set. codecname is the name
155 CODEC_MAP[charset] = codecname
  /external/python/cpython2/Lib/email/
charset.py 130 the module's charset-to-codec mapping; use add_codec(charset, codecname)
148 def add_codec(charset, codecname):
151 charset is the canonical name of a character set. codecname is the name
155 CODEC_MAP[charset] = codecname
  /external/python/cpython3/Lib/email/
charset.py 131 the module's charset-to-codec mapping; use add_codec(charset, codecname)
149 def add_codec(charset, codecname):
152 charset is the canonical name of a character set. codecname is the name
156 CODEC_MAP[charset] = codecname

Completed in 588 milliseconds