Searched refs:col (Results 1 - 25 of 219) sorted by relevance

123456789

/freebsd-current/contrib/vis/
H A Dfoldit.c45 foldit(const char *chunk, int col, int max, int flags) argument
59 col = 0;
62 col = (col + 8) &~ 07;
65 col = col ? col - 1 : 0;
68 col++;
70 if (col > (max - 2)) {
72 col
[all...]
/freebsd-current/sys/contrib/device-tree/include/dt-bindings/input/
H A Dinput.h15 #define MATRIX_KEY(row, col, code) \
16 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/freebsd-current/usr.bin/systat/
H A Dkeyboard.c61 col = 0;
97 line[col] = '\0';
127 if (col == 0) {
141 if (ch == erasechar() && col > 0) {
142 if (col == 1 && line[0] == ':')
144 col--;
147 if (ch == CTRL('w') && col > 0) {
148 while (--col >= 0 && isspace(line[col]))
150 col
[all...]
/freebsd-current/usr.bin/fold/
H A Dfold.c146 int col, i, indx, space; local
149 col = indx = 0;
153 col = indx = 0;
156 if ((col = newpos(col, ch)) > width) {
168 col = 0;
170 col = newpos(col, buf[i]);
173 col = indx = 0;
175 col
194 newpos(int col, wint_t ch) argument
[all...]
/freebsd-current/usr.bin/col/tests/
H A Dcol_test.sh14 col < $(atf_get_srcdir)/nl.in
20 col -f < $(atf_get_srcdir)/nl.in
26 col < $(atf_get_srcdir)/nl2.in
32 col -f < $(atf_get_srcdir)/nl2.in
38 col < $(atf_get_srcdir)/nl3.in
53 col < $(atf_get_srcdir)/rlf.in
59 col < $(atf_get_srcdir)/rlf2.in
65 col -x < $(atf_get_srcdir)/rlf2.in
71 col < $(atf_get_srcdir)/rlf3.in
86 col <
[all...]
/freebsd-current/contrib/ncurses/ncurses/base/
H A Dlib_vline.c58 int col = win->_curx; local
73 if (col > 0 && isWidecExt(line->text[col])) {
74 SetChar2(line->text[col - 1], ' ');
76 if (col < win->_maxx && isWidecExt(line->text[col + 1])) {
77 SetChar2(line->text[col + 1], ' ');
80 line->text[col] = wch;
81 CHANGED_CELL(line, col);
H A Dlib_inchstr.c58 int col = win->_curx; local
61 for (; (n < 0 || (i < n)) && (col + i <= win->_maxx); i++) {
62 str[i] = (((chtype) CharOf(text[col + i]) & A_CHARTEXT) |
63 AttrOf(text[col + i]));
/freebsd-current/contrib/tzcode/
H A Dworkman.sh36 elif (type mandoc && type col) >/dev/null 2>&1; then
37 mandoc -man -T ascii "$@" | col -bx
39 echo >&2 "$0: please install nroff and perl, or mandoc and col"
/freebsd-current/usr.bin/col/
H A DMakefile4 PROG= col
/freebsd-current/contrib/mandoc/
H A Dout.c124 struct roffcol *col; local
153 icol = dp->layout->col;
156 col = tbl->cols + icol;
157 col->flags |= dp->layout->flags;
169 if (col->width < dp->layout->width)
170 col->width = dp->layout->width;
172 (col->spacing == SIZE_MAX ||
173 col->spacing < dp->layout->spacing))
174 col->spacing = dp->layout->spacing;
182 dp->hspans == 0 ? col
407 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp, size_t mw) argument
436 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp, size_t mw) argument
473 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
[all...]
/freebsd-current/usr.sbin/lpr/filters/
H A Dlpf.c67 register int i, col; local
111 col = indent;
130 if (--col < indent)
131 col = indent;
135 col = indent;
139 col = ((col - indent) | 07) + indent + 1;
158 if (col >= width || (!literal && ch < ' ')) {
159 col++;
162 cp = &buf[0][col];
[all...]
/freebsd-current/contrib/bsddialog/utility/
H A Dutil_theme.c372 enum bsddialog_color col[6]; local
383 col[i] = rand() % 8;
384 } while (colors[col[i]] == 1);
385 colors[col[i]] = 1;
388 t.screen.color = bsddialog_color(col[4], col[3], 0);
390 t.shadow.color = bsddialog_color(col[0], col[0], 0);
395 t.dialog.titlecolor = bsddialog_color(col[3], col[
[all...]
/freebsd-current/contrib/ncurses/ncurses/widechar/
H A Dlib_in_wch.c54 int row, col; local
56 getyx(win, row, col);
58 *wcval = win->_line[row].text[col];
H A Dlib_in_wchnstr.c54 int row, col; local
57 getyx(win, row, col);
58 limit = getmaxx(win) - col;
59 src = &(win->_line[row].text[col]);
H A Dlib_inwstr.c54 int row, col; local
58 getyx(win, row, col);
63 if (!isWidecExt(text[col])) {
68 && ((wch = text[col].chars[inx]) != 0);
83 if (++col > win->_maxx) {
H A Dlib_vline_set.c55 int col = win->_curx; local
69 line->text[col] = wch;
70 CHANGED_CELL(line, col);
/freebsd-current/usr.bin/ul/
H A Dul.c72 static int col, maxcol; variable
127 (void)strcpy(termcap, "dumb:os:col#80:cr=^M:sf=^J:am:");
167 if (col == buflen) {
185 if (col > 0)
186 col--;
190 col = (col+8) & ~07;
191 if (col > maxcol)
192 maxcol = col;
196 col
[all...]
/freebsd-current/contrib/nvi/ex/
H A Dex_print.c92 size_t col, len; local
100 col = 0;
113 if (ex_prchars(sp, p, &col, 8, 0, 0))
127 else if (ex_ldisplay(sp, p, len, col, flags))
143 ex_ldisplay(SCR *sp, const CHAR_T *p, size_t len, size_t col, u_int flags) argument
145 if (len > 0 && ex_prchars(sp, p, &col, len, LF_ISSET(E_C_LIST), 0))
149 if (ex_prchars(sp, p, &col, 1, LF_ISSET(E_C_LIST), 0))
167 size_t col, len; local
169 col = 0;
172 if (ex_prchars(sp, p, &col,
205 size_t col, tlen, ts; local
[all...]
/freebsd-current/crypto/openssl/ssl/
H A Dd1_srtp.c66 char *col; local
76 col = strchr(ptr, ':');
78 if (!find_profile_by_name(ptr, &p, col ? (size_t)(col - ptr)
94 if (col)
95 ptr = col + 1;
96 } while (col);
/freebsd-current/stand/i386/common/
H A Dcons.c54 getcursor(int *row, int *col) argument
64 if (col != NULL)
65 *col = v86.edx & 0xff;
71 int i, col; local
78 col = 0;
79 getcursor(NULL, &col);
80 col = 8 - (col % 8);
81 for (i = 0; i < col; i++)
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A Damxintrin.h308 const unsigned short col; member in struct:__tile1024i_str
328 dst->tile = _tile_loadd_internal(dst->row, dst->col, base, stride);
349 dst->tile = _tile_loaddt1_internal(dst->row, dst->col, base, stride);
371 dst->tile = _tile_dpbssd_internal(src0.row, src1.col, src0.col, dst->tile,
394 dst->tile = _tile_dpbsud_internal(src0.row, src1.col, src0.col, dst->tile,
417 dst->tile = _tile_dpbusd_internal(src0.row, src1.col, src0.col, dst->tile,
440 dst->tile = _tile_dpbuud_internal(src0.row, src1.col, src
[all...]
H A Damxcomplexintrin.h141 dst->tile = _tile_cmmimfp16ps_internal(src0.row, src1.col, src0.col,
164 dst->tile = _tile_cmmrlfp16ps_internal(src0.row, src1.col, src0.col,
/freebsd-current/contrib/ntp/sntp/libevent/build-aux/
H A Dtest-driver117 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
118 0:*) col=$grn res=PASS recheck=no gcopy=no;;
119 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
120 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
121 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
122 *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
132 echo "${col}${res}${std}: $test_name"
/freebsd-current/contrib/openpam/
H A Dtest-driver122 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
123 0:*) col=$grn res=PASS recheck=no gcopy=no;;
124 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
125 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
126 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
127 *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
137 echo "${col}${res}${std}: $test_name"
/freebsd-current/contrib/libevent/build-aux/
H A Dtest-driver117 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
118 0:*) col=$grn res=PASS recheck=no gcopy=no;;
119 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
120 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
121 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
122 *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
132 echo "${col}${res}${std}: $test_name"

Completed in 190 milliseconds

123456789