Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd/contrib/bsddialog/utility/
H A Dutil_theme.c372 enum bsddialog_color col[6]; in bikeshed() local
383 col[i] = rand() % 8; in bikeshed()
384 } while (colors[col[i]] == 1); in bikeshed()
385 colors[col[i]] = 1; in bikeshed()
388 t.screen.color = bsddialog_color(col[4], col[3], 0); in bikeshed()
390 t.shadow.color = bsddialog_color(col[0], col[0], 0); in bikeshed()
395 t.dialog.titlecolor = bsddialog_color(col[3], col[ in bikeshed()
[all...]
/freebsd/contrib/mandoc/
H A Dout.c124 struct roffcol *col; in tblcalc() local
153 icol = dp->layout->col; in tblcalc()
156 col = tbl->cols + icol; in tblcalc()
157 col->flags |= dp->layout->flags; in tblcalc()
169 if (col->width < dp->layout->width) in tblcalc()
170 col->width = dp->layout->width; in tblcalc()
172 (col->spacing == SIZE_MAX || in tblcalc()
173 col->spacing < dp->layout->spacing)) in tblcalc()
174 col->spacing = dp->layout->spacing; in tblcalc()
182 dp->hspans == 0 ? col : NULL, in tblcalc()
[all …]
H A Ddemandoc.c114 int line, col; in pmandoc() local
120 col = 0; in pmandoc()
123 pmdoc(meta->first->child, &line, &col, list); in pmandoc()
125 pman(meta->first->child, &line, &col, list); in pmandoc()
135 pstring(const char *p, int col, int *colp, int list) in pstring() argument
194 while (*colp < col) { in pstring()
215 pline(int line, int *linep, int *col, int list) in pline() argument
231 *col = 0; in pline()
235 pmdoc(const struct roff_node *p, int *line, int *col, int list) in pmdoc() argument
240 pline(p->line, line, col, list); in pmdoc()
[all …]
H A Dterm.c114 p->tcol->col = 0; in term_flushln()
167 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_flushln()
193 while (p->tcol->col < p->tcol->lastcol && in term_flushln()
194 p->tcol->buf[p->tcol->col] == ' ') in term_flushln()
195 p->tcol->col++; in term_flushln()
224 p->col = p->tcol->col = p->tcol->lastcol = 0; in term_flushln()
263 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_fill()
358 for (ic = p->tcol->col; ic < nbr; ic++) { in term_field()
408 p->tcol->col = nbr; in term_field()
632 uc = -p->col; in term_word()
[all …]
H A Dtbl_term.c292 tp->col = 0; in term_tbl()
429 if (tp->tcol->col < tp->tcol->lastcol) in term_tbl()
431 if (tp->tcol->col < tp->tcol->lastcol) in term_tbl()
498 sp->layout->last->col + 1 == sp->opts->cols) in term_tbl()
502 sp->next->layout->last->col + 1 == sp->opts->cols) in term_tbl()
506 sp->prev->layout->last->col + 1 == sp->opts->cols && in term_tbl()
513 sp->last->layout->col + 1 == sp->opts->cols) || in term_tbl()
515 sp->layout->last->col + 1 == sp->opts->cols) ? 2 : in term_tbl()
519 sp->last->layout->col + 1 == sp->opts->cols) || in term_tbl()
521 sp->layout->last->col + 1 == sp->opts->cols) ? 1 : 0; in term_tbl()
[all …]
/freebsd/usr.bin/systat/
H A Dkeyboard.c61 col = 0; in keyboard()
97 line[col] = '\0'; in keyboard()
127 if (col == 0) { in keyboard_dispatch()
141 if (ch == erasechar() && col > 0) { in keyboard_dispatch()
142 if (col == 1 && line[0] == ':') in keyboard_dispatch()
144 col--; in keyboard_dispatch()
147 if (ch == CTRL('w') && col > 0) { in keyboard_dispatch()
148 while (--col >= 0 && isspace(line[col])) in keyboard_dispatch()
150 col++; in keyboard_dispatch()
151 while (--col >= 0 && !isspace(line[col])) in keyboard_dispatch()
[all …]
/freebsd/usr.bin/ul/
H A Dul.c72 static int col, maxcol; variable
167 if (col == buflen) { in filter()
185 if (col > 0) in filter()
186 col--; in filter()
190 col = (col+8) & ~07; in filter()
191 if (col > maxcol) in filter()
192 maxcol = col; in filter()
196 col = 0; in filter()
246 if (obuf[col].c_char || obuf[col].c_width < 0) { in filter()
247 while (col > 0 && obuf[col].c_width < 0) in filter()
[all …]
/freebsd/usr.bin/fold/
H A Dfold.c146 int col, i, indx, space; in fold() local
149 col = indx = 0; in fold()
153 col = indx = 0; in fold()
156 if ((col = newpos(col, ch)) > width) { in fold()
168 col = 0; in fold()
170 col = newpos(col, buf[i]); in fold()
173 col = indx = 0; in fold()
175 col = newpos(col, ch); in fold()
194 newpos(int col, wint_t ch) in newpos() argument
202 col += len; in newpos()
[all …]
/freebsd/contrib/vis/
H A Dfoldit.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/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 < $(atf_get_srcdir)/hlf.in
[all …]
/freebsd/contrib/nvi/ex/
H A Dex_print.c92 size_t col, len; in ex_print() local
100 col = 0; in ex_print()
113 if (ex_prchars(sp, p, &col, 8, 0, 0)) in ex_print()
127 else if (ex_ldisplay(sp, p, len, col, flags)) in ex_print()
143 ex_ldisplay(SCR *sp, const CHAR_T *p, size_t len, size_t col, u_int flags) in ex_ldisplay() argument
145 if (len > 0 && ex_prchars(sp, p, &col, len, LF_ISSET(E_C_LIST), 0)) in ex_ldisplay()
149 if (ex_prchars(sp, p, &col, 1, LF_ISSET(E_C_LIST), 0)) in ex_ldisplay()
167 size_t col, len; in ex_scprint() local
169 col = 0; in ex_scprint()
172 if (ex_prchars(sp, p, &col, 8, 0, 0)) in ex_scprint()
[all …]
/freebsd/usr.sbin/lpr/filters/
H A Dlpf.c67 register int i, col; in main() local
111 col = indent; in main()
130 if (--col < indent) in main()
131 col = indent; in main()
135 col = indent; in main()
139 col = ((col - indent) | 07) + indent + 1; in main()
158 if (col >= width || (!literal && ch < ' ')) { in main()
159 col++; in main()
162 cp = &buf[0][col]; in main()
168 if (col > maxcol[i]) in main()
[all …]
/freebsd/lib/libiconv_modules/MSKanji/
H A Dcitrus_mskanji.c287 _index_t col, row; in _citrus_MSKanji_stdenc_wctocs() local
333 col = (_wc_t)wc & 0xFF; in _citrus_MSKanji_stdenc_wctocs()
334 if (!_mskanji1(row) || !_mskanji2(col)) in _citrus_MSKanji_stdenc_wctocs()
352 col -= 0x1F; in _citrus_MSKanji_stdenc_wctocs()
353 if (col >= 0x61) in _citrus_MSKanji_stdenc_wctocs()
354 col -= 1; in _citrus_MSKanji_stdenc_wctocs()
355 if (col > 0x7E) { in _citrus_MSKanji_stdenc_wctocs()
357 col -= 0x5E; in _citrus_MSKanji_stdenc_wctocs()
359 *idx = ((_index_t)row << 8) | col; in _citrus_MSKanji_stdenc_wctocs()
370 uint32_t col, row; in _citrus_MSKanji_stdenc_cstowc() local
[all …]
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_vline.c58 int col = win->_curx; in NCURSES_EXPORT() local
73 if (col > 0 && isWidecExt(line->text[col])) { in NCURSES_EXPORT()
74 SetChar2(line->text[col - 1], ' '); in NCURSES_EXPORT()
76 if (col < win->_maxx && isWidecExt(line->text[col + 1])) { in NCURSES_EXPORT()
77 SetChar2(line->text[col + 1], ' '); in NCURSES_EXPORT()
80 line->text[col] = wch; in NCURSES_EXPORT()
81 CHANGED_CELL(line, col); in NCURSES_EXPORT()
H A Dwresize.c110 int col, row, size_x, size_y; in wresize() local
178 for (col = 0; col <= ToCols; ++col) { in wresize()
179 bool valid = (col <= size_x); in wresize()
181 if (col == ToCols in wresize()
182 && col < size_x in wresize()
183 && isWidecBase(win->_line[row].text[col])) { in wresize()
187 s[col] = (valid in wresize()
188 ? win->_line[row].text[col] in wresize()
198 for (col = 0; col <= ToCols; ++col) in wresize()
199 s[col] = win->_nc_bkgd; in wresize()
/freebsd/usr.bin/cut/
H A Dcut.c237 int ch, col; in b_cut() local
243 for (col = maxval; col; --col) { in b_cut()
271 size_t col, i, bufsize = 0; 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()
334 int col; c_cut() local
[all...]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Damxintrin.h308 const unsigned short col; member
328 dst->tile = _tile_loadd_internal(dst->row, dst->col, base, stride); in __tile_loadd()
349 dst->tile = _tile_loaddt1_internal(dst->row, dst->col, base, stride); in __tile_stream_loadd()
371 dst->tile = _tile_dpbssd_internal(src0.row, src1.col, src0.col, dst->tile, in __tile_dpbssd()
394 dst->tile = _tile_dpbsud_internal(src0.row, src1.col, src0.col, dst->tile, in __tile_dpbsud()
417 dst->tile = _tile_dpbusd_internal(src0.row, src1.col, src0.col, dst->tile, in __tile_dpbusd()
440 dst->tile = _tile_dpbuud_internal(src0.row, src1.col, src0.col, dst->tile, in __tile_dpbuud()
458 _tile_stored_internal(src.row, src.col, base, stride, src.tile); in __tile_stored()
471 dst->tile = __builtin_ia32_tilezero_internal(dst->row, dst->col); in __tile_zero()
492 dst->tile = _tile_dpbf16ps_internal(src0.row, src1.col, src0.col, dst->tile, in __tile_dpbf16ps()
[all …]
/freebsd/contrib/atf/atf-c++/detail/
H A 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/stand/i386/common/
H A Dcons.c54 getcursor(int *row, int *col) in getcursor() argument
64 if (col != NULL) in getcursor()
65 *col = v86.edx & 0xff; in getcursor()
71 int i, col; in putchar() local
78 col = 0; in putchar()
79 getcursor(NULL, &col); in putchar()
80 col = 8 - (col % 8); in putchar()
81 for (i = 0; i < col; i++) in putchar()
/freebsd/usr.bin/tip/tip/
H A Dvalue.c46 static size_t col = 0; variable
168 if (col > 0) { in vlex()
170 col = 0; in vlex()
217 if (col > 0 && col < MIDDLE) in vprint()
218 while (col++ < MIDDLE) in vprint()
220 col += size(p->v_name); in vprint()
225 col++; in vprint()
233 col++; in vprint()
236 col += size(cp); in vprint()
242 col += 6; in vprint()
[all …]
/freebsd/share/i18n/esdb/BIG5/
H A DBig5.variable3 2003 row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;
4 E row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;excludes=0xA3C0-0xA3FE,0xC8D4-0xC8FE;
5 ETen row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;excludes=0xA3C0-0xA3FE,0xC8D4-0xC8FE;
6 HKSCS row=0x81-0xFE;col=0x40-0x7E,0xA1-0xFE;
7 IBM row=0xA1-0xF9;col=0x40-0x7E,0xA1-0xFE;excludes=0xA3E1-0xA3FE;
8 Plus row=0x81-0xFE;col=0x40-0xFE;
/freebsd/crypto/openssl/ssl/
H A Dd1_srtp.c66 char *col; in ssl_ctx_make_profiles() local
76 col = strchr(ptr, ':'); in ssl_ctx_make_profiles()
78 if (!find_profile_by_name(ptr, &p, col ? (size_t)(col - ptr) in ssl_ctx_make_profiles()
94 if (col) in ssl_ctx_make_profiles()
95 ptr = col + 1; in ssl_ctx_make_profiles()
96 } while (col); in ssl_ctx_make_profiles()
/freebsd/lib/libiconv_modules/mapper_zone/
H A Dcitrus_mapper_zone.c350 uint32_t col, row; in _citrus_mapper_zone_mapper_convert() local
353 col = src; in _citrus_mapper_zone_mapper_convert()
355 if (col < mz->mz_col.z_begin || col > mz->mz_col.z_end) in _citrus_mapper_zone_mapper_convert()
358 col += (uint32_t)mz->mz_col_offset; in _citrus_mapper_zone_mapper_convert()
360 col -= (uint32_t)-mz->mz_col_offset; in _citrus_mapper_zone_mapper_convert()
361 *dst = col; in _citrus_mapper_zone_mapper_convert()
363 col = src & (((uint32_t)1 << mz->mz_col_bits) - 1); in _citrus_mapper_zone_mapper_convert()
366 col < mz->mz_col.z_begin || col > mz->mz_col.z_end) in _citrus_mapper_zone_mapper_convert()
369 col += (uint32_t)mz->mz_col_offset; in _citrus_mapper_zone_mapper_convert()
371 col -= (uint32_t)-mz->mz_col_offset; in _citrus_mapper_zone_mapper_convert()
[all …]
/freebsd/contrib/less/
H A Doutput.c540 int col; local
542 col = 0;
548 col++;
560 col++;
564 col += iprint_int(parg->p_int, 10);
568 col += iprint_int(parg->p_int, 16);
572 col += iprint_linenum(parg->p_linenum, 10);
581 col++;
590 return (col);
618 int col = 0; in error() local
[all …]
/freebsd/contrib/ncurses/menu/
H A Dm_global.c384 int col = 0, row = 0; in _nc_Link_Items() local
401 item->left = (col) ? in _nc_Link_Items()
410 item->right = ((col < (Number_Of_Columns - 1)) && in _nc_Link_Items()
418 Last_in_Column = (menu->rows - 1) * Number_Of_Columns + col; in _nc_Link_Items()
430 Number_Of_Items - 1 : col] : in _nc_Link_Items()
432 item->x = (short)col; in _nc_Link_Items()
434 if (++col == Number_Of_Columns) in _nc_Link_Items()
437 col = 0; in _nc_Link_Items()
448 item = menu->items[i = (col * Number_Of_Rows + row)]; in _nc_Link_Items()
452 item->left = (col) ? in _nc_Link_Items()
[all …]

12345678910>>...12