Lines Matching refs:total_lines

324         handle->total_lines = (u16)(handle->char_height + handle->num_scroll_lines);  in DEMOWinCreateWindow()
340 … handle->buffer = (u8 *)__DEMOWin_alloc(sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()
343 … memset((void *)(handle->buffer), 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()
534 … handle->curr_output_line = (u16)((handle->curr_output_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
535 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
553 … handle->curr_output_line = (u16)((handle->curr_output_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
554 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
604 … = (u16)( ((handle->curr_view_line + handle->total_lines) - (handle->char_height-1)) % handle->to… in DEMOWinPrintfXY()
607 buffer_row = (u16)((buffer_row + row) % handle->total_lines); in DEMOWinPrintfXY()
651 … n = (u16)(((handle->curr_view_line + handle->total_lines) - 1) % handle->total_lines); in DEMOWinScrollWindow()
653 … v_start = (u16)(((n + handle->total_lines) - handle->char_height+1) % handle->total_lines); in DEMOWinScrollWindow()
666 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinScrollWindow()
773 … = (u16)( ((handle->curr_view_line + handle->total_lines) - (handle->char_height-1)) % handle->to… in DEMOWinClearRow()
776 buffer_row = (u16)((buffer_row + row) % handle->total_lines); in DEMOWinClearRow()
816 … = (u16)( ((handle->curr_view_line + handle->total_lines) - (handle->char_height-1)) % handle->to… in DEMOWinClearWindow()
822 buffer_row = (u16)((buffer_row + 1) % handle->total_lines); in DEMOWinClearWindow()
848 memset(handle->buffer, 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinClearBuffer()
1027 … n = (u16)((((n + ptr->total_lines) - 1) % ptr->total_lines)); // Decrement current view line in DEMOWinRefresh()