Home
last modified time | relevance | path

Searched refs:DOCUMENT_POSITION_PRECEDING (Results 1 – 15 of 15) sorted by relevance

/php-src/ext/dom/tests/compareDocumentPosition/
H A Delement_order_same_depth.phpt34 …o->compareDocumentPosition($foo->previousElementSibling) === DOMNode::DOCUMENT_POSITION_PRECEDING);
37 …($bar->nextElementSibling->compareDocumentPosition($bar) === DOMNode::DOCUMENT_POSITION_PRECEDING);
42 …g->compareDocumentPosition($foo->previousElementSibling) === DOMNode::DOCUMENT_POSITION_PRECEDING);
47 var_dump($bar->compareDocumentPosition($foo) === DOMNode::DOCUMENT_POSITION_PRECEDING);
H A Dentity.phpt26 …dump($entities[1]->compareDocumentPosition($entities[0]) === DOMNode::DOCUMENT_POSITION_PRECEDING);
38 …child->firstChild->compareDocumentPosition($entities[0]) === DOMNode::DOCUMENT_POSITION_PRECEDING);
39 …child->firstChild->compareDocumentPosition($entities[1]) === DOMNode::DOCUMENT_POSITION_PRECEDING);
H A Dattribute_child_order.phpt32 …($outer->attributes[0]->compareDocumentPosition($before) === DOMNode::DOCUMENT_POSITION_PRECEDING);
37 …ump($foo->compareDocumentPosition($outer->attributes[0]) === DOMNode::DOCUMENT_POSITION_PRECEDING);
41 …ump($bar->compareDocumentPosition($outer->attributes[0]) === DOMNode::DOCUMENT_POSITION_PRECEDING);
H A Delement_order_direct_root_children.phpt13 var_dump($bar->compareDocumentPosition($foo) === DOMNode::DOCUMENT_POSITION_PRECEDING);
H A Dcontains_element_direct_descendent.phpt20 var_dump($div->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMN…
H A Dcontains_attribute_direct_descendent.phpt18 var_dump($attribute->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING
H A Dcontains_attribute_freestanding.phpt16 var_dump($attribute->compareDocumentPosition($foo) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMN…
H A Dcontains_attribute_longer_descendent.phpt23 var_dump($attribute->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING
H A Ddisconnected.phpt17 …areDocumentPosition($element1) & DOMNode::DOCUMENT_POSITION_PRECEDING) === DOMNode::DOCUMENT_POSIT…
H A Dattribute_order_same_element.phpt21 …$expected = DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECI…
H A Dcontains_element_longer_descendent.phpt28 …mp($element->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNo…
H A Delement_order_different_depth.phpt31 var_dump($bar->compareDocumentPosition($foo) === DOMNode::DOCUMENT_POSITION_PRECEDING);
H A Dattribute_order_different_element.phpt25 var_dump($attr2->compareDocumentPosition($attr1) === DOMNode::DOCUMENT_POSITION_PRECEDING);
/php-src/ext/dom/
H A Dnode.c2423 #define DOCUMENT_POSITION_PRECEDING 0x02 macro
2471 RETURN_LONG(DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | DOCUMENT_POSITION_PRECEDING); in dom_node_compare_document_position()
2512 RETURN_LONG(DOCUMENT_POSITION_CONTAINS | DOCUMENT_POSITION_PRECEDING); in dom_node_compare_document_position()
2527 RETURN_LONG(DOCUMENT_POSITION_PRECEDING); in dom_node_compare_document_position()
2564 RETURN_LONG(DOCUMENT_POSITION_PRECEDING); in dom_node_compare_document_position()
2576 ordering = other_intern < this_intern ? DOCUMENT_POSITION_PRECEDING : DOCUMENT_POSITION_FOLLOWING; in dom_node_compare_document_position()
2578 ordering = node1 < node2 ? DOCUMENT_POSITION_PRECEDING : DOCUMENT_POSITION_FOLLOWING; in dom_node_compare_document_position()
H A Dphp_dom.stub.php313 public const int DOCUMENT_POSITION_PRECEDING = 0x02;
1441 public const int DOCUMENT_POSITION_PRECEDING = 0x02;

Completed in 73 milliseconds