Home | History | Annotate | Download | only in libxml2

Lines Matching refs:nodes

82 * non-element nodes; actually it will speed up comparison only if
127 * with more than 10 millions nodes.
144 * Compare two nodes w.r.t document order.
145 * This one is optimized for handling of non-element nodes.
232 * TODO: why do we return 1 for namespace nodes?
288 * adjacent non-element nodes around.
1309 fprintf(output, "Set contains %d nodes:\n", cur->nodeNr);
2194 * look out for namespace nodes in the node-set.
3218 * This stamps all the element nodes with the document order
3268 * Compare two nodes w.r.t document order
3465 * the namespace nodes are duplicated and the next pointer is set to the
3501 * Namespace nodes in libxml don't match the XPath semantic. In a node set
3502 * the namespace nodes are duplicated and the next pointer is set to the
3647 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3707 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3767 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3812 * Merges two nodesets, all nodes from @val2 are added to @val1
3830 * those nasty namespace nodes need to be added with
3834 * some temporary nodes are in, that would be helpfull.
3856 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
3930 * @hasSet2NsNodes: 1 if set2 contains namespaces nodes
3932 * Merges two nodesets, all nodes from @set2 are added to @set1
3934 * Checks for duplicate nodes. Clears set2.
3944 * Note that doing a memcpy of the list, namespace nodes are
4043 * @hasSet2NsNodes: 1 if set2 contains namespaces nodes
4045 * Merges two nodesets, all nodes from @set2 are added to @set1
4047 * Doesn't chack for duplicate nodes. Clears set2.
4059 * Note that doing a memcpy of the list, namespace nodes are
4180 * Free the NodeSet compound (not the actual nodes !).
4188 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
4202 * Clears the list from all temporary XPath objects (e.g. namespace nodes
4230 * Clears the list from temporary XPath objects (e.g. namespace nodes
4344 /* @@ with_ns to check whether namespace nodes should be looked at @@ */
4498 * Returns a node set comprising the nodes that are within both the
4528 * @nodes: a node-set, sorted by document order
4533 * Returns a subset of the nodes contained in @nodes, or @nodes if
4537 xmlXPathDistinctSorted (xmlNodeSetPtr nodes) {
4544 if (xmlXPathNodeSetIsEmpty(nodes))
4545 return(nodes);
4550 l = xmlXPathNodeSetGetLength(nodes);
4553 cur = xmlXPathNodeSetItem(nodes, i);
4569 * @nodes: a node-set
4573 * @nodes is sorted by document order, then #exslSetsDistinctSorted
4576 * Returns a subset of the nodes contained in @nodes, or @nodes if
4580 xmlXPathDistinct (xmlNodeSetPtr nodes) {
4581 if (xmlXPathNodeSetIsEmpty(nodes))
4582 return(nodes);
4584 xmlXPathNodeSetSort(nodes);
4585 return(xmlXPathDistinctSorted(nodes));
4593 * Implements the EXSLT - Sets has-same-nodes function:
4619 * @nodes: a node-set, sorted by document order
4625 * Returns the nodes in @nodes that precede @node in document order,
4626 * @nodes if @node is NULL or an empty node-set if @nodes
4630 xmlXPathNodeLeadingSorted (xmlNodeSetPtr nodes, xmlNodePtr node) {
4636 return(nodes);
4641 if (xmlXPathNodeSetIsEmpty(nodes) ||
4642 (!xmlXPathNodeSetContains(nodes, node)))
4645 l = xmlXPathNodeSetGetLength(nodes);
4647 cur = xmlXPathNodeSetItem(nodes, i);
4658 * @nodes: a node-set
4663 * @nodes is sorted by document order, then #exslSetsNodeLeadingSorted
4666 * Returns the nodes in @nodes that precede @node in document order,
4667 * @nodes if @node is NULL or an empty node-set if @nodes
4671 xmlXPathNodeLeading (xmlNodeSetPtr nodes, xmlNodePtr node) {
4672 xmlXPathNodeSetSort(nodes);
4673 return(xmlXPathNodeLeadingSorted(nodes, node));
4684 * Returns the nodes in @nodes1 that precede the first node in @nodes2
4706 * Returns the nodes in @nodes1 that precede the first node in @nodes2
4724 * @nodes: a node-set, sorted by document order
4730 * Returns the nodes in @nodes that follow @node in document order,
4731 * @nodes if @node is NULL or an empty node-set if @nodes
4735 xmlXPathNodeTrailingSorted (xmlNodeSetPtr nodes, xmlNodePtr node) {
4741 return(nodes);
4746 if (xmlXPathNodeSetIsEmpty(nodes) ||
4747 (!xmlXPathNodeSetContains(nodes, node)))
4750 l = xmlXPathNodeSetGetLength(nodes);
4752 cur = xmlXPathNodeSetItem(nodes, i);
4764 * @nodes: a node-set
4769 * @nodes is sorted by document order, then #xmlXPathNodeTrailingSorted
4772 * Returns the nodes in @nodes that follow @node in document order,
4773 * @nodes if @node is NULL or an empty node-set if @nodes
4777 xmlXPathNodeTrailing (xmlNodeSetPtr nodes, xmlNodePtr node) {
4778 xmlXPathNodeSetSort(nodes);
4779 return(xmlXPathNodeTrailingSorted(nodes, node));
4790 * Returns the nodes in @nodes1 that follow the first node in @nodes2
4812 * Returns the nodes in @nodes1 that follow the first node in @nodes2
5420 Removed 11 July 2004 - the current handling of xslt tmpRVT nodes means that
5613 * TODO: Due to those nasty ns-nodes, we need to traverse
5614 * the list and free the ns-nodes.
6573 * the comparison on the string-values of the two nodes is true.
6586 * Conclusion all nodes need to be converted first to their string value
6838 * comparison on the string-values of the two nodes is true.
7610 * A traversal function enumerates nodes along an axis.
7619 * A traversal function enumerates nodes along an axis.
7709 * Traversal function for the "child" direction and nodes of type element.
7786 * Additionally it returns only nodes which can be parents of
7787 * element nodes.
8025 * parent and so on; the nodes are ordered in reverse document order; thus the
8223 * The following axis contains all nodes in the same document as the context
8225 * descendants and excluding attribute nodes and namespace nodes; the nodes
8271 /* nodes need to be in the same document */
8290 * the preceding axis contains all nodes in the same document as the context
8292 * ancestors and excluding attribute nodes and namespace nodes; the nodes are
8333 * the preceding axis contains all nodes in the same document as the context
8335 * ancestors and excluding attribute nodes and namespace nodes; the nodes are
8381 * the namespace axis contains the namespace nodes of the context node;
8382 * the order of nodes on this axis is implementation-defined; the axis will
8486 * The last function returns the number of nodes in the context node list.
8644 * string value of each of the nodes in the argument node-set. When the
8819 * the original prefix in its representation of nodes; in this case, an
9612 * The sum function returns the sum of the values of the nodes in
11627 " context contains %d nodes\n", nbNodes);
11704 * context node, with the number of nodes in the
11841 * Check if the node set contains a sufficient number of nodes for
11948 * namespace nodes.
12115 /* The popped object holding the context nodes */
12117 /* The set of context nodes for the node tests */
12121 /* The final resulting node set wrt to all context nodes */
12158 * - If the nodes to be traversed wrt to the initial nodes and
12162 * Example: if we know that for two initial nodes, the one is
12330 * Traverse the axis and test the nodes.
12384 * xmlXPathNodeSetAddNs() for namespace nodes here?
12614 * Add the filtered set of nodes to the result node set.
12618 * The predicates filtered all nodes out.
12697 "\nExamined %d nodes, found %d nodes at that step\n",
12841 * Returns the number of nodes traversed
13267 * Returns the number of nodes traversed
13867 * context node, with the number of nodes in the
14465 printf("stream eval: checked %d nodes selected %d\n",