Lines Matching defs:nodes
71 * non-element nodes; actually it will speed up comparison only if
938 fprintf(output, "Set contains %d nodes:\n", cur->nodeNr);
1823 * look out for namespace nodes in the node-set.
2831 * This stamps all the element nodes with the document order
2881 * Compare two nodes w.r.t document order
3029 * Compare two nodes w.r.t document order.
3030 * This one is optimized for handling of non-element nodes.
3117 * TODO: why do we return 1 for namespace nodes?
3173 * adjacent non-element nodes around.
3361 * the namespace nodes are duplicated and the next pointer is set to the
3397 * Namespace nodes in libxml don't match the XPath semantic. In a node set
3398 * the namespace nodes are duplicated and the next pointer is set to the
3541 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3599 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3657 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3697 * Merges two nodesets, all nodes from @val2 are added to @val1
3713 * those nasty namespace nodes need to be added with
3717 * some temporary nodes are in, that would be helpfull.
3739 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3810 * Merges two nodesets, all nodes from @val2 are added to @val1
3824 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3869 * @hasSet2NsNodes: 1 if set2 contains namespaces nodes
3871 * Merges two nodesets, all nodes from @set2 are added to @set1
3873 * Checks for duplicate nodes. Clears set2.
3883 * Note that doing a memcpy of the list, namespace nodes are
3976 * @hasSet2NsNodes: 1 if set2 contains namespaces nodes
3978 * Merges two nodesets, all nodes from @set2 are added to @set1
3980 * Doesn't chack for duplicate nodes. Clears set2.
3992 * Note that doing a memcpy of the list, namespace nodes are
4107 * Free the NodeSet compound (not the actual nodes !).
4115 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
4129 * Clears the list from all temporary XPath objects (e.g. namespace nodes
4157 * Clears the list from temporary XPath objects (e.g. namespace nodes
4271 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
4419 * Returns a node set comprising the nodes that are within both the
4445 * @nodes: a node-set, sorted by document order
4450 * Returns a subset of the nodes contained in @nodes, or @nodes if
4454 xmlXPathDistinctSorted (xmlNodeSetPtr nodes) {
4461 if (xmlXPathNodeSetIsEmpty(nodes))
4462 return(nodes);
4465 l = xmlXPathNodeSetGetLength(nodes);
4468 cur = xmlXPathNodeSetItem(nodes, i);
4483 * @nodes: a node-set
4487 * @nodes is sorted by document order, then #exslSetsDistinctSorted
4490 * Returns a subset of the nodes contained in @nodes, or @nodes if
4494 xmlXPathDistinct (xmlNodeSetPtr nodes) {
4495 if (xmlXPathNodeSetIsEmpty(nodes))
4496 return(nodes);
4498 xmlXPathNodeSetSort(nodes);
4499 return(xmlXPathDistinctSorted(nodes));
4507 * Implements the EXSLT - Sets has-same-nodes function:
4533 * @nodes: a node-set, sorted by document order
4539 * Returns the nodes in @nodes that precede @node in document order,
4540 * @nodes if @node is NULL or an empty node-set if @nodes
4544 xmlXPathNodeLeadingSorted (xmlNodeSetPtr nodes, xmlNodePtr node) {
4550 return(nodes);
4553 if (xmlXPathNodeSetIsEmpty(nodes) ||
4554 (!xmlXPathNodeSetContains(nodes, node)))
4557 l = xmlXPathNodeSetGetLength(nodes);
4559 cur = xmlXPathNodeSetItem(nodes, i);
4569 * @nodes: a node-set
4574 * @nodes is sorted by document order, then #exslSetsNodeLeadingSorted
4577 * Returns the nodes in @nodes that precede @node in document order,
4578 * @nodes if @node is NULL or an empty node-set if @nodes
4582 xmlXPathNodeLeading (xmlNodeSetPtr nodes, xmlNodePtr node) {
4583 xmlXPathNodeSetSort(nodes);
4584 return(xmlXPathNodeLeadingSorted(nodes, node));
4595 * Returns the nodes in @nodes1 that precede the first node in @nodes2
4617 * Returns the nodes in @nodes1 that precede the first node in @nodes2
4635 * @nodes: a node-set, sorted by document order
4641 * Returns the nodes in @nodes that follow @node in document order,
4642 * @nodes if @node is NULL or an empty node-set if @nodes
4646 xmlXPathNodeTrailingSorted (xmlNodeSetPtr nodes, xmlNodePtr node) {
4652 return(nodes);
4655 if (xmlXPathNodeSetIsEmpty(nodes) ||
4656 (!xmlXPathNodeSetContains(nodes, node)))
4659 l = xmlXPathNodeSetGetLength(nodes);
4661 cur = xmlXPathNodeSetItem(nodes, i);
4672 * @nodes: a node-set
4677 * @nodes is sorted by document order, then #xmlXPathNodeTrailingSorted
4680 * Returns the nodes in @nodes that follow @node in document order,
4681 * @nodes if @node is NULL or an empty node-set if @nodes
4685 xmlXPathNodeTrailing (xmlNodeSetPtr nodes, xmlNodePtr node) {
4686 xmlXPathNodeSetSort(nodes);
4687 return(xmlXPathNodeTrailingSorted(nodes, node));
4698 * Returns the nodes in @nodes1 that follow the first node in @nodes2
4720 * Returns the nodes in @nodes1 that follow the first node in @nodes2
5326 Removed 11 July 2004 - the current handling of xslt tmpRVT nodes means that
5519 * TODO: Due to those nasty ns-nodes, we need to traverse
5520 * the list and free the ns-nodes.
6479 * the comparison on the string-values of the two nodes is true.
6492 * Conclusion all nodes need to be converted first to their string value
6744 * comparison on the string-values of the two nodes is true.
7516 * A traversal function enumerates nodes along an axis.
7525 * A traversal function enumerates nodes along an axis.
7615 * Traversal function for the "child" direction and nodes of type element.
7691 * Additionally it returns only nodes which can be parents of
7692 * element nodes.
7927 * parent and so on; the nodes are ordered in reverse document order; thus the
8125 * The following axis contains all nodes in the same document as the context
8127 * descendants and excluding attribute nodes and namespace nodes; the nodes
8169 /* nodes need to be in the same document */
8188 * the preceding axis contains all nodes in the same document as the context
8190 * ancestors and excluding attribute nodes and namespace nodes; the nodes are
8231 * the preceding axis contains all nodes in the same document as the context
8233 * ancestors and excluding attribute nodes and namespace nodes; the nodes are
8277 * the namespace axis contains the namespace nodes of the context node;
8278 * the order of nodes on this axis is implementation-defined; the axis will
8382 * The last function returns the number of nodes in the context node list.
8538 * string value of each of the nodes in the argument node-set. When the
8708 * the original prefix in its representation of nodes; in this case, an
9501 * The sum function returns the sum of the values of the nodes in
11491 " context contains %d nodes\n", nbNodes);
11568 * context node, with the number of nodes in the
11701 * Check if the node set contains a sufficient number of nodes for
11804 * namespace nodes.
11968 /* The popped object holding the context nodes */
11970 /* The set of context nodes for the node tests */
11976 /* The final resulting node set wrt to all context nodes */
12015 * - If the nodes to be traversed wrt to the initial nodes and
12019 * Example: if we know that for two initial nodes, the one is
12045 * This iterator will give us only nodes which can
12046 * hold element nodes.
12214 * Traverse the axis and test the nodes.
12268 * xmlXPathNodeSetAddNs() for namespace nodes here?
12488 * Add the filtered set of nodes to the result node set.
12492 * The predicates filtered all nodes out.
12570 "\nExamined %d nodes, found %d nodes at that step\n",
12714 * Returns the number of nodes traversed
13134 * Returns the number of nodes traversed
13725 * context node, with the number of nodes in the
14314 printf("stream eval: checked %d nodes selected %d\n",