Home
last modified time | relevance | path

Searched refs:node (Results 26 – 50 of 123) sorted by relevance

12345

/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dxml_to_dandarpc.c174 if(node) { in DANDARPC_to_xml_element_worker()
176 const char* id = XMLRPC_GetValueID(node); in DANDARPC_to_xml_element_worker()
177 XMLRPC_VALUE_TYPE type = XMLRPC_GetValueType(node); in DANDARPC_to_xml_element_worker()
205 … simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node)); in DANDARPC_to_xml_element_worker()
209 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); in DANDARPC_to_xml_element_worker()
219 snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); in DANDARPC_to_xml_element_worker()
230 … base64_encode_xmlrpc(&buf, XMLRPC_GetValueBase64(node), XMLRPC_GetValueStringLen(node)); in DANDARPC_to_xml_element_worker()
238 XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); in DANDARPC_to_xml_element_worker()
260 xIter = XMLRPC_VectorNext(node); in DANDARPC_to_xml_element_worker()
275 xml_element* DANDARPC_VALUE_to_xml_element(XMLRPC_VALUE node) { in DANDARPC_VALUE_to_xml_element() argument
[all …]
H A Dqueue.h32 } node ; typedef
38 node *head, *tail, *cursor;
44 node *loc ;
85 #define Q_Iter_Next_F(qi) (qi ? (q_iter)((node*)qi)->next : NULL)
86 #define Q_Iter_Prev_F(qi) (qi ? (q_iter)((node*)qi)->prev : NULL)
87 #define Q_Iter_Get_F(qi) (qi ? ((node*)qi)->data : NULL)
H A Dqueue.c289 node *n; in Q_PushHead()
298 q->head = (node*)p; in Q_PushHead()
341 node *p; in Q_PushTail()
349 q->tail = (node *)n; in Q_PushTail()
407 q->head = (node *)n; in Q_PopHead()
449 q->tail = (node *)p; in Q_PopTail()
538 n = ((node*)iter)->next; in Q_Iter_Del()
539 p = ((node*)iter)->prev; in Q_Iter_Del()
540 d = ((node*)iter)->data; in Q_Iter_Del()
547 if (q->cursor == (node*)iter) { in Q_Iter_Del()
[all …]
/PHP-5.5/ext/dom/
H A Dcharacterdata.c178 xmlNodePtr node; in PHP_FUNCTION() local
189 cur = xmlNodeGetContent(node); in PHP_FUNCTION()
260 xmlNodePtr node; in PHP_FUNCTION() local
272 cur = xmlNodeGetContent(node); in PHP_FUNCTION()
289 xmlNodeSetContent(node, first); in PHP_FUNCTION()
290 xmlNodeAddContent(node, arg); in PHP_FUNCTION()
291 xmlNodeAddContent(node, second); in PHP_FUNCTION()
308 xmlNodePtr node; in PHP_FUNCTION() local
319 cur = xmlNodeGetContent(node); in PHP_FUNCTION()
363 xmlNodePtr node; in PHP_FUNCTION() local
[all …]
H A Dentityreference.c52 xmlNode *node; in PHP_METHOD() local
73 node = xmlNewReference(NULL, name); in PHP_METHOD()
75 if (!node) { in PHP_METHOD()
86 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern TSRMLS_CC); in PHP_METHOD()
H A Dphp_dom.h107 void node_list_unlink(xmlNodePtr node TSRMLS_DC);
109 xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix);
111 xmlNsPtr dom_get_nsdecl(xmlNode *node, xmlChar *localName);
117 int dom_node_is_read_only(xmlNodePtr node);
118 int dom_node_children_valid(xmlNodePtr node);
134 if (__intern->ptr == NULL || !(__ptr = (__prtype)((php_libxml_node_ptr *)__intern->ptr)->node)) { \
H A Ddocument.c905 xmlNode *node; in PHP_FUNCTION() local
923 if (!node) { in PHP_FUNCTION()
938 xmlNode *node; in PHP_FUNCTION() local
950 if (!node) { in PHP_FUNCTION()
978 if (!node) { in PHP_FUNCTION()
1006 if (!node) { in PHP_FUNCTION()
1034 if (!node) { in PHP_FUNCTION()
1067 if (!node) { in PHP_FUNCTION()
1102 if (!node) { in PHP_FUNCTION()
1136 if (!node) { in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregparse.c1006 IS_NOT_NULL(NSTR(node)->s) && NSTR(node)->s != NSTR(node)->buf) { in onig_node_free()
1427 if (NSTR(node)->s == NSTR(node)->buf) in onig_node_str_cat()
1469 NSTR(node)->s = NSTR(node)->buf; in onig_node_conv_to_str_node()
1470 NSTR(node)->end = NSTR(node)->buf; in onig_node_conv_to_str_node()
1477 IS_NOT_NULL(NSTR(node)->s) && NSTR(node)->s != NSTR(node)->buf) { in onig_node_str_clear()
1483 NSTR(node)->s = NSTR(node)->buf; in onig_node_str_clear()
1484 NSTR(node)->end = NSTR(node)->buf; in onig_node_str_clear()
1496 NSTR(node)->s = NSTR(node)->buf; in node_new_str()
1497 NSTR(node)->end = NSTR(node)->buf; in node_new_str()
2129 } while (IS_NOT_NULL(node = NCDR(node))); in is_invalid_quantifier_target()
[all …]
/PHP-5.5/ext/spl/tests/
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 …]
/PHP-5.5/ext/dom/tests/
H A DDOMDocument_createProcessingInstruction_basic.phpt13 $node = $doc->createElement("para");
14 $newnode = $doc->appendChild($node);
18 $node->appendChild($test_proc_inst0);
22 $node->appendChild($test_proc_inst1);
H A Dbug32615.phpt19 $node = $dom->createElement('newfirst');
20 $frag->appendChild($node);
29 $node = $frag->appendChild(new DOMElement('fourth'));
33 $node = $root->insertBefore($frag, $node);
39 $root->replaceChild($frag, $node);
58 $node = $frag->appendChild(new DOMElement('fourth'));
63 $root->insertBefore($frag, $node);
H A DDOMNode_insertBefore.phpt18 echo "Add new node B\n";
21 echo "Add new node A before B\n";
29 Add new node B
32 Add new node A before B
H A DDOMNode_issamenode_basic.phpt19 $node = $dom->documentElement;
20 if($node->isSameNode($node))
27 if($nodelist->item(0)->isSameNode($node))
H A Dbug43364.phpt10 foreach($nodes as $node) {
11 if($node instanceof DOMElement) {
13 if($node->childNodes->length > 0) {
14 $count += loopElements($node->childNodes);
H A DDOMDocument_createAttribute_basic.phpt13 $node = $doc->createElement("para");
14 $newnode = $doc->appendChild($node);
18 $node->appendChild($test_attribute);
H A DDOMDocument_createAttribute_error1.phpt13 $node = $doc->createElement("para");
14 $newnode = $doc->appendChild($node);
18 $node->appendChild($failed_test_attribute);
H A DDOMDocument_createProcessingInstruction_error.phpt13 $node = $doc->createElement("para");
14 $newnode = $doc->appendChild($node);
19 $node->appendChild($test_proc_inst);
H A DDOMNode_cloneNode_basic.phpt71 echo "node $index\n";
77 node 0
85 node 1
93 node 2
96 node 3
104 node 4
H A Ddomxpath.phpt12 foreach ($nodelist AS $node) {
14 $val += $node->textContent;
33 if ($node = $nodelist->item(0)) {
34 print $node->textContent."\n";
H A Ddomattributes.phpt16 $node = $dom->documentElement;
18 $lang = $node->getAttributeNode('language');
31 $top_element = $node->cloneNode();
H A DDOMNode_getLineNo_basic.phpt13 foreach($nodes as $node) {
14 var_dump($node->getLineNo());
/PHP-5.5/ext/simplexml/tests/
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>
/PHP-5.5/Zend/tests/
H A Dgc_017.phpt16 function insert($node) {
17 $node->parent = $this;
18 $this->children[] = $node;
/PHP-5.5/ext/xmlreader/tests/
H A Dexpand.phpt25 $node = $reader->expand($dom);
26 if ($node->ownerDocument) {
27 echo $node->ownerDocument->documentElement->firstChild->textContent . "\n";
/PHP-5.5/ext/libxml/
H A Dphp_libxml.h71 xmlNodePtr node; member
78 php_libxml_node_ptr *node; member
85 PHP_LIBXML_API int php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, v…
92 PHP_LIBXML_API void php_libxml_node_free_resource(xmlNodePtr node TSRMLS_DC);

Completed in 47 milliseconds

12345