Lines Matching refs:ENCODING
173 version of the name (in the document encoding) is shared with the
183 const char *rawName; /* tagName in the original encoding */
185 TAG_NAME name; /* tagName in the API encoding */
332 doProlog(XML_Parser parser, const ENCODING *enc, const char *s,
339 doContent(XML_Parser parser, int startTagLevel, const ENCODING *enc,
343 doCdataSection(XML_Parser parser, const ENCODING *, const char **startPtr,
347 doIgnoreSection(XML_Parser parser, const ENCODING *, const char **startPtr,
352 storeAtts(XML_Parser parser, const ENCODING *, const char *s,
361 storeAttributeValue(XML_Parser parser, const ENCODING *, XML_Bool isCdata,
364 appendAttributeValue(XML_Parser parser, const ENCODING *, XML_Bool isCdata,
367 getAttributeId(XML_Parser parser, const ENCODING *enc, const char *start,
372 storeEntityValue(XML_Parser parser, const ENCODING *enc, const char *start,
375 reportProcessingInstruction(XML_Parser parser, const ENCODING *enc,
378 reportComment(XML_Parser parser, const ENCODING *enc, const char *start,
381 reportDefault(XML_Parser parser, const ENCODING *enc, const char *start,
416 poolAppend(STRING_POOL *pool, const ENCODING *enc,
419 poolStoreString(STRING_POOL *pool, const ENCODING *enc,
432 getElementType(XML_Parser parser, const ENCODING *enc,
499 const ENCODING
501 const ENCODING *m_internalEncoding;
599 #define encoding (parser->m_encoding)
848 XmlInitEncoding(&initEncoding, &encoding, 0);
1534 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position);
1582 XmlUpdatePosition(encoding, positionPtr, end, &position);
1673 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position);
1836 XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position);
1887 XmlUpdatePosition(encoding, positionPtr, eventPtr, &position);
1897 XmlUpdatePosition(encoding, positionPtr, eventPtr, &position);
1937 reportDefault(parser, encoding, eventPtr, eventEndPtr);
1963 XML_L("unknown encoding"),
1964 XML_L("encoding specified in XML declaration is incorrect"),
2119 enum XML_Error result = doContent(parser, 0, encoding, start, end,
2148 int tok = XmlContentTok(encoding, start, end, &next);
2190 tok = XmlContentTok(encoding, start, end, &next);
2235 enum XML_Error result = doContent(parser, 1, encoding, start, end,
2247 const ENCODING *enc,
2258 if (enc == encoding) {
2712 storeAtts(XML_Parser parser, const ENCODING *enc,
2792 if (enc == encoding)
3188 enum XML_Error result = doCdataSection(parser, encoding, &start, end,
3210 const ENCODING *enc,
3219 if (enc == encoding) {
3330 enum XML_Error result = doIgnoreSection(parser, encoding, &start, end,
3346 const ENCODING *enc,
3357 if (enc == encoding) {
3429 if ((ns ? XmlInitEncodingNS : XmlInitEncoding)(&initEncoding, &encoding, s))
3440 const ENCODING *newEncoding = NULL;
3448 encoding,
3472 encoding,
3475 + XmlNameLength(encoding, encodingName));
3482 encoding,
3484 versionend - encoding->minBytesPerChar);
3491 reportDefault(parser, encoding, s, next);
3494 if (newEncoding->minBytesPerChar != encoding->minBytesPerChar) {
3498 encoding = newEncoding;
3504 &temp2Pool, encoding, encodingName,
3505 encodingName + XmlNameLength(encoding, encodingName));
3536 ENCODING *enc;
3552 encoding = enc;
3613 tok = XmlPrologTok(encoding, start, end, &next);
3632 return storeEntityValue(parser, encoding, s, end);
3677 tok = XmlPrologTok(encoding, s, end, &next);
3701 tok = XmlPrologTok(encoding, s, end, &next);
3705 return doProlog(parser, encoding, s, end, tok, next,
3717 const ENCODING *enc = encoding;
3754 int tok = XmlPrologTok(encoding, s, end, &next);
3755 return doProlog(parser, encoding, s, end, tok, next,
3761 const ENCODING *enc,
3799 if (enc == encoding) {
3832 if (enc != encoding && !openInternalEntities->betweenDecl) {
3840 if (isParamEntity || enc != encoding) {
3862 enc = encoding;
3892 enc = encoding;
4753 int tok = XmlPrologTok(encoding, s, end, &next);
4759 reportDefault(parser, encoding, s, next);
4770 reportDefault(parser, encoding, s, next);
4773 if (!reportProcessingInstruction(parser, encoding, s, next))
4777 if (!reportComment(parser, encoding, s, next))
4914 tok = XmlPrologTok(encoding, s, end, &next);
4915 return doProlog(parser, encoding, s, end, tok, next, nextPtr,
4923 return doContent(parser, parentParser ? 1 : 0, encoding, s, end,
4938 storeAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata,
4954 appendAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata,
4966 if (enc == encoding)
4970 if (enc == encoding)
4979 if (enc == encoding)
4989 if (enc == encoding)
5066 if (enc == encoding)
5071 if (enc == encoding)
5076 if (enc == encoding)
5094 if (enc == encoding)
5105 const ENCODING *enc,
5130 if (isParamEntity || enc != encoding) {
5153 if (enc == encoding)
5223 if (enc == encoding)
5230 if (enc == encoding)
5245 if (enc == encoding)
5250 if (enc == encoding)
5255 if (enc == encoding)
5293 reportProcessingInstruction(XML_Parser parser, const ENCODING *enc,
5322 reportComment(XML_Parser parser, const ENCODING *enc,
5344 reportDefault(XML_Parser parser, const ENCODING *enc,
5350 if (enc == encoding) {
5446 getAttributeId(XML_Parser parser, const ENCODING *enc,
6163 poolAppend(STRING_POOL *pool, const ENCODING *enc,
6216 poolStoreString(STRING_POOL *pool, const ENCODING *enc,
6400 const ENCODING *enc,