Home
last modified time | relevance | path

Searched refs:cell (Results 1 – 25 of 43) sorted by relevance

12

/dragonfly/sys/dev/misc/syscons/star/
HDstar_saver.c61 int cell, i; in star_saver() local
90 cell = krandom() % NUM_STARS; in star_saver()
91 sc_vtb_putc(&scp->scr, stars[cell][0], in star_saver()
92 sc->scr_map[pattern[stars[cell][1]]], in star_saver()
94 if ((stars[cell][1]+=(krandom()%4)) >= sizeof(pattern)-1) { in star_saver()
95 stars[cell][0] = krandom() % (scp->xsize*scp->ysize); in star_saver()
96 stars[cell][1] = 0; in star_saver()
/dragonfly/contrib/gcc-4.7/libobjc/objc-private/
HDobjc-list.h39 struct objc_list* cell; in list_cons() local
41 cell = (struct objc_list*)objc_malloc (sizeof (struct objc_list)); in list_cons()
42 cell->head = head; in list_cons()
43 cell->tail = tail; in list_cons()
44 return cell; in list_cons()
/dragonfly/contrib/ncurses/ncurses/widechar/
HDlib_ins_wch.c62 int cell; in NCURSES_EXPORT() local
73 for (cell = 1; cell < cells; ++cell) { in NCURSES_EXPORT()
74 SetWidecExt(temp1[cell], cell); in NCURSES_EXPORT()
/dragonfly/contrib/gcc-4.7/libobjc/
HDinit.c492 struct objc_list **cell = &uninitialized_statics; in objc_init_statics() local
497 while (*cell) in objc_init_statics()
501 for (statics_in_module = (*cell)->head; in objc_init_statics()
552 struct objc_list *this = *cell; in objc_init_statics()
553 *cell = this->tail; in objc_init_statics()
557 cell = &(*cell)->tail; in objc_init_statics()
586 struct objc_list **cell; in __objc_exec_class() local
714 for (cell = &unclaimed_categories; *cell; ) in __objc_exec_class()
716 struct objc_category *category = (*cell)->head; in __objc_exec_class()
722 list_remove_head (cell); in __objc_exec_class()
[all …]
/dragonfly/contrib/ncurses/ncurses/base/
HDlib_instr.c66 cchar_t *cell = &(text[col]); in NCURSES_EXPORT() local
72 if (!isWidecExt(*cell)) { in NCURSES_EXPORT()
76 n2 = getcchar(cell, 0, 0, 0, 0); in NCURSES_EXPORT()
81 if (getcchar(cell, wch, &attrs, &pair, 0) == OK) { in NCURSES_EXPORT()
/dragonfly/games/tetris/
HDtetris.h57 typedef unsigned char cell; typedef
58 extern cell board[B_SIZE]; /* 1 => occupied, 0 => empty */
HDtetris.c55 cell board[B_SIZE];
79 cell *p; in setup_board()
94 cell *p; in elide()
HDscreen.c56 static cell curscreen[B_SIZE]; /* 1 => standout (or otherwise marked) */
354 typedef cell regcell;
362 cell *bp, *sp; in scr_update()
/dragonfly/games/larn/
HDsavelev.c16 pcel = &cell[level * MAXX * MAXY]; /* pointer to this level's cells */ in savelevel()
42 pcel = &cell[level * MAXX * MAXY]; /* pointer to this level's cells */ in getlevel()
HDdiag.c142 if (cell[p * MAXX * MAXY + i * MAXY + j].item == l) in dcount()
194 … lwrite((char *)&cell[k * MAXX * MAXY], sizeof(struct cel) * MAXY * MAXX); in savegame()
258 … lrfill((char *)&cell[k * MAXX * MAXY], sizeof(struct cel) * MAXY * MAXX); in restoregame()
HDdata.c108 struct cel *cell; /* pointer to the dungeon storage */ variable
HDmain.c110 cell = malloc(sizeof(struct cel) * (MAXLEVEL + MAXVLEVEL) * MAXX * MAXY); in main()
111 if (cell == NULL) /* malloc failure */ in main()
HDheader.h352 extern struct cel *cell;
/dragonfly/lib/i18n_module/BIG5/
HDcitrus_big5.c103 int cell[0x100]; member
152 return ((ei->cell[c & 0xFF] & 0x1) ? 2 : 1); in _citrus_BIG5_check()
159 return ((ei->cell[c & 0xFF] & 0x2) ? 1 : 0); in _citrus_BIG5_check2()
188 ei->cell[n & 0xFF] |= i; in _citrus_BIG5_fill_rowcol()
/dragonfly/lib/i18n_module/UTF7/
HDcitrus_utf7.c58 uint16_t cell[0x80]; member
136 (SHIFT7BIT((c)) ? -1 : (((ei)->cell[(c)] & EI_MASK) - 1))
139 ei->cell[(c)] & (EI_DIRECT | EI_OPTION | EI_SPACE)))
142 (c < 0x80 && ei->cell[(c)] & (EI_DIRECT | EI_SPACE))))
475 ei->cell[*s & 0x7f] |= flag; \ in _citrus_UTF7_encoding_module_init()
/dragonfly/contrib/mdocml/
HDeqn_html.c37 struct tag *post, *row, *cell, *t; in eqn_box() local
80 cell = print_otag(p, TAG_MTD, ""); in eqn_box()
88 print_tagq(p, cell); in eqn_box()
HDtbl_layout.c58 static void cell(struct tbl_node *, struct tbl_row *,
207 cell(struct tbl_node *tbl, struct tbl_row *rp, in cell() function
351 cell(tbl, rp, ln, p, &pos); in tbl_layout()
/dragonfly/contrib/zstd/lib/common/
HDfse_decompress.c192 FSE_decode_t* const cell = (FSE_decode_t*)dPtr; in FSE_buildDTable_rle() local
197 cell->newState = 0; in FSE_buildDTable_rle()
198 cell->symbol = symbolValue; in FSE_buildDTable_rle()
199 cell->nbBits = 0; in FSE_buildDTable_rle()
/dragonfly/contrib/dialog/
HDcalendar.c324 int cell; in day_cell_number() local
325 cell = current->tm_mday - ((6 + current->tm_mday - current->tm_wday) % MAX_DAYS); in day_cell_number()
327 cell += 6; in day_cell_number()
329 cell--; in day_cell_number()
330 return cell; in day_cell_number()
HDeditbox.c540 int cell = key - KEY_MAX; in dlg_editbox() local
541 int check = (cell / wide) + base_row; in dlg_editbox()
544 col_offset = (cell % wide); in dlg_editbox()
HDformbox.c799 int cell = key - DLGK_MOUSE(KEY_MAX); in dlg_form() local
800 int row = (cell / getmaxx(form)) + scrollamt; in dlg_form()
801 int col = (cell % getmaxx(form)); in dlg_form()
/dragonfly/contrib/file/magic/Magdir/
HDvacuum-cleaner24 # int32_t cell_dim; /* 36: 10 == cell dimension */
HDcad47 # 2nd element type: 8~Digitizer~DesiGNfile 1~library cell header other~CIT
99 # test for 2nd element type 1~library cell header
101 # test for 1st element with level 8 and type 5 for cell library
102 … beshort 0x0805 Bentley/Intergraph Microstation CAD cell library
/dragonfly/contrib/zstd/lib/decompress/
HDzstd_decompress_block.c350 ZSTD_seqSymbol* const cell = dt + 1; in ZSTD_buildSeqTable_rle() local
355 cell->nbBits = 0; in ZSTD_buildSeqTable_rle()
356 cell->nextState = 0; in ZSTD_buildSeqTable_rle()
358 cell->nbAdditionalBits = (BYTE)nbAddBits; in ZSTD_buildSeqTable_rle()
359 cell->baseValue = baseValue; in ZSTD_buildSeqTable_rle()
/dragonfly/contrib/gdb-7/gdb/
HDutils.c2809 static int cell = 0; in get_cell() local
2811 if (++cell >= NUMCELLS) in get_cell()
2812 cell = 0; in get_cell()
2813 return buf[cell]; in get_cell()

12