HelenOS sources
cell 194 uspace/app/terminal/terminal.c termui_cell_t cell = { };
cell 196 uspace/app/terminal/terminal.c cell.glyph_idx = fb_font_glyph(cf->ch, NULL);
cell 202 uspace/app/terminal/terminal.c cell.bgcolor = term->default_bgcolor;
cell 203 uspace/app/terminal/terminal.c cell.fgcolor = term->default_fgcolor;
cell 206 uspace/app/terminal/terminal.c cell.bgcolor = term->emphasis_bgcolor;
cell 207 uspace/app/terminal/terminal.c cell.fgcolor = term->emphasis_fgcolor;
cell 210 uspace/app/terminal/terminal.c cell.bgcolor = term->default_bgcolor;
cell 211 uspace/app/terminal/terminal.c cell.fgcolor = term->default_fgcolor;
cell 212 uspace/app/terminal/terminal.c cell.inverted = 1;
cell 215 uspace/app/terminal/terminal.c cell.bgcolor = term->selection_bgcolor;
cell 216 uspace/app/terminal/terminal.c cell.fgcolor = term->selection_fgcolor;
cell 227 uspace/app/terminal/terminal.c cell.bgcolor = termui_color_from_pixel(bgcolor);
cell 228 uspace/app/terminal/terminal.c cell.fgcolor = termui_color_from_pixel(fgcolor);
cell 231 uspace/app/terminal/terminal.c cell.blink = 1;
cell 236 uspace/app/terminal/terminal.c cell.bgcolor = termui_color_from_pixel(cf->attrs.val.rgb.bgcolor);
cell 237 uspace/app/terminal/terminal.c cell.fgcolor = termui_color_from_pixel(cf->attrs.val.rgb.fgcolor);
cell 241 uspace/app/terminal/terminal.c return cell;
cell 259 uspace/app/terminal/terminal.c static void term_draw_cell(terminal_t *term, pixelmap_t *pixelmap, int col, int row, const termui_cell_t *cell)
cell 261 uspace/app/terminal/terminal.c termui_color_t bg = cell->bgcolor;
cell 265 uspace/app/terminal/terminal.c termui_color_t fg = cell->fgcolor;
cell 277 uspace/app/terminal/terminal.c if (cell->inverted ^ cell->cursor) {
cell 283 uspace/app/terminal/terminal.c uint32_t glyph = cell->glyph_idx;
cell 356 uspace/app/terminal/terminal.c static void termui_update_cb(void *userdata, int col, int row, const termui_cell_t *cell, int len)
cell 365 uspace/app/terminal/terminal.c term_draw_cell(term, &pixelmap, col + i, row, &cell[i]);
cell 71 uspace/app/tetris/screen.c static cell curscreen[B_SIZE]; /* non-zero => standout (or otherwise marked) */
cell 233 uspace/app/tetris/screen.c cell *bp;
cell 234 uspace/app/tetris/screen.c cell *sp;
cell 235 uspace/app/tetris/screen.c cell so;
cell 236 uspace/app/tetris/screen.c cell cur_so = 0;
cell 68 uspace/app/tetris/tetris.c cell board[B_SIZE];
cell 98 uspace/app/tetris/tetris.c cell *p = board;
cell 113 uspace/app/tetris/tetris.c cell *p;
cell 123 uspace/app/tetris/tetris.c memset(&board[base], 0, sizeof(cell) * (B_COLS - 2));
cell 75 uspace/app/tetris/tetris.h extern cell board[B_SIZE]; /* 1 => occupied, 0 => empty */
cell 70 uspace/dist/src/c/demos/tetris/screen.c static cell curscreen[B_SIZE]; /* non-zero => standout (or otherwise marked) */
cell 207 uspace/dist/src/c/demos/tetris/screen.c cell *bp;
cell 208 uspace/dist/src/c/demos/tetris/screen.c cell *sp;
cell 209 uspace/dist/src/c/demos/tetris/screen.c cell so;
cell 210 uspace/dist/src/c/demos/tetris/screen.c cell cur_so = 0;
cell 70 uspace/dist/src/c/demos/tetris/tetris.c cell board[B_SIZE];
cell 100 uspace/dist/src/c/demos/tetris/tetris.c cell *p = board;
cell 115 uspace/dist/src/c/demos/tetris/tetris.c cell *p;
cell 125 uspace/dist/src/c/demos/tetris/tetris.c memset(&board[base], 0, sizeof(cell) * (B_COLS - 2));
cell 75 uspace/dist/src/c/demos/tetris/tetris.h extern cell board[B_SIZE]; /* 1 => occupied, 0 => empty */
cell 79 uspace/lib/c/generic/io/table.c table_cell_t *cell;
cell 81 uspace/lib/c/generic/io/table.c cell = calloc(1, sizeof(table_cell_t));
cell 82 uspace/lib/c/generic/io/table.c if (cell == NULL)
cell 85 uspace/lib/c/generic/io/table.c cell->text = NULL;
cell 87 uspace/lib/c/generic/io/table.c cell->row = row;
cell 88 uspace/lib/c/generic/io/table.c list_append(&cell->lrow, &row->cells);
cell 91 uspace/lib/c/generic/io/table.c *rcell = cell;
cell 275 uspace/lib/c/generic/io/table.c static errno_t table_cell_extend(table_cell_t *cell, const char *str, size_t len)
cell 280 uspace/lib/c/generic/io/table.c if (cell->text == NULL) {
cell 281 uspace/lib/c/generic/io/table.c cell->text = str_ndup(str, len);
cell 282 uspace/lib/c/generic/io/table.c if (cell->text == NULL)
cell 285 uspace/lib/c/generic/io/table.c rc = asprintf(&cstr, "%s%.*s", cell->text, (int)len, str);
cell 289 uspace/lib/c/generic/io/table.c free(cell->text);
cell 290 uspace/lib/c/generic/io/table.c cell->text = cstr;
cell 340 uspace/lib/c/generic/io/table.c table_cell_t *cell;
cell 348 uspace/lib/c/generic/io/table.c cell = table_row_cell_first(row);
cell 349 uspace/lib/c/generic/io/table.c while (cell != NULL) {
cell 350 uspace/lib/c/generic/io/table.c list_remove(&cell->lrow);
cell 351 uspace/lib/c/generic/io/table.c free(cell->text);
cell 352 uspace/lib/c/generic/io/table.c free(cell);
cell 353 uspace/lib/c/generic/io/table.c cell = table_row_cell_first(row);
cell 383 uspace/lib/c/generic/io/table.c table_cell_t *cell;
cell 397 uspace/lib/c/generic/io/table.c cell = table_row_cell_first(row);
cell 398 uspace/lib/c/generic/io/table.c if (cell == NULL)
cell 404 uspace/lib/c/generic/io/table.c while (cell != NULL && cell->text != NULL) {
cell 412 uspace/lib/c/generic/io/table.c rc = fprintf(f, "%*s", -(int)column->width, cell->text);
cell 416 uspace/lib/c/generic/io/table.c cell = table_row_cell_next(cell);
cell 85 uspace/lib/termui/include/termui.h typedef void (*termui_update_cb_t)(void *userdata, int col, int row, const termui_cell_t *cell, int len);
cell 34 uspace/lib/termui/src/history.h static bool _cell_is_empty(const termui_cell_t cell)
cell 36 uspace/lib/termui/src/history.h return cell.glyph_idx == 0 && cell.bgcolor == 0 && cell.fgcolor == 0 &&
cell 37 uspace/lib/termui/src/history.h cell.padding == 0;
cell 295 uspace/lib/termui/src/termui.c termui_cell_t cell = termui->style;
cell 296 uspace/lib/termui/src/termui.c cell.glyph_idx = glyph_idx;
cell 313 uspace/lib/termui/src/termui.c _current_cell(termui) = cell;
cell 122 uspace/lib/trackmod/protracker.c static void protracker_decode_cell(uint32_t cdata, trackmod_cell_t *cell)
cell 127 uspace/lib/trackmod/protracker.c cell->period = (code >> (4 * 4)) & 0xfff;
cell 128 uspace/lib/trackmod/protracker.c cell->instr = (((code >> (7 * 4)) & 0xf) << 4) |
cell 130 uspace/lib/trackmod/protracker.c cell->effect = code & 0xfff;
cell 189 uspace/lib/trackmod/trackmod.c size_t row, size_t channel, trackmod_cell_t *cell)
cell 191 uspace/lib/trackmod/trackmod.c *cell = pattern->data[row * pattern->channels + channel];
cell 227 uspace/lib/trackmod/trackmod.c trackmod_cell_t *cell)
cell 238 uspace/lib/trackmod/trackmod.c if (cell->period == 0) {
cell 239 uspace/lib/trackmod/trackmod.c pitch = 8 * (cell->note + chan->sample->rel_note) +
cell 248 uspace/lib/trackmod/trackmod.c period = cell->period;
cell 267 uspace/lib/trackmod/trackmod.c trackmod_cell_t *cell)
cell 274 uspace/lib/trackmod/trackmod.c if (cell->instr == 0)
cell 277 uspace/lib/trackmod/trackmod.c iidx = (cell->instr - 1) % modplay->module->instrs;
cell 279 uspace/lib/trackmod/trackmod.c sidx = instr->key_smp[cell->note] % instr->samples;
cell 509 uspace/lib/trackmod/trackmod.c trackmod_cell_t *cell)
cell 513 uspace/lib/trackmod/trackmod.c if (cell->volume >= 0x10 && cell->volume <= 0x10 + vol_max)
cell 514 uspace/lib/trackmod/trackmod.c trackmod_effect_set_volume(modplay, chan, cell->volume - 0x10);
cell 516 uspace/lib/trackmod/trackmod.c param4 = cell->volume & 0xf;
cell 518 uspace/lib/trackmod/trackmod.c switch (cell->volume & 0xf0) {
cell 546 uspace/lib/trackmod/trackmod.c trackmod_cell_t *cell)
cell 551 uspace/lib/trackmod/trackmod.c param8 = cell->effect & 0xff;
cell 553 uspace/lib/trackmod/trackmod.c switch (cell->effect & 0xf00) {
cell 579 uspace/lib/trackmod/trackmod.c param4 = cell->effect & 0xf;
cell 581 uspace/lib/trackmod/trackmod.c switch (cell->effect & 0xff0) {
cell 604 uspace/lib/trackmod/trackmod.c trackmod_cell_t *cell)
cell 608 uspace/lib/trackmod/trackmod.c trackmod_process_instr(modplay, chan, cell);
cell 610 uspace/lib/trackmod/trackmod.c if (cell->period != 0 || (cell->note != 0 && cell->note != keyoff_note)) {
cell 611 uspace/lib/trackmod/trackmod.c trackmod_process_note(modplay, chan, cell);
cell 612 uspace/lib/trackmod/trackmod.c } else if (cell->note == keyoff_note && cell->instr == 0) {
cell 616 uspace/lib/trackmod/trackmod.c trackmod_process_volume(modplay, chan, cell);
cell 617 uspace/lib/trackmod/trackmod.c trackmod_process_effect(modplay, chan, cell);
cell 630 uspace/lib/trackmod/trackmod.c trackmod_cell_t cell;
cell 639 uspace/lib/trackmod/trackmod.c trackmod_pattern_get_cell(pattern, modplay->row, i, &cell);
cell 642 uspace/lib/trackmod/trackmod.c printf("%4d %02x %02x %03x |", cell.period ?
cell 643 uspace/lib/trackmod/trackmod.c cell.period : cell.note, cell.instr,
cell 644 uspace/lib/trackmod/trackmod.c cell.volume, cell.effect);
cell 647 uspace/lib/trackmod/trackmod.c trackmod_process_cell(modplay, i, &cell);
HelenOS homepage, sources at GitHub