Lines Matching refs:cost

55 **    old ncurses optimizer: less accurate cost computations (in fact,
71 ** cost swamps the computation overhead (and as machines get faster, this
127 * int _char_padding; // cost of character put
128 * int _cr_cost; // cost of (carriage_return)
129 * int _cup_cost; // cost of (cursor_address)
130 * int _home_cost; // cost of (cursor_home)
131 * int _ll_cost; // cost of (cursor_to_ll)
133 * int _ht_cost; // cost of (tab)
134 * int _cbt_cost; // cost of (back_tab)
136 * int _cub1_cost; // cost of (cursor_left)
137 * int _cuf1_cost; // cost of (cursor_right)
138 * int _cud1_cost; // cost of (cursor_down)
139 * int _cuu1_cost; // cost of (cursor_up)
140 * int _cub_cost; // cost of (parm_cursor_left)
141 * int _cuf_cost; // cost of (parm_cursor_right)
142 * int _cud_cost; // cost of (parm_cursor_down)
143 * int _cuu_cost; // cost of (parm_cursor_up)
144 * int _hpa_cost; // cost of (column_address)
145 * int _vpa_cost; // cost of (row_address)
146 * int _ech_cost; // cost of (erase_chars)
147 * int _rep_cost; // cost of (repeat_char)
188 * Initialization/wrapup (including cost pre-computation)
222 /* compute the cost of a given operation */
269 int cost = NCURSES_SP_NAME(_nc_msec_cost) (NCURSES_SP_ARGx cap, affcnt);
270 if (cost != INFINITY)
271 cost = (cost + SP_PARM->_char_padding - 1) / SP_PARM->_char_padding;
272 return cost;
328 /* initialize the cost structure */
376 * Parametrized local-motion strings. This static cost computation
513 * Perform repeated-append, returning cost
766 * computation cost a lot, especially on terminals without a cup
1217 puts("c[ost] -- dump cursor-optimization cost table");
1375 (void) printf("cr cost: %d\n", CURRENT_SCREEN->_cr_cost);
1376 (void) printf("cup cost: %d\n", CURRENT_SCREEN->_cup_cost);
1377 (void) printf("home cost: %d\n", CURRENT_SCREEN->_home_cost);
1378 (void) printf("ll cost: %d\n", CURRENT_SCREEN->_ll_cost);
1380 (void) printf("ht cost: %d\n", CURRENT_SCREEN->_ht_cost);
1381 (void) printf("cbt cost: %d\n", CURRENT_SCREEN->_cbt_cost);
1383 (void) printf("cub1 cost: %d\n", CURRENT_SCREEN->_cub1_cost);
1384 (void) printf("cuf1 cost: %d\n", CURRENT_SCREEN->_cuf1_cost);
1385 (void) printf("cud1 cost: %d\n", CURRENT_SCREEN->_cud1_cost);
1386 (void) printf("cuu1 cost: %d\n", CURRENT_SCREEN->_cuu1_cost);
1387 (void) printf("cub cost: %d\n", CURRENT_SCREEN->_cub_cost);
1388 (void) printf("cuf cost: %d\n", CURRENT_SCREEN->_cuf_cost);
1389 (void) printf("cud cost: %d\n", CURRENT_SCREEN->_cud_cost);
1390 (void) printf("cuu cost: %d\n", CURRENT_SCREEN->_cuu_cost);
1391 (void) printf("hpa cost: %d\n", CURRENT_SCREEN->_hpa_cost);
1392 (void) printf("vpa cost: %d\n", CURRENT_SCREEN->_vpa_cost);