• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/libxml2-26/libxml2/

Lines Matching +defs:range +defs:list

328     "Char out of XML range\n",
332 "?? Unknown error ??\n" /* Must be last in the list! */
478 * Pointer-list for various purposes.
488 * TODO: Since such a list-handling is used in xmlschemas.c and libxslt
492 xmlPointerListAddSize(xmlPointerListPtr list,
496 if (list->items == NULL) {
499 list->items = (void **) xmlMalloc(initialSize * sizeof(void *));
500 if (list->items == NULL) {
505 list->number = 0;
506 list->size = initialSize;
507 } else if (list->size <= list->number) {
508 if (list->size > 50000000) {
513 list->size *= 2;
514 list->items = (void **) xmlRealloc(list->items,
515 list->size * sizeof(void *));
516 if (list->items == NULL) {
519 list->size = 0;
523 list->items[list->number++] = item;
557 * the content of the list.
560 xmlPointerListFree(xmlPointerListPtr list)
562 if (list == NULL)
564 if (list->items != NULL)
565 xmlFree(list->items);
566 xmlFree(list);
1146 fprintf(output, "Object is a collapsed range :\n");
1154 fprintf(output, "Object is a range :\n");
1891 xmlXPathCacheFreeObjectList(xmlPointerListPtr list)
1896 if (list == NULL)
1899 for (i = 0; i < list->number; i++) {
1900 obj = list->items[i];
1915 xmlPointerListFree(list);
3110 return(-1); /* assume there is no sibling list corruption */
3401 return(-1); /* assume there is no sibling list corruption */
3939 * Note that doing a memcpy of the list, namespace nodes are
4054 * Note that doing a memcpy of the list, namespace nodes are
4156 * Removes an entry from an existing NodeSet list.
4197 * Clears the list from all temporary XPath objects (e.g. namespace nodes
4198 * are feed), but does *not* free the list itself. Sets the length of the
4199 * list to 0.
4225 * Clears the list from temporary XPath objects (e.g. namespace nodes
4226 * are feed) starting with the entry at @pos, but does *not* free the list
4227 * itself. Sets the length of the list to @pos.
4438 * the list contrary to xmlXPathFreeObject().
5609 * the list and free the ns-nodes.
5611 * Maybe we shouldn't try to preserve the list.
8380 * We keep the XML namespace node at the end of the list.
8481 * The last function returns the number of nodes in the context node list.
8507 * context node list. The first position is 1, and so the last position
8575 * @ids: a whitespace separated list of IDs
8642 * into a whitespace-separated list of tokens (whitespace is any sequence
8645 * have a unique ID equal to any of the tokens in the list.
9791 * UCS-4 range (hex.) UTF-8 octet sequence (binary)
10536 * be filtered does not evaluate to a node-set. The context node list
11194 * namespace list associated:
11309 * Modified for XPtr range support as:
11313 * | 'range-to' '(' Expr ')' Predicate*
11357 if ((name != NULL) && (xmlStrEqual(name, BAD_CAST "range-to"))) {
11837 * the requested range.
11933 * Fits in the requested range.
12053 * "[position() = 1]"; thus - obviously - a position-range,
12736 * OPTIMIZE TODO: How do we know if the node-list wasn't
13055 * Run the evaluation with a node list made of a
13170 * Run the evaluation with a node list made of
13611 * will result in an ordered list if we have an
13749 * Run the evaluation with a node list made of a
13871 * Run the evaluation with a node list made of
13969 xmlXPathObjectPtr range;
14010 * Run the evaluation with a node list made of a
14034 range = xmlXPtrNewRange(
14039 if (range != NULL) {
14040 xmlXPtrLocationSetAdd(newlocset, range);
14044 range = xmlXPtrNewRangeNodeObject(
14046 if (range != NULL) {
14047 xmlXPtrLocationSetAdd(newlocset,range);
14075 * Run the evaluation with a node list made of a single item
14096 range =
14099 if (range != NULL) {
14100 xmlXPtrLocationSetAdd(newlocset, range);
14552 * context node in the context node list (as returned by the position
14590 * context node in the context node list (as returned by the position
14662 * Additionally, if there is no list of namespaces available and
14665 * to have a list of namespaces at compilation time in order to