• Home
  • Raw
  • Download

Lines Matching refs:XML_Char

199 typedef const XML_Char *KEY;
249 XML_Char *uri;
255 const XML_Char *name;
260 const XML_Char *str;
261 const XML_Char *localPart;
262 const XML_Char *prefix;
292 const XML_Char *name;
293 const XML_Char *textPtr;
296 const XML_Char *systemId;
297 const XML_Char *base;
298 const XML_Char *publicId;
299 const XML_Char *notation;
308 const XML_Char *name;
320 XML_Char s[1];
326 const XML_Char *end;
327 XML_Char *ptr;
328 XML_Char *start;
335 XML_Char *name;
344 const XML_Char *value;
350 const XML_Char *uriName;
354 const XML_Char *name;
448 const XML_Char *encodingName);
479 const ATTRIBUTE_ID *attId, const XML_Char *uri,
482 XML_Bool isId, const XML_Char *dfltValue,
505 static const XML_Char *getContext(XML_Parser parser);
506 static XML_Bool setContext(XML_Parser parser, const XML_Char *context);
508 static void FASTCALL normalizePublicId(XML_Char *s);
532 static XML_Char *poolAppend(STRING_POOL *pool, const ENCODING *enc,
534 static XML_Char *poolStoreString(STRING_POOL *pool, const ENCODING *enc,
537 static const XML_Char *FASTCALL poolCopyString(STRING_POOL *pool,
538 const XML_Char *s);
539 static const XML_Char *poolCopyStringN(STRING_POOL *pool, const XML_Char *s,
541 static const XML_Char *FASTCALL poolAppendString(STRING_POOL *pool,
542 const XML_Char *s);
549 static XML_Char *copyString(const XML_Char *s,
555 static XML_Parser parserCreate(const XML_Char *encodingName,
557 const XML_Char *nameSep, DTD *dtd);
559 static void parserInit(XML_Parser parser, const XML_Char *encodingName);
616 XML_Char *m_dataBuf;
617 XML_Char *m_dataBufEnd;
644 const XML_Char *m_protocolEncodingName;
662 const XML_Char *m_doctypeName;
663 const XML_Char *m_doctypeSysid;
664 const XML_Char *m_doctypePubid;
665 const XML_Char *m_declAttributeType;
666 const XML_Char *m_declNotationName;
667 const XML_Char *m_declNotationPublicId;
673 const XML_Char *m_curBase;
693 XML_Char m_namespaceSeparator;
713 XML_ParserCreate(const XML_Char *encodingName) { in XML_ParserCreate()
718 XML_ParserCreateNS(const XML_Char *encodingName, XML_Char nsSep) { in XML_ParserCreateNS()
719 XML_Char tmp[2]; in XML_ParserCreateNS()
724 static const XML_Char implicitContext[]
962 XML_ParserCreate_MM(const XML_Char *encodingName, in XML_ParserCreate_MM()
964 const XML_Char *nameSep) { in XML_ParserCreate_MM()
969 parserCreate(const XML_Char *encodingName, in parserCreate()
970 const XML_Memory_Handling_Suite *memsuite, const XML_Char *nameSep, in parserCreate()
1017 = (XML_Char *)MALLOC(parser, INIT_DATA_BUF_SIZE * sizeof(XML_Char)); in parserCreate()
1084 parserInit(XML_Parser parser, const XML_Char *encodingName) { in parserInit()
1179 XML_ParserReset(XML_Parser parser, const XML_Char *encodingName) { in XML_ParserReset()
1220 XML_SetEncoding(XML_Parser parser, const XML_Char *encodingName) { in XML_SetEncoding()
1247 XML_ExternalEntityParserCreate(XML_Parser oldParser, const XML_Char *context, in XML_ExternalEntityParserCreate()
1248 const XML_Char *encodingName) { in XML_ExternalEntityParserCreate()
1345 XML_Char tmp[2]; in XML_ExternalEntityParserCreate()
1538 XML_SetBase(XML_Parser parser, const XML_Char *p) { in XML_SetBase()
1551 const XML_Char *XMLCALL
2481 sizeof(XML_Char)}, in XML_GetFeatureList()
2558 int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1); in storeRawNames()
2570 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); in storeRawNames()
2578 if (tag->name.str == (XML_Char *)tag->buf) in storeRawNames()
2579 tag->name.str = (XML_Char *)temp; in storeRawNames()
2585 = (XML_Char *)temp + (tag->name.localPart - (XML_Char *)tag->buf); in storeRawNames()
2767 XML_Char c = 0xA; in doContent()
2808 const XML_Char *name; in doContent()
2810 XML_Char ch = (XML_Char)XmlPredefinedEntityName( in doContent()
2818 ((char *)&ch) + sizeof(XML_Char), __LINE__, in doContent()
2867 const XML_Char *context; in doContent()
2887 XML_Char *toPtr; in doContent()
2913 toPtr = (XML_Char *)tag->buf; in doContent()
2920 convLen = (int)(toPtr - (XML_Char *)tag->buf); in doContent()
2933 toPtr = (XML_Char *)temp + convLen; in doContent()
2937 tag->name.str = (XML_Char *)tag->buf; in doContent()
2945 (const XML_Char **)parser->m_atts); in doContent()
2973 (const XML_Char **)parser->m_atts); in doContent()
3014 const XML_Char *localPart; in doContent()
3015 const XML_Char *prefix; in doContent()
3016 XML_Char *uri; in doContent()
3023 uri = (XML_Char *)tag->name.str + tag->name.uriLen; in doContent()
3027 prefix = (XML_Char *)tag->name.prefix; in doContent()
3062 XML_Char buf[XML_ENCODE_MAX]; in doContent()
3072 XML_Char c = 0xA; in doContent()
3123 parser->m_handlerArg, (XML_Char *)s, in doContent()
3124 (int)((XML_Char *)end - (XML_Char *)s)); in doContent()
3157 charDataHandler(parser->m_handlerArg, (XML_Char *)s, in doContent()
3158 (int)((XML_Char *)next - (XML_Char *)s)); in doContent()
3235 const XML_Char **appAtts; /* the attribute list for the application */ in storeAtts()
3240 XML_Char *uri; in storeAtts()
3243 const XML_Char *localPart; in storeAtts()
3249 const XML_Char *name = poolCopyString(&dtd->pool, tagNamePtr->str); in storeAtts()
3290 appAtts = (const XML_Char **)parser->m_atts; in storeAtts()
3448 const XML_Char *s = appAtts[i]; in storeAtts()
3459 ((XML_Char *)s)[-1] = 0; /* clear flag */ in storeAtts()
3483 const XML_Char c = b->uri[j]; in storeAtts()
3488 sip24_update(&sip_state, b->uri, b->uriLen * sizeof(XML_Char)); in storeAtts()
3493 sip24_update(&sip_state, s, keylen(s) * sizeof(XML_Char)); in storeAtts()
3511 const XML_Char *s1 = poolStart(&parser->m_tempPool); in storeAtts()
3512 const XML_Char *s2 = parser->m_nsAtts[j].uriName; in storeAtts()
3549 ((XML_Char *)s)[-1] = 0; /* clear flag */ in storeAtts()
3554 ((XML_Char *)(appAtts[i]))[-1] = 0; in storeAtts()
3588 uri = (XML_Char *)MALLOC(parser, (n + EXPAND_SPARE) * sizeof(XML_Char)); in storeAtts()
3592 memcpy(uri, binding->uri, binding->uriLen * sizeof(XML_Char)); in storeAtts()
3601 memcpy(uri, localPart, i * sizeof(XML_Char)); in storeAtts()
3606 memcpy(uri + 1, binding->prefix->name, prefixLen * sizeof(XML_Char)); in storeAtts()
3617 const XML_Char *uri, BINDING **bindingsPtr) { in addBinding()
3618 static const XML_Char xmlNamespace[] in addBinding()
3627 static const int xmlLen = (int)sizeof(xmlNamespace) / sizeof(XML_Char) - 1; in addBinding()
3628 static const XML_Char xmlnsNamespace[] in addBinding()
3635 = (int)sizeof(xmlnsNamespace) / sizeof(XML_Char) - 1; in addBinding()
3683 XML_Char *temp = (XML_Char *)REALLOC( in addBinding()
3684 parser, b->uri, sizeof(XML_Char) * (len + EXPAND_SPARE)); in addBinding()
3696 = (XML_Char *)MALLOC(parser, sizeof(XML_Char) * (len + EXPAND_SPARE)); in addBinding()
3704 memcpy(b->uri, uri, len * sizeof(XML_Char)); in addBinding()
3800 XML_Char c = 0xA; in doCdataSection()
3822 charDataHandler(parser->m_handlerArg, (XML_Char *)s, in doCdataSection()
3823 (int)((XML_Char *)next - (XML_Char *)s)); in doCdataSection()
4008 const XML_Char *storedEncName = NULL; in processXmlDecl()
4012 const XML_Char *storedversion = NULL; in processXmlDecl()
4097 handleUnknownEncoding(XML_Parser parser, const XML_Char *encodingName) { in handleUnknownEncoding()
4345 static const XML_Char externalSubsetName[] = {ASCII_HASH, '\0'}; in doProlog()
4347 static const XML_Char atypeCDATA[] in doProlog()
4349 static const XML_Char atypeID[] = {ASCII_I, ASCII_D, '\0'}; in doProlog()
4350 static const XML_Char atypeIDREF[] in doProlog()
4352 static const XML_Char atypeIDREFS[] in doProlog()
4354 static const XML_Char atypeENTITY[] in doProlog()
4356 static const XML_Char atypeENTITIES[] in doProlog()
4359 static const XML_Char atypeNMTOKEN[] in doProlog()
4361 static const XML_Char atypeNMTOKENS[] in doProlog()
4364 static const XML_Char notationPrefix[] in doProlog()
4367 static const XML_Char enumValueSep[] = {ASCII_PIPE, '\0'}; in doProlog()
4368 static const XML_Char enumValueStart[] = {ASCII_LPAREN, '\0'}; in doProlog()
4500 XML_Char *pubId; in doProlog()
4520 XML_Char *tem in doProlog()
4676 const XML_Char *prefix; in doProlog()
4723 const XML_Char *attVal; in doProlog()
4878 const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next); in doProlog()
4908 const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next); in doProlog()
4955 XML_Char *tem = poolStoreString(&parser->m_tempPool, enc, in doProlog()
4968 const XML_Char *systemId = poolStoreString(&parser->m_tempPool, enc, in doProlog()
5087 const XML_Char *name; in doProlog()
5238 const XML_Char *name; in doProlog()
5607 XML_Char buf[XML_ENCODE_MAX]; in appendAttributeValue()
5648 const XML_Char *name; in appendAttributeValue()
5651 XML_Char ch = (XML_Char)XmlPredefinedEntityName( in appendAttributeValue()
5659 ((char *)&ch) + sizeof(XML_Char), __LINE__, in appendAttributeValue()
5737 const XML_Char *textEnd = entity->textPtr + entity->textLen; in appendAttributeValue()
5815 const XML_Char *name; in storeEntityValue()
5902 XML_Char buf[XML_ENCODE_MAX]; in storeEntityValue()
5963 normalizeLines(XML_Char *s) { in normalizeLines()
5964 XML_Char *p; in normalizeLines()
5986 const XML_Char *target; in reportProcessingInstruction()
5987 XML_Char *data; in reportProcessingInstruction()
6013 XML_Char *data; in reportComment()
6072 parser->m_defaultHandler(parser->m_handlerArg, (XML_Char *)s, in reportDefault()
6073 (int)((XML_Char *)end - (XML_Char *)s)); in reportDefault()
6078 XML_Bool isId, const XML_Char *value, XML_Parser parser) { in defineAttribute()
6123 const XML_Char *name; in setElementTypePrefix()
6127 const XML_Char *s; in setElementTypePrefix()
6154 const XML_Char *name; in getAttributeId()
6212 static const XML_Char *
6258 const XML_Char *s; in getContext()
6289 const XML_Char *s; in getContext()
6309 setContext(XML_Parser parser, const XML_Char *context) { in setContext()
6311 const XML_Char *s = context; in setContext()
6369 normalizePublicId(XML_Char *publicId) { in normalizePublicId()
6370 XML_Char *p = publicId; in normalizePublicId()
6371 XML_Char *s; in normalizePublicId()
6501 const XML_Char *name; in dtdCopy()
6518 const XML_Char *name; in dtdCopy()
6552 const XML_Char *name; in dtdCopy()
6622 const XML_Char *cachedOldBase = NULL; in copyEntityTable()
6623 const XML_Char *cachedNewBase = NULL; in copyEntityTable()
6629 const XML_Char *name; in copyEntityTable()
6640 const XML_Char *tem = poolCopyString(newPool, oldE->systemId); in copyEntityTable()
6662 const XML_Char *tem in copyEntityTable()
6670 const XML_Char *tem = poolCopyString(newPool, oldE->notation); in copyEntityTable()
6712 sip24_update(&state, s, keylen(s) * sizeof(XML_Char)); in hash()
6881 static XML_Char *
6898 static const XML_Char *FASTCALL
6899 poolCopyString(STRING_POOL *pool, const XML_Char *s) { in poolCopyString()
6909 static const XML_Char *
6910 poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) { in poolCopyStringN()
6934 static const XML_Char *FASTCALL
6935 poolAppendString(STRING_POOL *pool, const XML_Char *s) { in poolAppendString()
6944 static XML_Char *
6964 const size_t stretch = sizeof(XML_Char); /* can be 4 bytes */ in poolBytesToAllocateFor()
7001 (pool->end - pool->start) * sizeof(XML_Char)); in poolGrow()
7079 memcpy(tem->s, pool->start, (pool->ptr - pool->start) * sizeof(XML_Char)); in poolGrow()
7136 XML_Content **contpos, XML_Char **strpos) { in build_node()
7141 const XML_Char *src; in build_node()
7171 XML_Char *str; in build_model()
7173 + (dtd->contentStringLen * sizeof(XML_Char))); in build_model()
7179 str = (XML_Char *)(&ret[dtd->scaffCount]); in build_model()
7190 const XML_Char *name = poolStoreString(&dtd->pool, enc, ptr, end); in getElementType()
7209 static XML_Char *
7210 copyString(const XML_Char *s, const XML_Memory_Handling_Suite *memsuite) { in copyString()
7212 XML_Char *result; in copyString()
7222 result = memsuite->malloc_fcn(charsRequired * sizeof(XML_Char)); in copyString()
7226 memcpy(result, s, charsRequired * sizeof(XML_Char)); in copyString()