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.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()
/external/expat/lib/
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()
/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()