| /src/usr.bin/vis/ | 
| foldit.c | 45 foldit(const char *chunk, int col, int max, int flags) 59 			col = 0;
 62 			col = (col + 8) &~ 07;
 65 			col = col ? col - 1 : 0;
 68 			col++;
 70 		if (col > (max - 2)) {
 72 			col = 0
 [all...]
 | 
| /src/usr.bin/systat/ | 
| keyboard.c | 57 	int ch, rch, col;  local in function:keyboard 71 		col = 0;
 74 		while (col == 0 || (ch != '\r' && ch != '\n')) {
 92 			if (col == 0) {
 121 					col++;
 127 				if (col > 0)
 128 					col--;
 131 			if (ch == CTRL('w') && col > 0) {
 132 				while (--col >= 0 &&
 133 				    isspace((unsigned char)line[col]))
 [all...]
 | 
| iostat.c | 127 	int col, regions;  local in function:numlabels 147 	col = 0;
 150 			if (col + COLWIDTH - 1 > getmaxx(wnd)) {
 151 				col = 0, row += linesperregion + 1;
 156 			mvwprintw(wnd, row, col + 5, "%s", cur.name[i]);
 159 				mvwprintw(wnd, row, col + 11 + secs * 5,
 161 			mvwprintw(wnd, row + 1, col, " kBps %s",
 167 			col += COLWIDTH;
 169 	if (col)
 204 	int row, col;  local in function:showiostat
 [all...]
 | 
| globalcmds.c | 80 	int col, len;  local in function:global_help 84 	move(CMDLINE, col = 0);
 95 		if (col + len > COLS)
 98 		col += len + 1;
 99 		if (col + 1 < COLS)
 106 	if (col == 0 && args) {
 
 | 
| /src/sys/external/gpl2/dts/dist/include/dt-bindings/input/ | 
| input.h | 17 #define MATRIX_KEY(row, col, code)	\ 18 	((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
 
 | 
| /src/usr.bin/col/ | 
| Makefile | 5 PROG=	col 
 | 
| /src/games/rogue/ | 
| throw.c | 68 	short dir, row, col;  local in function:throw 95 	row = rogue.row; col = rogue.col;
 106 	monster = get_thrown_at_monster(weapon, d, &row, &col);
 107 	mvaddch(rogue.row, rogue.col, rogue.fchar);
 110 	if (rogue_can_see(row, col) && ((row != rogue.row) || (col != rogue.col))){
 111 		mvaddch(row, col, get_dungeon_char(row, col));
 267  static short row, col;  local in function:rand_around
 [all...]
 | 
| trap.c | 78 trap_at(int row, int col) 83 		if ((traps[i].trap_row == row) && (traps[i].trap_col == col)) {
 91 trap_player(short row, short col)
 95 	if ((t = trap_at(row, col)) == NO_TRAP) {
 98 	dungeon[row][col] &= (~HIDDEN);
 113 		mvaddch(rogue.row, rogue.col, '^');
 146 	short row, col;  local in function:add_traps
 170 				col = get_rand((rooms[party_room].left_col+1),
 173 			} while (((dungeon[row][col] & (OBJECT|STAIRS|TRAP|TUNNEL)) ||
 174 					(dungeon[row][col] == NOTHING)) && (tries < 15))
 190  short dir, row, col, d, t;  local in function:id_trap
 232  short s, i, j, row, col, t;  local in function:search
 [all...]
 | 
| zap.c | 71 	short dir, d, row, col;  local in function:zapp 102 		row = rogue.row; col = rogue.col;
 104 			bounce((short)wand->which_kind, d, row, col, 0);
 106 			monster = get_zapped_monster(d, &row, &col);
 121 get_zapped_monster(short dir, short *row, short *col)
 126 		orow = *row; ocol = *col;
 127 		get_dir_rc(dir, row, col, 0);
 128 		if (((*row == orow) && (*col == ocol)) ||
 129 		   (dungeon[*row][*col] & (HORWALL | VERTWALL)) |
 144  short row, col;  local in function:zap_monster
 210  short row, col;  local in function:tele_away
 [all...]
 | 
| monster.c | 150 	short row, col;  local in function:put_mons 159 		gr_row_col(&row, &col, (FLOOR | TUNNEL | STAIRS | OBJECT));
 160 		put_m_at(row, col, monster);
 205 			mv_1_monster(monster, rogue.row, rogue.col);
 221 				!mon_can_go(monster, rogue.row, rogue.col)) {
 223 			mv_1_monster(monster, rogue.row, rogue.col);
 228 		if (!(flew && mon_can_go(monster, rogue.row, rogue.col))) {
 229 			mv_1_monster(monster, rogue.row, rogue.col);
 249 	short row, col;  local in function:party_monsters
 253 	row = col = 0
 631  short row, col, i;  local in function:wanderer
 685  short row, col;  local in function:create_monster
 765  short i, row, col;  local in function:move_confused
 795  short i, row, col;  local in function:flit
 [all...]
 | 
| move.c | 72 	short row, col;  local in function:one_move_rogue 78 	col = rogue.col;
 84 	get_dir_rc(d, &row, &col, 1);
 86 	if (!can_move(rogue.row, rogue.col, row, col)) {
 90 		if (!(dungeon[row][col] & MONSTER)) {
 106 	if (dungeon[row][col] & MONSTER) {
 107 		rogue_hit(object_at(&level_monsters, row, col), 0);
 111 	if (dungeon[row][col] & DOOR)
 183  short row, col;  local in function:multiple_move_rogue
 244  short i, j, i_end, j_end, row, col;  local in function:next_to_something
 [all...]
 | 
| spec_hit.c | 231 	short row, col;  local in function:disappear 234 	col = monster->col;
 236 	dungeon[row][col] &= ~MONSTER;
 237 	if (rogue_can_see(row, col)) {
 238 		mvaddch(row, col, get_dungeon_char(row, col));
 249 	short row, col, i, n;  local in function:cough_up
 266 	col = monster->col;
 484  short row, col, dir;  local in function:flame_broil
 [all...]
 | 
| hit.c | 305 	short row, col;  local in function:mon_damage 311 		col = monster->col;
 312 		dungeon[row][col] &= ~MONSTER;
 313 		mvaddch(row, col, get_dungeon_char(row, col));
 336 	short row, col;  local in function:fight
 353 	row = rogue.row; col = rogue.col;
 354 	get_dir_rc(d, &row, &col, 0)
 [all...]
 | 
| room.c | 120 						dungeon[monster->row][monster->col] &= (~MONSTER); 122 							get_dungeon_char(monster->row, monster->col);
 123 						dungeon[monster->row][monster->col] |= MONSTER;
 129 		mvaddch(rogue.row, rogue.col, rogue.fchar);
 134 light_passage(int row, int col)
 142 	j_end = (col < (DCOLS-1)) ? 1 : 0;
 145 		for (j = ((col > 0) ? -1 : 0); j <= j_end; j++) {
 146 			if (can_move(row, col, row+i, col+j)) {
 147 				mvaddch(row+i, col+j, get_dungeon_char(row+i, col+j))
 289  short n, N, row, col;  local in function:party_objects
 [all...]
 | 
| /src/games/testpat/ | 
| testpat.c | 54 	int i, col, colour, line, x_limit, y_limit, colourOK, spacing;  local in function:main 152 		for (col = 1; col < x_limit; col = col + grid_x) {
 153 			xpos = col;
 154 			while ((xpos < col + grid_x - 1) && (xpos <
 166 			for (col = grid_x - 1; col < x_limit; col += grid_x)
 [all...]
 | 
| /src/tests/usr.bin/col/ | 
| t_col.sh | 2 # $FreeBSD: head/usr.bin/col/tests/col_test.sh 366577 2020-10-09 15:27:37Z markj $ 16 		col < $(atf_get_srcdir)/nl.in
 22 		col -f < $(atf_get_srcdir)/nl.in
 28 		col < $(atf_get_srcdir)/nl2.in
 34 		col -f < $(atf_get_srcdir)/nl2.in
 40 		col < $(atf_get_srcdir)/nl3.in
 55 		col < $(atf_get_srcdir)/rlf.in
 61 		col < $(atf_get_srcdir)/rlf2.in
 67 		col -x < $(atf_get_srcdir)/rlf2.in
 73 		col < $(atf_get_srcdir)/rlf3.i
 [all...]
 | 
| /src/usr.bin/fold/ | 
| fold.c | 136 	int col, indx, i;  local in function:fold 138 	col = indx = 0;
 146 			col = indx = 0;
 150 		col = new_column_position (col, ch);
 151 		if (col > width) {
 172 				col = 0;
 174 					col = new_column_position (col, buf[i]);
 179 				col = indx = 0
 [all...]
 | 
| /src/usr.sbin/lpr/filters/ | 
| lpf.c | 80 	int i, col;  local in function:main 123 		col = indent;
 148 				if (--col < indent)
 149 					col = indent;
 153 				col = indent;
 157 				col = ((col - indent) | 07) + indent + 1;
 177 				if (col >= width || (!literal && ch < ' ')) {
 178 					col++;
 181 				cp = &buf[0][col];
 [all...]
 | 
| /src/sys/dev/raidframe/ | 
| rf_declusterPQ.h | 40     RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 43     RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap);
 46     RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap);
 
 | 
| rf_paritymap.c | 321 	RF_RowCol_t col;  local in function:rf_paritymap_set_params 362 		for (col = 0; col < raidPtr->numCol; col++) {
 363 			if (RF_DEAD_DISK(raidPtr->Disks[col].status))
 366 			clabel = raidget_component_label(raidPtr, col);
 375 			raidflush_component_label(raidPtr, col);
 379 		for (col = 0; col < raidPtr->numSpare; col++)
 614  RF_RowCol_t col;  local in function:rf_paritymap_attach
 761  RF_RowCol_t col;  local in function:rf_paritymap_get_disable
 788  RF_RowCol_t col;  local in function:rf_paritymap_set_disable
 [all...]
 | 
| rf_raid5_rotatedspare.h | 40     RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 43     RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap);
 
 | 
| /src/usr.bin/cut/ | 
| x_cut.c | 65 	int col;  local in function:CUT_FN 71 		for (col = maxval; col; --col) {
 
 | 
| /src/usr.bin/ul/ | 
| ul.c | 75 static size_t col, maxcol;  variable in typeref:typename:size_t 156 		if (col > 0)
 157 			col--;
 161 		col = (col+8) & ~07;
 162 		if (col > maxcol)
 163 			maxcol = col;
 164 		if (col >= obuf_size)
 169 		col = 0;
 221 		if (obuf[col].c_char
 [all...]
 | 
| /src/games/snake/snake/ | 
| snake.c | 78 	int col, line;  member in struct:point 81 #define	same(s1, s2)	((s1)->line == (s2)->line && (s1)->col == (s2)->col)
 99 #define pchar(point, c)	mvaddch((point)->line + 1, (point)->col + 1, (c))
 253 	ps->col = x;
 270 		move(you.line + 1, you.col + 1);
 309 			repeat = you.col;
 314 			repeat = you.col - money.col;
 327 			repeat = ccnt - 1 - you.col;
 [all...]
 | 
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/ | 
| litlint.py | 50       msg, col = LintLine(s) 54         arrow = (col-1) * ' ' + '^'
 55         sys.stderr.write(errorMsg.format(p, i, col, msg, s, arrow))
 
 |