HomeSort by relevance Sort by last modified time
    Searched full:codecs (Results 1 - 25 of 1039) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/
utf_16_be.py 9 import codecs namespace
13 encode = codecs.utf_16_be_encode
16 return codecs.utf_16_be_decode(input, errors, True)
18 class IncrementalEncoder(codecs.IncrementalEncoder):
20 return codecs.utf_16_be_encode(input, self.errors)[0]
22 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
23 _buffer_decode = codecs.utf_16_be_decode
25 class StreamWriter(codecs.StreamWriter):
26 encode = codecs.utf_16_be_encode
28 class StreamReader(codecs.StreamReader)
    [all...]
utf_16_le.py 9 import codecs namespace
13 encode = codecs.utf_16_le_encode
16 return codecs.utf_16_le_decode(input, errors, True)
18 class IncrementalEncoder(codecs.IncrementalEncoder):
20 return codecs.utf_16_le_encode(input, self.errors)[0]
22 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
23 _buffer_decode = codecs.utf_16_le_decode
25 class StreamWriter(codecs.StreamWriter):
26 encode = codecs.utf_16_le_encode
28 class StreamReader(codecs.StreamReader)
    [all...]
utf_32_be.py 4 import codecs namespace
8 encode = codecs.utf_32_be_encode
11 return codecs.utf_32_be_decode(input, errors, True)
13 class IncrementalEncoder(codecs.IncrementalEncoder):
15 return codecs.utf_32_be_encode(input, self.errors)[0]
17 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
18 _buffer_decode = codecs.utf_32_be_decode
20 class StreamWriter(codecs.StreamWriter):
21 encode = codecs.utf_32_be_encode
23 class StreamReader(codecs.StreamReader)
    [all...]
utf_32_le.py 4 import codecs namespace
8 encode = codecs.utf_32_le_encode
11 return codecs.utf_32_le_decode(input, errors, True)
13 class IncrementalEncoder(codecs.IncrementalEncoder):
15 return codecs.utf_32_le_encode(input, self.errors)[0]
17 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
18 _buffer_decode = codecs.utf_32_le_decode
20 class StreamWriter(codecs.StreamWriter):
21 encode = codecs.utf_32_le_encode
23 class StreamReader(codecs.StreamReader)
    [all...]
utf_7.py 5 import codecs namespace
9 encode = codecs.utf_7_encode
12 return codecs.utf_7_decode(input, errors, True)
14 class IncrementalEncoder(codecs.IncrementalEncoder):
16 return codecs.utf_7_encode(input, self.errors)[0]
18 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
19 _buffer_decode = codecs.utf_7_decode
21 class StreamWriter(codecs.StreamWriter):
22 encode = codecs.utf_7_encode
24 class StreamReader(codecs.StreamReader)
    [all...]
utf_8.py 9 import codecs namespace
13 encode = codecs.utf_8_encode
16 return codecs.utf_8_decode(input, errors, True)
18 class IncrementalEncoder(codecs.IncrementalEncoder):
20 return codecs.utf_8_encode(input, self.errors)[0]
22 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
23 _buffer_decode = codecs.utf_8_decode
25 class StreamWriter(codecs.StreamWriter):
26 encode = codecs.utf_8_encode
28 class StreamReader(codecs.StreamReader)
    [all...]
string_escape.py 8 import codecs namespace
10 class Codec(codecs.Codec):
12 encode = codecs.escape_encode
13 decode = codecs.escape_decode
15 class IncrementalEncoder(codecs.IncrementalEncoder):
17 return codecs.escape_encode(input, self.errors)[0]
19 class IncrementalDecoder(codecs.IncrementalDecoder):
21 return codecs.escape_decode(input, self.errors)[0]
23 class StreamWriter(Codec,codecs.StreamWriter):
26 class StreamReader(Codec,codecs.StreamReader)
    [all...]
ascii.py 9 import codecs namespace
13 class Codec(codecs.Codec):
17 encode = codecs.ascii_encode
18 decode = codecs.ascii_decode
20 class IncrementalEncoder(codecs.IncrementalEncoder):
22 return codecs.ascii_encode(input, self.errors)[0]
24 class IncrementalDecoder(codecs.IncrementalDecoder):
26 return codecs.ascii_decode(input, self.errors)[0]
28 class StreamWriter(Codec,codecs.StreamWriter):
31 class StreamReader(Codec,codecs.StreamReader)
    [all...]
