Lines Matching refs:start
198 * moved to the start of the line after (un)commenting.
406 s->start = s->str = toglob;
567 int start, end;
577 start = pos;
579 * Keep going backwards to start of word (has effect of allowing
582 for (; (start > 0 && IS_WORDC(buf[start - 1])) ||
583 (start > 1 && buf[start - 2] == '\\'); start--)
586 for (end = start; end < buflen && IS_WORDC(buf[end]); end++) {
593 int p = start - 1;
605 for (p = start; p < end; p++)
612 *startp = start;
614 return (end - start);
938 static char *xbp; /* start of visible portion of input buffer */
1905 /* fresh start of ^O */
2780 int start, end, nwords, i;
2784 &start, &end, &words);
2790 x_goto(xbuf + start);
2791 x_delete(x_nb2nc(end - start), false);
2814 int start, end, nlen, olen, nwords;
2818 &start, &end, &words);
2831 olen = end - start;
2844 strndupx(unescaped, xbuf + start, olen, ATEMP);
2869 xcp = xbuf + start;
3192 * start of the previous command is used.
3244 * ignore white-space at start of line
4130 /* { start nonstandard vi commands */
5148 grabsearch(const char *pat, int save, int start, bool fwd)
5154 if ((start == 0 && !fwd) || (start >= hlast - 1 && fwd))
5157 start++;
5159 start--;
5161 if ((hist = findhist(start, pat, fwd, anchored)) < 0) {
5162 /* (start != 0 && fwd && match(holdbufp, pat) >= 0) */
5163 if (start != 0 && fwd && strcmp(holdbufp, pat) >= 0) {
5361 int rval = 0, nwords, start, end, i;
5378 &start, &end, &words);
5386 del_range(start, end);
5387 vs->cursor = start;
5414 int rval, nwords, start, end, flags;
5445 &start, &end, &words);
5490 del_range(start, end);
5491 vs->cursor = start;
5529 int start, end, nwords, i;
5534 &start, &end, &words);