Lines Matching refs:total_lines

327         handle->total_lines = (u16)(handle->char_height + handle->num_scroll_lines);  in DEMOWinCreateWindow()
343 … handle->buffer = (u8 *)__DEMOWin_alloc(sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()
346 … memset((void *)(handle->buffer), 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()
537 … handle->curr_output_line = (u16)((handle->curr_output_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
538 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
556 … handle->curr_output_line = (u16)((handle->curr_output_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
557 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
607 … = (u16)( ((handle->curr_view_line + handle->total_lines) - (handle->char_height-1)) % handle->to… in DEMOWinPrintfXY()
610 buffer_row = (u16)((buffer_row + row) % handle->total_lines); in DEMOWinPrintfXY()
654 … n = (u16)(((handle->curr_view_line + handle->total_lines) - 1) % handle->total_lines); in DEMOWinScrollWindow()
656 … v_start = (u16)(((n + handle->total_lines) - handle->char_height+1) % handle->total_lines); in DEMOWinScrollWindow()
669 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinScrollWindow()
776 … = (u16)( ((handle->curr_view_line + handle->total_lines) - (handle->char_height-1)) % handle->to… in DEMOWinClearRow()
779 buffer_row = (u16)((buffer_row + row) % handle->total_lines); in DEMOWinClearRow()
819 … = (u16)( ((handle->curr_view_line + handle->total_lines) - (handle->char_height-1)) % handle->to… in DEMOWinClearWindow()
825 buffer_row = (u16)((buffer_row + 1) % handle->total_lines); in DEMOWinClearWindow()
851 memset(handle->buffer, 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinClearBuffer()
1030 … n = (u16)((((n + ptr->total_lines) - 1) % ptr->total_lines)); // Decrement current view line in DEMOWinRefresh()