/PHP-7.4/ext/dom/ |
H A D | dom_iterators.c | 226 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 D | element.c | 232 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 D | node.c | 200 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 D | nodelist.c | 93 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 D | php_dom.c | 1054 …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 1347 …ns == 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 D | php_dom.h | 88 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 D | xpath.c | 157 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 D | DOMDocument_relaxNGValidateSource_basic.phpt | 13 <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0"
|
H A D | DOMDocument_relaxNGValidateSource_error1.phpt | 13 <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0"
|
H A D | DOMDocument_relaxNGValidateSource_error2.phpt | 13 <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0"
|
H A D | bug34276.phpt | 9 <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 D | bug38850.phpt | 9 <foo xmlns="http://www.example.com/ns/foo" /> 22 http://www.example.com/ns/foo
|
H A D | bug38949.phpt | 23 http://ns
|
H A D | bug41257.phpt | 23 $disdef = $doc->isDefaultNamespace("http://ns")."\n"; 24 $eisdef = $root->isDefaultNamespace("http://ns")."\n";
|
H A D | bug46185.phpt | 9 <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 D | bug54382.phpt | 10 <root xmlns="http://ns" xmlns:ns2="http://ns2">
|
H A D | canonicalization.phpt | 9 <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 D | dom002.phpt | 9 <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 D | dom007.phpt | 20 <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
|
H A D | toString_exceptions.phpt | 18 '<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 D | cdf.c | 653 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 D | magic | 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
|
H A D | magic私はガラスを食べられます | 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 D | libxml.c | 211 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 D | bug49092.phpt | 5 namespace ns; 7 new \ReflectionFunction('ns\func'); 8 new \ReflectionFunction('\ns\func');
|