Lines Matching defs:index

488 		uint32_t index = (yy * gc_buffer_columns) + xx;
489 unsigned char attribute = gc_buffer_attributes[index];
490 unsigned char character = gc_buffer_characters[index];
491 unsigned char colorcode = gc_buffer_colorcodes[index];
530 uint32_t index = (yy * gc_buffer_columns) + xx;
532 gc_buffer_attributes[index] = attrs;
533 gc_buffer_characters[index] = ch;
534 gc_buffer_colorcodes[index] = gc_color_code;
1040 uint32_t index, jump;
1046 index = row * gc_buffer_columns;
1048 for ( column = 0 ; column < gc_buffer_columns ; index++, column++ )
1050 if ( gc_buffer_attributes[index] != gc_buffer_attributes[index - jump] ||
1051 gc_buffer_characters[index] != gc_buffer_characters[index - jump] ||
1052 gc_buffer_colorcodes[index] != gc_buffer_colorcodes[index - jump] )
1054 if ( gc_color_code != gc_buffer_colorcodes[index - jump] )
1056 gc_update_color(COLOR_CODE_GET(gc_buffer_colorcodes[index - jump], TRUE ), TRUE );
1057 gc_update_color(COLOR_CODE_GET(gc_buffer_colorcodes[index - jump], FALSE), FALSE);
1060 if ( gc_buffer_colorcodes[index] != gc_buffer_colorcodes[index - jump] )
1064 /* ch */ gc_buffer_characters[index - jump],
1065 /* attrs */ gc_buffer_attributes[index - jump],
1073 /* ch */ gc_buffer_characters[index - jump],
1074 /* attrs */ gc_buffer_attributes[index - jump],
1075 /* ch_previous */ gc_buffer_characters[index],
1076 /* attrs_previous */ gc_buffer_attributes[index] );
1079 gc_buffer_attributes[index] = gc_buffer_attributes[index - jump];
1080 gc_buffer_characters[index] = gc_buffer_characters[index - jump];
1081 gc_buffer_colorcodes[index] = gc_buffer_colorcodes[index - jump];
1096 index = row * gc_buffer_columns;
1098 for ( column = 0 ; column < gc_buffer_columns ; index++, column++ )
1100 if ( gc_buffer_attributes[index] != ATTR_NONE ||
1101 gc_buffer_characters[index] != ' ' ||
1102 gc_buffer_colorcodes[index] != gc_color_code )
1104 if ( gc_buffer_colorcodes[index] != gc_color_code )
1119 /* ch_previous */ gc_buffer_characters[index],
1120 /* attrs_previous */ gc_buffer_attributes[index] );
1123 gc_buffer_attributes[index] = ATTR_NONE;
1124 gc_buffer_characters[index] = ' ';
1125 gc_buffer_colorcodes[index] = gc_color_code;
1153 uint32_t index, jump;
1159 index = row * gc_buffer_columns;
1161 for ( column = 0 ; column < gc_buffer_columns ; index++, column++ )
1163 if ( gc_buffer_attributes[index] != gc_buffer_attributes[index + jump] ||
1164 gc_buffer_characters[index] != gc_buffer_characters[index + jump] ||
1165 gc_buffer_colorcodes[index] != gc_buffer_colorcodes[index + jump] )
1167 if ( gc_color_code != gc_buffer_colorcodes[index + jump] )
1169 gc_update_color(COLOR_CODE_GET(gc_buffer_colorcodes[index + jump], TRUE ), TRUE );
1170 gc_update_color(COLOR_CODE_GET(gc_buffer_colorcodes[index + jump], FALSE), FALSE);
1173 if ( gc_buffer_colorcodes[index] != gc_buffer_colorcodes[index + jump] )
1177 /* ch */ gc_buffer_characters[index + jump],
1178 /* attrs */ gc_buffer_attributes[index + jump],
1186 /* ch */ gc_buffer_characters[index + jump],
1187 /* attrs */ gc_buffer_attributes[index + jump],
1188 /* ch_previous */ gc_buffer_characters[index],
1189 /* attrs_previous */ gc_buffer_attributes[index] );
1192 gc_buffer_attributes[index] = gc_buffer_attributes[index + jump];
1193 gc_buffer_characters[index] = gc_buffer_characters[index + jump];
1194 gc_buffer_colorcodes[index] = gc_buffer_colorcodes[index + jump];
1209 index = row * gc_buffer_columns;
1211 for ( column = 0 ; column < gc_buffer_columns ; index++, column++ )
1213 if ( gc_buffer_attributes[index] != ATTR_NONE ||
1214 gc_buffer_characters[index] != ' ' ||
1215 gc_buffer_colorcodes[index] != gc_color_code )
1217 if ( gc_buffer_colorcodes[index] != gc_color_code )
1232 /* ch_previous */ gc_buffer_characters[index],
1233 /* attrs_previous */ gc_buffer_attributes[index] );
1236 gc_buffer_attributes[index] = ATTR_NONE;
1237 gc_buffer_characters[index] = ' ';
1238 gc_buffer_colorcodes[index] = gc_color_code;
1257 uint32_t index = (yy * gc_buffer_columns) + xx;
1258 unsigned char attribute = gc_buffer_attributes[index];
1259 unsigned char character = gc_buffer_characters[index];
1260 unsigned char colorcode = gc_buffer_colorcodes[index];
1661 int charindex; /* index in ISO font */
2385 unsigned int index;
2404 for( index = 0; index < 256; index++) {
2405 if( (pdata8 == vc_clut[index * 3 + 0]) &&
2406 (pdata8 == vc_clut[index * 3 + 1]) &&
2407 (pdata8 == vc_clut[index * 3 + 2])) {
2408 vc_revclut8[count] = index;
2846 long index;
2855 for ( index = 0 ; index < msgbufp->msg_bufx ; index++ )
2857 if (msgbufp->msg_bufc[index] == '\0') {
2861 vcputc( 0, 0, msgbufp->msg_bufc[index] );
2863 if ( msgbufp->msg_bufc[index] == '\n' )