Lines Matching refs:XML_Char
91 typedef const XML_Char *KEY;
135 #define INIT_TAG_BUF_SIZE 32 /* must be a multiple of sizeof(XML_Char) */
149 XML_Char *uri;
155 const XML_Char *name;
160 const XML_Char *str;
161 const XML_Char *localPart;
162 const XML_Char *prefix;
192 const XML_Char *name;
193 const XML_Char *textPtr;
196 const XML_Char *systemId;
197 const XML_Char *base;
198 const XML_Char *publicId;
199 const XML_Char *notation;
208 const XML_Char * name;
220 XML_Char s[1];
226 const XML_Char *end;
227 XML_Char *ptr;
228 XML_Char *start;
232 /* The XML_Char before the name is used to determine whether
235 XML_Char *name;
244 const XML_Char *value;
250 const XML_Char *uriName;
254 const XML_Char *name;
325 handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName);
356 const XML_Char *uri, BINDING **bindingsPtr);
359 XML_Bool isId, const XML_Char *dfltValue, XML_Parser parser);
384 static const XML_Char * getContext(XML_Parser parser);
386 setContext(XML_Parser parser, const XML_Char *context);
388 static void FASTCALL normalizePublicId(XML_Char *s);
415 static XML_Char *
418 static XML_Char *
422 static const XML_Char * FASTCALL
423 poolCopyString(STRING_POOL *pool, const XML_Char *s);
424 static const XML_Char *
425 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n);
426 static const XML_Char * FASTCALL
427 poolAppendString(STRING_POOL *pool, const XML_Char *s);
439 parserCreate(const XML_Char *encodingName,
441 const XML_Char *nameSep,
445 parserInit(XML_Parser parser, const XML_Char *encodingName);
474 XML_Char *m_dataBuf;
475 XML_Char *m_dataBufEnd;
502 const XML_Char *m_protocolEncodingName;
520 const XML_Char *m_doctypeName;
521 const XML_Char *m_doctypeSysid;
522 const XML_Char *m_doctypePubid;
523 const XML_Char *m_declAttributeType;
524 const XML_Char *m_declNotationName;
525 const XML_Char *m_declNotationPublicId;
531 const XML_Char *m_curBase;
551 XML_Char m_namespaceSeparator;
671 XML_ParserCreate(const XML_Char *encodingName)
677 XML_ParserCreateNS(const XML_Char *encodingName, XML_Char nsSep)
679 XML_Char tmp[2];
684 static const XML_Char implicitContext[] = {
717 XML_ParserCreate_MM(const XML_Char *encodingName,
719 const XML_Char *nameSep)
725 parserCreate(const XML_Char *encodingName,
727 const XML_Char *nameSep,
774 dataBuf = (XML_Char *)MALLOC(INIT_DATA_BUF_SIZE * sizeof(XML_Char));
840 parserInit(XML_Parser parser, const XML_Char *encodingName)
925 XML_ParserReset(XML_Parser parser, const XML_Char *encodingName)
961 XML_SetEncoding(XML_Parser parser, const XML_Char *encodingName)
981 const XML_Char *context,
982 const XML_Char *encodingName)
1044 XML_Char tmp[2];
1233 XML_SetBase(XML_Parser parser, const XML_Char *p)
1246 const XML_Char * XMLCALL
2025 {XML_FEATURE_SIZEOF_XML_CHAR, XML_L("sizeof(XML_Char)"),
2026 sizeof(XML_Char)},
2071 int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1);
2081 size of tag->buf is a multiple of sizeof(XML_Char).
2083 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char));
2091 if (tag->name.str == (XML_Char *)tag->buf)
2092 tag->name.str = (XML_Char *)temp;
2097 tag->name.localPart = (XML_Char *)temp + (tag->name.localPart -
2098 (XML_Char *)tag->buf);
2277 XML_Char c = 0xA;
2320 const XML_Char *name;
2322 XML_Char ch = (XML_Char) XmlPredefinedEntityName(enc,
2374 const XML_Char *context;
2398 XML_Char *toPtr;
2425 toPtr = (XML_Char *)tag->buf;
2432 convLen = (int)(toPtr - (XML_Char *)tag->buf);
2444 toPtr = (XML_Char *)temp + convLen;
2448 tag->name.str = (XML_Char *)tag->buf;
2455 (const XML_Char **)atts);
2480 startElementHandler(handlerArg, name.str, (const XML_Char **)atts);
2524 const XML_Char *localPart;
2525 const XML_Char *prefix;
2526 XML_Char *uri;
2533 uri = (XML_Char *)tag->name.str + tag->name.uriLen;
2536 prefix = (XML_Char *)tag->name.prefix;
2566 XML_Char buf[XML_ENCODE_MAX];
2577 XML_Char c = 0xA;
2629 (XML_Char *)s,
2630 (int)((XML_Char *)end - (XML_Char *)s));
2665 (XML_Char *)s,
2666 (int)((XML_Char *)next - (XML_Char *)s));
2716 const XML_Char **appAtts; /* the attribute list for the application */
2721 XML_Char *uri;
2724 const XML_Char *localPart;
2729 const XML_Char *name = poolCopyString(&dtd->pool, tagNamePtr->str);
2764 appAtts = (const XML_Char **)atts;
2918 const XML_Char *s = appAtts[i];
2923 ((XML_Char *)s)[-1] = 0; /* clear flag */
2933 const XML_Char c = b->uri[j];
2941 const XML_Char c = *s;
2956 const XML_Char *s1 = poolStart(&tempPool);
2957 const XML_Char *s2 = nsAtts[j].uriName;
2994 ((XML_Char *)s)[-1] = 0; /* clear flag */
2999 ((XML_Char *)(appAtts[i]))[-1] = 0;
3035 uri = (XML_Char *)MALLOC((n + EXPAND_SPARE) * sizeof(XML_Char));
3039 memcpy(uri, binding->uri, binding->uriLen * sizeof(XML_Char));
3048 memcpy(uri, localPart, i * sizeof(XML_Char));
3053 memcpy(uri + 1, binding->prefix->name, prefixLen * sizeof(XML_Char));
3064 const XML_Char *uri, BINDING **bindingsPtr)
3066 static const XML_Char xmlNamespace[] = {
3075 (int)sizeof(xmlNamespace)/sizeof(XML_Char) - 1;
3076 static const XML_Char xmlnsNamespace[] = {
3084 (int)sizeof(xmlnsNamespace)/sizeof(XML_Char) - 1;
3135 XML_Char *temp = (XML_Char *)REALLOC(b->uri,
3136 sizeof(XML_Char) * (len + EXPAND_SPARE));
3148 b->uri = (XML_Char *)MALLOC(sizeof(XML_Char) * (len + EXPAND_SPARE));
3156 memcpy(b->uri, uri, len * sizeof(XML_Char));
3251 XML_Char c = 0xA;
3275 (XML_Char *)s,
3276 (int)((XML_Char *)next - (XML_Char *)s));
3436 const XML_Char *storedEncName = NULL;
3440 const XML_Char *storedversion = NULL;
3521 handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName)
3767 static const XML_Char externalSubsetName[] = { ASCII_HASH , '\0' };
3769 static const XML_Char atypeCDATA[] =
3771 static const XML_Char atypeID[] = { ASCII_I, ASCII_D, '\0' };
3772 static const XML_Char atypeIDREF[] =
3774 static const XML_Char atypeIDREFS[] =
3776 static const XML_Char atypeENTITY[] =
3778 static const XML_Char atypeENTITIES[] = { ASCII_E, ASCII_N,
3780 static const XML_Char atypeNMTOKEN[] = {
3782 static const XML_Char atypeNMTOKENS[] = { ASCII_N, ASCII_M, ASCII_T,
3784 static const XML_Char notationPrefix[] = { ASCII_N, ASCII_O, ASCII_T,
3786 static const XML_Char enumValueSep[] = { ASCII_PIPE, '\0' };
3787 static const XML_Char enumValueStart[] = { ASCII_LPAREN, '\0' };
3906 XML_Char *pubId;
3926 XML_Char *tem = poolStoreString(&dtd->pool,
4075 const XML_Char *prefix;
4122 const XML_Char *attVal;
4287 const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next);
4319 const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next);
4365 XML_Char *tem = poolStoreString(&tempPool,
4379 const XML_Char *systemId
4497 const XML_Char *name;
4629 const XML_Char *name;
4972 XML_Char buf[XML_ENCODE_MAX];
5012 const XML_Char *name;
5015 XML_Char ch = (XML_Char) XmlPredefinedEntityName(enc,
5079 const XML_Char *textEnd = entity->textPtr + entity->textLen;
5128 const XML_Char *name;
5216 XML_Char buf[XML_ENCODE_MAX];
5267 normalizeLines(XML_Char *s)
5269 XML_Char *p;
5293 const XML_Char *target;
5294 XML_Char *data;
5322 XML_Char *data;
5365 defaultHandler(handlerArg, (XML_Char *)s, (int)((XML_Char *)end - (XML_Char *)s));
5371 XML_Bool isId, const XML_Char *value, XML_Parser parser)
5417 const XML_Char *name;
5421 const XML_Char *s;
5449 const XML_Char *name;
5508 static const XML_Char *
5533 const XML_Char *s;
5558 const XML_Char *s;
5578 setContext(XML_Parser parser, const XML_Char *context)
5581 const XML_Char *s = context;
5639 normalizePublicId(XML_Char *publicId)
5641 XML_Char *p = publicId;
5642 XML_Char *s;
5775 const XML_Char *name;
5792 const XML_Char *name;
5826 const XML_Char *name;
5905 const XML_Char *cachedOldBase = NULL;
5906 const XML_Char *cachedNewBase = NULL;
5912 const XML_Char *name;
5923 const XML_Char *tem = poolCopyString(newPool, oldE->systemId);
5946 const XML_Char *tem = poolCopyStringN(newPool, oldE->textPtr,
5954 const XML_Char *tem = poolCopyString(newPool, oldE->notation);
6160 static XML_Char *
6176 static const XML_Char * FASTCALL
6177 poolCopyString(STRING_POOL *pool, const XML_Char *s)
6188 static const XML_Char *
6189 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n)
6202 static const XML_Char * FASTCALL
6203 poolAppendString(STRING_POOL *pool, const XML_Char *s)
6213 static XML_Char *
6244 (pool->end - pool->start) * sizeof(XML_Char));
6261 + blockSize * sizeof(XML_Char)));
6282 + blockSize * sizeof(XML_Char));
6290 (pool->ptr - pool->start) * sizeof(XML_Char));
6351 XML_Char **strpos)
6357 const XML_Char *src;
6390 XML_Char * str;
6392 + (dtd->contentStringLen * sizeof(XML_Char)));
6398 str = (XML_Char *) (&ret[dtd->scaffCount]);
6412 const XML_Char *name = poolStoreString(&dtd->pool, enc, ptr, end);