Lines Matching defs:destcol
68 static int outcol, outline, destcol, destline;
81 destcol = x;
97 "fgoto: outcol=%d, outline=%d, destcol=%d, destline=%d\n",
98 outcol, outline, destcol, destline);
99 if (destcol >= COLS) {
100 destline += destcol / COLS;
101 destcol %= COLS;
133 c = destcol;
135 destcol = 0;
137 destcol = c;
169 (cgp = tiparm(cursor_address, destline, destcol)))
184 outcol = destcol;
230 outcol, outline, destcol, destline);
243 * i + destcol is cost of motion with home.
246 i = (destcol / HARDTABS) + (destcol % HARDTABS);
248 i = destcol;
251 if (destcol >= outcol) { /* if motion is to the right */
252 j = destcol / HARDTABS - outcol / HARDTABS;
254 j += destcol % HARDTABS;
256 j = destcol - outcol;
259 if (outcol - destcol <= i)
261 i = j = outcol - destcol;
298 i = destcol % HARDTABS + destcol / HARDTABS;
300 i = destcol;
302 if (back_tab && outcol > destcol &&
303 (j = (((outcol + 7) & ~7) - destcol - 1) >> 3)) {
305 if ((k += (destcol & 7)) > 4)
306 j += 8 - (destcol & 7);
311 j = outcol - destcol;
331 if (j > i + 1 || outcol > destcol) {
372 while (outcol > destcol) {
376 if (back_tab && outcol - destcol > k + 4) {
395 if (__GT && destcol - outcol > 1) {
398 if (i > destcol)
406 if (destcol - outcol > 4 && i < COLS) {
412 while (outcol > destcol) {
424 * If destcol is halfway through a multicolumn
433 while (outcol < destcol) {