Lines Matching defs:spaces
1650 size_t cno, len, new, old, scno, spaces, tab_after_sp, tabs;
1680 spaces = tab_after_sp = 0; len-- && isblank(*p); ++p)
1682 if (spaces)
1686 ++spaces;
1691 * If there are no spaces, or no tabs after spaces and less than
1692 * ts spaces, it's already minimal.
1695 if ((!spaces || (!tab_after_sp && spaces < ts)) &&
1699 /* Count up spaces/tabs needed to get to the target. */
1706 spaces = scno - cno;
1713 new = spaces + tabs;
1726 while (spaces--)
1868 size_t cno, current, spaces, target, tabs;
1932 * Otherwise, count up the total spaces/tabs needed to get from the
1937 spaces = tabs = 0;
1945 spaces = target - cno;
1950 tp->ai = tabs + spaces;
1954 * correct effect when we add a <tab> to replace N <spaces>.
1958 for (ch = ' '; spaces > 0; --spaces)