Lines Matching refs:nodes
82 * non-element nodes; actually it will speed up comparison only if
127 * with more than 10 millions nodes.
1018 fprintf(output, "Set contains %d nodes:\n", cur->nodeNr);
1903 * look out for namespace nodes in the node-set.
2921 * This stamps all the element nodes with the document order
2971 * Compare two nodes w.r.t document order
3119 * Compare two nodes w.r.t document order.
3120 * This one is optimized for handling of non-element nodes.
3207 * TODO: why do we return 1 for namespace nodes?
3263 * adjacent non-element nodes around.
3460 * the namespace nodes are duplicated and the next pointer is set to the
3496 * Namespace nodes in libxml don't match the XPath semantic. In a node set
3497 * the namespace nodes are duplicated and the next pointer is set to the
3642 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3702 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3762 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3807 * Merges two nodesets, all nodes from @val2 are added to @val1
3825 * those nasty namespace nodes need to be added with
3829 * some temporary nodes are in, that would be helpfull.
3851 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3925 * @hasSet2NsNodes: 1 if set2 contains namespaces nodes
3927 * Merges two nodesets, all nodes from @set2 are added to @set1
3929 * Checks for duplicate nodes. Clears set2.
3939 * Note that doing a memcpy of the list, namespace nodes are
4038 * @hasSet2NsNodes: 1 if set2 contains namespaces nodes
4040 * Merges two nodesets, all nodes from @set2 are added to @set1
4042 * Doesn't chack for duplicate nodes. Clears set2.
4054 * Note that doing a memcpy of the list, namespace nodes are
4175 * Free the NodeSet compound (not the actual nodes !).
4183 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
4197 * Clears the list from all temporary XPath objects (e.g. namespace nodes
4225 * Clears the list from temporary XPath objects (e.g. namespace nodes
4339 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
4493 * Returns a node set comprising the nodes that are within both the
4523 * @nodes: a node-set, sorted by document order
4528 * Returns a subset of the nodes contained in @nodes, or @nodes if
4532 xmlXPathDistinctSorted (xmlNodeSetPtr nodes) {
4539 if (xmlXPathNodeSetIsEmpty(nodes))
4540 return(nodes);
4545 l = xmlXPathNodeSetGetLength(nodes);
4548 cur = xmlXPathNodeSetItem(nodes, i);
4564 * @nodes: a node-set
4568 * @nodes is sorted by document order, then #exslSetsDistinctSorted
4571 * Returns a subset of the nodes contained in @nodes, or @nodes if
4575 xmlXPathDistinct (xmlNodeSetPtr nodes) {
4576 if (xmlXPathNodeSetIsEmpty(nodes))
4577 return(nodes);
4579 xmlXPathNodeSetSort(nodes);
4580 return(xmlXPathDistinctSorted(nodes));
4588 * Implements the EXSLT - Sets has-same-nodes function:
4614 * @nodes: a node-set, sorted by document order
4620 * Returns the nodes in @nodes that precede @node in document order,
4621 * @nodes if @node is NULL or an empty node-set if @nodes
4625 xmlXPathNodeLeadingSorted (xmlNodeSetPtr nodes, xmlNodePtr node) {
4631 return(nodes);
4636 if (xmlXPathNodeSetIsEmpty(nodes) ||
4637 (!xmlXPathNodeSetContains(nodes, node)))
4640 l = xmlXPathNodeSetGetLength(nodes);
4642 cur = xmlXPathNodeSetItem(nodes, i);
4653 * @nodes: a node-set
4658 * @nodes is sorted by document order, then #exslSetsNodeLeadingSorted
4661 * Returns the nodes in @nodes that precede @node in document order,
4662 * @nodes if @node is NULL or an empty node-set if @nodes
4666 xmlXPathNodeLeading (xmlNodeSetPtr nodes, xmlNodePtr node) {
4667 xmlXPathNodeSetSort(nodes);
4668 return(xmlXPathNodeLeadingSorted(nodes, node));
4679 * Returns the nodes in @nodes1 that precede the first node in @nodes2
4701 * Returns the nodes in @nodes1 that precede the first node in @nodes2
4719 * @nodes: a node-set, sorted by document order
4725 * Returns the nodes in @nodes that follow @node in document order,
4726 * @nodes if @node is NULL or an empty node-set if @nodes
4730 xmlXPathNodeTrailingSorted (xmlNodeSetPtr nodes, xmlNodePtr node) {
4736 return(nodes);
4741 if (xmlXPathNodeSetIsEmpty(nodes) ||
4742 (!xmlXPathNodeSetContains(nodes, node)))
4745 l = xmlXPathNodeSetGetLength(nodes);
4747 cur = xmlXPathNodeSetItem(nodes, i);
4759 * @nodes: a node-set
4764 * @nodes is sorted by document order, then #xmlXPathNodeTrailingSorted
4767 * Returns the nodes in @nodes that follow @node in document order,
4768 * @nodes if @node is NULL or an empty node-set if @nodes
4772 xmlXPathNodeTrailing (xmlNodeSetPtr nodes, xmlNodePtr node) {
4773 xmlXPathNodeSetSort(nodes);
4774 return(xmlXPathNodeTrailingSorted(nodes, node));
4785 * Returns the nodes in @nodes1 that follow the first node in @nodes2
4807 * Returns the nodes in @nodes1 that follow the first node in @nodes2
5415 Removed 11 July 2004 - the current handling of xslt tmpRVT nodes means that
5608 * TODO: Due to those nasty ns-nodes, we need to traverse
5609 * the list and free the ns-nodes.
6568 * the comparison on the string-values of the two nodes is true.
6581 * Conclusion all nodes need to be converted first to their string value
6833 * comparison on the string-values of the two nodes is true.
7605 * A traversal function enumerates nodes along an axis.
7614 * A traversal function enumerates nodes along an axis.
7704 * Traversal function for the "child" direction and nodes of type element.
7781 * Additionally it returns only nodes which can be parents of
7782 * element nodes.
8020 * parent and so on; the nodes are ordered in reverse document order; thus the
8218 * The following axis contains all nodes in the same document as the context
8220 * descendants and excluding attribute nodes and namespace nodes; the nodes
8266 /* nodes need to be in the same document */
8285 * the preceding axis contains all nodes in the same document as the context
8287 * ancestors and excluding attribute nodes and namespace nodes; the nodes are
8328 * the preceding axis contains all nodes in the same document as the context
8330 * ancestors and excluding attribute nodes and namespace nodes; the nodes are
8376 * the namespace axis contains the namespace nodes of the context node;
8377 * the order of nodes on this axis is implementation-defined; the axis will
8481 * The last function returns the number of nodes in the context node list.
8639 * string value of each of the nodes in the argument node-set. When the
8814 * the original prefix in its representation of nodes; in this case, an
9607 * The sum function returns the sum of the values of the nodes in
11622 " context contains %d nodes\n", nbNodes);
11699 * context node, with the number of nodes in the
11836 * Check if the node set contains a sufficient number of nodes for
11943 * namespace nodes.
12110 /* The popped object holding the context nodes */
12112 /* The set of context nodes for the node tests */
12116 /* The final resulting node set wrt to all context nodes */
12153 * - If the nodes to be traversed wrt to the initial nodes and
12157 * Example: if we know that for two initial nodes, the one is
12325 * Traverse the axis and test the nodes.
12379 * xmlXPathNodeSetAddNs() for namespace nodes here?
12602 * Add the filtered set of nodes to the result node set.
12606 * The predicates filtered all nodes out.
12685 "\nExamined %d nodes, found %d nodes at that step\n",
12829 * Returns the number of nodes traversed
13255 * Returns the number of nodes traversed
13847 * context node, with the number of nodes in the
14445 printf("stream eval: checked %d nodes selected %d\n",