/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 1628 make_encoder = codecs.getincrementalencoder(self._encoding) 1633 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 | 191 self._encoding = int(_read_u32(file)) 192 if self._encoding not in _simple_encodings: 194 if self._encoding in (AUDIO_FILE_ENCODING_MULAW_8, 198 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_8: 200 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_16: 202 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_24: 204 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_32: 236 if self._encoding in _simple_encodings: 241 if self._encoding == AUDIO_FILE_ENCODING_MULAW_8: 243 elif self._encoding == AUDIO_FILE_ENCODING_ALAW_8: [all …]
|
D | imaplib.py | 210 self._encoding = 'ascii' 217 self._encoding = 'utf-8' 926 raise self.abort(bye[-1].decode(self._encoding, 'replace')) 947 name = bytes(name, self._encoding) 952 arg = bytes(arg, self._encoding) 962 data = data + bytes(' {%s}' % len(literal), self._encoding) 1027 dat = str(dat[-1], self._encoding) 1049 typ = str(typ, self._encoding) 1071 typ = str(typ, self._encoding) 1102 typ = str(typ, self._encoding) [all …]
|
D | _pyio.py | 1947 self._encoding = encoding 2000 return self._encoding 2073 make_encoder = codecs.getincrementalencoder(self._encoding) 2078 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/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/tinyxml/ |
D | tinyxmlparser.cpp | 1506 const char* TiXmlDeclaration::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding _encoding… in Parse() argument 1508 p = SkipWhiteSpace( p, _encoding ); in Parse() 1512 if ( !p || !*p || !StringEqual( p, "<?xml", true, _encoding ) ) in Parse() 1514 if ( document ) document->SetError( TIXML_ERROR_PARSING_DECLARATION, 0, 0, _encoding ); in Parse() 1519 data->Stamp( p, _encoding ); in Parse() 1536 p = SkipWhiteSpace( p, _encoding ); in Parse() 1537 if ( StringEqual( p, "version", true, _encoding ) ) in Parse() 1540 p = attrib.Parse( p, data, _encoding ); in Parse() 1543 else if ( StringEqual( p, "encoding", true, _encoding ) ) in Parse() 1546 p = attrib.Parse( p, data, _encoding ); in Parse() [all …]
|
D | tinyxml.cpp | 1388 const char * _encoding, in TiXmlDeclaration() argument 1393 encoding = _encoding; in TiXmlDeclaration() 1400 const std::string& _encoding, in TiXmlDeclaration() argument 1405 encoding = _encoding; in TiXmlDeclaration()
|
D | tinyxml.h | 1137 const std::string& _encoding, 1143 const char* _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()
|
D | tinyxml.h | 1294 const std::string& _encoding, 1300 const char* _encoding,
|
/external/python/cpython3/Lib/xml/sax/ |
D | saxutils.py | 123 self._encoding = encoding 153 self._encoding) 213 content = str(content, self._encoding) 220 content = str(content, self._encoding)
|
/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/xmlrpc/ |
D | client.py | 646 self._encoding = "utf-8" 666 self._encoding = encoding 754 if self._encoding: 755 data = data.decode(self._encoding) 812 if self._encoding: 813 data = data.decode(self._encoding)
|
/external/python/cpython3/Lib/test/ |
D | test_uu.py | 34 self._encoding = encoding 44 return self.buffer.getvalue().decode(self._encoding, self._errors)
|
D | test_imaplib.py | 284 self.assertEqual(client._encoding, 'ascii') 290 self.assertEqual(client._encoding, 'utf-8') 697 self.assertEqual(client._encoding, 'ascii') 704 self.assertEqual(client._encoding, 'utf-8')
|
D | test_ossaudiodev.py | 31 encoding = au._encoding
|
/external/python/cpython3/Lib/idlelib/ |
D | run.py | 321 self._encoding = encoding 325 return self._encoding
|
/external/python/cpython2/Lib/test/ |
D | test_ossaudiodev.py | 31 encoding = au._encoding
|
/external/ImageMagick/Magick++/lib/ |
D | Drawable.cpp | 1474 _encoding() in DrawableText() 1482 _encoding(encoding_) in DrawableText() 1490 _encoding(original_._encoding) in DrawableText() 1499 DrawSetTextEncoding( context_, _encoding.c_str() ); in operator ()()
|
/external/skqp/infra/bots/recipe_modules/core/resources/ |
D | run_binary_size_analysis.py | 612 version, num_entries, _encoding = struct.unpack('<IIB', data[:HEADER_LENGTH])
|