Lines Matching refs:cur

542     xmlCatalogEntryPtr cur;  in xmlDumpXMLCatalogNode()  local
546 cur = catal; in xmlDumpXMLCatalogNode()
547 while (cur != NULL) { in xmlDumpXMLCatalogNode()
548 if (cur->group == cgroup) { in xmlDumpXMLCatalogNode()
549 switch (cur->type) { in xmlDumpXMLCatalogNode()
554 if (cur == catal) { in xmlDumpXMLCatalogNode()
555 cur = cur->children; in xmlDumpXMLCatalogNode()
561 xmlSetProp(node, BAD_CAST "catalog", cur->value); in xmlDumpXMLCatalogNode()
568 xmlSetProp(node, BAD_CAST "id", cur->name); in xmlDumpXMLCatalogNode()
569 if (cur->value != NULL) { in xmlDumpXMLCatalogNode()
574 cur->value); in xmlDumpXMLCatalogNode()
576 switch (cur->prefer) { in xmlDumpXMLCatalogNode()
586 xmlDumpXMLCatalogNode(cur->next, node, doc, ns, cur); in xmlDumpXMLCatalogNode()
591 xmlSetProp(node, BAD_CAST "publicId", cur->name); in xmlDumpXMLCatalogNode()
592 xmlSetProp(node, BAD_CAST "uri", cur->value); in xmlDumpXMLCatalogNode()
597 xmlSetProp(node, BAD_CAST "systemId", cur->name); in xmlDumpXMLCatalogNode()
598 xmlSetProp(node, BAD_CAST "uri", cur->value); in xmlDumpXMLCatalogNode()
603 xmlSetProp(node, BAD_CAST "systemIdStartString", cur->name); in xmlDumpXMLCatalogNode()
604 xmlSetProp(node, BAD_CAST "rewritePrefix", cur->value); in xmlDumpXMLCatalogNode()
609 xmlSetProp(node, BAD_CAST "publicIdStartString", cur->name); in xmlDumpXMLCatalogNode()
610 xmlSetProp(node, BAD_CAST "catalog", cur->value); in xmlDumpXMLCatalogNode()
615 xmlSetProp(node, BAD_CAST "systemIdStartString", cur->name); in xmlDumpXMLCatalogNode()
616 xmlSetProp(node, BAD_CAST "catalog", cur->value); in xmlDumpXMLCatalogNode()
621 xmlSetProp(node, BAD_CAST "name", cur->name); in xmlDumpXMLCatalogNode()
622 xmlSetProp(node, BAD_CAST "uri", cur->value); in xmlDumpXMLCatalogNode()
627 xmlSetProp(node, BAD_CAST "uriStartString", cur->name); in xmlDumpXMLCatalogNode()
628 xmlSetProp(node, BAD_CAST "rewritePrefix", cur->value); in xmlDumpXMLCatalogNode()
633 xmlSetProp(node, BAD_CAST "uriStartString", cur->name); in xmlDumpXMLCatalogNode()
634 xmlSetProp(node, BAD_CAST "catalog", cur->value); in xmlDumpXMLCatalogNode()
652 cur = cur->next; in xmlDumpXMLCatalogNode()
1084 xmlParseXMLCatalogNodeList(xmlNodePtr cur, xmlCatalogPrefer prefer,
1143 xmlParseXMLCatalogOneNode(xmlNodePtr cur, xmlCatalogEntryType type, in xmlParseXMLCatalogOneNode() argument
1155 nameValue = xmlGetProp(cur, attrName); in xmlParseXMLCatalogOneNode()
1157 xmlCatalogErr(ret, cur, XML_CATALOG_MISSING_ATTR, in xmlParseXMLCatalogOneNode()
1162 uriValue = xmlGetProp(cur, uriAttrName); in xmlParseXMLCatalogOneNode()
1164 xmlCatalogErr(ret, cur, XML_CATALOG_MISSING_ATTR, in xmlParseXMLCatalogOneNode()
1176 base = xmlNodeGetBase(cur->doc, cur); in xmlParseXMLCatalogOneNode()
1189 xmlCatalogErr(ret, cur, XML_CATALOG_ENTRY_BROKEN, in xmlParseXMLCatalogOneNode()
1215 xmlParseXMLCatalogNode(xmlNodePtr cur, xmlCatalogPrefer prefer, in xmlParseXMLCatalogNode() argument
1221 if (cur == NULL) in xmlParseXMLCatalogNode()
1223 if (xmlStrEqual(cur->name, BAD_CAST "group")) { in xmlParseXMLCatalogNode()
1227 prop = xmlGetProp(cur, BAD_CAST "prefer"); in xmlParseXMLCatalogNode()
1234 xmlCatalogErr(parent, cur, XML_CATALOG_PREFER_VALUE, in xmlParseXMLCatalogNode()
1241 prop = xmlGetProp(cur, BAD_CAST "id"); in xmlParseXMLCatalogNode()
1242 base = xmlGetNsProp(cur, BAD_CAST "base", XML_XML_NAMESPACE); in xmlParseXMLCatalogNode()
1245 } else if (xmlStrEqual(cur->name, BAD_CAST "public")) { in xmlParseXMLCatalogNode()
1246 entry = xmlParseXMLCatalogOneNode(cur, XML_CATA_PUBLIC, in xmlParseXMLCatalogNode()
1248 } else if (xmlStrEqual(cur->name, BAD_CAST "system")) { in xmlParseXMLCatalogNode()
1249 entry = xmlParseXMLCatalogOneNode(cur, XML_CATA_SYSTEM, in xmlParseXMLCatalogNode()
1251 } else if (xmlStrEqual(cur->name, BAD_CAST "rewriteSystem")) { in xmlParseXMLCatalogNode()
1252 entry = xmlParseXMLCatalogOneNode(cur, XML_CATA_REWRITE_SYSTEM, in xmlParseXMLCatalogNode()
1255 } else if (xmlStrEqual(cur->name, BAD_CAST "delegatePublic")) { in xmlParseXMLCatalogNode()
1256 entry = xmlParseXMLCatalogOneNode(cur, XML_CATA_DELEGATE_PUBLIC, in xmlParseXMLCatalogNode()
1259 } else if (xmlStrEqual(cur->name, BAD_CAST "delegateSystem")) { in xmlParseXMLCatalogNode()
1260 entry = xmlParseXMLCatalogOneNode(cur, XML_CATA_DELEGATE_SYSTEM, in xmlParseXMLCatalogNode()
1263 } else if (xmlStrEqual(cur->name, BAD_CAST "uri")) { in xmlParseXMLCatalogNode()
1264 entry = xmlParseXMLCatalogOneNode(cur, XML_CATA_URI, in xmlParseXMLCatalogNode()
1267 } else if (xmlStrEqual(cur->name, BAD_CAST "rewriteURI")) { in xmlParseXMLCatalogNode()
1268 entry = xmlParseXMLCatalogOneNode(cur, XML_CATA_REWRITE_URI, in xmlParseXMLCatalogNode()
1271 } else if (xmlStrEqual(cur->name, BAD_CAST "delegateURI")) { in xmlParseXMLCatalogNode()
1272 entry = xmlParseXMLCatalogOneNode(cur, XML_CATA_DELEGATE_URI, in xmlParseXMLCatalogNode()
1275 } else if (xmlStrEqual(cur->name, BAD_CAST "nextCatalog")) { in xmlParseXMLCatalogNode()
1276 entry = xmlParseXMLCatalogOneNode(cur, XML_CATA_NEXT_CATALOG, in xmlParseXMLCatalogNode()
1299 xmlParseXMLCatalogNodeList(cur->children, prefer, parent, entry); in xmlParseXMLCatalogNode()
1318 xmlParseXMLCatalogNodeList(xmlNodePtr cur, xmlCatalogPrefer prefer, in xmlParseXMLCatalogNodeList() argument
1320 while (cur != NULL) { in xmlParseXMLCatalogNodeList()
1321 if ((cur->ns != NULL) && (cur->ns->href != NULL) && in xmlParseXMLCatalogNodeList()
1322 (xmlStrEqual(cur->ns->href, XML_CATALOGS_NAMESPACE))) { in xmlParseXMLCatalogNodeList()
1323 xmlParseXMLCatalogNode(cur, prefer, parent, cgroup); in xmlParseXMLCatalogNodeList()
1325 cur = cur->next; in xmlParseXMLCatalogNodeList()
1343 xmlNodePtr cur; in xmlParseXMLCatalogFile() local
1362 cur = xmlDocGetRootElement(doc); in xmlParseXMLCatalogFile()
1363 if ((cur != NULL) && (xmlStrEqual(cur->name, BAD_CAST "catalog")) && in xmlParseXMLCatalogFile()
1364 (cur->ns != NULL) && (cur->ns->href != NULL) && in xmlParseXMLCatalogFile()
1365 (xmlStrEqual(cur->ns->href, XML_CATALOGS_NAMESPACE))) { in xmlParseXMLCatalogFile()
1374 prop = xmlGetProp(cur, BAD_CAST "prefer"); in xmlParseXMLCatalogFile()
1381 xmlCatalogErr(NULL, cur, XML_CATALOG_PREFER_VALUE, in xmlParseXMLCatalogFile()
1387 cur = cur->children; in xmlParseXMLCatalogFile()
1388 xmlParseXMLCatalogNodeList(cur, prefer, parent, NULL); in xmlParseXMLCatalogFile()
1500 xmlCatalogEntryPtr cur; in xmlAddXMLCatalog() local
1522 cur = catal->children; in xmlAddXMLCatalog()
1526 if (cur != NULL) { in xmlAddXMLCatalog()
1527 while (cur != NULL) { in xmlAddXMLCatalog()
1528 if ((orig != NULL) && (cur->type == typ) && in xmlAddXMLCatalog()
1529 (xmlStrEqual(orig, cur->name))) { in xmlAddXMLCatalog()
1533 if (cur->value != NULL) in xmlAddXMLCatalog()
1534 xmlFree(cur->value); in xmlAddXMLCatalog()
1535 if (cur->URL != NULL) in xmlAddXMLCatalog()
1536 xmlFree(cur->URL); in xmlAddXMLCatalog()
1537 cur->value = xmlStrdup(replace); in xmlAddXMLCatalog()
1538 cur->URL = xmlStrdup(replace); in xmlAddXMLCatalog()
1541 if (cur->next == NULL) in xmlAddXMLCatalog()
1543 cur = cur->next; in xmlAddXMLCatalog()
1549 if (cur == NULL) in xmlAddXMLCatalog()
1553 cur->next = xmlNewCatalogEntry(typ, orig, replace, in xmlAddXMLCatalog()
1557 cur = (xmlCatalogEntryPtr)xmlHashLookup(xmlCatalogXMLFiles, catal->URL); in xmlAddXMLCatalog()
1558 if (cur != NULL) in xmlAddXMLCatalog()
1559 cur->children = catal->children; in xmlAddXMLCatalog()
1577 xmlCatalogEntryPtr cur; in xmlDelXMLCatalog() local
1593 cur = catal->children; in xmlDelXMLCatalog()
1594 while (cur != NULL) { in xmlDelXMLCatalog()
1595 if (((cur->name != NULL) && (xmlStrEqual(value, cur->name))) || in xmlDelXMLCatalog()
1596 (xmlStrEqual(value, cur->value))) { in xmlDelXMLCatalog()
1598 if (cur->name != NULL) in xmlDelXMLCatalog()
1600 "Removing element %s from catalog\n", cur->name); in xmlDelXMLCatalog()
1603 "Removing element %s from catalog\n", cur->value); in xmlDelXMLCatalog()
1605 cur->type = XML_CATA_REMOVED; in xmlDelXMLCatalog()
1607 cur = cur->next; in xmlDelXMLCatalog()
1630 xmlCatalogEntryPtr cur; in xmlCatalogXMLResolve() local
1651 cur = catal; in xmlCatalogXMLResolve()
1653 while (cur != NULL) { in xmlCatalogXMLResolve()
1654 switch (cur->type) { in xmlCatalogXMLResolve()
1656 if (xmlStrEqual(sysID, cur->name)) { in xmlCatalogXMLResolve()
1660 cur->name, cur->URL); in xmlCatalogXMLResolve()
1662 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolve()
1666 len = xmlStrlen(cur->name); in xmlCatalogXMLResolve()
1668 (!xmlStrncmp(sysID, cur->name, len))) { in xmlCatalogXMLResolve()
1670 rewrite = cur; in xmlCatalogXMLResolve()
1674 if (!xmlStrncmp(sysID, cur->name, xmlStrlen(cur->name))) in xmlCatalogXMLResolve()
1683 cur = cur->next; in xmlCatalogXMLResolve()
1703 cur = catal; in xmlCatalogXMLResolve()
1704 while (cur != NULL) { in xmlCatalogXMLResolve()
1705 if ((cur->type == XML_CATA_DELEGATE_SYSTEM) && in xmlCatalogXMLResolve()
1706 (!xmlStrncmp(sysID, cur->name, xmlStrlen(cur->name)))) { in xmlCatalogXMLResolve()
1708 if (xmlStrEqual(cur->URL, delegates[i])) in xmlCatalogXMLResolve()
1711 cur = cur->next; in xmlCatalogXMLResolve()
1715 delegates[nbList++] = cur->URL; in xmlCatalogXMLResolve()
1717 if (cur->children == NULL) { in xmlCatalogXMLResolve()
1718 xmlFetchXMLCatalogFile(cur); in xmlCatalogXMLResolve()
1720 if (cur->children != NULL) { in xmlCatalogXMLResolve()
1723 "Trying system delegate %s\n", cur->URL); in xmlCatalogXMLResolve()
1725 cur->children, NULL, sysID); in xmlCatalogXMLResolve()
1732 cur = cur->next; in xmlCatalogXMLResolve()
1745 cur = catal; in xmlCatalogXMLResolve()
1747 while (cur != NULL) { in xmlCatalogXMLResolve()
1748 switch (cur->type) { in xmlCatalogXMLResolve()
1750 if (xmlStrEqual(pubID, cur->name)) { in xmlCatalogXMLResolve()
1753 "Found public match %s\n", cur->name); in xmlCatalogXMLResolve()
1755 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolve()
1759 if (!xmlStrncmp(pubID, cur->name, xmlStrlen(cur->name)) && in xmlCatalogXMLResolve()
1760 (cur->prefer == XML_CATA_PREFER_PUBLIC)) in xmlCatalogXMLResolve()
1770 cur = cur->next; in xmlCatalogXMLResolve()
1780 cur = catal; in xmlCatalogXMLResolve()
1781 while (cur != NULL) { in xmlCatalogXMLResolve()
1782 if ((cur->type == XML_CATA_DELEGATE_PUBLIC) && in xmlCatalogXMLResolve()
1783 (cur->prefer == XML_CATA_PREFER_PUBLIC) && in xmlCatalogXMLResolve()
1784 (!xmlStrncmp(pubID, cur->name, xmlStrlen(cur->name)))) { in xmlCatalogXMLResolve()
1787 if (xmlStrEqual(cur->URL, delegates[i])) in xmlCatalogXMLResolve()
1790 cur = cur->next; in xmlCatalogXMLResolve()
1794 delegates[nbList++] = cur->URL; in xmlCatalogXMLResolve()
1796 if (cur->children == NULL) { in xmlCatalogXMLResolve()
1797 xmlFetchXMLCatalogFile(cur); in xmlCatalogXMLResolve()
1799 if (cur->children != NULL) { in xmlCatalogXMLResolve()
1802 "Trying public delegate %s\n", cur->URL); in xmlCatalogXMLResolve()
1804 cur->children, pubID, NULL); in xmlCatalogXMLResolve()
1811 cur = cur->next; in xmlCatalogXMLResolve()
1821 cur = catal; in xmlCatalogXMLResolve()
1822 while (cur != NULL) { in xmlCatalogXMLResolve()
1823 if (cur->type == XML_CATA_NEXT_CATALOG) { in xmlCatalogXMLResolve()
1824 if (cur->children == NULL) { in xmlCatalogXMLResolve()
1825 xmlFetchXMLCatalogFile(cur); in xmlCatalogXMLResolve()
1827 if (cur->children != NULL) { in xmlCatalogXMLResolve()
1828 ret = xmlCatalogListXMLResolve(cur->children, pubID, sysID); in xmlCatalogXMLResolve()
1837 cur = cur->next; in xmlCatalogXMLResolve()
1862 xmlCatalogEntryPtr cur; in xmlCatalogXMLResolveURI() local
1884 cur = catal; in xmlCatalogXMLResolveURI()
1886 while (cur != NULL) { in xmlCatalogXMLResolveURI()
1887 switch (cur->type) { in xmlCatalogXMLResolveURI()
1889 if (xmlStrEqual(URI, cur->name)) { in xmlCatalogXMLResolveURI()
1892 "Found URI match %s\n", cur->name); in xmlCatalogXMLResolveURI()
1893 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolveURI()
1897 len = xmlStrlen(cur->name); in xmlCatalogXMLResolveURI()
1899 (!xmlStrncmp(URI, cur->name, len))) { in xmlCatalogXMLResolveURI()
1901 rewrite = cur; in xmlCatalogXMLResolveURI()
1905 if (!xmlStrncmp(URI, cur->name, xmlStrlen(cur->name))) in xmlCatalogXMLResolveURI()
1914 cur = cur->next; in xmlCatalogXMLResolveURI()
1933 cur = catal; in xmlCatalogXMLResolveURI()
1934 while (cur != NULL) { in xmlCatalogXMLResolveURI()
1935 if (((cur->type == XML_CATA_DELEGATE_SYSTEM) || in xmlCatalogXMLResolveURI()
1936 (cur->type == XML_CATA_DELEGATE_URI)) && in xmlCatalogXMLResolveURI()
1937 (!xmlStrncmp(URI, cur->name, xmlStrlen(cur->name)))) { in xmlCatalogXMLResolveURI()
1939 if (xmlStrEqual(cur->URL, delegates[i])) in xmlCatalogXMLResolveURI()
1942 cur = cur->next; in xmlCatalogXMLResolveURI()
1946 delegates[nbList++] = cur->URL; in xmlCatalogXMLResolveURI()
1948 if (cur->children == NULL) { in xmlCatalogXMLResolveURI()
1949 xmlFetchXMLCatalogFile(cur); in xmlCatalogXMLResolveURI()
1951 if (cur->children != NULL) { in xmlCatalogXMLResolveURI()
1954 "Trying URI delegate %s\n", cur->URL); in xmlCatalogXMLResolveURI()
1956 cur->children, URI); in xmlCatalogXMLResolveURI()
1961 cur = cur->next; in xmlCatalogXMLResolveURI()
1969 cur = catal; in xmlCatalogXMLResolveURI()
1970 while (cur != NULL) { in xmlCatalogXMLResolveURI()
1971 if (cur->type == XML_CATA_NEXT_CATALOG) { in xmlCatalogXMLResolveURI()
1972 if (cur->children == NULL) { in xmlCatalogXMLResolveURI()
1973 xmlFetchXMLCatalogFile(cur); in xmlCatalogXMLResolveURI()
1975 if (cur->children != NULL) { in xmlCatalogXMLResolveURI()
1976 ret = xmlCatalogListXMLResolveURI(cur->children, URI); in xmlCatalogXMLResolveURI()
1981 cur = cur->next; in xmlCatalogXMLResolveURI()
2141 #define RAW *cur
2142 #define NEXT cur++;
2143 #define SKIP(x) cur += x;
2145 #define SKIP_BLANKS while (IS_BLANK_CH(*cur)) NEXT;
2156 xmlParseSGMLCatalogComment(const xmlChar *cur) { in xmlParseSGMLCatalogComment() argument
2157 if ((cur[0] != '-') || (cur[1] != '-')) in xmlParseSGMLCatalogComment()
2158 return(cur); in xmlParseSGMLCatalogComment()
2160 while ((cur[0] != 0) && ((cur[0] != '-') || ((cur[1] != '-')))) in xmlParseSGMLCatalogComment()
2162 if (cur[0] == 0) { in xmlParseSGMLCatalogComment()
2165 return(cur + 2); in xmlParseSGMLCatalogComment()
2178 xmlParseSGMLCatalogPubid(const xmlChar *cur, xmlChar **id) { in xmlParseSGMLCatalogPubid() argument
2201 while (IS_PUBIDCHAR_CH(*cur) || (*cur == '?')) { in xmlParseSGMLCatalogPubid()
2202 if ((*cur == stop) && (stop != ' ')) in xmlParseSGMLCatalogPubid()
2204 if ((stop == ' ') && (IS_BLANK_CH(*cur))) in xmlParseSGMLCatalogPubid()
2216 buf[len++] = *cur; in xmlParseSGMLCatalogPubid()
2222 if (!IS_BLANK_CH(*cur)) { in xmlParseSGMLCatalogPubid()
2227 if (*cur != stop) { in xmlParseSGMLCatalogPubid()
2234 return(cur); in xmlParseSGMLCatalogPubid()
2247 xmlParseSGMLCatalogName(const xmlChar *cur, xmlChar **name) { in xmlParseSGMLCatalogName() argument
2257 c = *cur; in xmlParseSGMLCatalogName()
2266 cur++; in xmlParseSGMLCatalogName()
2267 c = *cur; in xmlParseSGMLCatalogName()
2272 return(cur); in xmlParseSGMLCatalogName()
2327 const xmlChar *cur = value; in xmlParseSGMLCatalog() local
2331 if ((cur == NULL) || (file == NULL)) in xmlParseSGMLCatalog()
2335 while ((cur != NULL) && (cur[0] != 0)) { in xmlParseSGMLCatalog()
2337 if (cur[0] == 0) in xmlParseSGMLCatalog()
2339 if ((cur[0] == '-') && (cur[1] == '-')) { in xmlParseSGMLCatalog()
2340 cur = xmlParseSGMLCatalogComment(cur); in xmlParseSGMLCatalog()
2341 if (cur == NULL) { in xmlParseSGMLCatalog()
2350 cur = xmlParseSGMLCatalogName(cur, &name); in xmlParseSGMLCatalog()
2355 if (!IS_BLANK_CH(*cur)) { in xmlParseSGMLCatalog()
2384 cur = xmlParseSGMLCatalogName(cur, &name); in xmlParseSGMLCatalog()
2397 if (*cur == '%') in xmlParseSGMLCatalog()
2403 cur = xmlParseSGMLCatalogName(cur, &name); in xmlParseSGMLCatalog()
2404 if (cur == NULL) { in xmlParseSGMLCatalog()
2408 if (!IS_BLANK_CH(*cur)) { in xmlParseSGMLCatalog()
2413 cur = xmlParseSGMLCatalogPubid(cur, &sysid); in xmlParseSGMLCatalog()
2414 if (cur == NULL) { in xmlParseSGMLCatalog()
2422 cur = xmlParseSGMLCatalogPubid(cur, &name); in xmlParseSGMLCatalog()
2423 if (cur == NULL) { in xmlParseSGMLCatalog()
2442 if (!IS_BLANK_CH(*cur)) { in xmlParseSGMLCatalog()
2447 cur = xmlParseSGMLCatalogPubid(cur, &sysid); in xmlParseSGMLCatalog()
2448 if (cur == NULL) { in xmlParseSGMLCatalog()
2457 cur = xmlParseSGMLCatalogPubid(cur, &sysid); in xmlParseSGMLCatalog()
2458 if (cur == NULL) { in xmlParseSGMLCatalog()
2466 if (cur == NULL) { in xmlParseSGMLCatalog()
2524 if (cur == NULL) in xmlParseSGMLCatalog()
2756 xmlCatalogEntryPtr tmp, cur; in xmlExpandCatalog() local
2760 cur = catal->xml; in xmlExpandCatalog()
2761 if (cur == NULL) { in xmlExpandCatalog()
2764 while (cur->next != NULL) cur = cur->next; in xmlExpandCatalog()
2765 cur->next = tmp; in xmlExpandCatalog()
3117 const char *cur, *paths; in xmlInitializeCatalog() local
3158 cur = catalogs; in xmlInitializeCatalog()
3160 while (*cur != '\0') { in xmlInitializeCatalog()
3161 while (xmlIsBlank_ch(*cur)) in xmlInitializeCatalog()
3162 cur++; in xmlInitializeCatalog()
3163 if (*cur != 0) { in xmlInitializeCatalog()
3164 paths = cur; in xmlInitializeCatalog()
3165 while ((*cur != 0) && (!xmlIsBlank_ch(*cur))) in xmlInitializeCatalog()
3166 cur++; in xmlInitializeCatalog()
3167 path = (char *) xmlStrndup((const xmlChar *)paths, cur - paths); in xmlInitializeCatalog()
3235 const char *cur; in xmlLoadCatalogs() local
3245 cur = pathss; in xmlLoadCatalogs()
3246 while (*cur != 0) { in xmlLoadCatalogs()
3247 while (xmlIsBlank_ch(*cur)) cur++; in xmlLoadCatalogs()
3248 if (*cur != 0) { in xmlLoadCatalogs()
3249 paths = cur; in xmlLoadCatalogs()
3250 while ((*cur != 0) && (*cur != PATH_SEAPARATOR) && (!xmlIsBlank_ch(*cur))) in xmlLoadCatalogs()
3251 cur++; in xmlLoadCatalogs()
3252 path = xmlStrndup((const xmlChar *)paths, cur - paths); in xmlLoadCatalogs()
3266 while (*cur == PATH_SEAPARATOR) in xmlLoadCatalogs()
3267 cur++; in xmlLoadCatalogs()