Lines Matching defs:cost
91 int hu, /* cost home + relative */
92 hd, /* cost home-down + relative */
93 rl, /* cost relative */
94 cm; /* cost direct cursor motion */
112 /* cost of using cm */
145 /* cost using relative movements */
150 /* cost of homing to upper-left corner first */
154 /* cost of homing to lower-left corner first */
189 int cy, cost;
193 cost = _COST(Cursor_home);
197 cost = _COST(Cursor_to_ll);
204 return (cost + _mvrel(cy, 0, ny, nx, FALSE));
235 /* cost of stepwise movement */
246 /* cost of using vertical move */
249 /* if calculating cost only */
286 /* cost using horizontal move */
289 /* cost doing stepwise */
292 /* cost homeleft first */
335 /* calculate stepwise cost */
402 /* stepwise cost */
420 /* get cost only */