Home
last modified time | relevance | path

Searched refs:col (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/freebsd-11-stable/contrib/mdocml/
HDout.c112 struct roffcol *col; in tblcalc() local
143 icol = dp->layout->col; in tblcalc()
146 col = tbl->cols + icol; in tblcalc()
147 col->flags |= dp->layout->flags; in tblcalc()
156 if (col->width < dp->layout->width) in tblcalc()
157 col->width = dp->layout->width; in tblcalc()
159 (col->spacing == SIZE_MAX || in tblcalc()
160 col->spacing < dp->layout->spacing)) in tblcalc()
161 col->spacing = dp->layout->spacing; in tblcalc()
162 tblcalc_data(tbl, col, opts, dp, in tblcalc()
[all …]
HDterm.c133 p->tcol->col = 0; in term_flushln()
134 while (p->tcol->col < p->tcol->lastcol) { in term_flushln()
142 while (p->tcol->col < p->tcol->lastcol && in term_flushln()
143 p->tcol->buf[p->tcol->col] == '\t') { in term_flushln()
148 p->tcol->col++; in term_flushln()
160 for (j = p->tcol->col; j < p->tcol->lastcol; j++) { in term_flushln()
228 for ( ; p->tcol->col < p->tcol->lastcol; p->tcol->col++) { in term_flushln()
229 if (vend > bp && jhy > 0 && p->tcol->col > jhy) in term_flushln()
231 if (p->tcol->buf[p->tcol->col] == '\n') in term_flushln()
233 if (p->tcol->buf[p->tcol->col] == '\t') in term_flushln()
[all …]
HDdemandoc.c113 int line, col; in pmandoc() local
119 col = 0; in pmandoc()
125 pmdoc(man->first->child, &line, &col, list); in pmandoc()
128 pman(man->first->child, &line, &col, list); in pmandoc()
139 pstring(const char *p, int col, int *colp, int list) in pstring() argument
198 while (*colp < col) { in pstring()
219 pline(int line, int *linep, int *col, int list) in pline() argument
235 *col = 0; in pline()
239 pmdoc(const struct roff_node *p, int *line, int *col, int list) in pmdoc() argument
244 pline(p->line, line, col, list); in pmdoc()
[all …]
HDtbl_term.c206 tp->col = 0; in term_tbl()
323 if (tp->tcol->col < tp->tcol->lastcol) in term_tbl()
325 if (tp->tcol->col < tp->tcol->lastcol) in term_tbl()
393 sp->layout->last->col + 1 == sp->opts->cols) || in term_tbl()
396 sp->next->layout->last->col + 1 == sp->opts->cols) || in term_tbl()
399 sp->prev->layout->last->col + 1 == sp->opts->cols && in term_tbl()
408 sp->layout->last->col + 1 < sp->opts->cols)) { in term_tbl()
461 const struct roffcol *col; in tbl_hrule() local
478 col = tp->tbl.cols + cp->col; in tbl_hrule()
479 tbl_char(tp, line, col->width + col->spacing / 2); in tbl_hrule()
[all …]
/freebsd-11-stable/usr.bin/systat/
HDkeyboard.c65 col = 0; in keyboard()
101 line[col] = '\0'; in keyboard()
131 if (col == 0) { in keyboard_dispatch()
145 if (ch == erasechar() && col > 0) { in keyboard_dispatch()
146 if (col == 1 && line[0] == ':') in keyboard_dispatch()
148 col--; in keyboard_dispatch()
151 if (ch == CTRL('w') && col > 0) { in keyboard_dispatch()
152 while (--col >= 0 && isspace(line[col])) in keyboard_dispatch()
154 col++; in keyboard_dispatch()
155 while (--col >= 0 && !isspace(line[col])) in keyboard_dispatch()
[all …]
HDsysput.c44 sysputspaces(WINDOW *wd, int row, int col, int width) in sysputspaces() argument
48 mvwaddstr(wd, row, col, str40 + sizeof(str40) - width - 1); in sysputspaces()
52 sysputstrs(WINDOW *wd, int row, int col, int width) in sysputstrs() argument
56 mvwaddstr(wnd, row, col, str40 + sizeof(str40) - width - 1); in sysputstrs()
60 sysputuint64(WINDOW *wd, int row, int col, int width, uint64_t val, int flags) in sysputuint64() argument
80 mvwaddstr(wd, row, col, start); in sysputuint64()
84 sysputstrs(wd, row, col, width); in sysputuint64()
88 sysputwuint64(WINDOW *wd, int row, int col, int width, uint64_t val, int flags) in sysputwuint64() argument
91 sysputspaces(wd, row, col, width); in sysputwuint64()
93 sysputuint64(wd, row, col, width, val, flags); in sysputwuint64()
[all …]
/freebsd-11-stable/usr.bin/ul/
HDul.c84 static int col, maxcol; variable
179 if (col == buflen) { in filter()
197 if (col > 0) in filter()
198 col--; in filter()
202 col = (col+8) & ~07; in filter()
203 if (col > maxcol) in filter()
204 maxcol = col; in filter()
208 col = 0; in filter()
258 if (obuf[col].c_char || obuf[col].c_width < 0) { in filter()
259 while (col > 0 && obuf[col].c_width < 0) in filter()
[all …]
/freebsd-11-stable/usr.bin/fold/
HDfold.c159 int col, i, indx, space; in fold() local
162 col = indx = 0; in fold()
166 col = indx = 0; in fold()
169 if ((col = newpos(col, ch)) > width) { in fold()
181 col = 0; in fold()
183 col = newpos(col, buf[i]); in fold()
186 col = indx = 0; in fold()
188 col = newpos(col, ch); in fold()
207 newpos(int col, wint_t ch) in newpos() argument
215 col += len; in newpos()
[all …]
/freebsd-11-stable/contrib/groff/src/devices/grohtml/
HDoutput.cpp148 : fp(f), max_line_length(n), col(0), fixed_point(0), newlines(0) in simple_output()
171 if (col != 0) { in end_line()
173 col = 0; in end_line()
186 if (col != 0) in simple_comment()
191 col = 0; in simple_comment()
198 if (col != 0) in begin_comment()
200 col = 0; in begin_comment()
222 if ((col + n + last_word.get_length() + 1 > max_line_length) && (newlines)) { in check_newline()
224 col = last_word.flush(fp); in check_newline()
236 if ((col + last_word.get_length() + 1 > max_line_length) && (newlines)) { in space_or_newline()
[all …]
/freebsd-11-stable/contrib/vis/
HDfoldit.c45 foldit(const char *chunk, int col, int max, int flags) in foldit() argument
59 col = 0; in foldit()
62 col = (col + 8) &~ 07; in foldit()
65 col = col ? col - 1 : 0; in foldit()
68 col++; in foldit()
70 if (col > (max - 2)) { in foldit()
72 col = 0; in foldit()
77 return (col); in foldit()
/freebsd-11-stable/contrib/nvi/ex/
HDex_print.c96 size_t col, len; in ex_print() local
104 col = 0; in ex_print()
117 if (ex_prchars(sp, p, &col, 8, 0, 0)) in ex_print()
131 else if (ex_ldisplay(sp, p, len, col, flags)) in ex_print()
147 ex_ldisplay(SCR *sp, const CHAR_T *p, size_t len, size_t col, u_int flags) in ex_ldisplay() argument
149 if (len > 0 && ex_prchars(sp, p, &col, len, LF_ISSET(E_C_LIST), 0)) in ex_ldisplay()
153 if (ex_prchars(sp, p, &col, 1, LF_ISSET(E_C_LIST), 0)) in ex_ldisplay()
171 size_t col, len; in ex_scprint() local
173 col = 0; in ex_scprint()
176 if (ex_prchars(sp, p, &col, 8, 0, 0)) in ex_scprint()
[all …]
/freebsd-11-stable/contrib/groff/src/preproc/eqn/
HDpile.cpp31 for (i = 0; i < col.len; i++) in compute_metrics()
32 col.p[i]->compute_metrics(style); in compute_metrics()
34 for (i = 0; i < col.len; i++) in compute_metrics()
35 printf(">?\\n[" WIDTH_FORMAT "]", col.p[i]->uid); in compute_metrics()
38 uid, baseline_sep+col.space); in compute_metrics()
39 for (i = 1; i < col.len; i++) in compute_metrics()
41 col.p[i-1]->uid, col.p[i]->uid, default_rule_thickness*5); in compute_metrics()
47 uid, uid, col.len-1, axis_height - shift_down); in compute_metrics()
50 uid, uid, col.p[0]->uid); in compute_metrics()
53 uid, uid, col.len-1, col.p[col.len-1]->uid, uid); in compute_metrics()
[all …]
/freebsd-11-stable/usr.sbin/lpr/filters/
HDlpf.c79 register int i, col; in main() local
123 col = indent; in main()
142 if (--col < indent) in main()
143 col = indent; in main()
147 col = indent; in main()
151 col = ((col - indent) | 07) + indent + 1; in main()
170 if (col >= width || (!literal && ch < ' ')) { in main()
171 col++; in main()
174 cp = &buf[0][col]; in main()
180 if (col > maxcol[i]) in main()
[all …]
/freebsd-11-stable/lib/libiconv_modules/MSKanji/
HDcitrus_mskanji.c288 _index_t col, row; in _citrus_MSKanji_stdenc_wctocs() local
334 col = (_wc_t)wc & 0xFF; in _citrus_MSKanji_stdenc_wctocs()
335 if (!_mskanji1(row) || !_mskanji2(col)) in _citrus_MSKanji_stdenc_wctocs()
353 col -= 0x1F; in _citrus_MSKanji_stdenc_wctocs()
354 if (col >= 0x61) in _citrus_MSKanji_stdenc_wctocs()
355 col -= 1; in _citrus_MSKanji_stdenc_wctocs()
356 if (col > 0x7E) { in _citrus_MSKanji_stdenc_wctocs()
358 col -= 0x5E; in _citrus_MSKanji_stdenc_wctocs()
360 *idx = ((_index_t)row << 8) | col; in _citrus_MSKanji_stdenc_wctocs()
371 uint32_t col, row; in _citrus_MSKanji_stdenc_cstowc() local
[all …]
/freebsd-11-stable/contrib/groff/src/devices/grops/
HDps.cpp93 : fp(f), col(0), max_line_length(n), need_space(0), fixed_point(0) in ps_output()
100 col = 0; in set_file()
114 if (col != 0) { in end_line()
116 col = 0; in end_line()
126 if (col != 0) { in special()
128 col = 0; in special()
139 if (col != 0) in simple_comment()
145 col = 0; in simple_comment()
152 if (col != 0) in begin_comment()
157 col = 2 + strlen(s); in begin_comment()
[all …]
/freebsd-11-stable/usr.bin/cut/
HDcut.c238 int ch, col; in b_cut() local
244 for (col = maxval; col; --col) { in b_cut()
272 size_t col, i, lbuflen; in b_n_cut() local
280 for (col = 0; lbuflen > 0; col += clen) { in b_n_cut()
291 if (col < maxval && !positions[1 + col]) { in b_n_cut()
298 i = col; in b_n_cut()
299 while (i < col + clen && i < maxval && in b_n_cut()
302 canwrite = i < col + clen; in b_n_cut()
303 for (; i < col + clen && i < maxval; i++) in b_n_cut()
313 for (i = col; i < col + clen; i++) in b_n_cut()
[all …]
/freebsd-11-stable/stand/pc98/libpc98/
HDvidconsole.c74 static int row = 25, col = 80; variable
200 crtat -= (crtat - Crtat) % col;
203 crtat += col;
211 if (crtat >= Crtat + col * row) {
214 bcopy((void *)(cp + col), (void *)cp, col * 2);
215 cp += col;
217 for (i = 0; i < col; i++) {
220 crtat -= col;
294 curx = pos % col; in get_pos()
295 cury = pos / col; in get_pos()
[all …]
/freebsd-11-stable/usr.bin/tip/tip/
HDvalue.c54 static size_t col = 0; variable
162 if (col > 0) { in vlex()
164 col = 0; in vlex()
211 if (col > 0 && col < MIDDLE) in vprint()
212 while (col++ < MIDDLE) in vprint()
214 col += size(p->v_name); in vprint()
219 col++; in vprint()
227 col++; in vprint()
230 col += size(cp); in vprint()
236 col += 6; in vprint()
[all …]
/freebsd-11-stable/contrib/atf/atf-c++/detail/
Dprocess_test.cpp120 std::vector< std::string > col; in ATF_TEST_CASE_BODY() local
121 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY()
127 std::vector< std::string > col; in ATF_TEST_CASE_BODY() local
128 col.push_back("arg0"); in ATF_TEST_CASE_BODY()
129 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY()
132 ATF_REQUIRE_EQ(argv[0], col[0]); in ATF_TEST_CASE_BODY()
136 std::vector< std::string > col; in ATF_TEST_CASE_BODY() local
137 col.push_back("arg0"); in ATF_TEST_CASE_BODY()
138 col.push_back("arg1"); in ATF_TEST_CASE_BODY()
139 col.push_back("arg2"); in ATF_TEST_CASE_BODY()
[all …]
/freebsd-11-stable/contrib/subversion/subversion/svn/
HDmergeinfo-cmd.c107 int row, col; in mergeinfo_diagram() local
176 for (col = 0; col < COLS; col++) in mergeinfo_diagram()
178 col_width[col] = 0; in mergeinfo_diagram()
181 if (g[row][col] && ((int)strlen(g[row][col]) > col_width[col])) in mergeinfo_diagram()
182 col_width[col] = (int)strlen(g[row][col]); in mergeinfo_diagram()
200 for (col = 0; col < COLS; col++) in mergeinfo_diagram()
202 if (g[row][col]) in mergeinfo_diagram()
204 SVN_ERR(svn_cmdline_fputs(g[row][col], stdout, pool)); in mergeinfo_diagram()
209 SVN_ERR(svn_cmdline_printf(pool, "%*s", col_width[col], "")); in mergeinfo_diagram()
/freebsd-11-stable/lib/libiconv_modules/mapper_zone/
HDcitrus_mapper_zone.c349 uint32_t col, row; in _citrus_mapper_zone_mapper_convert() local
352 col = src; in _citrus_mapper_zone_mapper_convert()
354 if (col < mz->mz_col.z_begin || col > mz->mz_col.z_end) in _citrus_mapper_zone_mapper_convert()
357 col += (uint32_t)mz->mz_col_offset; in _citrus_mapper_zone_mapper_convert()
359 col -= (uint32_t)-mz->mz_col_offset; in _citrus_mapper_zone_mapper_convert()
360 *dst = col; in _citrus_mapper_zone_mapper_convert()
362 col = src & (((uint32_t)1 << mz->mz_col_bits) - 1); in _citrus_mapper_zone_mapper_convert()
365 col < mz->mz_col.z_begin || col > mz->mz_col.z_end) in _citrus_mapper_zone_mapper_convert()
368 col += (uint32_t)mz->mz_col_offset; in _citrus_mapper_zone_mapper_convert()
370 col -= (uint32_t)-mz->mz_col_offset; in _citrus_mapper_zone_mapper_convert()
[all …]
/freebsd-11-stable/contrib/groff/src/preproc/tbl/
HDmain.cpp1112 int col = 0; in process_format() local
1115 if (col >= ncolumns) in process_format()
1116 ncolumns = col + 1; in process_format()
1117 col = 0; in process_format()
1121 col++; in process_format()
1139 col = 0; in process_format()
1141 f->entry[row][col] = *tem; in process_format()
1142 if (col < ncolumns-1) { in process_format()
1144 if (tem->separation > f->separation[col]) { in process_format()
1148 f->separation[col] = tem->separation; in process_format()
[all …]
/freebsd-11-stable/contrib/less/
HDoutput.c560 int col; local
562 col = 0;
568 col++;
580 col++;
584 col += iprint_int(parg->p_int);
588 col += iprint_linenum(parg->p_linenum);
593 col++;
601 return (col);
633 int col = 0; local
650 col += so_s_width;
[all …]
/freebsd-11-stable/share/i18n/esdb/BIG5/
HDBig5.variable4 2003 row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;
5 E row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;excludes=0xA3C0-0xA3FE,0xC8D4-0xC8FE;
6 ETen row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;excludes=0xA3C0-0xA3FE,0xC8D4-0xC8FE;
7 HKSCS row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;
8 IBM row=0xA1-0xF9;col=0x40-0x7E,0xA1-0xFE;excludes=0xA3E1-0xA3FE;
9 Plus row=0x81-0xFE;col=0x40-0xFE;
/freebsd-11-stable/contrib/ncurses/ncurses/base/
HDwresize.c95 int col, row, size_x, size_y; in wresize() local
163 for (col = 0; col <= ToCols; ++col) { in wresize()
164 s[col] = (col <= size_x in wresize()
165 ? win->_line[row].text[col] in wresize()
175 for (col = 0; col <= ToCols; ++col) in wresize()
176 s[col] = win->_nc_bkgd; in wresize()

12345678910>>...12