Lines Matching refs:prefer

138     xmlCatalogPrefer prefer;
166 xmlCatalogPrefer prefer;
261 * @prefer: the PUBLIC vs. SYSTEM current preference value
271 const xmlChar *value, const xmlChar *URL, xmlCatalogPrefer prefer,
306 ret->prefer = prefer;
400 * @prefer: the PUBLIC vs. SYSTEM current preference value
408 xmlCreateNewCatalog(xmlCatalogType type, xmlCatalogPrefer prefer) {
420 ret->prefer = prefer;
572 switch (cur->prefer) {
576 xmlSetProp(node, BAD_CAST "prefer", BAD_CAST "public");
579 xmlSetProp(node, BAD_CAST "prefer", BAD_CAST "system");
1079 xmlParseXMLCatalogFile(xmlCatalogPrefer prefer, const xmlChar *filename);
1081 xmlParseXMLCatalogNodeList(xmlNodePtr cur, xmlCatalogPrefer prefer,
1131 * @prefer: the PUBLIC vs. SYSTEM current preference value
1142 const xmlChar *uriAttrName, xmlCatalogPrefer prefer,
1184 ret = xmlNewCatalogEntry(type, nameValue, uriValue, URL, prefer, cgroup);
1203 * @prefer: the PUBLIC vs. SYSTEM current preference value
1212 xmlParseXMLCatalogNode(xmlNodePtr cur, xmlCatalogPrefer prefer,
1224 prop = xmlGetProp(cur, BAD_CAST "prefer");
1227 prefer = XML_CATA_PREFER_SYSTEM;
1229 prefer = XML_CATA_PREFER_PUBLIC;
1232 "Invalid value for prefer: '%s'\n",
1236 pref = prefer;
1244 BAD_CAST "public", BAD_CAST "publicId", BAD_CAST "uri", prefer, cgroup);
1247 BAD_CAST "system", BAD_CAST "systemId", BAD_CAST "uri", prefer, cgroup);
1251 BAD_CAST "rewritePrefix", prefer, cgroup);
1255 BAD_CAST "catalog", prefer, cgroup);
1259 BAD_CAST "catalog", prefer, cgroup);
1263 BAD_CAST "uri", prefer, cgroup);
1267 BAD_CAST "rewritePrefix", prefer, cgroup);
1271 BAD_CAST "catalog", prefer, cgroup);
1275 BAD_CAST "catalog", prefer, cgroup);
1293 * Recurse to propagate prefer to the subtree
1296 xmlParseXMLCatalogNodeList(cur->children, prefer, parent, entry);
1306 * @prefer: the PUBLIC vs. SYSTEM current preference value
1315 xmlParseXMLCatalogNodeList(xmlNodePtr cur, xmlCatalogPrefer prefer,
1320 xmlParseXMLCatalogNode(cur, prefer, parent, cgroup);
1324 /* TODO: sort the list according to REWRITE lengths and prefer value */
1329 * @prefer: the PUBLIC vs. SYSTEM current preference value
1338 xmlParseXMLCatalogFile(xmlCatalogPrefer prefer, const xmlChar *filename) {
1365 (const xmlChar *)filename, NULL, prefer, NULL);
1371 prop = xmlGetProp(cur, BAD_CAST "prefer");
1374 prefer = XML_CATA_PREFER_SYSTEM;
1376 prefer = XML_CATA_PREFER_PUBLIC;
1379 "Invalid value for prefer: '%s'\n",
1385 xmlParseXMLCatalogNodeList(cur, prefer, parent, NULL);
1452 doc = xmlParseXMLCatalogFile(catal->prefer, catal->URL);
1550 NULL, catal->prefer, NULL);
1553 NULL, catal->prefer, NULL);
1759 (cur->prefer == XML_CATA_PREFER_PUBLIC))
1782 (cur->prefer == XML_CATA_PREFER_PUBLIC) &&
3530 * @prefer: the default preference for delegation
3539 xmlCatalogSetDefaultPrefer(xmlCatalogPrefer prefer) {
3542 if (prefer == XML_CATA_PREFER_NONE)
3546 switch (prefer) {
3559 xmlCatalogDefaultPrefer = prefer;