Lines Matching defs:start

24  *       need a start to be able to pop out of entities refs since
324 * @start: the starting node
325 * @startindex: the start index
334 xmlXPtrNewRange(xmlNodePtr start, int startindex,
338 if (start == NULL)
354 ret->user = start;
364 * @start: the starting point
372 xmlXPtrNewRangePoints(xmlXPathObjectPtr start, xmlXPathObjectPtr end) {
375 if (start == NULL)
379 if (start->type != XPATH_POINT)
391 ret->user = start->user;
392 ret->index = start->index;
401 * @start: the starting point
409 xmlXPtrNewRangePointNode(xmlXPathObjectPtr start, xmlNodePtr end) {
412 if (start == NULL)
416 if (start->type != XPATH_POINT)
426 ret->user = start->user;
427 ret->index = start->index;
436 * @start: the starting node
444 xmlXPtrNewRangeNodePoint(xmlNodePtr start, xmlXPathObjectPtr end) {
447 if (start == NULL)
451 if (start->type != XPATH_POINT)
463 ret->user = start;
473 * @start: the starting node
481 xmlXPtrNewRangeNodes(xmlNodePtr start, xmlNodePtr end) {
484 if (start == NULL)
496 ret->user = start;
506 * @start: the starting and ending node
513 xmlXPtrNewCollapsedRange(xmlNodePtr start) {
516 if (start == NULL)
526 ret->user = start;
535 * @start: the starting node
543 xmlXPtrNewRangeNodeObject(xmlNodePtr start, xmlXPathObjectPtr end) {
546 if (start == NULL)
573 ret->user = start;
784 * @start: the start NodePtr value
788 * it with the single range made of the two nodes @start and @end
793 xmlXPtrNewLocationSetNodes(xmlNodePtr start, xmlNodePtr end) {
804 ret->user = xmlXPtrLocationSetCreate(xmlXPtrNewCollapsedRange(start));
806 ret->user = xmlXPtrLocationSetCreate(xmlXPtrNewRangeNodes(start,end));
1334 xmlXPathRegisterFunc(ret, (xmlChar *)"start-point",
1429 xmlNodePtr start, cur, end;
1436 start = (xmlNodePtr) range->user;
1438 if (start == NULL)
1442 return(xmlCopyNode(start, 1));
1444 cur = start;
1457 if ((cur == start) && (index1 > 1)) {
1492 if ((cur == start) && (index1 > 1)) {
1503 } else if ((cur == start) &&
1519 if ((cur == start) && (index1 > 1)) {
1762 * Function implementing start-point() operation
1765 * location-set start-point(location-set)
1767 * For each location x in the argument location-set, start-point adds a
1769 * the start point of location x and is determined by the following rules:
1771 * - If x is of type point, the start point is x.
1772 * - If x is of type range, the start point is the start point of x.
1774 * - the container node of the start point is x and the index is 0.
2158 * as the container location of the start and end points of the range
2159 * location to be added; the index of the start point of the range is
2423 * @start: the start textnode
2424 * @startindex: the start index
2429 * (@start, @startindex) and limited by the (@end, @endindex) point
2432 * (@start, @startindex) will indicate the position of the beginning
2437 xmlXPtrMatchString(const xmlChar *string, xmlNodePtr start, int startindex,
2447 if (start == NULL)
2451 cur = start;
2508 * @start: the start textnode IN/OUT
2509 * @startindex: the start index IN/OUT
2517 * (@start, @startindex) will indicate the position of the beginning
2522 xmlXPtrSearchString(const xmlChar *string, xmlNodePtr *start, int *startindex,
2532 if ((start == NULL) || (startindex == NULL))
2536 cur = *start;
2559 *start = cur;
2580 *start = cur;
2652 * read the object and return the start point coordinates.
2736 * character to be in the resulting range, relative to the start of the
2737 * match. The default value is 1, which makes the range start immediately
2757 xmlNodePtr start, end = 0, fend;
2817 xmlXPtrGetStartPoint(oldset->locTab[i], &start, &startindex);
2819 xmlXPtrAdvanceChar(&start, &startindex, 0);
2825 xmlDebugDumpString(stdout, start->content);
2835 found = xmlXPtrSearchString(string->stringval, &start, &startindex,
2840 xmlXPtrNewRange(start, startindex, fend, fendindex));
2841 } else if (xmlXPtrAdvanceChar(&start, &startindex,
2846 rend = start;
2851 xmlXPtrNewRange(start, startindex,
2856 xmlXPtrNewRange(start, startindex,
2857 start, startindex));
2860 xmlXPtrNewRange(start, startindex,
2864 start = fend;