/external/python/cpython2/Lib/test/ |
D | test_sax.py | 40 ns_uri = "http://www.python.org/xml-ns/saxtest/" variable 61 self.assertRaises(KeyError, attrs.getValue, (ns_uri, "attr")) 64 self.assertRaises(KeyError, attrs.getQNameByName, (ns_uri, "attr")) 65 self.assertRaises(KeyError, attrs.__getitem__, (ns_uri, "attr")) 70 self.assertFalse(attrs.has_key((ns_uri, "attr"))) 72 self.assertEqual(attrs.get((ns_uri, "attr")), None) 73 self.assertEqual(attrs.get((ns_uri, "attr"), 25), 25) 472 gen.startPrefixMapping("ns1", ns_uri) 473 gen.startElementNS((ns_uri, "doc"), "ns1:doc", {}) 477 gen.endElementNS((ns_uri, "doc"), "ns1:doc") [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | xml-utils.h | 31 xml_node_t * xml_node_create_root(struct xml_node_ctx *ctx, const char *ns_uri, 40 xml_node_t *parent, const char *ns_uri, 49 const char *ns_uri, char *name); 91 int use_path, const char *urn, const char *ns_uri);
|
D | xml_libxml2.c | 258 xml_node_t * xml_node_create_root(struct xml_node_ctx *ctx, const char *ns_uri, in xml_node_create_root() argument 268 if (ns_uri) { in xml_node_create_root() 269 ns = xmlNewNs(node, (const xmlChar *) ns_uri, in xml_node_create_root() 303 xml_node_t *parent, const char *ns_uri, in xml_node_create_text_ns() argument 311 ns = xmlNewNs(node, (const xmlChar *) ns_uri, NULL); in xml_node_create_text_ns() 352 const char *ns_uri, char *name) in xml_node_get_attr_value_ns() argument 355 (const xmlChar *) ns_uri); in xml_node_get_attr_value_ns()
|
D | xml-utils.c | 278 int use_path, const char *urn, const char *ns_uri) in mo_to_tnds() argument 284 root = xml_node_create_root(ctx, ns_uri, NULL, NULL, "MgmtTree"); in mo_to_tnds()
|
/external/libxml2/python/ |
D | libxml.c | 74 xmlChar *ns_uri; member 206 if ((*libxml_xpathCallbacks)[ix].ns_uri != NULL) in libxml_xmlPythonCleanupParser() 207 xmlFree((*libxml_xpathCallbacks)[ix].ns_uri); in libxml_xmlPythonCleanupParser() 2234 const xmlChar *ns_uri; in libxml_xmlXPathFuncCallback() local 2243 ns_uri = rctxt->functionURI; in libxml_xmlXPathFuncCallback() 2246 ns_uri); in libxml_xmlXPathFuncCallback() 2255 (xmlStrEqual(ns_uri, (*libxml_xpathCallbacks)[i].ns_uri))) { in libxml_xmlXPathFuncCallback() 2282 const xmlChar * ns_uri) in libxml_xmlXPathFuncLookupFunc() argument 2288 ctxt, name, ns_uri); in libxml_xmlXPathFuncLookupFunc() 2299 (xmlStrEqual(ns_uri, (*libxml_xpathCallbacks)[i].ns_uri))) { in libxml_xmlXPathFuncLookupFunc() [all …]
|
D | libxml.py | 610 def registerXPathFunction(ctxt, name, ns_uri, f): argument 611 ret = libxml2mod.xmlRegisterXPathFunction(ctxt, name, ns_uri, f)
|
/external/libxml2/include/libxml/ |
D | xpathInternals.h | 427 const xmlChar *ns_uri); 441 const xmlChar *ns_uri, 450 const xmlChar *ns_uri, 458 const xmlChar *ns_uri); 467 const xmlChar *ns_uri);
|
D | xpath.h | 237 const xmlChar *ns_uri); 252 const xmlChar *ns_uri);
|
/external/libxml2/os400/libxmlrpg/ |
D | xpathInternals.rpgle | 190 d ns_uri * value options(*string) const xmlChar * 214 d ns_uri * value options(*string) const xmlChar * 229 d ns_uri * value options(*string) const xmlChar * 243 d ns_uri * value options(*string) const xmlChar * 261 d ns_uri * value options(*string) const xmlChar *
|
D | xpath.rpgle | 240 * @ns_uri: the namespace name hosting this variable 254 * @ns_uri: the namespace name hosting this function
|
/external/libxml2/ |
D | xpath.c | 4871 const xmlChar *ns_uri, xmlXPathFunction f) { in xmlXPathRegisterFuncNS() argument 4882 return(xmlHashRemoveEntry2(ctxt->funcHash, name, ns_uri, NULL)); in xmlXPathRegisterFuncNS() 4884 return(xmlHashAddEntry2(ctxt->funcHash, name, ns_uri, (void *) f)); in xmlXPathRegisterFuncNS() 4946 const xmlChar *ns_uri) { in xmlXPathFunctionLookupNS() argument 4958 ret = f(ctxt->funcLookupData, name, ns_uri); in xmlXPathFunctionLookupNS() 4967 ret = (xmlXPathFunction) xmlHashLookup2(ctxt->funcHash, name, ns_uri); in xmlXPathFunctionLookupNS() 5024 const xmlChar *ns_uri, in xmlXPathRegisterVariableNS() argument 5036 return(xmlHashRemoveEntry2(ctxt->varHash, name, ns_uri, in xmlXPathRegisterVariableNS() 5038 return(xmlHashUpdateEntry2(ctxt->varHash, name, ns_uri, in xmlXPathRegisterVariableNS() 5097 const xmlChar *ns_uri) { in xmlXPathVariableLookupNS() argument [all …]
|
D | c14n.c | 215 xmlC14NErrRelativeNamespace(const char *ns_uri) in xmlC14NErrRelativeNamespace() argument 220 "Relative namespace UR is invalid here : %s\n", ns_uri); in xmlC14NErrRelativeNamespace()
|
D | testapi.c | 50393 xmlChar * ns_uri; /* the namespace name */ in test_xmlXPathRegisterNs() local 50402 ns_uri = gen_const_xmlChar_ptr(n_ns_uri, 2); in test_xmlXPathRegisterNs() 50404 ret_val = xmlXPathRegisterNs(ctxt, (const xmlChar *)prefix, (const xmlChar *)ns_uri); in test_xmlXPathRegisterNs() 50409 des_const_xmlChar_ptr(n_ns_uri, (const xmlChar *)ns_uri, 2); in test_xmlXPathRegisterNs() 50499 xmlChar * ns_uri; /* the variable namespace URI */ in test_xmlXPathRegisterVariableNS() local 50511 ns_uri = gen_const_xmlChar_ptr(n_ns_uri, 2); in test_xmlXPathRegisterVariableNS() 50514 … ret_val = xmlXPathRegisterVariableNS(ctxt, (const xmlChar *)name, (const xmlChar *)ns_uri, value); in test_xmlXPathRegisterVariableNS() 50519 des_const_xmlChar_ptr(n_ns_uri, (const xmlChar *)ns_uri, 2); in test_xmlXPathRegisterVariableNS() 51293 xmlChar * ns_uri; /* the variable namespace URI */ in test_xmlXPathVariableLookupNS() local 51302 ns_uri = gen_const_xmlChar_ptr(n_ns_uri, 2); in test_xmlXPathVariableLookupNS() [all …]
|