Lines Matching refs:xmlChar
71 #define XML_CATAL_BREAK ((xmlChar *) -1)
94 static xmlChar *xmlCatalogNormalizePublic(const xmlChar *pubID);
139 xmlChar *name;
140 xmlChar *value;
141 xmlChar *URL; /* The expanded URL using the base */
243 const char *msg, const xmlChar *str1, const xmlChar *str2, in xmlCatalogErr()
244 const xmlChar *str3) in xmlCatalogErr()
274 xmlNewCatalogEntry(xmlCatalogEntryType type, const xmlChar *name, in xmlNewCatalogEntry()
275 const xmlChar *value, const xmlChar *URL, xmlCatalogPrefer prefer, in xmlNewCatalogEntry()
278 xmlChar *normid = NULL; in xmlNewCatalogEntry()
327 xmlFreeCatalogEntry(void *payload, const xmlChar *name ATTRIBUTE_UNUSED) { in xmlFreeCatalogEntry()
385 const xmlChar *name ATTRIBUTE_UNUSED) { in xmlFreeCatalogHashEntryList()
466 const xmlChar *name ATTRIBUTE_UNUSED) { in xmlCatalogDumpEntry()
732 const xmlChar *name ATTRIBUTE_UNUSED) { in xmlCatalogConvertEntry()
826 static xmlChar *
827 xmlCatalogUnWrapURN(const xmlChar *urn) { in xmlCatalogUnWrapURN()
828 xmlChar result[2000]; in xmlCatalogUnWrapURN()
922 inputStream->filename = (char *) xmlCanonicPath((const xmlChar *)filename); in xmlParseCatalogFile()
959 static xmlChar *
973 xmlChar *content; in xmlLoadFileContent()
999 content = (xmlChar*)xmlMallocAtomic(size + 10); in xmlLoadFileContent()
1037 static xmlChar *
1038 xmlCatalogNormalizePublic(const xmlChar *pubID) in xmlCatalogNormalizePublic()
1042 const xmlChar *p; in xmlCatalogNormalizePublic()
1043 xmlChar *ret; in xmlCatalogNormalizePublic()
1044 xmlChar *q; in xmlCatalogNormalizePublic()
1087 xmlParseXMLCatalogFile(xmlCatalogPrefer prefer, const xmlChar *filename);
1091 static xmlChar *
1092 xmlCatalogListXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID,
1093 const xmlChar *sysID);
1094 static xmlChar *
1095 xmlCatalogListXMLResolveURI(xmlCatalogEntryPtr catal, const xmlChar *URI);
1107 xmlGetXMLCatalogEntryType(const xmlChar *name) { in xmlGetXMLCatalogEntryType()
1109 if (xmlStrEqual(name, (const xmlChar *) "system")) in xmlGetXMLCatalogEntryType()
1111 else if (xmlStrEqual(name, (const xmlChar *) "public")) in xmlGetXMLCatalogEntryType()
1113 else if (xmlStrEqual(name, (const xmlChar *) "rewriteSystem")) in xmlGetXMLCatalogEntryType()
1115 else if (xmlStrEqual(name, (const xmlChar *) "delegatePublic")) in xmlGetXMLCatalogEntryType()
1117 else if (xmlStrEqual(name, (const xmlChar *) "delegateSystem")) in xmlGetXMLCatalogEntryType()
1119 else if (xmlStrEqual(name, (const xmlChar *) "uri")) in xmlGetXMLCatalogEntryType()
1121 else if (xmlStrEqual(name, (const xmlChar *) "rewriteURI")) in xmlGetXMLCatalogEntryType()
1123 else if (xmlStrEqual(name, (const xmlChar *) "delegateURI")) in xmlGetXMLCatalogEntryType()
1125 else if (xmlStrEqual(name, (const xmlChar *) "nextCatalog")) in xmlGetXMLCatalogEntryType()
1127 else if (xmlStrEqual(name, (const xmlChar *) "catalog")) in xmlGetXMLCatalogEntryType()
1149 const xmlChar *name, const xmlChar *attrName, in xmlParseXMLCatalogOneNode()
1150 const xmlChar *uriAttrName, xmlCatalogPrefer prefer, in xmlParseXMLCatalogOneNode()
1153 xmlChar *uriValue; in xmlParseXMLCatalogOneNode()
1154 xmlChar *nameValue = NULL; in xmlParseXMLCatalogOneNode()
1155 xmlChar *base = NULL; in xmlParseXMLCatalogOneNode()
1156 xmlChar *URL = NULL; in xmlParseXMLCatalogOneNode()
1223 xmlChar *base = NULL; in xmlParseXMLCatalogNode()
1229 xmlChar *prop; in xmlParseXMLCatalogNode()
1346 xmlParseXMLCatalogFile(xmlCatalogPrefer prefer, const xmlChar *filename) { in xmlParseXMLCatalogFile()
1349 xmlChar *prop; in xmlParseXMLCatalogFile()
1373 (const xmlChar *)filename, NULL, prefer, NULL); in xmlParseXMLCatalogFile()
1503 xmlAddXMLCatalog(xmlCatalogEntryPtr catal, const xmlChar *type, in xmlAddXMLCatalog()
1504 const xmlChar *orig, const xmlChar *replace) { in xmlAddXMLCatalog()
1581 xmlDelXMLCatalog(xmlCatalogEntryPtr catal, const xmlChar *value) { in xmlDelXMLCatalog()
1631 static xmlChar *
1632 xmlCatalogXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID, in xmlCatalogXMLResolve()
1633 const xmlChar *sysID) { in xmlCatalogXMLResolve()
1634 xmlChar *ret = NULL; in xmlCatalogXMLResolve()
1701 const xmlChar *delegates[MAX_DELEGATE]; in xmlCatalogXMLResolve()
1778 const xmlChar *delegates[MAX_DELEGATE]; in xmlCatalogXMLResolve()
1864 static xmlChar *
1865 xmlCatalogXMLResolveURI(xmlCatalogEntryPtr catal, const xmlChar *URI) { in xmlCatalogXMLResolveURI()
1866 xmlChar *ret = NULL; in xmlCatalogXMLResolveURI()
1931 const xmlChar *delegates[MAX_DELEGATE]; in xmlCatalogXMLResolveURI()
2007 static xmlChar *
2008 xmlCatalogListXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID, in xmlCatalogListXMLResolve()
2009 const xmlChar *sysID) { in xmlCatalogListXMLResolve()
2010 xmlChar *ret = NULL; in xmlCatalogListXMLResolve()
2011 xmlChar *urnID = NULL; in xmlCatalogListXMLResolve()
2012 xmlChar *normid; in xmlCatalogListXMLResolve()
2098 static xmlChar *
2099 xmlCatalogListXMLResolveURI(xmlCatalogEntryPtr catal, const xmlChar *URI) { in xmlCatalogListXMLResolveURI()
2100 xmlChar *ret = NULL; in xmlCatalogListXMLResolveURI()
2101 xmlChar *urnID = NULL; in xmlCatalogListXMLResolveURI()
2160 static const xmlChar *
2161 xmlParseSGMLCatalogComment(const xmlChar *cur) { in xmlParseSGMLCatalogComment()
2182 static const xmlChar *
2183 xmlParseSGMLCatalogPubid(const xmlChar *cur, xmlChar **id) { in xmlParseSGMLCatalogPubid()
2184 xmlChar *buf = NULL, *tmp; in xmlParseSGMLCatalogPubid()
2187 xmlChar stop; in xmlParseSGMLCatalogPubid()
2201 buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar)); in xmlParseSGMLCatalogPubid()
2213 tmp = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar)); in xmlParseSGMLCatalogPubid()
2251 static const xmlChar *
2252 xmlParseSGMLCatalogName(const xmlChar *cur, xmlChar **name) { in xmlParseSGMLCatalogName()
2253 xmlChar buf[XML_MAX_NAMELEN + 5]; in xmlParseSGMLCatalogName()
2289 xmlGetSGMLCatalogEntryType(const xmlChar *name) { in xmlGetSGMLCatalogEntryType()
2291 if (xmlStrEqual(name, (const xmlChar *) "SYSTEM")) in xmlGetSGMLCatalogEntryType()
2293 else if (xmlStrEqual(name, (const xmlChar *) "PUBLIC")) in xmlGetSGMLCatalogEntryType()
2295 else if (xmlStrEqual(name, (const xmlChar *) "DELEGATE")) in xmlGetSGMLCatalogEntryType()
2297 else if (xmlStrEqual(name, (const xmlChar *) "ENTITY")) in xmlGetSGMLCatalogEntryType()
2299 else if (xmlStrEqual(name, (const xmlChar *) "DOCTYPE")) in xmlGetSGMLCatalogEntryType()
2301 else if (xmlStrEqual(name, (const xmlChar *) "LINKTYPE")) in xmlGetSGMLCatalogEntryType()
2303 else if (xmlStrEqual(name, (const xmlChar *) "NOTATION")) in xmlGetSGMLCatalogEntryType()
2305 else if (xmlStrEqual(name, (const xmlChar *) "SGMLDECL")) in xmlGetSGMLCatalogEntryType()
2307 else if (xmlStrEqual(name, (const xmlChar *) "DOCUMENT")) in xmlGetSGMLCatalogEntryType()
2309 else if (xmlStrEqual(name, (const xmlChar *) "CATALOG")) in xmlGetSGMLCatalogEntryType()
2311 else if (xmlStrEqual(name, (const xmlChar *) "BASE")) in xmlGetSGMLCatalogEntryType()
2330 xmlParseSGMLCatalog(xmlCatalogPtr catal, const xmlChar *value, in xmlParseSGMLCatalog()
2332 const xmlChar *cur = value; in xmlParseSGMLCatalog()
2333 xmlChar *base = NULL; in xmlParseSGMLCatalog()
2338 base = xmlStrdup((const xmlChar *) file); in xmlParseSGMLCatalog()
2351 xmlChar *sysid = NULL; in xmlParseSGMLCatalog()
2352 xmlChar *name = NULL; in xmlParseSGMLCatalog()
2365 if (xmlStrEqual(name, (const xmlChar *) "SYSTEM")) in xmlParseSGMLCatalog()
2367 else if (xmlStrEqual(name, (const xmlChar *) "PUBLIC")) in xmlParseSGMLCatalog()
2369 else if (xmlStrEqual(name, (const xmlChar *) "DELEGATE")) in xmlParseSGMLCatalog()
2371 else if (xmlStrEqual(name, (const xmlChar *) "ENTITY")) in xmlParseSGMLCatalog()
2373 else if (xmlStrEqual(name, (const xmlChar *) "DOCTYPE")) in xmlParseSGMLCatalog()
2375 else if (xmlStrEqual(name, (const xmlChar *) "LINKTYPE")) in xmlParseSGMLCatalog()
2377 else if (xmlStrEqual(name, (const xmlChar *) "NOTATION")) in xmlParseSGMLCatalog()
2379 else if (xmlStrEqual(name, (const xmlChar *) "SGMLDECL")) in xmlParseSGMLCatalog()
2381 else if (xmlStrEqual(name, (const xmlChar *) "DOCUMENT")) in xmlParseSGMLCatalog()
2383 else if (xmlStrEqual(name, (const xmlChar *) "CATALOG")) in xmlParseSGMLCatalog()
2385 else if (xmlStrEqual(name, (const xmlChar *) "BASE")) in xmlParseSGMLCatalog()
2387 else if (xmlStrEqual(name, (const xmlChar *) "OVERRIDE")) { in xmlParseSGMLCatalog()
2434 xmlChar *normid; in xmlParseSGMLCatalog()
2484 xmlChar *filename; in xmlParseSGMLCatalog()
2510 xmlChar *filename; in xmlParseSGMLCatalog()
2550 static const xmlChar *
2551 xmlCatalogGetSGMLPublic(xmlHashTablePtr catal, const xmlChar *pubID) { in xmlCatalogGetSGMLPublic()
2553 xmlChar *normid; in xmlCatalogGetSGMLPublic()
2587 static const xmlChar *
2588 xmlCatalogGetSGMLSystem(xmlHashTablePtr catal, const xmlChar *sysID) { in xmlCatalogGetSGMLSystem()
2612 static const xmlChar *
2613 xmlCatalogSGMLResolve(xmlCatalogPtr catal, const xmlChar *pubID, in xmlCatalogSGMLResolve()
2614 const xmlChar *sysID) { in xmlCatalogSGMLResolve()
2615 const xmlChar *ret = NULL; in xmlCatalogSGMLResolve()
2650 xmlChar *content; in xmlLoadSGMLSuperCatalog()
2687 xmlChar *content; in xmlLoadACatalog()
2688 xmlChar *first; in xmlLoadACatalog()
2749 xmlChar *content; in xmlExpandCatalog()
2787 xmlChar *
2788 xmlACatalogResolveSystem(xmlCatalogPtr catal, const xmlChar *sysID) { in xmlACatalogResolveSystem()
2789 xmlChar *ret = NULL; in xmlACatalogResolveSystem()
2803 const xmlChar *sgml; in xmlACatalogResolveSystem()
2822 xmlChar *
2823 xmlACatalogResolvePublic(xmlCatalogPtr catal, const xmlChar *pubID) { in xmlACatalogResolvePublic()
2824 xmlChar *ret = NULL; in xmlACatalogResolvePublic()
2838 const xmlChar *sgml; in xmlACatalogResolvePublic()
2858 xmlChar *
2859 xmlACatalogResolve(xmlCatalogPtr catal, const xmlChar * pubID, in xmlACatalogResolve()
2860 const xmlChar * sysID) in xmlACatalogResolve()
2862 xmlChar *ret = NULL; in xmlACatalogResolve()
2885 const xmlChar *sgml; in xmlACatalogResolve()
2904 xmlChar *
2905 xmlACatalogResolveURI(xmlCatalogPtr catal, const xmlChar *URI) { in xmlACatalogResolveURI()
2906 xmlChar *ret = NULL; in xmlACatalogResolveURI()
2920 const xmlChar *sgml; in xmlACatalogResolveURI()
2963 xmlACatalogAdd(xmlCatalogPtr catal, const xmlChar * type, in xmlACatalogAdd()
2964 const xmlChar * orig, const xmlChar * replace) in xmlACatalogAdd()
3000 xmlACatalogRemove(xmlCatalogPtr catal, const xmlChar *value) { in xmlACatalogRemove()
3141 xmlChar* uri; in xmlInitializeCatalog()
3143 uri = xmlCanonicPath((const xmlChar*)buf); in xmlInitializeCatalog()
3171 path = (char *) xmlStrndup((const xmlChar *)paths, cur - paths); in xmlInitializeCatalog()
3241 xmlChar *path; in xmlLoadCatalogs()
3256 path = xmlStrndup((const xmlChar *)paths, cur - paths); in xmlLoadCatalogs()
3310 xmlChar *
3311 xmlCatalogResolveSystem(const xmlChar *sysID) { in xmlCatalogResolveSystem()
3312 xmlChar *ret; in xmlCatalogResolveSystem()
3330 xmlChar *
3331 xmlCatalogResolvePublic(const xmlChar *pubID) { in xmlCatalogResolvePublic()
3332 xmlChar *ret; in xmlCatalogResolvePublic()
3351 xmlChar *
3352 xmlCatalogResolve(const xmlChar *pubID, const xmlChar *sysID) { in xmlCatalogResolve()
3353 xmlChar *ret; in xmlCatalogResolve()
3371 xmlChar *
3372 xmlCatalogResolveURI(const xmlChar *URI) { in xmlCatalogResolveURI()
3373 xmlChar *ret; in xmlCatalogResolveURI()
3415 xmlCatalogAdd(const xmlChar *type, const xmlChar *orig, const xmlChar *replace) { in xmlCatalogAdd()
3451 xmlCatalogRemove(const xmlChar *value) { in xmlCatalogRemove()
3624 xmlCatalogAddLocal(void *catalogs, const xmlChar *URL) { in xmlCatalogAddLocal()
3664 xmlChar *
3665 xmlCatalogLocalResolve(void *catalogs, const xmlChar *pubID, in xmlCatalogLocalResolve()
3666 const xmlChar *sysID) { in xmlCatalogLocalResolve()
3668 xmlChar *ret; in xmlCatalogLocalResolve()
3709 xmlChar *
3710 xmlCatalogLocalResolveURI(void *catalogs, const xmlChar *URI) { in xmlCatalogLocalResolveURI()
3712 xmlChar *ret; in xmlCatalogLocalResolveURI()
3747 const xmlChar *
3748 xmlCatalogGetSystem(const xmlChar *sysID) { in xmlCatalogGetSystem()
3749 xmlChar *ret; in xmlCatalogGetSystem()
3750 static xmlChar result[1000]; in xmlCatalogGetSystem()
3791 const xmlChar *
3792 xmlCatalogGetPublic(const xmlChar *pubID) { in xmlCatalogGetPublic()
3793 xmlChar *ret; in xmlCatalogGetPublic()
3794 static xmlChar result[1000]; in xmlCatalogGetPublic()