Home
last modified time | relevance | path

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

/dragonfly/usr.bin/window/
HDcmd7.c103 int col1, row1; in c_yank() local
111 col1 = w->ww_cur.c; in c_yank()
113 wwsetcursor(row1, col1); in c_yank()
116 switch (getpos(&row1, &col1, w->ww_i.t, w->ww_i.l, in c_yank()
131 col2 = col1; in c_yank()
141 yank_highlight(row1, col1, r, c); in c_yank()
146 yank_highlight(row1, col1, r, c); in c_yank()
147 yank_highlight(row1, col1, row2, col2); in c_yank()
153 if (row2 < row1 || (row2 == row1 && col2 < col1)) { in c_yank()
155 c = col1; in c_yank()
[all …]
HDwwwrite.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/
HDlevel.c315 short row1, col1, row2, col2, dir; in connect_rooms() local
323 put_door(&rooms[room1], LEFT, &row1, &col1); in connect_rooms()
328 put_door(&rooms[room1], RIGHT, &row1, &col1); in connect_rooms()
333 put_door(&rooms[room1], UPWARD, &row1, &col1); in connect_rooms()
338 put_door(&rooms[room1], DOWN, &row1, &col1); in connect_rooms()
346 draw_simple_passage(row1, col1, row2, col2, dir); in connect_rooms()
355 rooms[room2].doors[(((dir+4)%DIRS)/2)].oth_col = col1; in connect_rooms()
422 draw_simple_passage(short row1, short col1, short row2, short col2, short dir) in draw_simple_passage() argument
427 if (col1 > col2) { in draw_simple_passage()
429 SWAP(col1, col2); in draw_simple_passage()
[all …]
HDmove.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/
HDcomm.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/
HDscvgarndr.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/
HDifstat.c57 static const int col1 = C1;