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

/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/dom/
H A Dphp_dom.c1496 xmlNsPtr nsptr = NULL; local
1503 nsptr = xmlNewNs(nodep, (xmlChar *)uri, (xmlChar *)prefix);
1506 if (nsptr == NULL) {
1510 return nsptr;
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, 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.c158 xmlNsPtr nsptr = NULL; local
185 if (errorcode == 0 && uri_len > 0 && ((nsptr = xmlNewNs(NULL, uri, prefix)) == NULL)) {
220 nodep = xmlNewDocNode (docp, nsptr, localname, NULL);
236 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
1548 if (lookupp != NULL && (nsptr = xmlSearchNsByHref(lookupp->doc, lookupp, uri))) {
1549 if (nsptr->prefix != NULL) {
1550 RETURN_STRING((char *) nsptr->prefix);
1568 xmlNsPtr nsptr; local
1582 nsptr = xmlSearchNs(nodep->doc, nodep, NULL);
1583 if (nsptr
1601 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));
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 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 Dsoap.c3922 xmlNsPtr nsptr = encode_add_ns(xmlHdr, hdr_ns); local
3923 xmlSetNs(xmlHdr, nsptr);
3985 xmlNsPtr nsptr = encode_add_ns(node, fault_ns); local
3986 xmlChar *code = xmlBuildQName(BAD_CAST(str->val), nsptr->prefix, NULL, 0);
4009 xmlNsPtr nsptr = encode_add_ns(node, fault_ns); local
4010 xmlChar *code = xmlBuildQName(BAD_CAST(str->val), nsptr->prefix, NULL, 0);
4147 xmlNsPtr nsptr = encode_add_ns(xmlHdr,hdr_ns); local
4148 xmlSetNs(xmlHdr, nsptr);
4326 xmlNsPtr nsptr; local
4355 nsptr
[all...]
/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 38 milliseconds