Home
last modified time | relevance | path

Searched refs:nsptr (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/dom/
H A Delement.c49 xmlNsPtr nsptr = NULL; in PHP_METHOD() local
362 for (xmlNsPtr nsptr = nodep->nsDef; nsptr; nsptr = nsptr->next) { in PHP_METHOD() local
865 if (nsptr != NULL) { in dom_get_attribute_ns()
866 return nsptr->href; in dom_get_attribute_ns()
919 xmlNsPtr nsptr; in dom_set_attribute_ns_legacy() local
947 if (nsptr && nsptr->prefix == NULL) { in dom_set_attribute_ns_legacy()
1096 nsptr->href = NULL; in dom_eliminate_ns()
1116 nsptr->next = NULL; in dom_eliminate_ns()
1131 xmlNsPtr nsptr; in PHP_METHOD() local
1152 if (nsptr != NULL) { in PHP_METHOD()
[all …]
H A Ddocument.c783 xmlNsPtr nsptr = NULL; in PHP_METHOD() local
787 if (nsptr == NULL || nsptr->prefix == NULL) { in PHP_METHOD()
792 if (nsptr != NULL && root == NULL) { in PHP_METHOD()
796 retnodep->ns = nsptr; in PHP_METHOD()
881 if (nsptr == NULL) { in PHP_METHOD()
884 nodep->ns = nsptr; in PHP_METHOD()
956 xmlNsPtr nsptr; in PHP_METHOD() local
994 if (nsptr == NULL) { in PHP_METHOD()
999 if (nsptr == NULL || nsptr->prefix == NULL) { in PHP_METHOD()
1001 if (UNEXPECTED(nsptr == NULL)) { in PHP_METHOD()
[all …]
H A Ddomimplementation.c156 xmlNsPtr nsptr = NULL; in PHP_METHOD() local
186 && ((nsptr = xmlNewNs(NULL, BAD_CAST uri, BAD_CAST prefix)) == NULL) in PHP_METHOD()
224 nodep = xmlNewDocNode(docp, nsptr, BAD_CAST localname, NULL); in PHP_METHOD()
239 nodep->nsDef = nsptr; in PHP_METHOD()
H A Dnode.c1841 xmlNsPtr nsptr; in dom_node_lookup_prefix() local
1881 nsptr = xmlSearchNsByHref(lookupp->doc, lookupp, BAD_CAST uri); in dom_node_lookup_prefix()
1882 if (nsptr && nsptr->prefix != NULL) { in dom_node_lookup_prefix()
1883 RETURN_STRING((const char *) nsptr->prefix); in dom_node_lookup_prefix()
1982 xmlNsPtr nsptr; in PHP_METHOD() local
2000 nsptr = xmlSearchNs(nodep->doc, nodep, NULL); in PHP_METHOD()
2001 if (nsptr && xmlStrEqual(nsptr->href, BAD_CAST uri)) { in PHP_METHOD()
2040 xmlNsPtr nsptr; in PHP_METHOD() local
2068 nsptr = xmlSearchNs(nodep->doc, nodep, BAD_CAST (prefix ? ZSTR_VAL(prefix) : NULL)); in PHP_METHOD()
2069 if (nsptr && nsptr->href != NULL) { in PHP_METHOD()
[all …]
H A Dphp_dom.c1996 xmlNsPtr nsptr, nsdftptr, curns, prevns = NULL; in dom_reconcile_ns_internal() local
2169 xmlNsPtr nsptr = xmlSearchNs(doc, tree, (const xmlChar *) prefix); in dom_get_ns_resolve_prefix_conflict() local
2170 while (nsptr != NULL) { in dom_get_ns_resolve_prefix_conflict()
2175 nsptr = xmlSearchNs(doc, tree, (const xmlChar *) prefix); in dom_get_ns_resolve_prefix_conflict()
2194 xmlNsPtr nsptr = xmlNewNs(nodep, BAD_CAST uri, BAD_CAST prefix); in dom_get_ns_unchecked() local
2195 if (UNEXPECTED(nsptr == NULL)) { in dom_get_ns_unchecked()
2203 return nsptr; in dom_get_ns_unchecked()
2208 xmlNsPtr nsptr; in dom_get_ns() local
2213 nsptr = dom_get_ns_unchecked(nodep, uri, prefix); in dom_get_ns()
2214 if (UNEXPECTED(nsptr == NULL)) { in dom_get_ns()
[all …]
/php-src/ext/soap/
H A Dphp_schema.c440 xmlNsPtr nsptr; in schema_list() local
524 xmlNsPtr nsptr; in schema_union() local
667 xmlNsPtr nsptr; in schema_restriction_simpleContent() local
772 xmlNsPtr nsptr; in schema_restriction_complexContent() local
897 xmlNsPtr nsptr; in schema_extension_simpleContent() local
952 xmlNsPtr nsptr; in schema_extension_complexContent() local
1101 xmlNsPtr nsptr; in schema_group() local
1539 xmlNsPtr nsptr; in schema_element() local
1684 xmlNsPtr nsptr; in schema_element() local
1832 xmlNsPtr nsptr; in schema_attribute() local
[all …]
H A Dphp_encoding.c541 xmlNsPtr nsptr; in master_to_zval_int() local
547 nsptr = xmlSearchNs(data->doc, data, BAD_CAST(ns)); in master_to_zval_int()
548 if (nsptr != NULL) { in master_to_zval_int()
549 smart_str_appends(&nscat, (char*)nsptr->href); in master_to_zval_int()
2527 xmlNsPtr nsptr; in to_zval_array() local
2538 if (nsptr != NULL) { in to_zval_array()
2548 xmlNsPtr nsptr; in to_zval_array() local
2552 if (nsptr != NULL) { in to_zval_array()
2898 xmlNsPtr nsptr; in guess_zval_convert() local
2904 nsptr = xmlSearchNs(data->doc, data, BAD_CAST(ns)); in guess_zval_convert()
[all …]
H A Dsoap.c3633 xmlNsPtr nsptr = encode_add_ns(xmlHdr, hdr_ns); in serialize_response_call() local
3634 xmlSetNs(xmlHdr, nsptr); in serialize_response_call()
3700 xmlNsPtr nsptr = encode_add_ns(node, fault_ns); in serialize_response_call() local
3701 xmlChar *code = xmlBuildQName(BAD_CAST(ZSTR_VAL(str)), nsptr->prefix, NULL, 0); in serialize_response_call()
3727 xmlNsPtr nsptr = encode_add_ns(node, fault_ns); in serialize_response_call() local
3728 xmlChar *code = xmlBuildQName(BAD_CAST(ZSTR_VAL(str)), nsptr->prefix, NULL, 0); in serialize_response_call()
3869 xmlNsPtr nsptr = encode_add_ns(xmlHdr,hdr_ns); in serialize_response_call() local
3870 xmlSetNs(xmlHdr, nsptr); in serialize_response_call()
4060 xmlNsPtr nsptr; in serialize_function_call() local
4090 nsptr = encode_add_ns(h, Z_STRVAL_P(ns)); in serialize_function_call()
[all …]
H A Dphp_sdl.c50 xmlNsPtr nsptr; in get_encoder_from_prefix() local
55 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns)); in get_encoder_from_prefix()
56 if (nsptr != NULL) { in get_encoder_from_prefix()
57 enc = get_encoder(sdl, (char*)nsptr->href, cptype); in get_encoder_from_prefix()
73 xmlNsPtr nsptr; in get_element() local
79 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns)); in get_element()
80 if (nsptr != NULL) { in get_element()
81 size_t ns_len = xmlStrlen(nsptr->href); in get_element()
86 memcpy(nscat, nsptr->href, ns_len); in get_element()
/php-src/ext/simplexml/
H A Dsimplexml.c1660 xmlNsPtr nsptr = NULL; in PHP_METHOD() local
1700 nsptr = xmlNewNs(newnode, (xmlChar *)nsuri, prefix); in PHP_METHOD()
1702 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri); in PHP_METHOD()
1703 if (nsptr == NULL) { in PHP_METHOD()
1704 nsptr = xmlNewNs(newnode, (xmlChar *)nsuri, prefix); in PHP_METHOD()
1706 newnode->ns = nsptr; in PHP_METHOD()
1727 xmlNsPtr nsptr = NULL; in PHP_METHOD() local
1774 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri); in PHP_METHOD()
1775 if (nsptr == NULL) { in PHP_METHOD()
1776 nsptr = xmlNewNs(node, (xmlChar *)nsuri, prefix); in PHP_METHOD()
[all …]

Completed in 125 milliseconds