Lines Matching refs:XML_Char

180 typedef const XML_Char *KEY;
232 XML_Char *uri;
238 const XML_Char *name;
243 const XML_Char *str;
244 const XML_Char *localPart;
245 const XML_Char *prefix;
275 const XML_Char *name;
276 const XML_Char *textPtr;
279 const XML_Char *systemId;
280 const XML_Char *base;
281 const XML_Char *publicId;
282 const XML_Char *notation;
291 const XML_Char * name;
303 XML_Char s[1];
309 const XML_Char *end;
310 XML_Char *ptr;
311 XML_Char *start;
318 XML_Char *name;
327 const XML_Char *value;
333 const XML_Char *uriName;
337 const XML_Char *name;
408 handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName);
441 const XML_Char *uri, BINDING **bindingsPtr);
444 XML_Bool isId, const XML_Char *dfltValue, XML_Parser parser);
469 static const XML_Char * getContext(XML_Parser parser);
471 setContext(XML_Parser parser, const XML_Char *context);
473 static void FASTCALL normalizePublicId(XML_Char *s);
500 static XML_Char *
503 static XML_Char *
507 static const XML_Char * FASTCALL
508 poolCopyString(STRING_POOL *pool, const XML_Char *s);
509 static const XML_Char *
510 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n);
511 static const XML_Char * FASTCALL
512 poolAppendString(STRING_POOL *pool, const XML_Char *s);
520 static XML_Char *copyString(const XML_Char *s,
527 parserCreate(const XML_Char *encodingName,
529 const XML_Char *nameSep,
533 parserInit(XML_Parser parser, const XML_Char *encodingName);
562 XML_Char *m_dataBuf;
563 XML_Char *m_dataBufEnd;
590 const XML_Char *m_protocolEncodingName;
608 const XML_Char *m_doctypeName;
609 const XML_Char *m_doctypeSysid;
610 const XML_Char *m_doctypePubid;
611 const XML_Char *m_declAttributeType;
612 const XML_Char *m_declNotationName;
613 const XML_Char *m_declNotationPublicId;
619 const XML_Char *m_curBase;
639 XML_Char m_namespaceSeparator;
656 XML_ParserCreate(const XML_Char *encodingName) in XML_ParserCreate()
662 XML_ParserCreateNS(const XML_Char *encodingName, XML_Char nsSep) in XML_ParserCreateNS()
664 XML_Char tmp[2]; in XML_ParserCreateNS()
669 static const XML_Char implicitContext[] = {
912 XML_ParserCreate_MM(const XML_Char *encodingName, in XML_ParserCreate_MM()
914 const XML_Char *nameSep) in XML_ParserCreate_MM()
920 parserCreate(const XML_Char *encodingName, in parserCreate()
922 const XML_Char *nameSep, in parserCreate()
969 parser->m_dataBuf = (XML_Char *)MALLOC(parser, INIT_DATA_BUF_SIZE * sizeof(XML_Char)); in parserCreate()
1037 parserInit(XML_Parser parser, const XML_Char *encodingName) in parserInit()
1122 XML_ParserReset(XML_Parser parser, const XML_Char *encodingName) in XML_ParserReset()
1164 XML_SetEncoding(XML_Parser parser, const XML_Char *encodingName) in XML_SetEncoding()
1192 const XML_Char *context, in XML_ExternalEntityParserCreate()
1193 const XML_Char *encodingName) in XML_ExternalEntityParserCreate()
1291 XML_Char tmp[2]; in XML_ExternalEntityParserCreate()
1488 XML_SetBase(XML_Parser parser, const XML_Char *p) in XML_SetBase()
1503 const XML_Char * XMLCALL
2462 sizeof(XML_Char)}, in XML_GetFeatureList()
2507 int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1); in storeRawNames()
2519 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); in storeRawNames()
2527 if (tag->name.str == (XML_Char *)tag->buf) in storeRawNames()
2528 tag->name.str = (XML_Char *)temp; in storeRawNames()
2533 tag->name.localPart = (XML_Char *)temp + (tag->name.localPart - in storeRawNames()
2534 (XML_Char *)tag->buf); in storeRawNames()
2713 XML_Char c = 0xA; in doContent()
2756 const XML_Char *name; in doContent()
2758 XML_Char ch = (XML_Char) XmlPredefinedEntityName(enc, in doContent()
2810 const XML_Char *context; in doContent()
2834 XML_Char *toPtr; in doContent()
2861 toPtr = (XML_Char *)tag->buf; in doContent()
2868 convLen = (int)(toPtr - (XML_Char *)tag->buf); in doContent()
2880 toPtr = (XML_Char *)temp + convLen; in doContent()
2884 tag->name.str = (XML_Char *)tag->buf; in doContent()
2891 (const XML_Char **)parser->m_atts); in doContent()
2918 … parser->m_startElementHandler(parser->m_handlerArg, name.str, (const XML_Char **)parser->m_atts); in doContent()
2958 const XML_Char *localPart; in doContent()
2959 const XML_Char *prefix; in doContent()
2960 XML_Char *uri; in doContent()
2967 uri = (XML_Char *)tag->name.str + tag->name.uriLen; in doContent()
2970 prefix = (XML_Char *)tag->name.prefix; in doContent()
3000 XML_Char buf[XML_ENCODE_MAX]; in doContent()
3011 XML_Char c = 0xA; in doContent()
3063 (XML_Char *)s, in doContent()
3064 (int)((XML_Char *)end - (XML_Char *)s)); in doContent()
3099 (XML_Char *)s, in doContent()
3100 (int)((XML_Char *)next - (XML_Char *)s)); in doContent()
3181 const XML_Char **appAtts; /* the attribute list for the application */ in storeAtts()
3186 XML_Char *uri; in storeAtts()
3189 const XML_Char *localPart; in storeAtts()
3194 const XML_Char *name = poolCopyString(&dtd->pool, tagNamePtr->str); in storeAtts()
3233 appAtts = (const XML_Char **)parser->m_atts; in storeAtts()
3391 const XML_Char *s = appAtts[i]; in storeAtts()
3402 ((XML_Char *)s)[-1] = 0; /* clear flag */ in storeAtts()
3426 const XML_Char c = b->uri[j]; in storeAtts()
3431 sip24_update(&sip_state, b->uri, b->uriLen * sizeof(XML_Char)); in storeAtts()
3436 sip24_update(&sip_state, s, keylen(s) * sizeof(XML_Char)); in storeAtts()
3454 const XML_Char *s1 = poolStart(&parser->m_tempPool); in storeAtts()
3455 const XML_Char *s2 = parser->m_nsAtts[j].uriName; in storeAtts()
3492 ((XML_Char *)s)[-1] = 0; /* clear flag */ in storeAtts()
3497 ((XML_Char *)(appAtts[i]))[-1] = 0; in storeAtts()
3533 uri = (XML_Char *)MALLOC(parser, (n + EXPAND_SPARE) * sizeof(XML_Char)); in storeAtts()
3537 memcpy(uri, binding->uri, binding->uriLen * sizeof(XML_Char)); in storeAtts()
3546 memcpy(uri, localPart, i * sizeof(XML_Char)); in storeAtts()
3551 memcpy(uri + 1, binding->prefix->name, prefixLen * sizeof(XML_Char)); in storeAtts()
3562 const XML_Char *uri, BINDING **bindingsPtr) in addBinding()
3564 static const XML_Char xmlNamespace[] = { in addBinding()
3573 (int)sizeof(xmlNamespace)/sizeof(XML_Char) - 1; in addBinding()
3574 static const XML_Char xmlnsNamespace[] = { in addBinding()
3582 (int)sizeof(xmlnsNamespace)/sizeof(XML_Char) - 1; in addBinding()
3633 XML_Char *temp = (XML_Char *)REALLOC(parser, b->uri, in addBinding()
3634 sizeof(XML_Char) * (len + EXPAND_SPARE)); in addBinding()
3646 b->uri = (XML_Char *)MALLOC(parser, sizeof(XML_Char) * (len + EXPAND_SPARE)); in addBinding()
3654 memcpy(b->uri, uri, len * sizeof(XML_Char)); in addBinding()
3749 XML_Char c = 0xA; in doCdataSection()
3773 (XML_Char *)s, in doCdataSection()
3774 (int)((XML_Char *)next - (XML_Char *)s)); in doCdataSection()
3963 const XML_Char *storedEncName = NULL; in processXmlDecl()
3967 const XML_Char *storedversion = NULL; in processXmlDecl()
4055 handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName) in handleUnknownEncoding()
4308 static const XML_Char externalSubsetName[] = { ASCII_HASH , '\0' }; in doProlog()
4310 static const XML_Char atypeCDATA[] = in doProlog()
4312 static const XML_Char atypeID[] = { ASCII_I, ASCII_D, '\0' }; in doProlog()
4313 static const XML_Char atypeIDREF[] = in doProlog()
4315 static const XML_Char atypeIDREFS[] = in doProlog()
4317 static const XML_Char atypeENTITY[] = in doProlog()
4319 static const XML_Char atypeENTITIES[] = { ASCII_E, ASCII_N, in doProlog()
4321 static const XML_Char atypeNMTOKEN[] = { in doProlog()
4323 static const XML_Char atypeNMTOKENS[] = { ASCII_N, ASCII_M, ASCII_T, in doProlog()
4325 static const XML_Char notationPrefix[] = { ASCII_N, ASCII_O, ASCII_T, in doProlog()
4327 static const XML_Char enumValueSep[] = { ASCII_PIPE, '\0' }; in doProlog()
4328 static const XML_Char enumValueStart[] = { ASCII_LPAREN, '\0' }; in doProlog()
4447 XML_Char *pubId; in doProlog()
4467 XML_Char *tem = poolStoreString(&dtd->pool, in doProlog()
4625 const XML_Char *prefix; in doProlog()
4672 const XML_Char *attVal; in doProlog()
4840 const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next); in doProlog()
4872 const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next); in doProlog()
4918 XML_Char *tem = poolStoreString(&parser->m_tempPool, in doProlog()
4932 const XML_Char *systemId in doProlog()
5054 const XML_Char *name; in doProlog()
5207 const XML_Char *name; in doProlog()
5554 XML_Char buf[XML_ENCODE_MAX]; in appendAttributeValue()
5598 const XML_Char *name; in appendAttributeValue()
5601 XML_Char ch = (XML_Char) XmlPredefinedEntityName(enc, in appendAttributeValue()
5683 const XML_Char *textEnd = entity->textPtr + entity->textLen; in appendAttributeValue()
5744 const XML_Char *name; in storeEntityValue()
5832 XML_Char buf[XML_ENCODE_MAX]; in storeEntityValue()
5894 normalizeLines(XML_Char *s) in normalizeLines()
5896 XML_Char *p; in normalizeLines()
5920 const XML_Char *target; in reportProcessingInstruction()
5921 XML_Char *data; in reportProcessingInstruction()
5949 XML_Char *data; in reportComment()
6009 …parser->m_defaultHandler(parser->m_handlerArg, (XML_Char *)s, (int)((XML_Char *)end - (XML_Char *)… in reportDefault()
6015 XML_Bool isId, const XML_Char *value, XML_Parser parser) in defineAttribute()
6063 const XML_Char *name; in setElementTypePrefix()
6067 const XML_Char *s; in setElementTypePrefix()
6095 const XML_Char *name; in getAttributeId()
6154 static const XML_Char *
6200 const XML_Char *s; in getContext()
6232 const XML_Char *s; in getContext()
6252 setContext(XML_Parser parser, const XML_Char *context) in setContext()
6255 const XML_Char *s = context; in setContext()
6313 normalizePublicId(XML_Char *publicId) in normalizePublicId()
6315 XML_Char *p = publicId; in normalizePublicId()
6316 XML_Char *s; in normalizePublicId()
6449 const XML_Char *name; in dtdCopy()
6466 const XML_Char *name; in dtdCopy()
6500 const XML_Char *name; in dtdCopy()
6578 const XML_Char *cachedOldBase = NULL; in copyEntityTable()
6579 const XML_Char *cachedNewBase = NULL; in copyEntityTable()
6585 const XML_Char *name; in copyEntityTable()
6596 const XML_Char *tem = poolCopyString(newPool, oldE->systemId); in copyEntityTable()
6619 const XML_Char *tem = poolCopyStringN(newPool, oldE->textPtr, in copyEntityTable()
6627 const XML_Char *tem = poolCopyString(newPool, oldE->notation); in copyEntityTable()
6672 sip24_update(&state, s, keylen(s) * sizeof(XML_Char)); in hash()
6851 static XML_Char *
6867 static const XML_Char * FASTCALL
6868 poolCopyString(STRING_POOL *pool, const XML_Char *s) in poolCopyString()
6879 static const XML_Char *
6880 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) in poolCopyStringN()
6905 static const XML_Char * FASTCALL
6906 poolAppendString(STRING_POOL *pool, const XML_Char *s) in poolAppendString()
6916 static XML_Char *
6938 const size_t stretch = sizeof(XML_Char); /* can be 4 bytes */ in poolBytesToAllocateFor()
6976 (pool->end - pool->start) * sizeof(XML_Char)); in poolGrow()
7056 (pool->ptr - pool->start) * sizeof(XML_Char)); in poolGrow()
7117 XML_Char **strpos) in build_node()
7123 const XML_Char *src; in build_node()
7156 XML_Char * str; in build_model()
7158 + (dtd->contentStringLen * sizeof(XML_Char))); in build_model()
7164 str = (XML_Char *) (&ret[dtd->scaffCount]); in build_model()
7178 const XML_Char *name = poolStoreString(&dtd->pool, enc, ptr, end); in getElementType()
7196 static XML_Char *
7197 copyString(const XML_Char *s, in copyString()
7201 XML_Char *result; in copyString()
7211 result = memsuite->malloc_fcn(charsRequired * sizeof(XML_Char)); in copyString()
7215 memcpy(result, s, charsRequired * sizeof(XML_Char)); in copyString()