Lines Matching refs:total_lines
321 handle->total_lines = (u16)(handle->char_height + handle->num_scroll_lines); in DEMOWinCreateWindow()
337 … handle->buffer = (u8 *)__DEMOWin_alloc(sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()
340 … memset((void *)(handle->buffer), 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()
531 … handle->curr_output_line = (u16)((handle->curr_output_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
532 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
550 … handle->curr_output_line = (u16)((handle->curr_output_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
551 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinLogPrintf()
601 … = (u16)( ((handle->curr_view_line + handle->total_lines) - (handle->char_height-1)) % handle->to… in DEMOWinPrintfXY()
604 buffer_row = (u16)((buffer_row + row) % handle->total_lines); in DEMOWinPrintfXY()
648 … n = (u16)(((handle->curr_view_line + handle->total_lines) - 1) % handle->total_lines); in DEMOWinScrollWindow()
650 … v_start = (u16)(((n + handle->total_lines) - handle->char_height+1) % handle->total_lines); in DEMOWinScrollWindow()
663 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinScrollWindow()
770 … = (u16)( ((handle->curr_view_line + handle->total_lines) - (handle->char_height-1)) % handle->to… in DEMOWinClearRow()
773 buffer_row = (u16)((buffer_row + row) % handle->total_lines); in DEMOWinClearRow()
813 … = (u16)( ((handle->curr_view_line + handle->total_lines) - (handle->char_height-1)) % handle->to… in DEMOWinClearWindow()
819 buffer_row = (u16)((buffer_row + 1) % handle->total_lines); in DEMOWinClearWindow()
845 memset(handle->buffer, 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinClearBuffer()
1024 … n = (u16)((((n + ptr->total_lines) - 1) % ptr->total_lines)); // decrement curr view line in DEMOWinRefresh()