Home
last modified time | relevance | path

Searched refs:node (Results 76 – 100 of 123) sorted by path

12345

/PHP-5.5/ext/simplexml/
H A Dsxe.c103 if (intern != NULL && intern->node != NULL) { in PHP_METHOD()
104 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->node)->node; in PHP_METHOD()
133 xmlNodePtr node; in PHP_METHOD() local
144 GET_NODE(child, node); in PHP_METHOD()
145 if (node) { in PHP_METHOD()
146 node = node->children; in PHP_METHOD()
148 while (node && node->type != XML_ELEMENT_NODE) { in PHP_METHOD()
149 node = node->next; in PHP_METHOD()
151 RETURN_BOOL(node ? 1 : 0); in PHP_METHOD()
/PHP-5.5/ext/simplexml/tests/
H A D018.phpt31 foreach($xml->children() as $name => $node) {
33 foreach($node->attributes() as $attr => $value) {
37 traverse_xml($pad." ",$node);
H A D026.phpt22 foreach($xml->children() as $node)
24 traverse_xml($node, $pad.' ');
H A D027.phpt20 foreach($xml->children() as $node)
22 traverse_xml($node, $pad.' ');
H A D028.phpt20 foreach($xml->children() as $node)
22 traverse_xml($node, $pad.' ');
H A Dbug27010.phpt2 Bug #27010 (segfault and node text not displayed when returned from children())
H A Dbug37386.phpt2 Bug #39760 (autocreating element doesn't assign value to first node)
10 $sx1->node[0] = 'node1';
11 $sx1->node[1] = 'node2';
14 $node = $sx1->node[0];
15 $node[0] = 'New Value';
22 <root><node>node1</node><node>node2</node></root>
25 <root><node>New Value</node><node>node2</node></root>
H A Dbug40451.phpt2 Bug #40451 (addAttribute() may crash when used with non-existent child node)
H A Dbug41861.phpt2 Bug #41861 (getNamespaces() returns the namespaces of a node's siblings)
H A Dbug43221.phpt8 $n = $xml->addChild("node", "value");
18 <root><node xmlns:foo="http://bar.com" a="b" foo:e="f">value</node></root>
H A Dbug61335.phpt2 Bug #61335 - Access to array node returns wrong truth value
H A Dbug66084_0.phpt2 Bug #66084 simplexml_load_string() mangles empty node name, var_dump variant
H A Dbug66084_1.phpt2 Bug #66084 simplexml_load_string() mangles empty node name, json variant
H A Dbug69491.phpt2 Bug #69491 (simplexml doesn't correctly parse empty nodes on same line as another node)
H A Dprofile01.phpt2 SimpleXML [profile]: Accessing a simple node
/PHP-5.5/ext/soap/
H A Dphp_encoding.c534 return node; in master_to_xml_int()
1327 node = node->next; in model_to_zval_any()
1370 node = node->next; in model_to_zval_any()
1384 if (node) { in model_to_zval_object()
1414 if (node && node->children && node->children->content) { in model_to_zval_object()
3480 while (node) { in xmlSearchNsPrefixByHref()
3497 cur = node->ns; in xmlSearchNsPrefixByHref()
3507 node = node->parent; in xmlSearchNsPrefixByHref()
3520 xmlns = xmlSearchNsByHref(node->doc, node, BAD_CAST(ns)); in encode_add_ns()
3522 xmlns = xmlSearchNsPrefixByHref(node->doc, node, BAD_CAST(ns)); in encode_add_ns()
[all …]
H A Dphp_encoding.h196 zval *to_zval_user(encodeTypePtr type, xmlNodePtr node TSRMLS_DC);
206 xmlNsPtr encode_add_ns(xmlNodePtr node, const char* ns);
H A Dphp_schema.c982 void schema_min_max(xmlNodePtr node, sdlContentModelPtr model) in schema_min_max() argument
984 xmlAttrPtr attr = get_attribute(node->properties, "minOccurs"); in schema_min_max()
992 attr = get_attribute(node->properties, "maxOccurs"); in schema_min_max()
2108 xmlNodePtr node; in schema_attribute_fixup() local
2112 …zend_hash_copy(attr->extraAttributes, (*tmp)->extraAttributes, copy_extra_attribute, &node, sizeof… in schema_attribute_fixup()
2156 xmlNodePtr node; in schema_attributegroup_fixup() local
2159 … zend_hash_copy(ht, newAttr->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr)); in schema_attributegroup_fixup()
H A Dphp_sdl.c49 encodePtr get_encoder_from_prefix(sdlPtr sdl, xmlNodePtr node, const xmlChar *type) in get_encoder_from_prefix() argument
56 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns)); in get_encoder_from_prefix()
70 static sdlTypePtr get_element(sdlPtr sdl, xmlNodePtr node, const xmlChar *type) in get_element() argument
80 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns)); in get_element()
214 static int is_wsdl_element(xmlNodePtr node) in is_wsdl_element() argument
216 if (node->ns && strcmp((char*)node->ns->href, WSDL_NAMESPACE) != 0) { in is_wsdl_element()
218 if ((attr = get_attribute_ex(node->properties, "required", WSDL_NAMESPACE)) != NULL && in is_wsdl_element()
222 soap_error1(E_ERROR, "Parsing WSDL: Unknown required WSDL extension '%s'", node->ns->href); in is_wsdl_element()
561 static void wsdl_soap_binding_body(sdlCtx* ctx, xmlNodePtr node, char* wsdl_soap_namespace, sdlSoap… in wsdl_soap_binding_body() argument
566 trav = node->children; in wsdl_soap_binding_body()
H A Dphp_xml.c193 return xmlSearchNs(node->doc, node->parent, NULL); in attr_find_ns()
202 return xmlSearchNs(node->doc, node, NULL); in node_find_ns()
243 return node; in get_attribute_ex()
245 node = node->next; in get_attribute_ex()
254 return node; in get_node_ex()
256 node = node->next; in get_node_ex()
265 return node; in get_node_recurisve_ex()
272 node = node->next; in get_node_recurisve_ex()
283 node = get_node_ex(node, name, name_ns); in get_node_with_attribute_ex()
293 node = node->next; in get_node_with_attribute_ex()
[all …]
H A Dphp_xml.h25 #define get_attribute(node, name) get_attribute_ex(node, name, NULL) argument
26 #define get_node(node, name) get_node_ex(node, name, NULL) argument
27 #define get_node_recursive(node, name) get_node_recursive_ex(node, name, NULL) argument
28 #define get_node_with_attribute(node, name, attr, val) get_node_with_attribute_ex(node, name, NULL,… argument
29 #define get_node_with_attribute_recursive(node, name, attr, val) get_node_with_attribute_recursive_… argument
30 #define node_is_equal(node, name) node_is_equal_ex(node, name, NULL) argument
31 #define attr_is_equal(node, name) attr_is_equal_ex(node, name, NULL) argument
36 xmlNsPtr attr_find_ns(xmlAttrPtr node);
37 xmlNsPtr node_find_ns(xmlNodePtr node);
38 int attr_is_equal_ex(xmlAttrPtr node, char *name, char *ns);
[all …]
H A Dsoap.c3856 if (node) {
3857 *node = method;
4014 xmlAddChild(param, node);
4018 xmlNodeSetContent(node, code);
4040 node = xmlNewChild(node, ns, BAD_CAST("Value"), NULL);
4053 node = master_to_xml(get_conversion(IS_STRING), *tmp, SOAP_LITERAL, node TSRMLS_CC);
4055 xmlSetNs(node, ns);
4060 xmlNodePtr node; local
4070 xmlAddChild(param, node);
4568 xmlNodePtr node = params; local
[all …]
/PHP-5.5/ext/sockets/
H A Dconversions.c146 const char **node; in do_from_to_zval_err() local
155 for (node = zend_llist_get_first_ex(keys, &pos); in do_from_to_zval_err()
156 node != NULL; in do_from_to_zval_err()
157 node = zend_llist_get_next_ex(keys, &pos)) { in do_from_to_zval_err()
158 smart_str_appends(&path, *node); in do_from_to_zval_err()
731 const char *node = "family"; in from_zval_write_sockaddr_aux() local
732 zend_llist_add_element(&ctx->keys, &node); in from_zval_write_sockaddr_aux()
/PHP-5.5/ext/spl/tests/
H A Dbug54971.phpt12 <node>val1</node>
13 <node>val2</node>
22 $items = $xpath->query('//node');
H A Dbug65328.phpt40 /** @var Node $node */
41 foreach($iterator as $node) {
42 if($node->getUid() === $uid) {
43 return $node;
58 /** @var Node $node */
60 if($node->getUid() == $uid) {
61 $result->push($node);
200 * @param Node $node
206 $headNode = $node;
208 $headNode = $node;
[all …]

Completed in 206 milliseconds

12345