• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/

Lines Matching defs:set

1821 	* look out for namespace nodes in the node-set.
1866 * 0: This will set the XPath object caching:
1868 * This will set the maximum number of XPath objects
1870 * There are 5 slots for: node-set, string, number, boolean, and
2539 * Pops a node-set from the stack, handling conversion if needed.
2542 * Returns the node-set
3259 * @set: the node set
3261 * Sort the node set in document order
3264 xmlXPathNodeSetSort(xmlNodeSetPtr set) {
3268 if (set == NULL)
3271 /* Use Shell's sort to sort the node-set */
3272 len = set->nodeNr;
3278 if (xmlXPathCmpNodesExt(set->nodeTab[j],
3279 set->nodeTab[j + incr]) == -1)
3281 if (xmlXPathCmpNodes(set->nodeTab[j],
3282 set->nodeTab[j + incr]) == -1)
3285 tmp = set->nodeTab[j];
3286 set->nodeTab[j] = set->nodeTab[j + incr];
3287 set->nodeTab[j + incr] = tmp;
3302 * Namespace node in libxml don't match the XPath semantic. In a node set
3303 * the namespace nodes are duplicated and the next pointer is set to the
3339 * Namespace nodes in libxml don't match the XPath semantic. In a node set
3340 * the namespace nodes are duplicated and the next pointer is set to the
3399 * @size: the initial size of the set
3430 * @cur: the node-set
3467 * @cur: the initial node set
3525 * @cur: the initial node set
3584 * @cur: the initial node set
3588 * when we are sure the node is not already in the set.
3640 * if @val1 is NULL, a new set is created and copied from @val2
3656 * xmlXPathNodeSetDupNs() to the set; thus a pure
3662 * Optimization: Create an equally sized node-set
3753 * if @val1 is NULL, a new set is created and copied from @val2
3814 * if @set1 is NULL, a new set is created and copied from @set2.
3921 * if @set1 is NULL, a new set is created and copied from @set2.
3990 * @cur: the initial node set
4027 * @cur: the initial node set
4069 * @set: the node set to clear
4076 xmlXPathNodeSetClear(xmlNodeSetPtr set, int hasNsNodes)
4078 if ((set == NULL) || (set->nodeNr <= 0))
4084 for (i = 0; i < set->nodeNr; i++) {
4085 node = set->nodeTab[i];
4091 set->nodeNr = 0;
4096 * @set: the node set to be cleared
4104 xmlXPathNodeSetClearFromPos(xmlNodeSetPtr set, int pos, int hasNsNodes)
4106 if ((set == NULL) || (set->nodeNr <= 0) || (pos >= set->nodeNr))
4112 for (i = pos; i < set->nodeNr; i++) {
4113 node = set->nodeTab[i];
4119 set->nodeNr = pos;
4291 xmlXPathErrMemory(NULL, "creating node set object\n");
4321 * @nodes1: a node-set
4322 * @nodes2: a node-set
4325 * node-set set:difference (node-set, node-set)
4355 * @nodes1: a node-set
4356 * @nodes2: a node-set
4359 * node-set set:intersection (node-set, node-set)
4361 * Returns a node set comprising the nodes that are within both the
4387 * @nodes: a node-set, sorted by document order
4390 * node-set set:distinct (node-set)
4425 * @nodes: a node-set
4428 * node-set set:distinct (node-set)
4430 * is called with the sorted node-set
4446 * @nodes1: a node-set
4447 * @nodes2: a node-set
4450 * boolean set:has-same-node(node-set, node-set)
4475 * @nodes: a node-set, sorted by document order
4479 * node-set set:leading (node-set, node-set)
4482 * @nodes if @node is NULL or an empty node-set if @nodes
4511 * @nodes: a node-set
4515 * node-set set:leading (node-set, node-set)
4520 * @nodes if @node is NULL or an empty node-set if @nodes
4531 * @nodes1: a node-set, sorted by document order
4532 * @nodes2: a node-set, sorted by document order
4535 * node-set set:leading (node-set, node-set)
4539 * an empty node-set if @nodes1 doesn't contain @nodes2
4551 * @nodes1: a node-set
4552 * @nodes2: a node-set
4555 * node-set set:leading (node-set, node-set)
4561 * an empty node-set if @nodes1 doesn't contain @nodes2
4577 * @nodes: a node-set, sorted by document order
4581 * node-set set:trailing (node-set, node-set)
4584 * @nodes if @node is NULL or an empty node-set if @nodes
4613 * @nodes: a node-set
4617 * node-set set:trailing (node-set, node-set)
4622 * @nodes if @node is NULL or an empty node-set if @nodes
4633 * @nodes1: a node-set, sorted by document order
4634 * @nodes2: a node-set, sorted by document order
4637 * node-set set:trailing (node-set, node-set)
4641 * an empty node-set if @nodes1 doesn't contain @nodes2
4653 * @nodes1: a node-set
4654 * @nodes2: a node-set
4657 * node-set set:trailing (node-set, node-set)
4663 * an empty node-set if @nodes1 doesn't contain @nodes2
5578 * @ns: a node-set
5580 * Converts a node-set to its string value.
5741 * @ns: a node-set
5743 * Converts a node-set to its number value
5859 * @ns: a node-set
5861 * Converts a node-set to its boolean value
6299 * @arg: the node set
6308 * If one object to be compared is a node-set and the other is a number,
6310 * node-set such that the result of performing the comparison on the number
6355 * @arg: the node set
6364 * If one object to be compared is a node-set and the other is a string,
6366 * the node-set such that the result of performing the comparison on the
6408 * @arg1: the first node set object
6409 * @arg2: the second node set object
6414 * will be true if and only if there is a node in the first node-set
6415 * and a node in the second node-set such that the result of performing
6418 * When neither object to be compared is a node-set and the operator
6511 * @arg: the node set
6520 * If one object to be compared is a node-set and the other is a boolean,
6523 * the node-set to a boolean using the boolean function is true.
6560 * If one object to be compared is a node-set and the other is a string,
6562 * the node-set such that the result of performing the comparison on the
6618 * If one object to be compared is a node-set and the other is a number,
6620 * the node-set such that the result of performing the comparison on the
6679 * will be true if and only if there is a node in the first node-set and
6680 * a node in the second node-set such that the result of performing the
7155 * When neither object to be compared is a node-set and the operator is
8357 * number count(node-set)
8404 * Returns a node-set of selected elements.
8458 * node-set id(object)
8460 * (see [5.2.1 Unique IDs]). When the argument to id is of type node-set,
8462 * string value of each of the nodes in the argument node-set. When the
8466 * of characters matching the production S); the result is a node-set
8513 * string local-name(node-set?)
8515 * of the name of the node in the argument node-set that is first in
8516 * document order. If the node-set is empty or the first node has no
8571 * string namespace-uri(node-set?)
8574 * node-set that is first in document order. If the node-set is empty,
8623 * string name(node-set?)
8625 * the name of the node in the argument node-set that is first in document
8706 * - A node-set is converted to a string by returning the value of
8707 * the node in the node-set that is first in document order.
8708 * If the node-set is empty, an empty string is returned.
8731 * If the argument is omitted, it defaults to a node-set with the
9274 * - a node-set is true if and only if it is non-empty
9422 * number sum(node-set)
9424 * the argument node-set.
10254 * Optimization for count(): we don't need the node-set to be sorted.
10330 * be filtered does not evaluate to a node-set. The context node list
10331 * used for evaluating the expression in square brackets is the node-set
10409 * does not evaluate to a node-set.
10829 * operations which don't require a sorted node-set.
11218 "Basis : computing new set\n");
11451 xmlNodeSetPtr set,
11466 &comp->steps[op->ch1], set, contextSize, hasNsNodes);
11488 * "For each node in the node-set to be filtered, the
11491 * node-set as the context size, and with the proximity
11492 * position of the node in the node-set with respect to
11494 * @oldset is the node-set" to be filtered.
11500 * node-set context pos
11505 * node-set context pos
11516 for (i = 0; i < set->nodeNr; i++) {
11517 if (set->nodeTab[i] == NULL)
11520 contextNode = set->nodeTab[i];
11526 * Also set the xpath document in case things like
11534 * at a time; this node is packaged into a node set; this
11535 * node set is handed over to the evaluation mechanism.
11554 * Remove the entry from the initial node set.
11556 set->nodeTab[i] = NULL;
11579 xmlXPathNodeSetClear(set, hasNsNodes);
11605 xmlNodeSetPtr set,
11619 &comp->steps[op->ch1], set, contextSize, hasNsNodes);
11625 * Check if the node set contains a sufficient number of nodes for
11629 xmlXPathNodeSetClear(set, hasNsNodes);
11662 for (i = 0; i < set->nodeNr; i++) {
11663 if (set->nodeTab[i] == NULL)
11666 contextNode = set->nodeTab[i];
11672 * Initialize the new set.
11673 * Also set the xpath document in case things like
11681 * at a time; this node is packaged into a node set; this
11682 * node set is handed over to the evaluation mechanism.
11713 set->nodeTab[i] = NULL;
11715 xmlXPathNodeSetClear(set, hasNsNodes);
11716 set->nodeNr = 1;
11717 set->nodeTab[0] = contextNode;
11724 xmlXPathNodeSetClearFromPos(set, i +1, hasNsNodes);
11729 * Remove the entry from the initial node set.
11731 set->nodeTab[i] = NULL;
11758 xmlXPathNodeSetClear(set, hasNsNodes);
11799 * - an expression selecting the node set.
11877 /* The set of context nodes for the node tests */
11883 /* The final resulting node set wrt to all context nodes */
11886 * The temporary resulting node set wrt 1 context node.
12350 * Do we expect such a set here?
12352 * does not indicate that a location-set will be processed
12384 * Add the filtered set of nodes to the result node set.
12393 * Add to result set.
12417 * Add to result set.
12443 * Ensure we return at least an emtpy set.
12455 * Hand over the result. Better to push the set also in
12908 * Extract the old set, and then evaluate the result of the
12909 * expression for all the element in the set. use it to grow
12910 * up a new set.
12940 * Initialize the new set.
12941 * Also set the xpath document in case things like
13009 * The result is used as the new evaluation set.
13573 * Extract the old set, and then evaluate the result of the
13574 * expression for all the element in the set. use it to grow
13575 * up a new set.
13604 * Initialize the new set.
13605 * Also set the xpath document in case things like
13611 * "For each node in the node-set to be filtered, the
13614 * node-set as the context size, and with the proximity
13615 * position of the node in the node-set with respect to
13617 * @oldset is the node-set" to be filtered.
13623 * node-set context pos
13628 * node-set context pos
13632 * removed the first node in the node-set, then
13703 * The result is used as the new evaluation set.
13826 } else { /* Not a location set */
13882 * The result is used as the new evaluation set.
14901 * The set of characters that are escaped depends on the setting of the
14920 * Generally, $escape-reserved should be set to true when escaping a string