Home
last modified time | relevance | path

Searched refs:col1 (Results 1 – 7 of 7) sorted by relevance

/dragonfly/usr.bin/window/
H A Dcmd7.c103 int col1, row1; in c_yank() local
111 col1 = w->ww_cur.c; in c_yank()
113 wwsetcursor(row1, col1); in c_yank()
131 col2 = col1; in c_yank()
141 yank_highlight(row1, col1, r, c); in c_yank()
155 c = col1; in c_yank()
157 col1 = col2; in c_yank()
162 c = col1; in c_yank()
185 c = col1; in yank_highlight()
187 col1 = col2; in yank_highlight()
[all …]
H A Dwwwrite.c80 int col, col1; in wwwrite() local
126 col1 = MIN(i, w->ww_i.r); in wwwrite()
137 for (i = col; i < col1; i++) in wwwrite()
/dragonfly/games/rogue/
H A Dlevel.c315 short row1, col1, row2, col2, dir; in connect_rooms() local
427 if (col1 > col2) { in draw_simple_passage()
429 SWAP(col1, col2); in draw_simple_passage()
431 middle = get_rand(col1+1, col2-1); in draw_simple_passage()
432 for (i = col1+1; i != middle; i++) { in draw_simple_passage()
444 SWAP(col1, col2); in draw_simple_passage()
448 dungeon[i][col1] = TUNNEL; in draw_simple_passage()
450 for (i = col1; i != col2; i += (col1 > col2) ? -1 : 1) { in draw_simple_passage()
713 if (col1 > col2) { in hide_boxed_passage()
714 SWAP(col1, col2); in hide_boxed_passage()
[all …]
H A Dmove.c299 can_move(short row1, short col1, short row2, short col2) in can_move() argument
304 if ((row1 != row2) && (col1 != col2)) { in can_move()
305 if ((dungeon[row1][col1] & DOOR) || (dungeon[row2][col2] & DOOR)) { in can_move()
308 if ((!dungeon[row1][col2]) || (!dungeon[row2][col1])) { in can_move()
/dragonfly/usr.bin/comm/
H A Dcomm.c62 const char *col1, *col2, *col3; in main() local
102 col1 = col2 = col3 = NULL; in main()
104 col1 = *p++; in main()
139 if (n1 >= 0 && col1 != NULL) in main()
140 show(fp1, argv[0], col1, &line1, &line1len); in main()
168 if (col1 != NULL) in main()
169 (void)printf("%s%s\n", col1, line1); in main()
/dragonfly/sys/dev/misc/syscons/
H A Dscvgarndr.c712 u_short col1, col2; in vga_vgadraw_planar() local
732 col1 = ((a & 0x7000) >> 4) | (a & 0x0800); in vga_vgadraw_planar()
735 col1 = (a & 0x0f00); in vga_vgadraw_planar()
748 outw(GDCIDX, col1 | 0x00); /* set/reset */ in vga_vgadraw_planar()
/dragonfly/usr.bin/systat/
H A Difstat.c57 static const int col1 = C1;