Searched refs:nsptr (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/ext/dom/
H A Ddomimplementation.c157 xmlNsPtr nsptr = NULL; local
183 if (errorcode == 0 && uri_len > 0 && ((nsptr = xmlNewNs(NULL, uri, prefix)) == NULL)) {
218 nodep = xmlNewDocNode (docp, nsptr, localname, NULL);
234 nodep->nsDef = nsptr;
H A Delement.c164 xmlNsPtr nsptr = NULL; local
186 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
187 xmlSetNs(nodep, nsptr);
665 xmlNsPtr nsptr; local
684 nsptr = dom_get_nsdecl(elemp, (xmlChar *)name);
685 if (nsptr != NULL) {
686 RETVAL_STRING((char *) nsptr->href, 1);
745 xmlNsPtr nsptr; local
785 nsptr = dom_get_nsdecl(elemp, NULL);
787 nsptr
874 xmlNsPtr nsptr; local
[all...]
H A Dnode.c164 xmlNsPtr nsptr, nsdftptr, curns, prevns = NULL; local
173 if((nsptr = xmlSearchNsByHref(doc, nodep->parent, curns->href)) &&
174 (curns->prefix == NULL || xmlStrEqual(nsptr->prefix, curns->prefix))) {
1600 xmlNsPtr nsptr; local
1630 if (lookupp != NULL && (nsptr = xmlSearchNsByHref(lookupp->doc, lookupp, uri))) {
1631 if (nsptr->prefix != NULL) {
1632 RETURN_STRING((char *) nsptr->prefix, 1);
1650 xmlNsPtr nsptr; local
1664 nsptr = xmlSearchNs(nodep->doc, nodep, NULL);
1665 if (nsptr
1683 xmlNsPtr nsptr; local
[all...]
H A Dphp_dom.c1628 xmlNsPtr nsptr = NULL; local
1635 nsptr = xmlNewNs(nodep, (xmlChar *)uri, (xmlChar *)prefix);
1638 if (nsptr == NULL) {
1642 return nsptr;
H A Ddocument.c1209 xmlNsPtr nsptr = NULL; local
1212 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href);
1213 if (nsptr == NULL) {
1215 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix);
1217 xmlSetNs(retnodep, nsptr);
1234 xmlNsPtr nsptr = NULL; local
1253 nsptr = xmlSearchNsByHref (nodep->doc, nodep, uri);
1254 if (nsptr == NULL) {
1255 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
1257 xmlSetNs(nodep, nsptr);
1297 xmlNsPtr nsptr; local
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_schema.c419 xmlNsPtr nsptr; local
422 nsptr = xmlSearchNs(listType->doc, listType, BAD_CAST(ns));
423 if (nsptr != NULL) {
430 newType->namens = estrdup((char*)nsptr->href);
432 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type));
502 xmlNsPtr nsptr; local
517 nsptr = xmlSearchNs(unionType->doc, unionType, BAD_CAST(ns));
518 if (nsptr != NULL) {
525 newType->namens = estrdup((char*)nsptr->href);
527 newType->encode = get_create_encoder(sdl, newType, nsptr
644 xmlNsPtr nsptr; local
749 xmlNsPtr nsptr; local
874 xmlNsPtr nsptr; local
929 xmlNsPtr nsptr; local
1078 xmlNsPtr nsptr; local
1513 xmlNsPtr nsptr; local
1660 xmlNsPtr nsptr; local
1747 xmlNsPtr nsptr; local
1807 xmlNsPtr nsptr; local
1859 xmlNsPtr nsptr; local
1984 xmlNsPtr nsptr; local
[all...]
H A Dphp_sdl.c52 xmlNsPtr nsptr; local
56 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns));
57 if (nsptr != NULL) {
58 enc = get_encoder(sdl, (char*)nsptr->href, cptype);
75 xmlNsPtr nsptr; local
80 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns));
81 if (nsptr != NULL) {
82 int ns_len = xmlStrlen(nsptr->href);
87 memcpy(nscat, nsptr->href, ns_len);
H A Dsoap.c3909 xmlNsPtr nsptr = encode_add_ns(xmlHdr, hdr_ns); local
3910 xmlSetNs(xmlHdr, nsptr);
3975 xmlNsPtr nsptr = encode_add_ns(node, fault_ns); local
3976 xmlChar *code = xmlBuildQName(BAD_CAST(str), nsptr->prefix, NULL, 0);
4000 xmlNsPtr nsptr = encode_add_ns(node, fault_ns); local
4001 xmlChar *code = xmlBuildQName(BAD_CAST(str), nsptr->prefix, NULL, 0);
4139 xmlNsPtr nsptr = encode_add_ns(xmlHdr,hdr_ns); local
4140 xmlSetNs(xmlHdr, nsptr);
4319 xmlNsPtr nsptr; local
4348 nsptr
[all...]
H A Dphp_encoding.c557 xmlNsPtr nsptr; local
562 nsptr = xmlSearchNs(data->doc, data, BAD_CAST(ns));
563 if (nsptr != NULL) {
564 smart_str_appends(&nscat, (char*)nsptr->href);
2577 xmlNsPtr nsptr; local
2580 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns));
2588 if (nsptr != NULL) {
2589 enc = get_encoder(SOAP_GLOBAL(sdl), (char*)nsptr->href, type);
2598 xmlNsPtr nsptr; local
2601 nsptr
2951 xmlNsPtr nsptr; local
[all...]
/PHP_TRUNK/ext/xml/
H A Dcompat.c24 xmlNsPtr nsptr; member in struct:_php_xml_ns
201 _namespace_handler(XML_Parser parser, xmlNsPtr nsptr) argument
203 if (nsptr != NULL) {
204 _namespace_handler(parser, nsptr->next);
205 parser->h_end_ns(parser->user, nsptr->prefix);
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1633 xmlNsPtr nsptr = NULL; local
1671 nsptr = xmlNewNs(newnode, (xmlChar *)nsuri, prefix);
1673 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri);
1674 if (nsptr == NULL) {
1675 nsptr = xmlNewNs(newnode, (xmlChar *)nsuri, prefix);
1677 newnode->ns = nsptr;
1699 xmlNsPtr nsptr = NULL; local
1749 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri);
1750 if (nsptr == NULL) {
1751 nsptr
[all...]

Completed in 39 milliseconds