/external/webrtc/webrtc/modules/audio_coding/ |
D | BUILD.gn | 135 "codecs/audio_decoder.cc", 136 "codecs/audio_decoder.h", 147 "codecs/audio_encoder.cc", 148 "codecs/audio_encoder.h", 160 "codecs/cng/include", 166 "codecs/cng/audio_encoder_cng.cc", 167 "codecs/cng/audio_encoder_cng.h", 168 "codecs/cng/cng_helpfuns.c", 169 "codecs/cng/cng_helpfuns.h", 170 "codecs/cng/webrtc_cng.c", [all …]
|
/external/python/cpython3/Lib/encodings/ |
D | utf_32.py | 4 import codecs, sys 8 encode = codecs.utf_32_encode 11 return codecs.utf_32_decode(input, errors, True) 13 class IncrementalEncoder(codecs.IncrementalEncoder): 15 codecs.IncrementalEncoder.__init__(self, errors) 20 result = codecs.utf_32_encode(input, self.errors)[0] 22 self.encoder = codecs.utf_32_le_encode 24 self.encoder = codecs.utf_32_be_encode 29 codecs.IncrementalEncoder.reset(self) 44 self.encoder = codecs.utf_32_le_encode [all …]
|
D | utf_16.py | 9 import codecs, sys 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_encode [all …]
|
D | utf_8_sig.py | 10 import codecs 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], 20 if input[:3] == codecs.BOM_UTF8: 23 (output, consumed) = codecs.utf_8_decode(input, errors, True) 26 class IncrementalEncoder(codecs.IncrementalEncoder): 28 codecs.IncrementalEncoder.__init__(self, errors) 34 return codecs.BOM_UTF8 + \ 35 codecs.utf_8_encode(input, self.errors)[0] 37 return codecs.utf_8_encode(input, self.errors)[0] 40 codecs.IncrementalEncoder.reset(self) [all …]
|
D | ascii.py | 9 import codecs 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 …]
|
D | latin_1.py | 9 import codecs 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 …]
|
D | charmap.py | 13 import codecs 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 …]
|
D | utf_32_be.py | 4 import codecs 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 …]
|
/external/python/cpython2/Lib/encodings/ |
D | utf_32.py | 4 import codecs, sys 8 encode = codecs.utf_32_encode 11 return codecs.utf_32_decode(input, errors, True) 13 class IncrementalEncoder(codecs.IncrementalEncoder): 15 codecs.IncrementalEncoder.__init__(self, errors) 20 result = codecs.utf_32_encode(input, self.errors)[0] 22 self.encoder = codecs.utf_32_le_encode 24 self.encoder = codecs.utf_32_be_encode 29 codecs.IncrementalEncoder.reset(self) 44 self.encoder = codecs.utf_32_le_encode [all …]
|
D | utf_8_sig.py | 10 import codecs 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] 38 codecs.IncrementalEncoder.reset(self) 47 class IncrementalDecoder(codecs.BufferedIncrementalDecoder): [all …]
|
D | utf_16.py | 9 import codecs, sys 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_encode [all …]
|
D | ascii.py | 9 import codecs 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 …]
|
D | latin_1.py | 9 import codecs 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 …]
|
D | charmap.py | 13 import codecs 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 …]
|
D | palmos.py | 7 import codecs 11 class Codec(codecs.Codec): 13 return codecs.charmap_encode(input,errors,encoding_map) 16 return codecs.charmap_decode(input,errors,decoding_map) 18 class IncrementalEncoder(codecs.IncrementalEncoder): 20 return codecs.charmap_encode(input,self.errors,encoding_map)[0] 22 class IncrementalDecoder(codecs.IncrementalDecoder): 24 return codecs.charmap_decode(input,self.errors,decoding_map)[0] 26 class StreamWriter(Codec,codecs.StreamWriter): 29 class StreamReader(Codec,codecs.StreamReader): [all …]
|
D | mac_latin2.py | 10 import codecs 14 class Codec(codecs.Codec): 17 return codecs.charmap_encode(input,errors,encoding_map) 20 return codecs.charmap_decode(input,errors,decoding_map) 22 class IncrementalEncoder(codecs.IncrementalEncoder): 24 return codecs.charmap_encode(input,self.errors,encoding_map)[0] 26 class IncrementalDecoder(codecs.IncrementalDecoder): 28 return codecs.charmap_decode(input,self.errors,decoding_map)[0] 30 class StreamWriter(Codec,codecs.StreamWriter): 33 class StreamReader(Codec,codecs.StreamReader): [all …]
|
D | hp_roman8.py | 10 import codecs 14 class Codec(codecs.Codec): 17 return codecs.charmap_encode(input,errors,encoding_map) 20 return codecs.charmap_decode(input,errors,decoding_map) 22 class IncrementalEncoder(codecs.IncrementalEncoder): 24 return codecs.charmap_encode(input,self.errors,encoding_map)[0] 26 class IncrementalDecoder(codecs.IncrementalDecoder): 28 return codecs.charmap_decode(input,self.errors,decoding_map)[0] 30 class StreamWriter(Codec,codecs.StreamWriter): 33 class StreamReader(Codec,codecs.StreamReader): [all …]
|
D | ptcp154.py | 10 import codecs 14 class Codec(codecs.Codec): 17 return codecs.charmap_encode(input,errors,encoding_map) 20 return codecs.charmap_decode(input,errors,decoding_map) 22 class IncrementalEncoder(codecs.IncrementalEncoder): 24 return codecs.charmap_encode(input,self.errors,encoding_map)[0] 26 class IncrementalDecoder(codecs.IncrementalDecoder): 28 return codecs.charmap_decode(input,self.errors,decoding_map)[0] 30 class StreamWriter(Codec,codecs.StreamWriter): 33 class StreamReader(Codec,codecs.StreamReader): [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/tools/comp/ |
D | markv_model_shader_default_autogen.inc | 78 std::map<uint32_t, std::unique_ptr<HuffmanCodec<uint64_t>>> codecs; 119 codecs.emplace(SpvOpImageSampleExplicitLod, std::move(codec)); 182 codecs.emplace(SpvOpFDiv, std::move(codec)); 209 codecs.emplace(SpvOpSampledImage, std::move(codec)); 284 codecs.emplace(SpvOpFMul, std::move(codec)); 371 codecs.emplace(SpvOpFAdd, std::move(codec)); 434 codecs.emplace(SpvOpTypePointer, std::move(codec)); 499 codecs.emplace(SpvOpFSub, std::move(codec)); 520 codecs.emplace(SpvOpIAdd, std::move(codec)); 611 codecs.emplace(SpvOpCompositeExtract, std::move(codec)); [all …]
|
/external/deqp-deps/SPIRV-Tools/tools/comp/ |
D | markv_model_shader_default_autogen.inc | 78 std::map<uint32_t, std::unique_ptr<HuffmanCodec<uint64_t>>> codecs; 119 codecs.emplace(SpvOpImageSampleExplicitLod, std::move(codec)); 182 codecs.emplace(SpvOpFDiv, std::move(codec)); 209 codecs.emplace(SpvOpSampledImage, std::move(codec)); 284 codecs.emplace(SpvOpFMul, std::move(codec)); 371 codecs.emplace(SpvOpFAdd, std::move(codec)); 434 codecs.emplace(SpvOpTypePointer, std::move(codec)); 499 codecs.emplace(SpvOpFSub, std::move(codec)); 520 codecs.emplace(SpvOpIAdd, std::move(codec)); 611 codecs.emplace(SpvOpCompositeExtract, std::move(codec)); [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_codeccallbacks.py | 1 import codecs 98 codecs.register_error( 126 codecs.register_error( 181 codecs.register_error("test.relaxedutf8", relaxedutf8) 201 self.assertEqual(codecs.charmap_encode(sin, "strict", charmap)[0], sout) 204 self.assertRaises(UnicodeError, codecs.charmap_encode, sin, "strict", charmap) 209 self.assertEqual(codecs.charmap_encode(sin, "replace", charmap)[0], sout) 212 self.assertRaises(TypeError, codecs.charmap_encode, sin, "replace", charmap) 243 codecs.register_error("test.hui", handler_unicodeinternal) 261 codecs.register_error("test.handler1", handler1) [all …]
|
D | test_codecs.py | 1 import codecs 50 d = codecs.getincrementaldecoder(encoding)() 65 d = codecs.getincrementaldecoder(encoding)() 72 d = codecs.getincrementalencoder(encoding)() 75 d = codecs.getincrementalencoder(encoding)() 88 r = codecs.getreader(self.encoding)(q) 99 d = codecs.getincrementaldecoder(self.encoding)() 122 "".join(codecs.iterdecode([bytes([c]) for c in encoded], self.encoding)) 128 return codecs.getreader(self.encoding)(stream) 192 return codecs.getreader(self.encoding)(stream) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_codeccallbacks.py | 2 import sys, codecs, htmlentitydefs, unicodedata 113 codecs.register_error( 141 codecs.register_error( 188 codecs.register_error("test.relaxedutf8", relaxedutf8) 208 self.assertEqual(codecs.charmap_encode(sin, "strict", charmap)[0], sout) 211 self.assertRaises(UnicodeError, codecs.charmap_encode, sin, "strict", charmap) 216 self.assertEqual(codecs.charmap_encode(sin, "replace", charmap)[0], sout) 219 self.assertRaises(TypeError, codecs.charmap_encode, sin, "replace", charmap) 222 self.assertRaises(TypeError, codecs.charmap_encode, sin, "replace", charmap) 246 codecs.register_error("test.hui", handler_unicodeinternal) [all …]
|
D | test_codecs.py | 3 import codecs 39 r = codecs.getreader(self.encoding)(q) 51 d = codecs.getincrementaldecoder(self.encoding)() 74 u"".join(codecs.iterdecode(encoded, self.encoding)) 80 return codecs.getreader(self.encoding)(stream) 144 return codecs.getreader(self.encoding)(stream) 249 reader = codecs.getreader(self.encoding)(stream) 255 writer = codecs.getwriter(self.encoding)(q) 256 reader = codecs.getreader(self.encoding)(q) 287 reader = codecs.getreader(self.encoding)(stream) [all …]
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvoiceengine_unittest.cc | 81 send_parameters_.codecs.push_back(kPcmuCodec); in WebRtcVoiceEngineTestFake() 82 recv_parameters_.codecs.push_back(kPcmuCodec); in WebRtcVoiceEngineTestFake() 156 send_parameters_.codecs.push_back(kTelephoneEventCodec); in TestInsertDtmf() 191 parameters.codecs.push_back(codec); in TestSendBandwidth() 236 send_parameters_.codecs.push_back(kPcmuCodec); in TestSetSendRtpHeaderExtensions() 423 const std::vector<cricket::AudioCodec>& codecs = engine_.codecs(); in TEST_F() local 424 ASSERT_FALSE(codecs.empty()); in TEST_F() 425 EXPECT_STRCASEEQ("opus", codecs[0].name.c_str()); in TEST_F() 426 EXPECT_EQ(48000, codecs[0].clockrate); in TEST_F() 427 EXPECT_EQ(2, codecs[0].channels); in TEST_F() [all …]
|