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

/PHP_TRUNK/ext/dom/
H A Ddocument.c1008 xmlNsPtr nsptr = NULL; local
1011 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href);
1012 if (nsptr == NULL) {
1014 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix);
1016 xmlSetNs(retnodep, nsptr);
1033 xmlNsPtr nsptr = NULL; local
1053 nsptr = xmlSearchNsByHref(nodep->doc, nodep, (xmlChar *) uri);
1054 if (nsptr == NULL) {
1055 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
1057 xmlSetNs(nodep, nsptr);
1097 xmlNsPtr nsptr; local
[all...]
H A Ddomimplementation.c160 xmlNsPtr nsptr = NULL; local
188 && ((nsptr = xmlNewNs(NULL, (xmlChar *) uri, (xmlChar *) prefix)) == NULL)
224 nodep = xmlNewDocNode(docp, nsptr, (xmlChar *) localname, NULL);
240 nodep->nsDef = nsptr;
H A Delement.c165 xmlNsPtr nsptr = NULL; local
187 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
188 xmlSetNs(nodep, nsptr);
664 xmlNsPtr nsptr; local
683 nsptr = dom_get_nsdecl(elemp, (xmlChar *)name);
684 if (nsptr != NULL) {
685 RETVAL_STRING((char *) nsptr->href);
744 xmlNsPtr nsptr; local
784 nsptr = dom_get_nsdecl(elemp, NULL);
786 nsptr
873 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))) {
1518 xmlNsPtr nsptr; local
1549 nsptr = xmlSearchNsByHref(lookupp->doc, lookupp, (xmlChar *) uri);
1550 if (nsptr && nsptr->prefix != NULL) {
1551 RETURN_STRING((char *) nsptr->prefix);
1569 xmlNsPtr nsptr; local
1583 nsptr
1602 xmlNsPtr nsptr; local
[all...]
H A Dphp_dom.c1498 xmlNsPtr nsptr = NULL; local
1505 nsptr = xmlNewNs(nodep, (xmlChar *)uri, (xmlChar *)prefix);
1508 if (nsptr == NULL) {
1512 return nsptr;
/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));
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.c3924 xmlNsPtr nsptr = encode_add_ns(xmlHdr, hdr_ns); local
3925 xmlSetNs(xmlHdr, nsptr);
3987 xmlNsPtr nsptr = encode_add_ns(node, fault_ns); local
3988 xmlChar *code = xmlBuildQName(BAD_CAST(str->val), nsptr->prefix, NULL, 0);
4011 xmlNsPtr nsptr = encode_add_ns(node, fault_ns); local
4012 xmlChar *code = xmlBuildQName(BAD_CAST(str->val), nsptr->prefix, NULL, 0);
4149 xmlNsPtr nsptr = encode_add_ns(xmlHdr,hdr_ns); local
4150 xmlSetNs(xmlHdr, nsptr);
4328 xmlNsPtr nsptr; local
4357 nsptr
[all...]
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);
2499 xmlNsPtr nsptr; local
2502 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns));
2510 if (nsptr != NULL) {
2511 enc = get_encoder(SOAP_GLOBAL(sdl), (char*)nsptr->href, type);
2520 xmlNsPtr nsptr; local
2523 nsptr
2861 xmlNsPtr nsptr; local
[all...]
/PHP_TRUNK/ext/xml/
H A Dcompat.c24 xmlNsPtr nsptr; member in struct:_php_xml_ns
/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...]

Completed in 39 milliseconds