/external/python/cpython2/Lib/ |
D | sunau.py | 178 self._encoding = int(_read_u32(file)) 179 if self._encoding not in _simple_encodings: 181 if self._encoding in (AUDIO_FILE_ENCODING_MULAW_8, 185 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_8: 187 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_16: 189 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_24: 191 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_32: 226 if self._encoding in _simple_encodings: 231 if self._encoding == AUDIO_FILE_ENCODING_MULAW_8: 233 elif self._encoding == AUDIO_FILE_ENCODING_ALAW_8: [all …]
|
D | xmlrpclib.py | 789 self._encoding = "utf-8" 810 self._encoding = encoding 879 if self._encoding: 880 data = _decode(data, self._encoding) 935 if self._encoding: 936 data = _decode(data, self._encoding)
|
D | _pyio.py | 1513 self._encoding = encoding 1556 return self._encoding 1629 make_encoder = codecs.getincrementalencoder(self._encoding) 1634 make_decoder = codecs.getincrementaldecoder(self._encoding)
|
D | pydoc.py | 197 _encoding = 'ascii' variable 202 _encoding = locale.getpreferredencoding() variable 206 return text.encode(encoding or _encoding, 'xmlcharrefreplace') 214 return obj.encode(_encoding, 'xmlcharrefreplace') 1438 lines = plain(_encode(plain(text), getattr(sys.stdout, 'encoding', _encoding))).split('\n') 1482 sys.stdout.write(_encode(plain(text), getattr(sys.stdout, 'encoding', _encoding)))
|
/external/python/cpython3/Lib/ |
D | sunau.py | 192 self._encoding = int(_read_u32(file)) 193 if self._encoding not in _simple_encodings: 195 if self._encoding in (AUDIO_FILE_ENCODING_MULAW_8, 199 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_8: 201 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_16: 203 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_24: 205 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_32: 239 if self._encoding in _simple_encodings: 244 if self._encoding == AUDIO_FILE_ENCODING_MULAW_8: 246 elif self._encoding == AUDIO_FILE_ENCODING_ALAW_8: [all …]
|
D | imaplib.py | 215 self._encoding = 'ascii' 222 self._encoding = 'utf-8' 961 raise self.abort(bye[-1].decode(self._encoding, 'replace')) 982 name = bytes(name, self._encoding) 987 arg = bytes(arg, self._encoding) 997 data = data + bytes(' {%s}' % len(literal), self._encoding) 1063 dat = str(dat[-1], self._encoding) 1085 typ = str(typ, self._encoding) 1107 typ = str(typ, self._encoding) 1138 typ = str(typ, self._encoding) [all …]
|
D | _pyio.py | 2054 self._encoding = encoding 2107 return self._encoding 2148 encoding = self._encoding 2226 make_encoder = codecs.getincrementalencoder(self._encoding) 2231 make_decoder = codecs.getincrementaldecoder(self._encoding)
|
/external/icu/icu4c/source/test/intltest/ |
D | textfile.cpp | 23 TextFile::TextFile(const char* _name, const char* _encoding, UErrorCode& ec) : in TextFile() argument 30 if (U_FAILURE(ec) || _name == 0 || _encoding == 0) { in TextFile() 39 encoding = uprv_malloc(uprv_strlen(_encoding) + 1); in TextFile() 45 uprv_strcpy(encoding, _encoding); in TextFile() 48 encoding = (char*) _encoding; in TextFile()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/ |
D | IOContext.java | 32 protected JsonEncoding _encoding; field in IOContext 109 _encoding = enc; in setEncoding() 116 _encoding = enc; in withEncoding() 127 public JsonEncoding getEncoding() { return _encoding; } in getEncoding()
|
/external/python/cpython2/Lib/json/ |
D | encoder.py | 196 _encoding = self.encoding 197 if (_encoding is not None 198 and not (_encoding == 'utf-8')): 199 o = o.decode(_encoding) 231 def _encoder(o, _orig_encoder=_encoder, _encoding=self.encoding): argument 233 o = o.decode(_encoding)
|
/external/python/cpython3/Lib/multiprocessing/ |
D | shared_memory.py | 245 _encoding = "utf8" variable 277 1: lambda value: value.rstrip(b'\x00').decode(_encoding), # str 332 _enc = _encoding 381 fmt_as_str = fmt.decode(_encoding) 411 fmt_as_str.encode(_encoding) 454 encoded_value = (value.encode(_encoding)
|
/external/sfntly/cpp/src/test/tinyxml/ |
D | tinyxmlparser.cpp | 1572 const char* TiXmlDeclaration::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding _encoding… in Parse() argument 1574 p = SkipWhiteSpace( p, _encoding ); in Parse() 1578 if ( !p || !*p || !StringEqual( p, "<?xml", true, _encoding ) ) in Parse() 1580 if ( document ) document->SetError( TIXML_ERROR_PARSING_DECLARATION, 0, 0, _encoding ); in Parse() 1585 data->Stamp( p, _encoding ); in Parse() 1602 p = SkipWhiteSpace( p, _encoding ); in Parse() 1603 if ( StringEqual( p, "version", true, _encoding ) ) in Parse() 1606 p = attrib.Parse( p, data, _encoding ); in Parse() 1609 else if ( StringEqual( p, "encoding", true, _encoding ) ) in Parse() 1612 p = attrib.Parse( p, data, _encoding ); in Parse() [all …]
|
D | tinyxml.cpp | 1380 const char * _encoding, in TiXmlDeclaration() argument 1385 encoding = _encoding; in TiXmlDeclaration() 1392 const std::string& _encoding, in TiXmlDeclaration() argument 1397 encoding = _encoding; in TiXmlDeclaration()
|
/external/python/cpython2/Lib/xml/sax/ |
D | saxutils.py | 122 self._encoding = encoding 145 self._encoding) 187 content = unicode(content, self._encoding) 192 content = unicode(content, self._encoding)
|
/external/python/cpython3/Lib/xml/sax/ |
D | saxutils.py | 122 self._encoding = encoding 152 self._encoding) 212 content = str(content, self._encoding) 219 content = str(content, self._encoding)
|
/external/python/cpython3/Lib/xmlrpc/ |
D | client.py | 652 self._encoding = "utf-8" 672 self._encoding = encoding 760 if self._encoding: 761 data = data.decode(self._encoding) 818 if self._encoding: 819 data = data.decode(self._encoding)
|
/external/python/cpython3/Lib/test/ |
D | test_uu.py | 36 self._encoding = encoding 46 return self.buffer.getvalue().decode(self._encoding, self._errors)
|
D | test_ossaudiodev.py | 31 encoding = au._encoding
|
D | test_imaplib.py | 314 self.assertEqual(client._encoding, 'ascii') 320 self.assertEqual(client._encoding, 'utf-8') 772 self.assertEqual(client._encoding, 'ascii') 779 self.assertEqual(client._encoding, 'utf-8')
|
/external/python/apitools/apitools/base/py/ |
D | credentials_lib.py | 592 _encoding = 'utf-8' variable in _MultiProcessCacheFile 640 file_contents = f.read().decode(encoding=self._encoding) 658 cache_data = cache_data.encode(encoding=self._encoding)
|
/external/python/asn1crypto/asn1crypto/ |
D | core.py | 1774 _encoding = 'latin1' variable in AbstractString 1797 self.contents = value.encode(self._encoding) 1814 self._unicode = self._merge_chunks().decode(self._encoding) 3298 _encoding = 'utf-8' variable in UTF8String 4823 _encoding = 'latin1' variable in NumericString 4832 _encoding = 'latin1' variable in PrintableString 4841 _encoding = 'teletex' variable in TeletexString 4858 _encoding = 'ascii' variable in IA5String 5147 _encoding = 'latin1' variable in GraphicString 5156 _encoding = 'latin1' variable in VisibleString [all …]
|
/external/python/pyfakefs/pyfakefs/ |
D | helpers.py | 287 self._encoding = encoding 297 return self._encoding or locale.getpreferredencoding(False)
|
/external/python/cpython2/Lib/test/ |
D | test_ossaudiodev.py | 31 encoding = au._encoding
|
/external/python/cpython3/Lib/idlelib/ |
D | run.py | 416 self._encoding = encoding 421 return self._encoding
|
/external/ImageMagick/Magick++/lib/ |
D | Drawable.cpp | 1443 _encoding() in DrawableText() 1451 _encoding(encoding_) in DrawableText() 1459 _encoding(original_._encoding) in DrawableText() 1468 DrawSetTextEncoding( context_, _encoding.c_str() ); in operator ()()
|