HomeSort by: relevance | last modified time | path
    Searched refs:col (Results 1 - 25 of 539) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /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
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...]
  /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
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
    [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
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
232 short s, i, j, row, col, t; local
    [all...]
zap.c 71 short dir, d, row, col; local
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
210 short row, col; local
    [all...]
monster.c 150 short row, col; local
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
253 row = col = 0
631 short row, col, i; local
685 short row, col; local
765 short i, row, col; local
795 short i, row, col; local
    [all...]
move.c 72 short row, col; local
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
244 short i, j, i_end, j_end, row, col; local
    [all...]
spec_hit.c 231 short row, col; local
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
266 col = monster->col;
484 short row, col, dir; local
    [all...]
  /src/external/gpl3/gdb/dist/sim/testsuite/common/
bits-tst.c 10 int col)
13 return MASKED (val, row, col);
15 return MASKED8 (val, row, col);
17 return MASKED16 (val, row, col);
19 return MASKED32 (val, row, col);
21 return MASKED64 (val, row, col);
24 return EXTRACTED (val, row, col);
26 return EXTRACTED8 (val, row, col);
28 return EXTRACTED16 (val, row, col);
30 return EXTRACTED32 (val, row, col);
172 int col; local
224 int col; local
259 int col; local
    [all...]
  /src/external/gpl3/gdb.old/dist/sim/testsuite/common/
bits-tst.c 10 int col)
13 return MASKED (val, row, col);
15 return MASKED8 (val, row, col);
17 return MASKED16 (val, row, col);
19 return MASKED32 (val, row, col);
21 return MASKED64 (val, row, col);
24 return EXTRACTED (val, row, col);
26 return EXTRACTED8 (val, row, col);
28 return EXTRACTED16 (val, row, col);
30 return EXTRACTED32 (val, row, col);
172 int col; local
224 int col; local
259 int col; local
    [all...]
  /src/games/testpat/
testpat.c 54 int i, col, colour, line, x_limit, y_limit, colourOK, spacing; local
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/external/gpl3/binutils/dist/binutils/
demanguse.c 34 int col; local
40 col = fprintf (stream, "%s", msg);
43 if (col + strlen (info->demangling_style_name) >= 75)
46 col = fprintf (stream, "%.*s", lead_spaces, msg);
49 col += fprintf (stream, "%s\"%s\"", cont, info->demangling_style_name);
  /src/external/gpl3/binutils.old/dist/binutils/
demanguse.c 34 int col; local
40 col = fprintf (stream, "%s", msg);
43 if (col + strlen (info->demangling_style_name) >= 75)
46 col = fprintf (stream, "%.*s", lead_spaces, msg);
49 col += fprintf (stream, "%s\"%s\"", cont, info->demangling_style_name);
  /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/external/bsd/mdocml/dist/
out.c 124 struct roffcol *col; local
154 icol = dp->layout->col;
157 col = tbl->cols + icol;
158 col->flags |= dp->layout->flags;
170 if (col->width < dp->layout->width)
171 col->width = dp->layout->width;
173 (col->spacing == SIZE_MAX ||
174 col->spacing < dp->layout->spacing))
175 col->spacing = dp->layout->spacing;
183 dp->hspans == 0 ? col : NULL
    [all...]
  /src/usr.bin/fold/
fold.c 136 int col, indx, i; local
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/external/ibm-public/postfix/dist/mantools/
spell 9 mantools/html2readme $i | col -b | spell | grep -F -vxf proto/stop
  /src/usr.sbin/lpr/filters/
lpf.c 80 int i, col; local
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);
  /src/external/gpl2/groff/dist/src/devices/grohtml/
output.cpp 150 : fp(f), max_line_length(n), col(0), fixed_point(0), newlines(0)
173 if (col != 0) {
175 col = 0;
188 if (col != 0)
193 col = 0;
200 if (col != 0)
202 col = 0;
224 if ((col + n + last_word.get_length() + 1 > max_line_length) && (newlines)) {
226 col = last_word.flush(fp);
238 if ((col + last_word.get_length() + 1 > max_line_length) && (newlines))
    [all...]
  /src/usr.bin/cut/
x_cut.c 65 int col; local
71 for (col = maxval; col; --col) {
  /src/usr.bin/ul/
ul.c 75 static size_t col, maxcol; variable
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/external/bsd/nvi/dist/ex/
ex_print.c 105 size_t col, len; local
113 col = 0;
126 if (ex_prchars(sp, p, &col, 8, 0, 0))
141 else if (ex_ldisplay(sp, p, len, col, flags))
157 ex_ldisplay(SCR *sp, const CHAR_T *p, size_t len, size_t col, u_int flags)
159 if (len > 0 && ex_prchars(sp, p, &col, len, LF_ISSET(E_C_LIST), 0))
163 if (ex_prchars(sp, p, &col, 1, LF_ISSET(E_C_LIST), 0))
182 size_t col, len; local
184 col = 0;
187 if (ex_prchars(sp, p, &col, 8, 0, 0)
220 size_t col, tlen, ts; local
    [all...]

Completed in 43 milliseconds

1 2 3 4 5 6 7 8 91011>>