Home
last modified time | relevance | path

Searched refs:newEncoding (Results 1 – 4 of 4) sorted by relevance

/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToStream.java407 String newEncoding = val; in setProp() local
419 … (defaultVal && ( oldDefaultEncoding == null || !oldDefaultEncoding.equalsIgnoreCase(newEncoding))) in setProp()
420 …aultVal && (oldExplicitEncoding == null || !oldExplicitEncoding.equalsIgnoreCase(newEncoding) ))) { in setProp()
424 EncodingInfo encodingInfo = Encodings.getEncodingInfo(newEncoding); in setProp()
425 if (newEncoding != null && encodingInfo.name == null) { in setProp()
430 MsgKey.ER_ENCODING_NOT_SUPPORTED,new Object[]{ newEncoding }); in setProp()
433 "Warning: encoding \"" + newEncoding + "\" not supported, using " in setProp()
462 newEncoding = Encodings.DEFAULT_MIME_ENCODING; in setProp()
464 encodingInfo = Encodings.getEncodingInfo(newEncoding); in setProp()
475 if (newEncoding != null) in setProp()
[all …]
/external/python/cpython3/Modules/expat/
Dxmlparse.c3799 const ENCODING *newEncoding = NULL; in processXmlDecl() local
3806 &version, &versionend, &encodingName, &newEncoding, &standalone)) { in processXmlDecl()
3841 if (newEncoding) { in processXmlDecl()
3847 if (newEncoding->minBytesPerChar != parser->m_encoding->minBytesPerChar in processXmlDecl()
3848 || (newEncoding->minBytesPerChar == 2 in processXmlDecl()
3849 && newEncoding != parser->m_encoding)) { in processXmlDecl()
3853 parser->m_encoding = newEncoding; in processXmlDecl()
/external/expat/lib/
Dxmlparse.c3820 const ENCODING *newEncoding = NULL; in processXmlDecl() local
3827 &version, &versionend, &encodingName, &newEncoding, &standalone)) { in processXmlDecl()
3862 if (newEncoding) { in processXmlDecl()
3868 if (newEncoding->minBytesPerChar != parser->m_encoding->minBytesPerChar in processXmlDecl()
3869 || (newEncoding->minBytesPerChar == 2 in processXmlDecl()
3870 && newEncoding != parser->m_encoding)) { in processXmlDecl()
3874 parser->m_encoding = newEncoding; in processXmlDecl()
/external/python/cpython2/Modules/expat/
Dxmlparse.c3964 const ENCODING *newEncoding = NULL; in processXmlDecl() local
3979 &newEncoding, in processXmlDecl()
4017 if (newEncoding) { in processXmlDecl()
4023 if (newEncoding->minBytesPerChar != parser->m_encoding->minBytesPerChar in processXmlDecl()
4024 || (newEncoding->minBytesPerChar == 2 && in processXmlDecl()
4025 newEncoding != parser->m_encoding)) { in processXmlDecl()
4029 parser->m_encoding = newEncoding; in processXmlDecl()