Searched refs:encoding (Results 1 - 25 of 195) sorted by relevance

12345678

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_codecmaps_cn.py13 encoding = 'gb2312' variable in class:TestGB2312Map
18 encoding = 'gbk' variable in class:TestGBKMap
24 encoding = 'gb18030' variable in class:TestGB18030Map
H A Dtest_codecmaps_kr.py13 encoding = 'cp949' variable in class:TestCP949Map
20 encoding = 'euc_kr' variable in class:TestEUCKRMap
30 encoding = 'johab' variable in class:TestJOHABMap
H A Dtest_codecmaps_tw.py13 encoding = 'big5' variable in class:TestBIG5Map
19 encoding = 'cp950' variable in class:TestCP950Map
H A Dtest_codecmaps_jp.py13 encoding = 'cp932' variable in class:TestCP932Map
29 encoding = 'euc_jp' variable in class:TestEUCJPCOMPATMap
36 encoding = 'shift_jis' variable in class:TestSJISCOMPATMap
51 encoding = 'euc_jisx0213' variable in class:TestEUCJISX0213Map
58 encoding = 'shift_jisx0213' variable in class:TestSJISX0213Map
H A Dtest_codecmaps_hk.py13 encoding = 'big5hkscs' variable in class:TestBig5HKSCSMap
H A Dtest_codecencodings_jp.py4 # Codec encoding tests for Japanese encodings.
12 encoding = 'cp932' variable in class:Test_CP932
28 encoding = 'euc_jisx0213' variable in class:Test_EUC_JISX0213
58 encoding = 'euc_jp' variable in class:Test_EUC_JP_COMPAT
75 encoding = 'shift_jis' variable in class:Test_SJIS_COMPAT
83 encoding = 'shift_jisx0213' variable in class:Test_SJISX0213
H A Dtest_codecencodings_kr.py4 # Codec encoding tests for ROK encodings.
12 encoding = 'cp949' variable in class:Test_CP949
24 encoding = 'euc_kr' variable in class:Test_EUCKR
54 encoding = 'johab' variable in class:Test_JOHAB
H A Dtest_codecs.py28 # get a StreamReader for the encoding and feed the bytestring version
33 r = codecs.getreader(self.encoding)(q)
35 for (c, partialresult) in zip(input.encode(self.encoding), partialresults):
45 d = codecs.getincrementaldecoder(self.encoding)()
47 for (c, partialresult) in zip(input.encode(self.encoding), partialresults):
57 for (c, partialresult) in zip(input.encode(self.encoding), partialresults):
65 encoded = input.encode(self.encoding)
68 u"".join(codecs.iterdecode(encoded, self.encoding))
73 stream = StringIO.StringIO(input.encode(self.encoding))
74 return codecs.getreader(self.encoding)(strea
248 encoding = "utf-32" variable in class:UTF32Test
329 encoding = "utf-32-le" variable in class:UTF32LETest
369 encoding = "utf-32-be" variable in class:UTF32BETest
410 encoding = "utf-16" variable in class:UTF16Test
479 encoding = "utf-16-le" variable in class:UTF16LETest
500 encoding = "utf-16-be" variable in class:UTF16BETest
521 encoding = "utf-8" variable in class:UTF8Test
542 encoding = "utf-7" variable in class:UTF7Test
593 encoding = "utf-8-sig" variable in class:UTF8SigTest
[all...]
H A Dtest_codecencodings_cn.py4 # Codec encoding tests for PRC encodings.
12 encoding = 'gb2312' variable in class:Test_GB2312
25 encoding = 'gbk' variable in class:Test_GBK
39 encoding = 'gb18030' variable in class:Test_GB18030
54 encoding = 'hz' variable in class:Test_HZ
H A Dtest_codecencodings_hk.py4 # Codec encoding tests for HongKong encodings.
12 encoding = 'big5hkscs' variable in class:Test_Big5HKSCS
H A Dtest_codecencodings_tw.py4 # Codec encoding tests for ROC encodings.
12 encoding = 'big5' variable in class:Test_Big5
/device/linaro/bootloader/edk2/BaseTools/Tests/
H A DCheckUnicodeSourceFiles.py38 def EncodeToFile(self, encoding, string=None):
41 if encoding is not None:
42 data = codecs.encode(string, encoding)
49 def ErrorFailure(self, error, encoding, shouldPass):
54 msg += '%s data in a .uni file' % encoding
57 def UnicodeErrorFailure(self, encoding, shouldPass):
58 self.ErrorFailure('UnicodeError', encoding, shouldPass)
60 def EdkErrorFailure(self, encoding, shouldPass):
61 self.ErrorFailure('EdkLogger.FatalError', encoding, shouldPass)
63 def CheckFile(self, encoding, shouldPas
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/
H A D__init__.py31 Compact encoding::
75 Specializing JSON object encoding::
118 encoding='utf-8', variable
124 encoding='utf-8', default=None, sort_keys=False, **kw):
137 ``encoding`` parameter is used. Unless ``fp.write()`` explicitly
161 ``encoding`` is the character encoding for str instances, default is UTF-8.
178 encoding == 'utf-8' and default is None and not sort_keys and not kw):
185 separators=separators, encoding=encoding,
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/
H A D__init__.py31 Compact encoding::
75 Specializing JSON object encoding::
118 encoding='utf-8', variable
124 encoding='utf-8', default=None, **kw):
156 ``encoding`` is the character encoding for str instances, default is UTF-8.
170 encoding == 'utf-8' and default is None and not kw):
177 separators=separators, encoding=encoding,
187 encoding
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
H A DBra.h18 encoding - 0 (for decoding), 1 (for encoding)
53 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding);
54 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
55 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
56 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
57 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
58 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
H A DBra.h18 encoding - 0 (for decoding), 1 (for encoding)
53 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding);
54 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
55 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
56 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
57 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
58 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
H A DBra.h18 encoding - 0 (for decoding), 1 (for encoding)
53 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding);
54 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
55 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
56 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
57 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
58 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dcodecs.h32 Looks up the given encoding and returns a CodecInfo object with
34 processing the encoding.
36 The encoding string is looked up converted to all lower-case
49 const char *encoding
52 /* Generic codec based encoding API.
55 encoding using the error handling method defined by errors. errors
64 const char *encoding,
71 encoding using the error handling method defined by errors. errors
80 const char *encoding,
87 based on _PyCodec_Lookup(). The same comments w/r to the encoding
[all...]
H A Dstringobject.h106 const char *encoding, /* encoding */
116 const char *encoding, /* encoding */
125 const char *encoding, /* encoding */
133 back to a string using the default encoding.
139 const char *encoding, /* encoding */
148 const char *encoding, /* encodin
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dcodecs.h32 Looks up the given encoding and returns a CodecInfo object with
34 processing the encoding.
36 The encoding string is looked up converted to all lower-case
49 const char *encoding
52 /* Generic codec based encoding API.
55 encoding using the error handling method defined by errors. errors
64 const char *encoding,
71 encoding using the error handling method defined by errors. errors
80 const char *encoding,
87 based on _PyCodec_Lookup(). The same comments w/r to the encoding
[all...]
H A Dstringobject.h106 const char *encoding, /* encoding */
116 const char *encoding, /* encoding */
125 const char *encoding, /* encoding */
133 back to a string using the default encoding.
139 const char *encoding, /* encoding */
148 const char *encoding, /* encodin
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
H A D__init__.py3 Standard Python encoding modules are stored in this package
6 Codec modules must have names corresponding to normalized encoding
20 * getaliases() -> sequence of encoding name strings to use as aliases
22 Alias names returned by getaliases() must be normalized encoding
49 def normalize_encoding(encoding):
51 """ Normalize an encoding name.
58 Note that encoding names should be ASCII only; if they do use
64 if hasattr(__builtin__, "unicode") and isinstance(encoding, unicode):
68 encoding = encoding
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
H A D__init__.py3 Standard Python encoding modules are stored in this package
6 Codec modules must have names corresponding to normalized encoding
20 * getaliases() -> sequence of encoding name strings to use as aliases
22 Alias names returned by getaliases() must be normalized encoding
49 def normalize_encoding(encoding):
51 """ Normalize an encoding name.
58 Note that encoding names should be ASCII only; if they do use
64 if hasattr(__builtin__, "unicode") and isinstance(encoding, unicode):
68 encoding = encoding
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/
H A Dmakelocalealias.py34 # Normalize encoding, if given
36 lang, encoding = locale.split('.')[:2]
37 encoding = encoding.replace('-', '')
38 encoding = encoding.replace('_', '')
39 locale = lang + '.' + encoding
40 if encoding.lower() == 'utf8':
41 # Ignore UTF-8 mappings - this encoding should be
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dmimetools.py27 self.getheader('content-transfer-encoding')
157 def decode(input, output, encoding):
159 if encoding == 'base64':
162 if encoding == 'quoted-printable':
165 if encoding in ('uuencode', 'x-uuencode', 'uue', 'x-uue'):
168 if encoding in ('7bit', '8bit'):
170 if encoding in decodetab:
171 pipethrough(input, decodetab[encoding], output)
174 'unknown Content-Transfer-Encoding: %s' % encoding
176 def encode(input, output, encoding)
[all...]

Completed in 332 milliseconds

12345678