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

123456789

/freebsd-12-stable/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-12-stable/sys/gnu/dts/include/dt-bindings/input/
H A Dinput.h15 #define MATRIX_KEY(row, col, code) \
16 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/freebsd-12-stable/usr.bin/systat/
H A Dkeyboard.c67 col = 0;
103 line[col] = '\0';
133 if (col == 0) {
147 if (ch == erasechar() && col > 0) {
148 if (col == 1 && line[0] == ':')
150 col--;
153 if (ch == CTRL('w') && col > 0) {
154 while (--col >= 0 && isspace(line[col]))
156 col
[all...]
H A Dsysput.c43 sysputspaces(WINDOW *wd, int row, int col, int width) argument
48 mvwaddstr(wd, row, col, str60 + sizeof(str60) - width - 1);
52 sysputstrs(WINDOW *wd, int row, int col, int width) argument
57 mvwaddstr(wnd, row, col, str60 + sizeof(str60) - width - 1);
61 sysputXs(WINDOW *wd, int row, int col, int width) argument
66 mvwaddstr(wnd, row, col, str60 + sizeof(str60) - width - 1);
70 sysputuint64(WINDOW *wd, int row, int col, int width, uint64_t val, int flags) argument
90 mvwaddstr(wd, row, col, start);
94 sysputstrs(wd, row, col, width);
98 sysputwuint64(WINDOW *wd, int row, int col, in argument
120 sysputpage(WINDOW *wd, int row, int col, int width, uint64_t pages, int flags) argument
[all...]
/freebsd-12-stable/usr.bin/fold/
H A Dfold.c161 int col, i, indx, space; local
164 col = indx = 0;
168 col = indx = 0;
171 if ((col = newpos(col, ch)) > width) {
183 col = 0;
185 col = newpos(col, buf[i]);
188 col = indx = 0;
190 col
209 newpos(int col, wint_t ch) argument
[all...]
/freebsd-12-stable/usr.bin/col/tests/
H A Dcol_test.sh15 col < $(atf_get_srcdir)/nl.in
21 col -f < $(atf_get_srcdir)/nl.in
27 col < $(atf_get_srcdir)/nl2.in
33 col -f < $(atf_get_srcdir)/nl2.in
39 col < $(atf_get_srcdir)/nl3.in
54 col < $(atf_get_srcdir)/rlf.in
60 col < $(atf_get_srcdir)/rlf2.in
66 col -x < $(atf_get_srcdir)/rlf2.in
72 col < $(atf_get_srcdir)/rlf3.in
87 col <
[all...]
/freebsd-12-stable/usr.bin/col/
H A DMakefile6 PROG= col
/freebsd-12-stable/usr.sbin/lpr/filters/
H A Dlpf.c81 register int i, col; local
125 col = indent;
144 if (--col < indent)
145 col = indent;
149 col = indent;
153 col = ((col - indent) | 07) + indent + 1;
172 if (col >= width || (!literal && ch < ' ')) {
173 col++;
176 cp = &buf[0][col];
[all...]
/freebsd-12-stable/contrib/ncurses/ncurses/widechar/
H A Dlib_in_wch.c47 int row, col; local
53 getyx(win, row, col);
55 *wcval = win->_line[row].text[col];
H A Dlib_in_wchnstr.c53 int row, col; local
56 getyx(win, row, col);
57 limit = getmaxx(win) - col;
58 src = &(win->_line[row].text[col]);
H A Dlib_vline_set.c48 int row, col; local
56 col = win->_curx;
69 line->text[col] = wch;
70 CHANGED_CELL(line, col);
H A Dlib_inwstr.c47 int row, col, inx; local
56 getyx(win, row, col);
60 if (!isWidecExt(text[col])) {
62 && ((wch = text[col].chars[inx]) != 0);
74 if (++col > win->_maxx) {
/freebsd-12-stable/contrib/ncurses/ncurses/base/
H A Dlib_vline.c49 int row, col; local
57 col = win->_curx;
70 line->text[col] = wch;
71 CHANGED_CELL(line, col);
H A Dlib_instr.c49 int i = 0, row, col; local
57 getyx(win, row, col);
64 cchar_t *cell = &(win->_line[row].text[col]);
106 str[i++] = (char) CharOf(win->_line[row].text[col]);
108 if (++col > win->_maxx) {
/freebsd-12-stable/usr.bin/ul/
H A Dul.c86 static int col, maxcol; variable
141 (void)strcpy(termcap, "dumb:os:col#80:cr=^M:sf=^J:am:");
181 if (col == buflen) {
199 if (col > 0)
200 col--;
204 col = (col+8) & ~07;
205 if (col > maxcol)
206 maxcol = col;
210 col
[all...]
/freebsd-12-stable/contrib/nvi/ex/
H A Dex_print.c96 size_t col, len; local
104 col = 0;
117 if (ex_prchars(sp, p, &col, 8, 0, 0))
131 else if (ex_ldisplay(sp, p, len, col, flags))
147 ex_ldisplay(SCR *sp, const CHAR_T *p, size_t len, size_t col, u_int flags) argument
149 if (len > 0 && ex_prchars(sp, p, &col, len, LF_ISSET(E_C_LIST), 0))
153 if (ex_prchars(sp, p, &col, 1, LF_ISSET(E_C_LIST), 0))
171 size_t col, len; local
173 col = 0;
176 if (ex_prchars(sp, p, &col,
209 size_t col, tlen, ts; local
[all...]
H A Dex_screen.c105 int cnt, col, len, sep; local
113 col = len = sep = 0;
116 col += len = strlen(tsp->frp->name) + sep;
117 if (col >= sp->cols - 1) {
118 col = len;
/freebsd-12-stable/contrib/mandoc/
H A Dout.c121 struct roffcol *col; local
151 icol = dp->layout->col;
154 col = tbl->cols + icol;
155 col->flags |= dp->layout->flags;
167 if (col->width < dp->layout->width)
168 col->width = dp->layout->width;
170 (col->spacing == SIZE_MAX ||
171 col->spacing < dp->layout->spacing))
172 col->spacing = dp->layout->spacing;
180 dp->hspans == 0 ? col
418 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp, size_t mw) argument
447 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp, size_t mw) argument
484 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
[all...]
H A Ddemandoc.c114 int line, col; local
120 col = 0;
123 pmdoc(meta->first->child, &line, &col, list);
125 pman(meta->first->child, &line, &col, list);
135 pstring(const char *p, int col, int *colp, int list) argument
194 while (*colp < col) {
215 pline(int line, int *linep, int *col, int list) argument
231 *col = 0;
235 pmdoc(const struct roff_node *p, int *line, int *col, int list) argument
240 pline(p->line, line, col, lis
249 pman(const struct roff_node *p, int *line, int *col, int list) argument
[all...]
/freebsd-12-stable/crypto/openssl/ssl/
H A Dd1_srtp.c66 char *col; local
77 col = strchr(ptr, ':');
79 if (!find_profile_by_name(ptr, &p, col ? (size_t)(col - ptr)
98 if (col)
99 ptr = col + 1;
100 } while (col);
/freebsd-12-stable/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-12-stable/contrib/openpam/
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-12-stable/contrib/libevent/
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-12-stable/sys/contrib/zstd/tests/gzip/
H A Dtest-driver.sh117 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-12-stable/contrib/ntp/libntp/
H A Ddecodenetnum.c111 char *col = strchr(haddr, ':'); local
113 if (col == dot) {
116 } else if (!col) {
119 } else if (!dot || col < dot) {
125 port = _num_or_dflt(_chop(col), 0xFFFFu, port);

Completed in 289 milliseconds

123456789