Home
last modified time | relevance | path

Searched refs:ns (Results 26 – 50 of 86) sorted by path

1234

/PHP-7.4/ext/dom/
H A Ddom_iterators.c226 basenode, (char *) objmap->ns, (char *) objmap->local, &previndex, iter->index); in php_dom_iterator_move_forward()
310 nodep, (char *) objmap->ns, (char *) objmap->local, &curindex, 0); in php_dom_get_iterator()
H A Delement.c232 xmlNsPtr ns; in dom_element_tag_name_read() local
242 ns = nodep->ns; in dom_element_tag_name_read()
243 if (ns != NULL && ns->prefix) { in dom_element_tag_name_read()
278 xmlNsPtr ns; in dom_get_dom1_attribute() local
281 ns = elem->nsDef; in dom_get_dom1_attribute()
282 while (ns) { in dom_get_dom1_attribute()
286 ns = ns->next; in dom_get_dom1_attribute()
295 if (ns != NULL) { in dom_get_dom1_attribute()
516 attrp->ns = curns; in PHP_FUNCTION()
703 if ((tree == NULL) || (ns == NULL) || (ns->type != XML_NAMESPACE_DECL)) { in _dom_new_reconNs()
[all …]
H A Dnode.c200 xmlNsPtr ns; in dom_node_node_name_read() local
214 ns = nodep->ns; in dom_node_node_name_read()
215 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
225 ns = nodep->ns; in dom_node_node_name_read()
226 if (ns != NULL && ns->prefix) { in dom_node_node_name_read()
679 ns = nodep->ns; in dom_node_prefix_read()
680 if (ns != NULL && ns->prefix) { in dom_node_prefix_read()
1395 ns = xmlSearchNs(n->doc, node, n->ns->prefix); in PHP_FUNCTION()
1397 ns = xmlSearchNs(n->doc, n, n->ns->prefix); in PHP_FUNCTION()
1404 node->ns = xmlNewNs(root, ns->href, ns->prefix); in PHP_FUNCTION()
[all …]
H A Dnodelist.c93 nodep, (char *) objmap->ns, (char *) objmap->local, &count, -1); in dom_nodelist_length_read()
182 …itemnode = dom_get_elements_by_tag_name_ns_raw(nodep, (char *) objmap->ns, (char *) objmap->local,… in PHP_FUNCTION()
H A Dphp_dom.c1054 …basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns) /* {{{ */ in dom_namednode_iter() argument
1067 mapptr->ns = ns; in dom_namednode_iter()
1129 if (objmap->ns) { in dom_nnodemap_object_dtor()
1130 xmlFree(objmap->ns); in dom_nnodemap_object_dtor()
1164 objmap->ns = NULL; in dom_nnodemap_objects_new()
1340 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int… in dom_get_elements_by_tag_name_ns_raw() argument
1347ns == NULL || (!strcmp(ns, "") && nodep->ns == NULL) || (nodep->ns != NULL && (xmlStrEqual(nodep-> in dom_get_elements_by_tag_name_ns_raw()
1355 ret = dom_get_elements_by_tag_name_ns_raw(nodep->children, ns, local, cur, index); in dom_get_elements_by_tag_name_ns_raw()
1429 void dom_set_old_ns(xmlDoc *doc, xmlNs *ns) { in dom_set_old_ns() argument
1450 cur->next = ns; in dom_set_old_ns()
H A Dphp_dom.h88 xmlChar *ns; member
112 void dom_set_old_ns(xmlDoc *doc, xmlNs *ns);
115 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int…
122 …_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns);
H A Dxpath.c157 node->ns = curns; in dom_xpath_ext_function_php()
358 xmlNsPtr *ns = NULL; in php_xpath_eval() local
397 ns = xmlGetNsList(docp, nodep); in php_xpath_eval()
399 if (ns != NULL) { in php_xpath_eval()
400 while (ns[nsnbr] != NULL) in php_xpath_eval()
406 ctxp->namespaces = ns; in php_xpath_eval()
412 if (ns != NULL) { in php_xpath_eval()
413 xmlFree(ns); in php_xpath_eval()
458 node->ns = curns; in php_xpath_eval()
/PHP-7.4/ext/dom/tests/
H A DDOMDocument_relaxNGValidateSource_basic.phpt13 <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0"
H A DDOMDocument_relaxNGValidateSource_error1.phpt13 <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0"
H A DDOMDocument_relaxNGValidateSource_error2.phpt13 <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0"
H A Dbug34276.phpt9 <foo xmlns="http://www.example.com/ns/foo"
10 xmlns:fubar="http://www.example.com/ns/fubar" attra="attra" />
23 var_dump($foo->hasAttributeNS('http://www.example.com/ns/foo', 'attra'));
24 var_dump($foo->getAttributeNS('http://www.example.com/ns/foo', 'attra'));
26 $foo->setAttributeNS('http://www.example.com/ns/foo', 'attra', 'attranew');
27 $foo->setAttributeNS('http://www.example.com/ns/fubar', 'attrb', 'attrbnew');
28 $foo->setAttributeNS('http://www.example.com/ns/foo', 'attrc', 'attrc');
30 var_dump($foo->getAttributeNS('http://www.example.com/ns/foo', 'attra'));
31 var_dump($foo->getAttributeNS('http://www.example.com/ns/fubar', 'attrb'));
32 var_dump($foo->getAttributeNS('http://www.example.com/ns/foo', 'attrc'));
[all …]
H A Dbug38850.phpt9 <foo xmlns="http://www.example.com/ns/foo" />
22 http://www.example.com/ns/foo
H A Dbug38949.phpt23 http://ns
H A Dbug41257.phpt23 $disdef = $doc->isDefaultNamespace("http://ns")."\n";
24 $eisdef = $root->isDefaultNamespace("http://ns")."\n";
H A Dbug46185.phpt9 <ns1:a xmlns:ns1="urn::ns"/>');
14 <ns1:ok xmlns:ns1="urn::ns" xmlns="urn::REAL"><watch-me xmlns:default="urn::BOGUS"/></ns1:ok>');
23 <ns1:a xmlns:ns1="urn::ns"><ns1:ok xmlns="urn::REAL"><watch-me xmlns:default="urn::BOGUS"/></ns1:ok…
H A Dbug54382.phpt10 <root xmlns="http://ns" xmlns:ns2="http://ns2">
H A Dcanonicalization.phpt9 <foo xmlns="http://www.example.com/ns/foo"
10 xmlns:fubar="http://www.example.com/ns/fubar" xmlns:test="urn::test"><contain>
13 <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test3 /></fubar:bar>
44 'namespaces'=>array('a'=>'http://www.example.com/ns/foo')),
52 <contain xmlns="http://www.example.com/ns/foo" xmlns:fubar="http://www.example.com/ns/fubar" xmlns:…
60 <contain xmlns="http://www.example.com/ns/foo">
63 <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test3></test3></fubar:bar>
68 <contain xmlns="http://www.example.com/ns/foo" xmlns:fubar="http://www.example.com/ns/fubar" xmlns:…
76 <contain xmlns="http://www.example.com/ns/foo">
84 <foo xmlns="http://www.example.com/ns/foo"><contain>
[all …]
H A Ddom002.phpt9 <foo xmlns="http://www.example.com/ns/foo"
10 xmlns:fubar="http://www.example.com/ns/fubar">
30 dump($dom->getElementsByTagNameNS('http://www.example.com/ns/fubar', 'bar'));
31 dump($doc->getElementsByTagNameNS('http://www.example.com/ns/fubar', 'bar'));
H A Ddom007.phpt20 <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
H A DtoString_exceptions.phpt18 '<root xmlns:ns="foo"><node attr="foo" /><node>Text</node><ns:node/><?pi foobar?></root>');
58 <root xmlns:ns="foo"><node attr="foo"/><node>Text</node><ns:node/><?pi foobar?></root>
/PHP-7.4/ext/fileinfo/libmagic/
H A Dcdf.c653 size_t ss = CDF_SEC_SIZE(h), ns, nd; in cdf_read_dir() local
657 ns = cdf_count_chain(sat, sid, ss); in cdf_read_dir()
658 if (ns == CAST(size_t, -1)) in cdf_read_dir()
663 dir->dir_len = ns * nd; in cdf_read_dir()
674 for (j = i = 0; i < ns; i++, j++) { in cdf_read_dir()
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic6369 0 regex \^\\\(ns[[:space:]]+[a-z] Clojure module source text
6372 0 regex \^\\\(ns[[:space:]]+\\\^\\{: Clojure module source text
8881 >&0 regex (onedcx/v)[0-9].[0-9]+ https://ns.dataone.org/metadata/schema/onedcx/v1.0
H A Dmagic私はガラスを食べられます6369 0 regex \^\\\(ns[[:space:]]+[a-z] Clojure module source text
6372 0 regex \^\\\(ns[[:space:]]+\\\^\\{: Clojure module source text
8881 >&0 regex (onedcx/v)[0-9].[0-9]+ https://ns.dataone.org/metadata/schema/onedcx/v1.0
/PHP-7.4/ext/libxml/
H A Dlibxml.c211 if (node->ns) { in php_libxml_node_free()
212 xmlFreeNs(node->ns); in php_libxml_node_free()
213 node->ns = NULL; in php_libxml_node_free()
/PHP-7.4/ext/reflection/tests/
H A Dbug49092.phpt5 namespace ns;
7 new \ReflectionFunction('ns\func');
8 new \ReflectionFunction('\ns\func');

Completed in 179 milliseconds

1234