Symbol: cell
games/larn/data.c
119
struct cel *cell; /* pointer to the dungeon storage */
games/larn/diag.c
147
if (cell[p * MAXX * MAXY + i * MAXY + j].item == l)
games/larn/diag.c
199
lwrite((char *) &cell[k * MAXX * MAXY], sizeof(struct cel) * MAXY * MAXX);
games/larn/diag.c
263
lrfill((char *) &cell[k * MAXX * MAXY], sizeof(struct cel) * MAXY * MAXX);
games/larn/header.h
370
extern struct cel *cell;
games/larn/main.c
129
cell = (struct cel *) malloc(sizeof(struct cel) * (MAXLEVEL + MAXVLEVEL) * MAXX * MAXY);
games/larn/main.c
130
if (cell == 0)
games/larn/savelev.c
21
pcel = &cell[level * MAXX * MAXY]; /* pointer to this level's
games/larn/savelev.c
50
pcel = &cell[level * MAXX * MAXY]; /* pointer to this level's
games/tetris/screen.c
286
typedef cell regcell;
games/tetris/screen.c
295
cell *bp, *sp;
games/tetris/screen.c
60
static cell curscreen[B_SIZE]; /* 1 => standout (or otherwise marked) */
games/tetris/tetris.c
107
cell *p;
games/tetris/tetris.c
62
cell board[B_SIZE]; /* 1 => occupied, 0 => empty */
games/tetris/tetris.c
93
cell *p;
games/tetris/tetris.h
59
extern cell board[B_SIZE]; /* 1 => occupied, 0 => empty */
lib/libc/citrus/modules/citrus_big5.c
105
int cell[0x100];
lib/libc/citrus/modules/citrus_big5.c
169
return (ei->cell[c & 0xFF] & 0x1) ? 2 : 1;
lib/libc/citrus/modules/citrus_big5.c
177
return (ei->cell[c & 0xFF] & 0x2) ? 1 : 0;
lib/libc/citrus/modules/citrus_big5.c
210
ei->cell[n & 0xFF] |= i;
lib/libc/citrus/modules/citrus_utf7.c
165
(SHIFT7BIT((c)) ? -1 : (((ei)->cell[(c)] & EI_MASK) - 1))
lib/libc/citrus/modules/citrus_utf7.c
168
ei->cell[(c)] & (EI_DIRECT | EI_OPTION | EI_SPACE)))
lib/libc/citrus/modules/citrus_utf7.c
171
(c < 0x80 && ei->cell[(c)] & (EI_DIRECT | EI_SPACE))))
lib/libc/citrus/modules/citrus_utf7.c
56
uint16_t cell[0x80];
lib/libc/citrus/modules/citrus_utf7.c
576
ei->cell[*s & 0x7f] |= flag; \
sys/dev/fdt/fdt_ddb.c
104
pr("%#" PRIx32 "%s", fdt32_to_cpu(cell[j]),
sys/dev/fdt/fdt_ddb.c
99
const uint32_t *cell = (const uint32_t *)prop->data;
sys/dev/wscons/wsdisplay_glyphcache.c
242
int cell;
sys/dev/wscons/wsdisplay_glyphcache.c
247
cell = atomic_add_int_nv(&b->gb_usedcells, 1) - 1;
sys/dev/wscons/wsdisplay_glyphcache.c
248
cell += b->gb_firstcell;
sys/dev/wscons/wsdisplay_glyphcache.c
250
(cell / gc->gc_cellsperline) * gc->gc_cellheight;
sys/dev/wscons/wsdisplay_glyphcache.c
252
(cell % gc->gc_cellsperline) * gc->gc_cellstride;
sys/dev/wscons/wsdisplay_glyphcache.c
281
int cell, cx, cy, idx, bi;
sys/dev/wscons/wsdisplay_glyphcache.c
341
cell = b->gb_map[c - 33];
sys/dev/wscons/wsdisplay_glyphcache.c
342
if (cell == -1) {
sys/dev/wscons/wsdisplay_glyphcache.c
349
cy = cell & 0xffff;
sys/dev/wscons/wsdisplay_glyphcache.c
350
cx = (cell >> 16) & 0xffff;
sys/dev/wsfb/genfb.c
1121
int i, idx, bi, cell;
sys/dev/wsfb/genfb.c
1180
cell = b->gb_map[c - 33];
sys/dev/wsfb/genfb.c
1181
if (cell == -1) {
sys/dev/wsfb/genfb.c
1184
cell = atomic_add_int_nv(&b->gb_usedcells, 1) - 1;
sys/dev/wsfb/genfb.c
1185
b->gb_map[c - 33] = cell;
sys/dev/wsfb/genfb.c
1186
cell += b->gb_firstcell;
sys/dev/wsfb/genfb.c
1187
scp->sc_putchar(&scp->sc_cache_ri, cell, 0, c, attr);
sys/dev/wsfb/genfb.c
1189
cell += b->gb_firstcell;
sys/dev/wsfb/genfb.c
1191
src = scp->sc_cache + cell * scp->sc_cache_ri.ri_yscale;
sys/dev/wsfb/genfb.c
1199
src = scp->sc_cache + cell * scp->sc_cache_ri.ri_yscale;
sys/kern/subr_csan.c
150
__builtin_memcpy(&old, &kcsan_cpus[i].cell, sizeof(old));
sys/kern/subr_csan.c
177
__builtin_memcpy(&cpu->cell, &new, sizeof(new));
sys/kern/subr_csan.c
179
__builtin_memset(&cpu->cell, 0, sizeof(new));
sys/kern/subr_csan.c
62
csan_cell_t cell;
tests/modules/t_ufetchstore.c
1009
uint32_t cell = 0xdeadbeef;
tests/modules/t_ufetchstore.c
1014
ATF_REQUIRE_EQ(do_ucas_32(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
tests/modules/t_ufetchstore.c
1016
ATF_REQUIRE(cell == 0xbeefdead);
tests/modules/t_ufetchstore.c
1032
uint64_t cell = 0xdeadbeef;
tests/modules/t_ufetchstore.c
1037
ATF_REQUIRE_EQ(do_ucas_64(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
tests/modules/t_ufetchstore.c
1039
ATF_REQUIRE(cell == 0xbeefdead);
tests/modules/t_ufetchstore.c
1055
uint32_t cell = 0xa5a5a5a5;
tests/modules/t_ufetchstore.c
1060
ATF_REQUIRE_EQ(do_ucas_32(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
tests/modules/t_ufetchstore.c
1062
ATF_REQUIRE(cell == 0xa5a5a5a5);
tests/modules/t_ufetchstore.c
1078
uint64_t cell = 0xa5a5a5a5;
tests/modules/t_ufetchstore.c
1083
ATF_REQUIRE_EQ(do_ucas_64(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
tests/modules/t_ufetchstore.c
1085
ATF_REQUIRE(cell == 0xa5a5a5a5);
tests/modules/t_ufetchstore.c
352
#define read_test_cell(cell) (cell)->test_cell
tests/modules/t_ufetchstore.c
353
#define write_test_cell(cell, v) (cell)->test_cell = (v)
tests/modules/t_ufetchstore.c
363
memory_cell_check_guard(const struct memory_cell * const cell)
tests/modules/t_ufetchstore.c
365
return cell->guard0 == ULONG_MAX &&
tests/modules/t_ufetchstore.c
366
cell->guard1 == ULONG_MAX;
tests/modules/t_ufetchstore.c
377
struct memory_cell cell = memory_cell_initializer;
tests/modules/t_ufetchstore.c
382
write_test_cell(&cell, test_cell_val8);
tests/modules/t_ufetchstore.c
383
ATF_REQUIRE_EQ(do_ufetch_8(&cell.val8[index8], &res), 0);
tests/modules/t_ufetchstore.c
384
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/t_ufetchstore.c
400
struct memory_cell cell = memory_cell_initializer;
tests/modules/t_ufetchstore.c
405
write_test_cell(&cell, test_cell_val16);
tests/modules/t_ufetchstore.c
406
ATF_REQUIRE_EQ(do_ufetch_16(&cell.val16[index16], &res), 0);
tests/modules/t_ufetchstore.c
407
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/t_ufetchstore.c
423
struct memory_cell cell = memory_cell_initializer;
tests/modules/t_ufetchstore.c
428
write_test_cell(&cell, test_cell_val32);
tests/modules/t_ufetchstore.c
429
ATF_REQUIRE_EQ(do_ufetch_32(&cell.val32[index32], &res), 0);
tests/modules/t_ufetchstore.c
430
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/t_ufetchstore.c
447
struct memory_cell cell = memory_cell_initializer;
tests/modules/t_ufetchstore.c
452
write_test_cell(&cell, test_cell_val64);
tests/modules/t_ufetchstore.c
453
ATF_REQUIRE_EQ(do_ufetch_64(&cell.val64, &res), 0);
tests/modules/t_ufetchstore.c
454
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/t_ufetchstore.c
708
struct memory_cell cell = memory_cell_initializer;
tests/modules/t_ufetchstore.c
712
ATF_REQUIRE_EQ(do_ustore_8(&cell.val8[index8], test_pattern8), 0);
tests/modules/t_ufetchstore.c
713
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/t_ufetchstore.c
714
ATF_REQUIRE(read_test_cell(&cell) == test_cell_val8);
tests/modules/t_ufetchstore.c
729
struct memory_cell cell = memory_cell_initializer;
tests/modules/t_ufetchstore.c
733
ATF_REQUIRE_EQ(do_ustore_16(&cell.val16[index16], test_pattern16), 0);
tests/modules/t_ufetchstore.c
734
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/t_ufetchstore.c
735
ATF_REQUIRE(read_test_cell(&cell) == test_cell_val16);
tests/modules/t_ufetchstore.c
750
struct memory_cell cell = memory_cell_initializer;
tests/modules/t_ufetchstore.c
754
ATF_REQUIRE_EQ(do_ustore_32(&cell.val32[index32], test_pattern32), 0);
tests/modules/t_ufetchstore.c
755
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/t_ufetchstore.c
756
ATF_REQUIRE(read_test_cell(&cell) == test_cell_val32);
tests/modules/t_ufetchstore.c
772
struct memory_cell cell = memory_cell_initializer;
tests/modules/t_ufetchstore.c
776
ATF_REQUIRE_EQ(do_ustore_64(&cell.val64, test_pattern64), 0);
tests/modules/t_ufetchstore.c
777
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/t_ufetchstore.c
778
ATF_REQUIRE(read_test_cell(&cell) == test_cell_val64);
tests/modules/ufetchstore/t_ufetchstore.c
1009
uint32_t cell = 0xdeadbeef;
tests/modules/ufetchstore/t_ufetchstore.c
1014
ATF_REQUIRE_EQ(do_ucas_32(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
tests/modules/ufetchstore/t_ufetchstore.c
1016
ATF_REQUIRE(cell == 0xbeefdead);
tests/modules/ufetchstore/t_ufetchstore.c
1032
uint64_t cell = 0xdeadbeef;
tests/modules/ufetchstore/t_ufetchstore.c
1037
ATF_REQUIRE_EQ(do_ucas_64(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
tests/modules/ufetchstore/t_ufetchstore.c
1039
ATF_REQUIRE(cell == 0xbeefdead);
tests/modules/ufetchstore/t_ufetchstore.c
1055
uint32_t cell = 0xa5a5a5a5;
tests/modules/ufetchstore/t_ufetchstore.c
1060
ATF_REQUIRE_EQ(do_ucas_32(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
tests/modules/ufetchstore/t_ufetchstore.c
1062
ATF_REQUIRE(cell == 0xa5a5a5a5);
tests/modules/ufetchstore/t_ufetchstore.c
1078
uint64_t cell = 0xa5a5a5a5;
tests/modules/ufetchstore/t_ufetchstore.c
1083
ATF_REQUIRE_EQ(do_ucas_64(&cell, 0xdeadbeef, 0xbeefdead, &actual), 0);
tests/modules/ufetchstore/t_ufetchstore.c
1085
ATF_REQUIRE(cell == 0xa5a5a5a5);
tests/modules/ufetchstore/t_ufetchstore.c
352
#define read_test_cell(cell) (cell)->test_cell
tests/modules/ufetchstore/t_ufetchstore.c
353
#define write_test_cell(cell, v) (cell)->test_cell = (v)
tests/modules/ufetchstore/t_ufetchstore.c
363
memory_cell_check_guard(const struct memory_cell * const cell)
tests/modules/ufetchstore/t_ufetchstore.c
365
return cell->guard0 == ULONG_MAX &&
tests/modules/ufetchstore/t_ufetchstore.c
366
cell->guard1 == ULONG_MAX;
tests/modules/ufetchstore/t_ufetchstore.c
377
struct memory_cell cell = memory_cell_initializer;
tests/modules/ufetchstore/t_ufetchstore.c
382
write_test_cell(&cell, test_cell_val8);
tests/modules/ufetchstore/t_ufetchstore.c
383
ATF_REQUIRE_EQ(do_ufetch_8(&cell.val8[index8], &res), 0);
tests/modules/ufetchstore/t_ufetchstore.c
384
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/ufetchstore/t_ufetchstore.c
400
struct memory_cell cell = memory_cell_initializer;
tests/modules/ufetchstore/t_ufetchstore.c
405
write_test_cell(&cell, test_cell_val16);
tests/modules/ufetchstore/t_ufetchstore.c
406
ATF_REQUIRE_EQ(do_ufetch_16(&cell.val16[index16], &res), 0);
tests/modules/ufetchstore/t_ufetchstore.c
407
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/ufetchstore/t_ufetchstore.c
423
struct memory_cell cell = memory_cell_initializer;
tests/modules/ufetchstore/t_ufetchstore.c
428
write_test_cell(&cell, test_cell_val32);
tests/modules/ufetchstore/t_ufetchstore.c
429
ATF_REQUIRE_EQ(do_ufetch_32(&cell.val32[index32], &res), 0);
tests/modules/ufetchstore/t_ufetchstore.c
430
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/ufetchstore/t_ufetchstore.c
447
struct memory_cell cell = memory_cell_initializer;
tests/modules/ufetchstore/t_ufetchstore.c
452
write_test_cell(&cell, test_cell_val64);
tests/modules/ufetchstore/t_ufetchstore.c
453
ATF_REQUIRE_EQ(do_ufetch_64(&cell.val64, &res), 0);
tests/modules/ufetchstore/t_ufetchstore.c
454
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/ufetchstore/t_ufetchstore.c
708
struct memory_cell cell = memory_cell_initializer;
tests/modules/ufetchstore/t_ufetchstore.c
712
ATF_REQUIRE_EQ(do_ustore_8(&cell.val8[index8], test_pattern8), 0);
tests/modules/ufetchstore/t_ufetchstore.c
713
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/ufetchstore/t_ufetchstore.c
714
ATF_REQUIRE(read_test_cell(&cell) == test_cell_val8);
tests/modules/ufetchstore/t_ufetchstore.c
729
struct memory_cell cell = memory_cell_initializer;
tests/modules/ufetchstore/t_ufetchstore.c
733
ATF_REQUIRE_EQ(do_ustore_16(&cell.val16[index16], test_pattern16), 0);
tests/modules/ufetchstore/t_ufetchstore.c
734
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/ufetchstore/t_ufetchstore.c
735
ATF_REQUIRE(read_test_cell(&cell) == test_cell_val16);
tests/modules/ufetchstore/t_ufetchstore.c
750
struct memory_cell cell = memory_cell_initializer;
tests/modules/ufetchstore/t_ufetchstore.c
754
ATF_REQUIRE_EQ(do_ustore_32(&cell.val32[index32], test_pattern32), 0);
tests/modules/ufetchstore/t_ufetchstore.c
755
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/ufetchstore/t_ufetchstore.c
756
ATF_REQUIRE(read_test_cell(&cell) == test_cell_val32);
tests/modules/ufetchstore/t_ufetchstore.c
772
struct memory_cell cell = memory_cell_initializer;
tests/modules/ufetchstore/t_ufetchstore.c
776
ATF_REQUIRE_EQ(do_ustore_64(&cell.val64, test_pattern64), 0);
tests/modules/ufetchstore/t_ufetchstore.c
777
ATF_REQUIRE(memory_cell_check_guard(&cell));
tests/modules/ufetchstore/t_ufetchstore.c
778
ATF_REQUIRE(read_test_cell(&cell) == test_cell_val64);