/external/icu/icu4c/source/test/intltest/ |
H A D | textfile.cpp | 23 TextFile::TextFile(const char* _name, const char* _encoding, UErrorCode& ec) : argument 30 if (U_FAILURE(ec) || _name == 0 || _encoding == 0) { 39 encoding = uprv_malloc(uprv_strlen(_encoding) + 1); 45 uprv_strcpy(encoding, _encoding); 48 encoding = (char*) _encoding;
|
/external/python/cpython2/Lib/ |
H A 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 [all...] |
H A 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)
|
H A 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)))
|
H A 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)
|
/external/python/cpython3/Lib/ |
H A 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 [all...] |
H A 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...] |
H A 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/python/cpython2/Lib/json/ |
H A 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): 233 o = o.decode(_encoding)
|
/external/sfntly/cpp/src/test/tinyxml/ |
H A D | tinyxmlparser.cpp | 1572 const char* TiXmlDeclaration::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding _encoding ) 1574 p = SkipWhiteSpace( p, _encoding ); 1578 if ( !p || !*p || !StringEqual( p, "<?xml", true, _encoding ) ) 1580 if ( document ) document->SetError( TIXML_ERROR_PARSING_DECLARATION, 0, 0, _encoding ); 1585 data->Stamp( p, _encoding ); 1602 p = SkipWhiteSpace( p, _encoding ); 1603 if ( StringEqual( p, "version", true, _encoding ) ) 1606 p = attrib.Parse( p, data, _encoding ); 1609 else if ( StringEqual( p, "encoding", true, _encoding ) ) 1612 p = attrib.Parse( p, data, _encoding ); [all...] |
H A D | tinyxml.cpp | 1380 const char * _encoding, 1385 encoding = _encoding; 1392 const std::string& _encoding, 1397 encoding = _encoding;
|
H A D | tinyxml.h | 1294 const std::string& _encoding, 1300 const char* _encoding,
|
/external/tinyxml/ |
H A D | tinyxmlparser.cpp | 1506 const char* TiXmlDeclaration::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding _encoding ) 1508 p = SkipWhiteSpace( p, _encoding ); 1512 if ( !p || !*p || !StringEqual( p, "<?xml", true, _encoding ) ) 1514 if ( document ) document->SetError( TIXML_ERROR_PARSING_DECLARATION, 0, 0, _encoding ); 1519 data->Stamp( p, _encoding ); 1536 p = SkipWhiteSpace( p, _encoding ); 1537 if ( StringEqual( p, "version", true, _encoding ) ) 1540 p = attrib.Parse( p, data, _encoding ); 1543 else if ( StringEqual( p, "encoding", true, _encoding ) ) 1546 p = attrib.Parse( p, data, _encoding ); [all...] |
H A D | tinyxml.cpp | 1388 const char * _encoding, 1393 encoding = _encoding; 1400 const std::string& _encoding, 1405 encoding = _encoding; 1387 TiXmlDeclaration( const char * _version, const char * _encoding, const char * _standalone ) argument 1399 TiXmlDeclaration( const std::string& _version, const std::string& _encoding, const std::string& _standalone ) argument
|
H A D | tinyxml.h | 1137 const std::string& _encoding, 1143 const char* _encoding,
|
/external/python/cpython2/Lib/xml/sax/ |
H A 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/ |
H A 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/test/ |
H A D | test_ossaudiodev.py | 31 encoding = au._encoding
|
/external/python/cpython3/Lib/test/ |
H A D | test_uu.py | 34 self._encoding = encoding 44 return self.buffer.getvalue().decode(self._encoding, self._errors)
|
H A D | test_ossaudiodev.py | 31 encoding = au._encoding
|
H A 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')
|
/external/python/cpython3/Lib/xmlrpc/ |
H A 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/idlelib/ |
H A D | run.py | 321 self._encoding = encoding 325 return self._encoding
|
/external/ImageMagick/Magick++/lib/ |
H A D | Drawable.cpp | 1474 _encoding() 1482 _encoding(encoding_) 1490 _encoding(original_._encoding) 1499 DrawSetTextEncoding( context_, _encoding.c_str() );
|
/external/skia/infra/bots/recipe_modules/core/resources/ |
H A D | run_binary_size_analysis.py | 612 version, num_entries, _encoding = struct.unpack('<IIB', data[:HEADER_LENGTH])
|