Searched refs:BAD_CAST (Results 1 - 25 of 84) sorted by relevance

1234

/external/chromium_org/third_party/libxml/src/
H A Dxlink.c42 #define XLINK_NAMESPACE (BAD_CAST "http://www.w3.org/1999/xlink/namespace/")
43 #define XHTML_NAMESPACE (BAD_CAST "http://www.w3.org/1999/xhtml/")
149 type = xmlGetNsProp(node, BAD_CAST"type", XLINK_NAMESPACE);
151 if (xmlStrEqual(type, BAD_CAST "simple")) {
153 } if (xmlStrEqual(type, BAD_CAST "extended")) {
154 role = xmlGetNsProp(node, BAD_CAST "role", XLINK_NAMESPACE);
160 if (xmlStrEqual(role, BAD_CAST"xlink:external-linkset"))
H A DtestAutomata.c101 BAD_CAST ptr, NULL);
168 BAD_CAST ptr, min, max, NULL);
201 ret = xmlRegExecPushString(exec, BAD_CAST expr, NULL);
232 cur = xmlAutomataNewTransition(am, start, NULL, BAD_CAST"a", NULL);
233 xmlAutomataNewTransition(am, cur, cur, BAD_CAST"b", NULL);
234 xmlAutomataNewTransition(am, cur, cur, BAD_CAST"a", NULL);
235 cur = xmlAutomataNewCountTrans(am, cur, NULL, BAD_CAST"a", 2, 3, NULL);
245 ret = xmlRegExecPushString(exec, BAD_CAST"a", NULL);
250 ret =xmlRegExecPushString(exec, BAD_CAST"a", NULL);
255 ret =xmlRegExecPushString(exec, BAD_CAST"
[all...]
H A DHTMLtree.c62 if (xmlStrEqual(cur->name, BAD_CAST"html"))
64 if (xmlStrEqual(cur->name, BAD_CAST"head"))
66 if (xmlStrEqual(cur->name, BAD_CAST"meta"))
80 if (xmlStrEqual(cur->name, BAD_CAST"head"))
82 if (xmlStrEqual(cur->name, BAD_CAST"meta"))
98 if (xmlStrEqual(cur->name, BAD_CAST"meta")) {
110 if ((!xmlStrcasecmp(attr->name, BAD_CAST"http-equiv"))
111 && (!xmlStrcasecmp(value, BAD_CAST"Content-Type")))
114 && (!xmlStrcasecmp(attr->name, BAD_CAST"content")))
128 encoding = xmlStrstr(content, BAD_CAST"charse
[all...]
H A Dcatalog.c556 node = xmlNewDocNode(doc, ns, BAD_CAST "nextCatalog", NULL);
557 xmlSetProp(node, BAD_CAST "catalog", cur->value);
563 node = xmlNewDocNode(doc, ns, BAD_CAST "group", NULL);
564 xmlSetProp(node, BAD_CAST "id", cur->name);
569 xmlSetNsProp(node, xns, BAD_CAST "base",
576 xmlSetProp(node, BAD_CAST "prefer", BAD_CAST "public");
579 xmlSetProp(node, BAD_CAST "prefer", BAD_CAST "system");
586 node = xmlNewDocNode(doc, ns, BAD_CAST "publi
[all...]
H A Dxmlsave.c27 #define XHTML_STRICT_PUBLIC_ID BAD_CAST \
29 #define XHTML_STRICT_SYSTEM_ID BAD_CAST \
31 #define XHTML_FRAME_PUBLIC_ID BAD_CAST \
33 #define XHTML_FRAME_SYSTEM_ID BAD_CAST \
35 #define XHTML_TRANS_PUBLIC_ID BAD_CAST \
37 #define XHTML_TRANS_SYSTEM_ID BAD_CAST \
40 #define XHTML_NS_NAME BAD_CAST "http://www.w3.org/1999/xhtml"
441 xmlBufferAdd(buf->buffer, BAD_CAST "&", 1);
444 xmlBufferAdd(buf->buffer, BAD_CAST ";", 1);
515 if (xmlStrEqual(cur->prefix, BAD_CAST "xm
[all...]
H A Duri.c1230 (xmlStrEqual(BAD_CAST uri->scheme, BAD_CAST "file"))) {
1853 segment = xmlURIEscapeStr(BAD_CAST uri->scheme, BAD_CAST "+-.");
1856 ret = xmlStrcat(ret, BAD_CAST ":");
1862 xmlURIEscapeStr(BAD_CAST uri->authority, BAD_CAST "/?;:@");
1864 ret = xmlStrcat(ret, BAD_CAST "//");
1870 segment = xmlURIEscapeStr(BAD_CAST uri->user, BAD_CAST ";
[all...]
H A Drunsuite.c239 xmlXPathRegisterNs(ctxtXPath, BAD_CAST "ts", BAD_CAST "TestSuite");
240 xmlXPathRegisterNs(ctxtXPath, BAD_CAST "xlink",
241 BAD_CAST "http://www.w3.org/1999/xlink");
259 comp = xmlXPathCompile(BAD_CAST xpath);
287 comp = xmlXPathCompile(BAD_CAST xpath);
498 dtd = xmlGetProp(tmp, BAD_CAST "dtd");
657 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testSuite"))) {
664 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testSuite"))) {
720 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testSuit
[all...]
H A Dentities.c30 NULL, XML_ENTITY_DECL, BAD_CAST "lt",
32 BAD_CAST "<", BAD_CAST "<", 1,
37 NULL, XML_ENTITY_DECL, BAD_CAST "gt",
39 BAD_CAST ">", BAD_CAST ">", 1,
44 NULL, XML_ENTITY_DECL, BAD_CAST "amp",
46 BAD_CAST "&", BAD_CAST "&", 1,
51 NULL, XML_ENTITY_DECL, BAD_CAST "quo
[all...]
H A Dxmlschemas.c1116 return(BAD_CAST "simple type definition");
1118 return(BAD_CAST "simple type definition");
1120 return(BAD_CAST "complex type definition");
1122 return(BAD_CAST "element declaration");
1124 return(BAD_CAST "attribute use");
1126 return(BAD_CAST "attribute declaration");
1128 return(BAD_CAST "model group definition");
1130 return(BAD_CAST "attribute group definition");
1132 return(BAD_CAST "notation declaration");
1134 return(BAD_CAST "mode
[all...]
H A DHTMLparser.c166 if ((ctxt->html < 3) && (xmlStrEqual(value, BAD_CAST "head")))
168 if ((ctxt->html < 10) && (xmlStrEqual(value, BAD_CAST "body")))
376 cur = xmlStrcasestr(start, BAD_CAST "HTTP-EQUIV");
379 cur = xmlStrcasestr(cur, BAD_CAST "CONTENT");
382 cur = xmlStrcasestr(cur, BAD_CAST "CHARSET=");
553 BAD_CAST buffer, NULL);
1219 if (!xmlStrcasecmp(tag, BAD_CAST html40ElementTable[i].name))
1268 if (xmlStrEqual(BAD_CAST * closed, newtag))
1275 if (xmlStrEqual(BAD_CAST htmlStartClose[i], oldtag)) {
1374 ((xmlStrEqual(ctxt->name, BAD_CAST "hea
[all...]
H A DtestXPath.c86 res = xmlXPtrEval(BAD_CAST str, ctxt);
92 res = xmlXPathEvalExpression(BAD_CAST str, ctxt);
94 /* res = xmlXPathEval(BAD_CAST str, ctxt); */
97 comp = xmlXPathCompile(BAD_CAST str);
H A Dnanohttp.c731 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"Content-Type:", 13)) {
746 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
757 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"ContentType:", 12)) {
771 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
782 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"Locatio
[all...]
H A DxmlIO.c887 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file://localhost/", 17)) {
893 } else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:///", 8)) {
899 } else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:/", 6)) {
969 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file://localhost/", 17))
975 else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "fil
[all...]
/external/libxml2/
H A Dxlink.c42 #define XLINK_NAMESPACE (BAD_CAST "http://www.w3.org/1999/xlink/namespace/")
43 #define XHTML_NAMESPACE (BAD_CAST "http://www.w3.org/1999/xhtml/")
149 type = xmlGetNsProp(node, BAD_CAST"type", XLINK_NAMESPACE);
151 if (xmlStrEqual(type, BAD_CAST "simple")) {
153 } if (xmlStrEqual(type, BAD_CAST "extended")) {
154 role = xmlGetNsProp(node, BAD_CAST "role", XLINK_NAMESPACE);
160 if (xmlStrEqual(role, BAD_CAST"xlink:external-linkset"))
H A DHTMLtree.c64 if (xmlStrEqual(cur->name, BAD_CAST"html"))
66 if (xmlStrEqual(cur->name, BAD_CAST"head"))
68 if (xmlStrEqual(cur->name, BAD_CAST"meta"))
82 if (xmlStrEqual(cur->name, BAD_CAST"head"))
84 if (xmlStrEqual(cur->name, BAD_CAST"meta"))
100 if (xmlStrEqual(cur->name, BAD_CAST"meta")) {
112 if ((!xmlStrcasecmp(attr->name, BAD_CAST"http-equiv"))
113 && (!xmlStrcasecmp(value, BAD_CAST"Content-Type")))
116 && (!xmlStrcasecmp(attr->name, BAD_CAST"content")))
130 encoding = xmlStrstr(content, BAD_CAST"charse
[all...]
H A Dcatalog.c560 node = xmlNewDocNode(doc, ns, BAD_CAST "nextCatalog", NULL);
561 xmlSetProp(node, BAD_CAST "catalog", cur->value);
567 node = xmlNewDocNode(doc, ns, BAD_CAST "group", NULL);
568 xmlSetProp(node, BAD_CAST "id", cur->name);
573 xmlSetNsProp(node, xns, BAD_CAST "base",
580 xmlSetProp(node, BAD_CAST "prefer", BAD_CAST "public");
583 xmlSetProp(node, BAD_CAST "prefer", BAD_CAST "system");
590 node = xmlNewDocNode(doc, ns, BAD_CAST "publi
[all...]
H A Duri.c1211 (xmlStrEqual(BAD_CAST uri->scheme, BAD_CAST "file"))) {
1773 segment = xmlURIEscapeStr(BAD_CAST uri->scheme, BAD_CAST "+-.");
1776 ret = xmlStrcat(ret, BAD_CAST ":");
1782 xmlURIEscapeStr(BAD_CAST uri->authority, BAD_CAST "/?;:@");
1784 ret = xmlStrcat(ret, BAD_CAST "//");
1790 segment = xmlURIEscapeStr(BAD_CAST uri->user, BAD_CAST ";
[all...]
H A Dentities.c32 NULL, XML_ENTITY_DECL, BAD_CAST "lt",
34 BAD_CAST "<", BAD_CAST "<", 1,
39 NULL, XML_ENTITY_DECL, BAD_CAST "gt",
41 BAD_CAST ">", BAD_CAST ">", 1,
46 NULL, XML_ENTITY_DECL, BAD_CAST "amp",
48 BAD_CAST "&", BAD_CAST "&", 1,
53 NULL, XML_ENTITY_DECL, BAD_CAST "quo
[all...]
H A Dxmlsave.c31 #define XHTML_STRICT_PUBLIC_ID BAD_CAST \
33 #define XHTML_STRICT_SYSTEM_ID BAD_CAST \
35 #define XHTML_FRAME_PUBLIC_ID BAD_CAST \
37 #define XHTML_FRAME_SYSTEM_ID BAD_CAST \
39 #define XHTML_TRANS_PUBLIC_ID BAD_CAST \
41 #define XHTML_TRANS_SYSTEM_ID BAD_CAST \
44 #define XHTML_NS_NAME BAD_CAST "http://www.w3.org/1999/xhtml"
447 xmlBufAdd(buf->buffer, BAD_CAST "&", 1);
450 xmlBufAdd(buf->buffer, BAD_CAST ";", 1);
635 if (xmlStrEqual(cur->prefix, BAD_CAST "xm
[all...]
H A Dxmlschemas.c1121 return(BAD_CAST "simple type definition");
1123 return(BAD_CAST "simple type definition");
1125 return(BAD_CAST "complex type definition");
1127 return(BAD_CAST "element declaration");
1129 return(BAD_CAST "attribute use");
1131 return(BAD_CAST "attribute declaration");
1133 return(BAD_CAST "model group definition");
1135 return(BAD_CAST "attribute group definition");
1137 return(BAD_CAST "notation declaration");
1139 return(BAD_CAST "mode
[all...]
H A DHTMLparser.c169 if ((ctxt->html < 3) && (xmlStrEqual(value, BAD_CAST "head")))
171 if ((ctxt->html < 10) && (xmlStrEqual(value, BAD_CAST "body")))
379 cur = xmlStrcasestr(start, BAD_CAST "HTTP-EQUIV");
382 cur = xmlStrcasestr(cur, BAD_CAST "CONTENT");
385 cur = xmlStrcasestr(cur, BAD_CAST "CHARSET=");
556 BAD_CAST buffer, NULL);
1259 if (!xmlStrcasecmp(tag, BAD_CAST html40ElementTable[i].name))
1308 if (xmlStrEqual(BAD_CAST * closed, newtag))
1315 if (xmlStrEqual(BAD_CAST htmlStartClose[i], oldtag)) {
1414 ((xmlStrEqual(ctxt->name, BAD_CAST "hea
[all...]
H A DxmlIO.c901 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file://localhost/", 17)) {
907 } else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:///", 8)) {
913 } else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:/", 6)) {
983 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file://localhost/", 17))
989 else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "fil
[all...]
H A Dnanohttp.c736 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"Content-Type:", 13)) {
751 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
762 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"ContentType:", 12)) {
776 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
787 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"Locatio
[all...]
/external/chromium_org/third_party/libxml/chromium/
H A Dlibxml_utils.h131 BAD_CAST element_name.c_str()) >= 0;
142 BAD_CAST content.c_str()) >= 0;
149 BAD_CAST attribute_name.c_str(),
150 BAD_CAST attribute_value.c_str()) >= 0;
159 BAD_CAST element_name.c_str(),
160 BAD_CAST content.c_str()) >= 0;
/external/chromium_org/third_party/libxslt/libexslt/
H A Ddynamic.c190 BAD_CAST "boolean",
191 BAD_CAST (subResult->
196 BAD_CAST
198 BAD_CAST "exsl");
212 BAD_CAST "number", val);
219 BAD_CAST
221 BAD_CAST "exsl");
232 BAD_CAST "string",
237 BAD_CAST
239 BAD_CAST "exs
[all...]

Completed in 873 milliseconds

1234