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

12345678910

/freebsd-11-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-11-stable/sys/gnu/dts/include/dt-bindings/input/
H A Dinput.h14 #define MATRIX_KEY(row, col, code) \
15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/freebsd-11-stable/usr.bin/systat/
H A Dkeyboard.c65 col = 0;
101 line[col] = '\0';
131 if (col == 0) {
145 if (ch == erasechar() && col > 0) {
146 if (col == 1 && line[0] == ':')
148 col--;
151 if (ch == CTRL('w') && col > 0) {
152 while (--col >= 0 && isspace(line[col]))
154 col
[all...]
H A Dsysput.c44 sysputspaces(WINDOW *wd, int row, int col, int width) argument
48 mvwaddstr(wd, row, col, str40 + sizeof(str40) - width - 1);
52 sysputstrs(WINDOW *wd, int row, int col, int width) argument
56 mvwaddstr(wnd, row, col, str40 + sizeof(str40) - width - 1);
60 sysputuint64(WINDOW *wd, int row, int col, int width, uint64_t val, int flags) argument
80 mvwaddstr(wd, row, col, start);
84 sysputstrs(wd, row, col, width);
88 sysputwuint64(WINDOW *wd, int row, int col, int width, uint64_t val, int flags) argument
91 sysputspaces(wd, row, col, width);
93 sysputuint64(wd, row, col, widt
110 sysputpage(WINDOW *wd, int row, int col, int width, uint64_t pages, int flags) argument
[all...]
/freebsd-11-stable/usr.bin/fold/
H A Dfold.c159 int col, i, indx, space; local
162 col = indx = 0;
166 col = indx = 0;
169 if ((col = newpos(col, ch)) > width) {
181 col = 0;
183 col = newpos(col, buf[i]);
186 col = indx = 0;
188 col
207 newpos(int col, wint_t ch) argument
[all...]
/freebsd-11-stable/usr.bin/col/tests/
H A Dcol_test.sh1 # $FreeBSD: stable/11/usr.bin/col/tests/col_test.sh 316256 2017-03-30 06:20:24Z ngie $
15 col < $(atf_get_srcdir)/rlf.in
21 col < $(atf_get_srcdir)/rlf2.in
27 col -x < $(atf_get_srcdir)/rlf2.in
/freebsd-11-stable/usr.bin/col/
H A DMakefile6 PROG= col
/freebsd-11-stable/contrib/mdocml/
H A Dout.c112 struct roffcol *col; local
143 icol = dp->layout->col;
146 col = tbl->cols + icol;
147 col->flags |= dp->layout->flags;
156 if (col->width < dp->layout->width)
157 col->width = dp->layout->width;
159 (col->spacing == SIZE_MAX ||
160 col->spacing < dp->layout->spacing))
161 col->spacing = dp->layout->spacing;
162 tblcalc_data(tbl, col, opt
255 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp, size_t mw) argument
286 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp, size_t mw) argument
319 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
[all...]
H A Ddemandoc.c113 int line, col; local
119 col = 0;
125 pmdoc(man->first->child, &line, &col, list);
128 pman(man->first->child, &line, &col, list);
139 pstring(const char *p, int col, int *colp, int list) argument
198 while (*colp < col) {
219 pline(int line, int *linep, int *col, int list) argument
235 *col = 0;
239 pmdoc(const struct roff_node *p, int *line, int *col, int list) argument
244 pline(p->line, line, col, lis
253 pman(const struct roff_node *p, int *line, int *col, int list) argument
[all...]
/freebsd-11-stable/usr.sbin/lpr/filters/
H A Dlpf.c79 register int i, col; local
123 col = indent;
142 if (--col < indent)
143 col = indent;
147 col = indent;
151 col = ((col - indent) | 07) + indent + 1;
170 if (col >= width || (!literal && ch < ' ')) {
171 col++;
174 cp = &buf[0][col];
[all...]
/freebsd-11-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-11-stable/contrib/groff/src/devices/grohtml/
H A Doutput.cpp148 : fp(f), max_line_length(n), col(0), fixed_point(0), newlines(0)
171 if (col != 0) {
173 col = 0;
186 if (col != 0)
191 col = 0;
198 if (col != 0)
200 col = 0;
222 if ((col + n + last_word.get_length() + 1 > max_line_length) && (newlines)) {
224 col = last_word.flush(fp);
236 if ((col
[all...]
/freebsd-11-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-11-stable/usr.bin/ul/
H A Dul.c84 static int col, maxcol; variable
139 (void)strcpy(termcap, "dumb:os:col#80:cr=^M:sf=^J:am:");
179 if (col == buflen) {
197 if (col > 0)
198 col--;
202 col = (col+8) & ~07;
203 if (col > maxcol)
204 maxcol = col;
208 col
[all...]
/freebsd-11-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-11-stable/contrib/groff/src/preproc/eqn/
H A Dpile.cpp31 for (i = 0; i < col.len; i++)
32 col.p[i]->compute_metrics(style);
34 for (i = 0; i < col.len; i++)
35 printf(">?\\n[" WIDTH_FORMAT "]", col.p[i]->uid);
38 uid, baseline_sep+col.space);
39 for (i = 1; i < col.len; i++)
41 col.p[i-1]->uid, col.p[i]->uid, default_rule_thickness*5);
47 uid, uid, col.len-1, axis_height - shift_down);
50 uid, uid, col
[all...]
/freebsd-11-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-11-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-11-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);
/freebsd-11-stable/usr.bin/tip/tip/
H A Dvalue.c54 static size_t col = 0; variable
162 if (col > 0) {
164 col = 0;
211 if (col > 0 && col < MIDDLE)
212 while (col++ < MIDDLE)
214 col += size(p->v_name);
219 col++;
227 col++;
230 col
[all...]

Completed in 137 milliseconds

12345678910