Lines Matching defs:point
214 * Returns -2 in case of error 1 if first point < second point, 0 if
215 * that's the same point, -1 otherwise
239 * Create a new xmlXPathObjectPtr of type point
254 xmlXPtrErrMemory("allocating point");
326 * @end: the ending point
364 * @start: the starting point
365 * @end: the ending point
401 * @start: the starting point
404 * Create a new xmlXPathObjectPtr of type range from a point to a node
437 * @end: the ending point
439 * Create a new xmlXPathObjectPtr of type range from a node to a point
1350 xmlXPathRegisterFunc(ret, (xmlChar *)"start-point",
1352 xmlXPathRegisterFunc(ret, (xmlChar *)"end-point",
1778 * Function implementing start-point() operation
1781 * location-set start-point(location-set)
1783 * For each location x in the argument location-set, start-point adds a
1784 * location of type point to the result location-set. That point represents
1785 * the start point of location x and is determined by the following rules:
1787 * - If x is of type point, the start point is x.
1788 * - If x is of type range, the start point is the start point of x.
1790 * - the container node of the start point is x and the index is 0.
1798 xmlXPathObjectPtr tmp, obj, point;
1831 point = NULL;
1834 point = xmlXPtrNewPoint(tmp->user, tmp->index);
1845 point = xmlXPtrNewPoint(node, tmp->index);
1857 if (point != NULL)
1858 xmlXPtrLocationSetAdd(newset, point);
1870 * Function implementing end-point() operation
1873 * location-set end-point(location-set)
1875 * For each location x in the argument location-set, end-point adds a
1876 * location of type point to the result location-set. That point represents
1877 * the end point of location x and is determined by the following rules:
1879 * - If x is of type point, the resulting point is x.
1880 * - If x is of type range, the resulting point is the end point of x.
1882 * point is x and the index is the number of location children of x.
1884 * node of the resulting point is x and the index is the length of the
1892 xmlXPathObjectPtr tmp, obj, point;
1921 point = NULL;
1924 point = xmlXPtrNewPoint(tmp->user, tmp->index);
1935 point = xmlXPtrNewPoint(node, tmp->index2);
1937 point = xmlXPtrNewPoint(node,
1950 if (point != NULL)
1951 xmlXPtrLocationSetAdd(newset, point);
2175 * location to be added; the index of the start point of the range is
2176 * zero; if the end point is a character point then its index is the
2359 * Advance a point of the associated number of bytes (not UTF8 chars)
2379 * corresponding to this point
2445 * (@start, @startindex) and limited by the (@end, @endindex) point
2530 * until the (@end, @endindex) point is reached
2619 * Computes the point coordinates of the last char of this point
2667 * read the object and return the start point coordinates.
2703 * read the object and return the end point coordinates.