latin_1.py 9 import codecs namespace
13 class Codec(codecs.Codec):
17 encode = codecs.latin_1_encode
18 decode = codecs.latin_1_decode
20 class IncrementalEncoder(codecs.IncrementalEncoder):
22 return codecs.latin_1_encode(input,self.errors)[0]
24 class IncrementalDecoder(codecs.IncrementalDecoder):
26 return codecs.latin_1_decode(input,self.errors)[0]
28 class StreamWriter(Codec,codecs.StreamWriter):
31 class StreamReader(Codec,codecs.StreamReader)
    [all...]
utf_8_sig.py 10 import codecs namespace
15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input))
19 if input[:3] == codecs.BOM_UTF8:
22 (output, consumed) = codecs.utf_8_decode(input, errors, True)
25 class IncrementalEncoder(codecs.IncrementalEncoder):
27 codecs.IncrementalEncoder.__init__(self, errors)
33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0]
35 return codecs.utf_8_encode(input, self.errors)[0
    [all...]
charmap.py 13 import codecs namespace
17 class Codec(codecs.Codec):
21 encode = codecs.charmap_encode
22 decode = codecs.charmap_decode
24 class IncrementalEncoder(codecs.IncrementalEncoder):
26 codecs.IncrementalEncoder.__init__(self, errors)
30 return codecs.charmap_encode(input, self.errors, self.mapping)[0]
32 class IncrementalDecoder(codecs.IncrementalDecoder):
34 codecs.IncrementalDecoder.__init__(self, errors)
38 return codecs.charmap_decode(input, self.errors, self.mapping)[0
    [all...]
utf_16.py 9 import codecs, sys namespace
13 encode = codecs.utf_16_encode
16 return codecs.utf_16_decode(input, errors, True)
18 class IncrementalEncoder(codecs.IncrementalEncoder):
20 codecs.IncrementalEncoder.__init__(self, errors)
25 result = codecs.utf_16_encode(input, self.errors)[0]
27 self.encoder = codecs.utf_16_le_encode
29 self.encoder = codecs.utf_16_be_encode
34 codecs.IncrementalEncoder.reset(self)
49 self.encoder = codecs.utf_16_le_encod
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/
utf_16_be.py 9 import codecs namespace
13 encode = codecs.utf_16_be_encode
16 return codecs.utf_16_be_decode(input, errors, True)
18 class IncrementalEncoder(codecs.IncrementalEncoder):
20 return codecs.utf_16_be_encode(input, self.errors)[0]
22 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
23 _buffer_decode = codecs.utf_16_be_decode
25 class StreamWriter(codecs.StreamWriter):
26 encode = codecs.utf_16_be_encode
28 class StreamReader(codecs.StreamReader)
    [all...]
utf_16_le.py 9 import codecs namespace
13 encode = codecs.utf_16_le_encode
16 return codecs.utf_16_le_decode(input, errors, True)
18 class IncrementalEncoder(codecs.IncrementalEncoder):
20 return codecs.utf_16_le_encode(input, self.errors)[0]
22 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
23 _buffer_decode = codecs.utf_16_le_decode
25 class StreamWriter(codecs.StreamWriter):
26 encode = codecs.utf_16_le_encode
28 class StreamReader(codecs.StreamReader)
    [all...]
utf_32_be.py 4 import codecs namespace
8 encode = codecs.utf_32_be_encode
11 return codecs.utf_32_be_decode(input, errors, True)
13 class IncrementalEncoder(codecs.IncrementalEncoder):
15 return codecs.utf_32_be_encode(input, self.errors)[0]
17 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
18 _buffer_decode = codecs.utf_32_be_decode
20 class StreamWriter(codecs.StreamWriter):
21 encode = codecs.utf_32_be_encode
23 class StreamReader(codecs.StreamReader)
    [all...]
utf_32_le.py 4 import codecs namespace
8 encode = codecs.utf_32_le_encode
11 return codecs.utf_32_le_decode(input, errors, True)
13 class IncrementalEncoder(codecs.IncrementalEncoder):
15 return codecs.utf_32_le_encode(input, self.errors)[0]
17 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
18 _buffer_decode = codecs.utf_32_le_decode
20 class StreamWriter(codecs.StreamWriter):
21 encode = codecs.utf_32_le_encode
23 class StreamReader(codecs.StreamReader)
    [all...]
utf_7.py 5 import codecs namespace
9 encode = codecs.utf_7_encode
12 return codecs.utf_7_decode(input, errors, True)
14 class IncrementalEncoder(codecs.IncrementalEncoder):
16 return codecs.utf_7_encode(input, self.errors)[0]
18 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
19 _buffer_decode = codecs.utf_7_decode
21 class StreamWriter(codecs.StreamWriter):
22 encode = codecs.utf_7_encode
24 class StreamReader(codecs.StreamReader)
    [all...]
utf_8.py 9 import codecs namespace
13 encode = codecs.utf_8_encode
16 return codecs.utf_8_decode(input, errors, True)
18 class IncrementalEncoder(codecs.IncrementalEncoder):
20 return codecs.utf_8_encode(input, self.errors)[0]
22 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
23 _buffer_decode = codecs.utf_8_decode
25 class StreamWriter(codecs.StreamWriter):
26 encode = codecs.utf_8_encode
28 class StreamReader(codecs.StreamReader)
    [all...]
string_escape.py 8 import codecs namespace
10 class Codec(codecs.Codec):
12 encode = codecs.escape_encode
13 decode = codecs.escape_decode
15 class IncrementalEncoder(codecs.IncrementalEncoder):
17 return codecs.escape_encode(input, self.errors)[0]
19 class IncrementalDecoder(codecs.IncrementalDecoder):
21 return codecs.escape_decode(input, self.errors)[0]
23 class StreamWriter(Codec,codecs.StreamWriter):
26 class StreamReader(Codec,codecs.StreamReader)
    [all...]
ascii.py 9 import codecs namespace
13 class Codec(codecs.Codec):
17 encode = codecs.ascii_encode
18 decode = codecs.ascii_decode
20 class IncrementalEncoder(codecs.IncrementalEncoder):
22 return codecs.ascii_encode(input, self.errors)[0]
24 class IncrementalDecoder(codecs.IncrementalDecoder):
26 return codecs.ascii_decode(input, self.errors)[0]
28 class StreamWriter(Codec,codecs.StreamWriter):
31 class StreamReader(Codec,codecs.StreamReader)
    [all...]
latin_1.py 9 import codecs namespace
13 class Codec(codecs.Codec):
17 encode = codecs.latin_1_encode
18 decode = codecs.latin_1_decode
20 class IncrementalEncoder(codecs.IncrementalEncoder):
22 return codecs.latin_1_encode(input,self.errors)[0]
24 class IncrementalDecoder(codecs.IncrementalDecoder):
26 return codecs.latin_1_decode(input,self.errors)[0]
28 class StreamWriter(Codec,codecs.StreamWriter):
31 class StreamReader(Codec,codecs.StreamReader)
    [all...]
utf_8_sig.py 10 import codecs namespace
15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input))
19 if input[:3] == codecs.BOM_UTF8:
22 (output, consumed) = codecs.utf_8_decode(input, errors, True)
25 class IncrementalEncoder(codecs.IncrementalEncoder):
27 codecs.IncrementalEncoder.__init__(self, errors)
33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0]
35 return codecs.utf_8_encode(input, self.errors)[0
    [all...]
charmap.py 13 import codecs namespace
17 class Codec(codecs.Codec):
21 encode = codecs.charmap_encode
22 decode = codecs.charmap_decode
24 class IncrementalEncoder(codecs.IncrementalEncoder):
26 codecs.IncrementalEncoder.__init__(self, errors)
30 return codecs.charmap_encode(input, self.errors, self.mapping)[0]
32 class IncrementalDecoder(codecs.IncrementalDecoder):
34 codecs.IncrementalDecoder.__init__(self, errors)
38 return codecs.charmap_decode(input, self.errors, self.mapping)[0
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
testcodec.py 1 """ Test Codecs (used by test_charmapcodec)
8 import codecs namespace
12 class Codec(codecs.Codec):
16 return codecs.charmap_encode(input,errors,encoding_map)
20 return codecs.charmap_decode(input,errors,decoding_map)
22 class StreamWriter(Codec,codecs.StreamWriter):
25 class StreamReader(Codec,codecs.StreamReader):
36 decoding_map = codecs.make_identity_dict(range(256))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
testcodec.py 1 """ Test Codecs (used by test_charmapcodec)
8 import codecs namespace
12 class Codec(codecs.Codec):
16 return codecs.charmap_encode(input,errors,encoding_map)
20 return codecs.charmap_decode(input,errors,decoding_map)
22 class StreamWriter(Codec,codecs.StreamWriter):
25 class StreamReader(Codec,codecs.StreamReader):
36 decoding_map = codecs.make_identity_dict(range(256))

Completed in 103 milliseconds

1 2 3 4 5 6 7 8 91011>>