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);
661 xmlNsPtr nsptr; local
680 nsptr = dom_get_nsdecl(elemp, (xmlChar *)name);
681 if (nsptr != NULL) {
682 RETVAL_STRING((char *) nsptr->href);
741 xmlNsPtr nsptr; local
781 nsptr = dom_get_nsdecl(elemp, NULL);
783 nsptr
870 xmlNsPtr nsptr; local
[all...]
H A Ddocument.c1001 xmlNsPtr nsptr = NULL; local
1004 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href);
1005 if (nsptr == NULL) {
1007 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix);
1009 xmlSetNs(retnodep, nsptr);
1026 xmlNsPtr nsptr = NULL; local
1045 nsptr = xmlSearchNsByHref (nodep->doc, nodep, uri);
1046 if (nsptr == NULL) {
1047 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
1049 xmlSetNs(nodep, nsptr);
1089 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))) {
1503 xmlNsPtr nsptr; local
1533 if (lookupp != NULL && (nsptr = xmlSearchNsByHref(lookupp->doc, lookupp, uri))) {
1534 if (nsptr->prefix != NULL) {
1535 RETURN_STRING((char *) nsptr->prefix);
1553 xmlNsPtr nsptr; local
1567 nsptr = xmlSearchNs(nodep->doc, nodep, NULL);
1568 if (nsptr
1586 xmlNsPtr nsptr; local
[all...]
H A Dphp_dom.c1496 xmlNsPtr nsptr = NULL; local
1503 nsptr = xmlNewNs(nodep, (xmlChar *)uri, (xmlChar *)prefix);
1506 if (nsptr == NULL) {
1510 return nsptr;
/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.c1623 xmlNsPtr nsptr = NULL; local
1661 nsptr = xmlNewNs(newnode, (xmlChar *)nsuri, prefix);
1663 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri);
1664 if (nsptr == NULL) {
1665 nsptr = xmlNewNs(newnode, (xmlChar *)nsuri, prefix);
1667 newnode->ns = nsptr;
1689 xmlNsPtr nsptr = NULL; local
1739 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri);
1740 if (nsptr == NULL) {
1741 nsptr
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c530 xmlNsPtr nsptr; local
535 nsptr = xmlSearchNs(data->doc, data, BAD_CAST(ns));
536 if (nsptr != NULL) {
537 smart_str_appends(&nscat, (char*)nsptr->href);
2501 xmlNsPtr nsptr; local
2504 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns));
2512 if (nsptr != NULL) {
2513 enc = get_encoder(SOAP_GLOBAL(sdl), (char*)nsptr->href, type);
2522 xmlNsPtr nsptr; local
2525 nsptr
2863 xmlNsPtr nsptr; local
[all...]
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));
504 xmlNsPtr nsptr; local
519 nsptr = xmlSearchNs(unionType->doc, unionType, BAD_CAST(ns));
520 if (nsptr != NULL) {
527 newType->namens = estrdup((char*)nsptr->href);
529 newType->encode = get_create_encoder(sdl, newType, nsptr
648 xmlNsPtr nsptr; local
753 xmlNsPtr nsptr; local
878 xmlNsPtr nsptr; local
933 xmlNsPtr nsptr; local
1082 xmlNsPtr nsptr; local
1517 xmlNsPtr nsptr; local
1664 xmlNsPtr nsptr; local
1751 xmlNsPtr nsptr; local
1811 xmlNsPtr nsptr; local
1863 xmlNsPtr nsptr; local
1993 xmlNsPtr nsptr; local
[all...]
H A Dphp_sdl.c53 xmlNsPtr nsptr; local
57 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns));
58 if (nsptr != NULL) {
59 enc = get_encoder(sdl, (char*)nsptr->href, cptype);
76 xmlNsPtr nsptr; local
81 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns));
82 if (nsptr != NULL) {
83 int ns_len = xmlStrlen(nsptr->href);
88 memcpy(nscat, nsptr->href, ns_len);
H A Dsoap.c3921 xmlNsPtr nsptr = encode_add_ns(xmlHdr, hdr_ns); local
3922 xmlSetNs(xmlHdr, nsptr);
3984 xmlNsPtr nsptr = encode_add_ns(node, fault_ns); local
3985 xmlChar *code = xmlBuildQName(BAD_CAST(str->val), nsptr->prefix, NULL, 0);
4008 xmlNsPtr nsptr = encode_add_ns(node, fault_ns); local
4009 xmlChar *code = xmlBuildQName(BAD_CAST(str->val), nsptr->prefix, NULL, 0);
4146 xmlNsPtr nsptr = encode_add_ns(xmlHdr,hdr_ns); local
4147 xmlSetNs(xmlHdr, nsptr);
4325 xmlNsPtr nsptr; local
4354 nsptr
[all...]

Completed in 43 milliseconds