Lines Matching refs:count

119 			int count, screen_pos_t row, screen_pos_t col);
138 int count, screen_pos_t row, screen_pos_t col);
711 cm.count = 16; in tems_reset_colormap()
1174 tem_setparam(struct tem_vt_state *tem, int count, int newparam) in tem_setparam() argument
1178 for (i = 0; i < count; i++) { in tem_setparam()
1240 int count = 0; in tem_selgraph() local
1248 param = tem->tvs_params[count]; in tem_selgraph()
1330 count++; in tem_selgraph()
1332 param = tem->tvs_params[count]; in tem_selgraph()
1339 r = tem->tvs_params[++count]; in tem_selgraph()
1340 g = tem->tvs_params[++count]; in tem_selgraph()
1341 b = tem->tvs_params[++count]; in tem_selgraph()
1359 count++; in tem_selgraph()
1361 tem_select_color(tem, tem->tvs_params[count], in tem_selgraph()
1410 count++; in tem_selgraph()
1412 param = tem->tvs_params[count]; in tem_selgraph()
1419 r = tem->tvs_params[++count]; in tem_selgraph()
1420 g = tem->tvs_params[++count]; in tem_selgraph()
1421 b = tem->tvs_params[++count]; in tem_selgraph()
1439 count++; in tem_selgraph()
1441 tem_select_color(tem, tem->tvs_params[count], in tem_selgraph()
1491 count++; in tem_selgraph()
2133 tem_scroll(struct tem_vt_state *tem, int start, int end, int count, in tem_scroll() argument
2140 if (count > lines_affected) in tem_scroll()
2141 count = lines_affected; in tem_scroll()
2142 if (count <= 0) in tem_scroll()
2147 if (count < lines_affected) { in tem_scroll()
2148 tem_copy_area(tem, 0, start + count, in tem_scroll()
2151 for (row = (end - count) + 1; row <= end; row++) { in tem_scroll()
2157 if (count < lines_affected) { in tem_scroll()
2160 end - count, 0, start + count); in tem_scroll()
2162 for (row = start; row < start + count; row++) { in tem_scroll()
2276 tem_clear_chars(struct tem_vt_state *tem, int count, screen_pos_t row, in tem_clear_chars() argument
2281 count < 0) in tem_clear_chars()
2288 if (count > tems.ts_c_dimension.width || in tem_clear_chars()
2289 col + count > tems.ts_c_dimension.width) in tem_clear_chars()
2290 count = tems.ts_c_dimension.width - col; in tem_clear_chars()
2292 tem_virtual_cls(tem, count, row, col); in tem_clear_chars()
2297 tem_callback_cls(tem, count, row, col); in tem_clear_chars()
2302 int count, screen_pos_t row, screen_pos_t col) in tem_text_display() argument
2309 if (count == 0) in tem_text_display()
2317 for (i = 0; i < count; i++) { in tem_text_display()
2367 int count, screen_pos_t row, screen_pos_t col) in tem_text_cls() argument
2377 if (count > tems.ts_c_dimension.width || in tem_text_cls()
2378 col + count > tems.ts_c_dimension.width) in tem_text_cls()
2379 count = tems.ts_c_dimension.width - col; in tem_text_cls()
2381 for (i = 0; i < count; i++) in tem_text_cls()
2388 term_char_t *string, int count, in tem_pix_display() argument
2400 for (i = 0; i < count; i++) { in tem_pix_display()
2481 tem_pix_cls(struct tem_vt_state *tem, int count, in tem_pix_cls() argument
2485 col, count, tems.ts_p_offset.x, false); in tem_pix_cls()
2726 tem_shift(struct tem_vt_state *tem, int count, int direction) in tem_shift() argument
2731 if (count > rest_of_line) in tem_shift()
2732 count = rest_of_line; in tem_shift()
2734 if (count <= 0) in tem_shift()
2739 if (count < rest_of_line) { in tem_shift()
2741 tem->tvs_c_cursor.col + count, in tem_shift()
2749 tem_clear_chars(tem, count, tem->tvs_c_cursor.row, in tem_shift()
2750 (tems.ts_c_dimension.width - count)); in tem_shift()
2753 if (count < rest_of_line) { in tem_shift()
2757 tems.ts_c_dimension.width - count - 1, in tem_shift()
2759 tem->tvs_c_cursor.col + count, in tem_shift()
2763 tem_clear_chars(tem, count, tem->tvs_c_cursor.row, in tem_shift()
2993 size_t count, screen_pos_t row, screen_pos_t col) in tem_virtual_display() argument
3003 col + count > (size_t)tems.ts_c_dimension.width) in tem_virtual_display()
3008 for (i = 0; i < count; i++) { in tem_virtual_display()
3014 tem_virtual_cls(struct tem_vt_state *tem, size_t count, in tem_virtual_cls() argument
3025 while (count > 0) { in tem_virtual_cls()
3028 count--; in tem_virtual_cls()