Lines Matching refs:jump
1022 uint32_t index, jump; in gc_scroll_down() local
1024 jump = num * gc_buffer_columns; in gc_scroll_down()
1030 if (gc_buffer_attributes[index] != gc_buffer_attributes[index - jump] || in gc_scroll_down()
1031 gc_buffer_characters[index] != gc_buffer_characters[index - jump] || in gc_scroll_down()
1032 gc_buffer_colorcodes[index] != gc_buffer_colorcodes[index - jump]) { in gc_scroll_down()
1033 if (gc_color_code != gc_buffer_colorcodes[index - jump]) { in gc_scroll_down()
1034 gc_update_color(COLOR_CODE_GET(gc_buffer_colorcodes[index - jump], TRUE ), TRUE ); in gc_scroll_down()
1035 gc_update_color(COLOR_CODE_GET(gc_buffer_colorcodes[index - jump], FALSE), FALSE); in gc_scroll_down()
1038 if (gc_buffer_colorcodes[index] != gc_buffer_colorcodes[index - jump]) { in gc_scroll_down()
1041 /* ch */ gc_buffer_characters[index - jump], in gc_scroll_down()
1042 /* attrs */ gc_buffer_attributes[index - jump], in gc_scroll_down()
1048 /* ch */ gc_buffer_characters[index - jump], in gc_scroll_down()
1049 /* attrs */ gc_buffer_attributes[index - jump], in gc_scroll_down()
1054 gc_buffer_attributes[index] = gc_buffer_attributes[index - jump]; in gc_scroll_down()
1055 gc_buffer_characters[index] = gc_buffer_characters[index - jump]; in gc_scroll_down()
1056 gc_buffer_colorcodes[index] = gc_buffer_colorcodes[index - jump]; in gc_scroll_down()
1116 uint32_t index, jump; in gc_scroll_up() local
1118 jump = num * gc_buffer_columns; in gc_scroll_up()
1124 if (gc_buffer_attributes[index] != gc_buffer_attributes[index + jump] || in gc_scroll_up()
1125 gc_buffer_characters[index] != gc_buffer_characters[index + jump] || in gc_scroll_up()
1126 gc_buffer_colorcodes[index] != gc_buffer_colorcodes[index + jump]) { in gc_scroll_up()
1127 if (gc_color_code != gc_buffer_colorcodes[index + jump]) { in gc_scroll_up()
1128 gc_update_color(COLOR_CODE_GET(gc_buffer_colorcodes[index + jump], TRUE ), TRUE ); in gc_scroll_up()
1129 gc_update_color(COLOR_CODE_GET(gc_buffer_colorcodes[index + jump], FALSE), FALSE); in gc_scroll_up()
1132 if (gc_buffer_colorcodes[index] != gc_buffer_colorcodes[index + jump]) { in gc_scroll_up()
1135 /* ch */ gc_buffer_characters[index + jump], in gc_scroll_up()
1136 /* attrs */ gc_buffer_attributes[index + jump], in gc_scroll_up()
1142 /* ch */ gc_buffer_characters[index + jump], in gc_scroll_up()
1143 /* attrs */ gc_buffer_attributes[index + jump], in gc_scroll_up()
1148 gc_buffer_attributes[index] = gc_buffer_attributes[index + jump]; in gc_scroll_up()
1149 gc_buffer_characters[index] = gc_buffer_characters[index + jump]; in gc_scroll_up()
1150 gc_buffer_colorcodes[index] = gc_buffer_colorcodes[index + jump]; in gc_scroll_up()