Lines Matching refs:XML_Char
173 typedef const XML_Char *KEY;
223 XML_Char *uri;
229 const XML_Char *name;
234 const XML_Char *str;
235 const XML_Char *localPart;
236 const XML_Char *prefix;
266 const XML_Char *name;
267 const XML_Char *textPtr;
270 const XML_Char *systemId;
271 const XML_Char *base;
272 const XML_Char *publicId;
273 const XML_Char *notation;
282 const XML_Char *name;
294 XML_Char s[1];
300 const XML_Char *end;
301 XML_Char *ptr;
302 XML_Char *start;
309 XML_Char *name;
318 const XML_Char *value;
324 const XML_Char *uriName;
328 const XML_Char *name;
397 const XML_Char *encodingName);
425 const ATTRIBUTE_ID *attId, const XML_Char *uri,
428 XML_Bool isId, const XML_Char *dfltValue,
448 static const XML_Char *getContext(XML_Parser parser);
449 static XML_Bool setContext(XML_Parser parser, const XML_Char *context);
451 static void FASTCALL normalizePublicId(XML_Char *s);
475 static XML_Char *poolAppend(STRING_POOL *pool, const ENCODING *enc,
477 static XML_Char *poolStoreString(STRING_POOL *pool, const ENCODING *enc,
480 static const XML_Char *FASTCALL poolCopyString(STRING_POOL *pool,
481 const XML_Char *s);
482 static const XML_Char *poolCopyStringN(STRING_POOL *pool, const XML_Char *s,
484 static const XML_Char *FASTCALL poolAppendString(STRING_POOL *pool,
485 const XML_Char *s);
492 static XML_Char *copyString(const XML_Char *s,
498 static XML_Parser parserCreate(const XML_Char *encodingName,
500 const XML_Char *nameSep, DTD *dtd);
502 static void parserInit(XML_Parser parser, const XML_Char *encodingName);
531 XML_Char *m_dataBuf;
532 XML_Char *m_dataBufEnd;
559 const XML_Char *m_protocolEncodingName;
577 const XML_Char *m_doctypeName;
578 const XML_Char *m_doctypeSysid;
579 const XML_Char *m_doctypePubid;
580 const XML_Char *m_declAttributeType;
581 const XML_Char *m_declNotationName;
582 const XML_Char *m_declNotationPublicId;
588 const XML_Char *m_curBase;
608 XML_Char m_namespaceSeparator;
624 XML_ParserCreate(const XML_Char *encodingName) { in XML_ParserCreate()
629 XML_ParserCreateNS(const XML_Char *encodingName, XML_Char nsSep) { in XML_ParserCreateNS()
630 XML_Char tmp[2]; in XML_ParserCreateNS()
635 static const XML_Char implicitContext[]
865 XML_ParserCreate_MM(const XML_Char *encodingName, in XML_ParserCreate_MM()
867 const XML_Char *nameSep) { in XML_ParserCreate_MM()
872 parserCreate(const XML_Char *encodingName, in parserCreate()
873 const XML_Memory_Handling_Suite *memsuite, const XML_Char *nameSep, in parserCreate()
920 = (XML_Char *)MALLOC(parser, INIT_DATA_BUF_SIZE * sizeof(XML_Char)); in parserCreate()
987 parserInit(XML_Parser parser, const XML_Char *encodingName) { in parserInit()
1070 XML_ParserReset(XML_Parser parser, const XML_Char *encodingName) { in XML_ParserReset()
1111 XML_SetEncoding(XML_Parser parser, const XML_Char *encodingName) { in XML_SetEncoding()
1138 XML_ExternalEntityParserCreate(XML_Parser oldParser, const XML_Char *context, in XML_ExternalEntityParserCreate()
1139 const XML_Char *encodingName) { in XML_ExternalEntityParserCreate()
1236 XML_Char tmp[2]; in XML_ExternalEntityParserCreate()
1428 XML_SetBase(XML_Parser parser, const XML_Char *p) { in XML_SetBase()
1441 const XML_Char *XMLCALL
2357 sizeof(XML_Char)}, in XML_GetFeatureList()
2400 int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1); in storeRawNames()
2412 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); in storeRawNames()
2420 if (tag->name.str == (XML_Char *)tag->buf) in storeRawNames()
2421 tag->name.str = (XML_Char *)temp; in storeRawNames()
2427 = (XML_Char *)temp + (tag->name.localPart - (XML_Char *)tag->buf); in storeRawNames()
2585 XML_Char c = 0xA; in doContent()
2626 const XML_Char *name; in doContent()
2628 XML_Char ch = (XML_Char)XmlPredefinedEntityName( in doContent()
2677 const XML_Char *context; in doContent()
2697 XML_Char *toPtr; in doContent()
2723 toPtr = (XML_Char *)tag->buf; in doContent()
2730 convLen = (int)(toPtr - (XML_Char *)tag->buf); in doContent()
2743 toPtr = (XML_Char *)temp + convLen; in doContent()
2747 tag->name.str = (XML_Char *)tag->buf; in doContent()
2754 (const XML_Char **)parser->m_atts); in doContent()
2781 (const XML_Char **)parser->m_atts); in doContent()
2822 const XML_Char *localPart; in doContent()
2823 const XML_Char *prefix; in doContent()
2824 XML_Char *uri; in doContent()
2831 uri = (XML_Char *)tag->name.str + tag->name.uriLen; in doContent()
2835 prefix = (XML_Char *)tag->name.prefix; in doContent()
2870 XML_Char buf[XML_ENCODE_MAX]; in doContent()
2880 XML_Char c = 0xA; in doContent()
2930 parser->m_handlerArg, (XML_Char *)s, in doContent()
2931 (int)((XML_Char *)end - (XML_Char *)s)); in doContent()
2964 charDataHandler(parser->m_handlerArg, (XML_Char *)s, in doContent()
2965 (int)((XML_Char *)next - (XML_Char *)s)); in doContent()
3041 const XML_Char **appAtts; /* the attribute list for the application */ in storeAtts()
3046 XML_Char *uri; in storeAtts()
3049 const XML_Char *localPart; in storeAtts()
3055 const XML_Char *name = poolCopyString(&dtd->pool, tagNamePtr->str); in storeAtts()
3096 appAtts = (const XML_Char **)parser->m_atts; in storeAtts()
3254 const XML_Char *s = appAtts[i]; in storeAtts()
3265 ((XML_Char *)s)[-1] = 0; /* clear flag */ in storeAtts()
3289 const XML_Char c = b->uri[j]; in storeAtts()
3294 sip24_update(&sip_state, b->uri, b->uriLen * sizeof(XML_Char)); in storeAtts()
3299 sip24_update(&sip_state, s, keylen(s) * sizeof(XML_Char)); in storeAtts()
3317 const XML_Char *s1 = poolStart(&parser->m_tempPool); in storeAtts()
3318 const XML_Char *s2 = parser->m_nsAtts[j].uriName; in storeAtts()
3355 ((XML_Char *)s)[-1] = 0; /* clear flag */ in storeAtts()
3360 ((XML_Char *)(appAtts[i]))[-1] = 0; in storeAtts()
3394 uri = (XML_Char *)MALLOC(parser, (n + EXPAND_SPARE) * sizeof(XML_Char)); in storeAtts()
3398 memcpy(uri, binding->uri, binding->uriLen * sizeof(XML_Char)); in storeAtts()
3407 memcpy(uri, localPart, i * sizeof(XML_Char)); in storeAtts()
3412 memcpy(uri + 1, binding->prefix->name, prefixLen * sizeof(XML_Char)); in storeAtts()
3423 const XML_Char *uri, BINDING **bindingsPtr) { in addBinding()
3424 static const XML_Char xmlNamespace[] in addBinding()
3433 static const int xmlLen = (int)sizeof(xmlNamespace) / sizeof(XML_Char) - 1; in addBinding()
3434 static const XML_Char xmlnsNamespace[] in addBinding()
3441 = (int)sizeof(xmlnsNamespace) / sizeof(XML_Char) - 1; in addBinding()
3489 XML_Char *temp = (XML_Char *)REALLOC( in addBinding()
3490 parser, b->uri, sizeof(XML_Char) * (len + EXPAND_SPARE)); in addBinding()
3502 = (XML_Char *)MALLOC(parser, sizeof(XML_Char) * (len + EXPAND_SPARE)); in addBinding()
3510 memcpy(b->uri, uri, len * sizeof(XML_Char)); in addBinding()
3597 XML_Char c = 0xA; in doCdataSection()
3619 charDataHandler(parser->m_handlerArg, (XML_Char *)s, in doCdataSection()
3620 (int)((XML_Char *)next - (XML_Char *)s)); in doCdataSection()
3798 const XML_Char *storedEncName = NULL; in processXmlDecl()
3802 const XML_Char *storedversion = NULL; in processXmlDecl()
3878 handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName) { in handleUnknownEncoding()
4101 static const XML_Char externalSubsetName[] = {ASCII_HASH, '\0'}; in doProlog()
4103 static const XML_Char atypeCDATA[] in doProlog()
4105 static const XML_Char atypeID[] = {ASCII_I, ASCII_D, '\0'}; in doProlog()
4106 static const XML_Char atypeIDREF[] in doProlog()
4108 static const XML_Char atypeIDREFS[] in doProlog()
4110 static const XML_Char atypeENTITY[] in doProlog()
4112 static const XML_Char atypeENTITIES[] in doProlog()
4115 static const XML_Char atypeNMTOKEN[] in doProlog()
4117 static const XML_Char atypeNMTOKENS[] in doProlog()
4120 static const XML_Char notationPrefix[] in doProlog()
4123 static const XML_Char enumValueSep[] = {ASCII_PIPE, '\0'}; in doProlog()
4124 static const XML_Char enumValueStart[] = {ASCII_LPAREN, '\0'}; in doProlog()
4239 XML_Char *pubId; in doProlog()
4259 XML_Char *tem in doProlog()
4415 const XML_Char *prefix; in doProlog()
4462 const XML_Char *attVal; in doProlog()
4615 const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next); in doProlog()
4645 const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next); in doProlog()
4692 XML_Char *tem = poolStoreString(&parser->m_tempPool, enc, in doProlog()
4705 const XML_Char *systemId = poolStoreString(&parser->m_tempPool, enc, in doProlog()
4824 const XML_Char *name; in doProlog()
4972 const XML_Char *name; in doProlog()
5307 XML_Char buf[XML_ENCODE_MAX]; in appendAttributeValue()
5348 const XML_Char *name; in appendAttributeValue()
5351 XML_Char ch = (XML_Char)XmlPredefinedEntityName( in appendAttributeValue()
5429 const XML_Char *textEnd = entity->textPtr + entity->textLen; in appendAttributeValue()
5486 const XML_Char *name; in storeEntityValue()
5567 XML_Char buf[XML_ENCODE_MAX]; in storeEntityValue()
5628 normalizeLines(XML_Char *s) { in normalizeLines()
5629 XML_Char *p; in normalizeLines()
5651 const XML_Char *target; in reportProcessingInstruction()
5652 XML_Char *data; in reportProcessingInstruction()
5678 XML_Char *data; in reportComment()
5737 parser->m_defaultHandler(parser->m_handlerArg, (XML_Char *)s, in reportDefault()
5738 (int)((XML_Char *)end - (XML_Char *)s)); in reportDefault()
5743 XML_Bool isId, const XML_Char *value, XML_Parser parser) { in defineAttribute()
5788 const XML_Char *name; in setElementTypePrefix()
5792 const XML_Char *s; in setElementTypePrefix()
5819 const XML_Char *name; in getAttributeId()
5877 static const XML_Char *
5923 const XML_Char *s; in getContext()
5954 const XML_Char *s; in getContext()
5974 setContext(XML_Parser parser, const XML_Char *context) { in setContext()
5976 const XML_Char *s = context; in setContext()
6034 normalizePublicId(XML_Char *publicId) { in normalizePublicId()
6035 XML_Char *p = publicId; in normalizePublicId()
6036 XML_Char *s; in normalizePublicId()
6166 const XML_Char *name; in dtdCopy()
6183 const XML_Char *name; in dtdCopy()
6217 const XML_Char *name; in dtdCopy()
6287 const XML_Char *cachedOldBase = NULL; in copyEntityTable()
6288 const XML_Char *cachedNewBase = NULL; in copyEntityTable()
6294 const XML_Char *name; in copyEntityTable()
6305 const XML_Char *tem = poolCopyString(newPool, oldE->systemId); in copyEntityTable()
6327 const XML_Char *tem in copyEntityTable()
6335 const XML_Char *tem = poolCopyString(newPool, oldE->notation); in copyEntityTable()
6377 sip24_update(&state, s, keylen(s) * sizeof(XML_Char)); in hash()
6546 static XML_Char *
6563 static const XML_Char *FASTCALL
6564 poolCopyString(STRING_POOL *pool, const XML_Char *s) { in poolCopyString()
6574 static const XML_Char *
6575 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) { in poolCopyStringN()
6599 static const XML_Char *FASTCALL
6600 poolAppendString(STRING_POOL *pool, const XML_Char *s) { in poolAppendString()
6609 static XML_Char *
6629 const size_t stretch = sizeof(XML_Char); /* can be 4 bytes */ in poolBytesToAllocateFor()
6666 (pool->end - pool->start) * sizeof(XML_Char)); in poolGrow()
6744 memcpy(tem->s, pool->start, (pool->ptr - pool->start) * sizeof(XML_Char)); in poolGrow()
6801 XML_Content **contpos, XML_Char **strpos) { in build_node()
6806 const XML_Char *src; in build_node()
6836 XML_Char *str; in build_model()
6838 + (dtd->contentStringLen * sizeof(XML_Char))); in build_model()
6844 str = (XML_Char *)(&ret[dtd->scaffCount]); in build_model()
6855 const XML_Char *name = poolStoreString(&dtd->pool, enc, ptr, end); in getElementType()
6874 static XML_Char *
6875 copyString(const XML_Char *s, const XML_Memory_Handling_Suite *memsuite) { in copyString()
6877 XML_Char *result; in copyString()
6887 result = memsuite->malloc_fcn(charsRequired * sizeof(XML_Char)); in copyString()
6891 memcpy(result, s, charsRequired * sizeof(XML_Char)); in copyString()