Home | History | Annotate | Download | only in lib

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
2014 {XML_FEATURE_SIZEOF_XML_CHAR, XML_L("sizeof(XML_Char)"),
2015 sizeof(XML_Char)},
2060 int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1);
2070 size of tag->buf is a multiple of sizeof(XML_Char).
2072 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char));
2080 if (tag->name.str == (XML_Char *)tag->buf)
2081 tag->name.str = (XML_Char *)temp;
2086 tag->name.localPart = (XML_Char *)temp + (tag->name.localPart -
2087 (XML_Char *)tag->buf);
2266 XML_Char c = 0xA;
2309 const XML_Char *name;
2311 XML_Char ch = (XML_Char) XmlPredefinedEntityName(enc,
2363 const XML_Char *context;
2387 XML_Char *toPtr;
2414 toPtr = (XML_Char *)tag->buf;
2421 convLen = (int)(toPtr - (XML_Char *)tag->buf);
2433 toPtr = (XML_Char *)temp + convLen;
2437 tag->name.str = (XML_Char *)tag->buf;
2444 (const XML_Char **)atts);
2469 startElementHandler(handlerArg, name.str, (const XML_Char **)atts);
2513 const XML_Char *localPart;
2514 const XML_Char *prefix;
2515 XML_Char *uri;
2522 uri = (XML_Char *)tag->name.str + tag->name.uriLen;
2525 prefix = (XML_Char *)tag->name.prefix;
2555 XML_Char buf[XML_ENCODE_MAX];
2566 XML_Char c = 0xA;
2618 (XML_Char *)s,
2619 (int)((XML_Char *)end - (XML_Char *)s));
2654 (XML_Char *)s,
2655 (int)((XML_Char *)next - (XML_Char *)s));
2705 const XML_Char **appAtts; /* the attribute list for the application */
2710 XML_Char *uri;
2713 const XML_Char *localPart;
2718 const XML_Char *name = poolCopyString(&dtd->pool, tagNamePtr->str);
2753 appAtts = (const XML_Char **)atts;
2907 const XML_Char *s = appAtts[i];
2912 ((XML_Char *)s)[-1] = 0; /* clear flag */
2920 const XML_Char c = b->uri[j];
2928 const XML_Char c = *s;
2943 const XML_Char *s1 = poolStart(&tempPool);
2944 const XML_Char *s2 = nsAtts[j].uriName;
2981 ((XML_Char *)s)[-1] = 0; /* clear flag */
2986 ((XML_Char *)(appAtts[i]))[-1] = 0;
3022 uri = (XML_Char *)MALLOC((n + EXPAND_SPARE) * sizeof(XML_Char));
3026 memcpy(uri, binding->uri, binding->uriLen * sizeof(XML_Char));
3035 memcpy(uri, localPart, i * sizeof(XML_Char));
3040 memcpy(uri + 1, binding->prefix->name, prefixLen * sizeof(XML_Char));
3051 const XML_Char *uri, BINDING **bindingsPtr)
3053 static const XML_Char xmlNamespace[] = {
3062 (int)sizeof(xmlNamespace)/sizeof(XML_Char) - 1;
3063 static const XML_Char xmlnsNamespace[] = {
3071 (int)sizeof(xmlnsNamespace)/sizeof(XML_Char) - 1;
3122 XML_Char *temp = (XML_Char *)REALLOC(b->uri,
3123 sizeof(XML_Char) * (len + EXPAND_SPARE));
3135 b->uri = (XML_Char *)MALLOC(sizeof(XML_Char) * (len + EXPAND_SPARE));
3143 memcpy(b->uri, uri, len * sizeof(XML_Char));
3238 XML_Char c = 0xA;
3262 (XML_Char *)s,
3263 (int)((XML_Char *)next - (XML_Char *)s));
3423 const XML_Char *storedEncName = NULL;
3427 const XML_Char *storedversion = NULL;
3508 handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName)
3754 static const XML_Char externalSubsetName[] = { ASCII_HASH , '\0' };
3756 static const XML_Char atypeCDATA[] =
3758 static const XML_Char atypeID[] = { ASCII_I, ASCII_D, '\0' };
3759 static const XML_Char atypeIDREF[] =
3761 static const XML_Char atypeIDREFS[] =
3763 static const XML_Char atypeENTITY[] =
3765 static const XML_Char atypeENTITIES[] = { ASCII_E, ASCII_N,
3767 static const XML_Char atypeNMTOKEN[] = {
3769 static const XML_Char atypeNMTOKENS[] = { ASCII_N, ASCII_M, ASCII_T,
3771 static const XML_Char notationPrefix[] = { ASCII_N, ASCII_O, ASCII_T,
3773 static const XML_Char enumValueSep[] = { ASCII_PIPE, '\0' };
3774 static const XML_Char enumValueStart[] = { ASCII_LPAREN, '\0' };
3893 XML_Char *pubId;
3913 XML_Char *tem = poolStoreString(&dtd->pool,
4062 const XML_Char *prefix;
4109 const XML_Char *attVal;
4274 const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next);
4306 const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next);
4352 XML_Char *tem = poolStoreString(&tempPool,
4366 const XML_Char *systemId
4484 const XML_Char *name;
4616 const XML_Char *name;
4959 XML_Char buf[XML_ENCODE_MAX];
4999 const XML_Char *name;
5002 XML_Char ch = (XML_Char) XmlPredefinedEntityName(enc,
5066 const XML_Char *textEnd = entity->textPtr + entity->textLen;
5115 const XML_Char *name;
5203 XML_Char buf[XML_ENCODE_MAX];
5254 normalizeLines(XML_Char *s)
5256 XML_Char *p;
5280 const XML_Char *target;
5281 XML_Char *data;
5309 XML_Char *data;
5351 defaultHandler(handlerArg, (XML_Char *)s, (int)((XML_Char *)end - (XML_Char *)s));
5357 XML_Bool isId, const XML_Char *value, XML_Parser parser)
5403 const XML_Char *name;
5407 const XML_Char *s;
5435 const XML_Char *name;
5492 static const XML_Char *
5517 const XML_Char *s;
5542 const XML_Char *s;
5562 setContext(XML_Parser parser, const XML_Char *context)
5565 const XML_Char *s = context;
5623 normalizePublicId(XML_Char *publicId)
5625 XML_Char *p = publicId;
5626 XML_Char *s;
5759 const XML_Char *name;
5776 const XML_Char *name;
5810 const XML_Char *name;
5889 const XML_Char *cachedOldBase = NULL;
5890 const XML_Char *cachedNewBase = NULL;
5896 const XML_Char *name;
5907 const XML_Char *tem = poolCopyString(newPool, oldE->systemId);
5930 const XML_Char *tem = poolCopyStringN(newPool, oldE->textPtr,
5938 const XML_Char *tem = poolCopyString(newPool, oldE->notation);
6144 static XML_Char *
6160 static const XML_Char * FASTCALL
6161 poolCopyString(STRING_POOL *pool, const XML_Char *s)
6172 static const XML_Char *
6173 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n)
6186 static const XML_Char * FASTCALL
6187 poolAppendString(STRING_POOL *pool, const XML_Char *s)
6197 static XML_Char *
6228 (pool->end - pool->start) * sizeof(XML_Char));
6240 + blockSize * sizeof(XML_Char)));
6257 + blockSize * sizeof(XML_Char));
6265 (pool->ptr - pool->start) * sizeof(XML_Char));
6326 XML_Char **strpos)
6332 const XML_Char *src;
6365 XML_Char * str;
6367 + (dtd->contentStringLen * sizeof(XML_Char)));
6373 str = (XML_Char *) (&ret[dtd->scaffCount]);
6387 const XML_Char *name = poolStoreString(&dtd->pool, enc, ptr, end);