| /freebsd/contrib/bsddialog/utility/ |
| H A D | util_theme.c | 372 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[5], 0); in bikeshed() 396 t.dialog.lineraisecolor = bsddialog_color(col[0], col[5], 0); in bikeshed() 397 t.dialog.linelowercolor = bsddialog_color(col[0], col[5], 0); in bikeshed() 398 t.dialog.color = bsddialog_color(col[0], col[5], 0); in bikeshed() [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | out.c | 123 struct roffcol *col; in tblcalc() local 167 icol = dp->layout->col; in tblcalc() 170 col = tbl->cols + icol; in tblcalc() 171 col->flags |= dp->layout->flags; in tblcalc() 176 if (col->width < dp->layout->width) in tblcalc() 177 col->width = dp->layout->width; in tblcalc() 179 (col->spacing == SIZE_MAX || in tblcalc() 180 col->spacing < dp->layout->spacing)) in tblcalc() 181 col->spacing = dp->layout->spacing; in tblcalc() 189 dp->hspans == 0 ? col in tblcalc() 412 tblcalc_data(struct rofftbl * tbl,struct roffcol * col,const struct tbl_opts * opts,const struct tbl_dat * dp,size_t mw) tblcalc_data() argument 441 tblcalc_literal(struct rofftbl * tbl,struct roffcol * col,const struct tbl_dat * dp,size_t mw) tblcalc_literal() argument 478 tblcalc_number(struct rofftbl * tbl,struct roffcol * col,const struct tbl_opts * opts,const struct tbl_dat * dp) tblcalc_number() argument [all...] |
| H A D | demandoc.c | 125 int line, col; in pmandoc() local 131 col = 0; in pmandoc() 134 pmdoc(meta->first->child, &line, &col, list); in pmandoc() 136 pman(meta->first->child, &line, &col, list); in pmandoc() 146 pstring(const char *p, int col, int *colp, int list) in pstring() argument 205 while (*colp < col) { in pstring() 226 pline(int line, int *linep, int *col, int list) in pline() argument 242 *col = 0; in pline() 246 pmdoc(const struct roff_node *p, int *line, int *col, int list) in pmdoc() argument 251 pline(p->line, line, col, list); in pmdoc() [all …]
|
| H A D | term.c | 118 p->tcol->col = 0; in term_flushln() 176 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_flushln() 204 while (p->tcol->col < p->tcol->lastcol && in term_flushln() 205 p->tcol->buf[p->tcol->col] == ' ') in term_flushln() 206 p->tcol->col++; in term_flushln() 234 p->col = p->tcol->col = p->tcol->lastcol = 0; in term_flushln() 280 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_fill() 386 for (ic = p->tcol->col; ic < nbr; ic++) { in term_field() 442 p->tcol->col in endline() [all...] |
| H A D | tbl_term.c | 319 tp->col = 0; in term_tbl() 470 if (tp->tcol->col < tp->tcol->lastcol) in term_tbl() 475 if (tp->tcol->col < tp->tcol->lastcol) in term_tbl() 540 sp->layout->last->col + 1 == sp->opts->cols) in term_tbl() 544 sp->next->layout->last->col + 1 == sp->opts->cols) in term_tbl() 548 sp->prev->layout->last->col + 1 == sp->opts->cols && in term_tbl() 555 sp->last->layout->col + 1 == sp->opts->cols) || in term_tbl() 557 sp->layout->last->col + 1 == sp->opts->cols) ? 2 : in term_tbl() 561 sp->last->layout->col + 1 == sp->opts->cols) || in term_tbl() 563 sp->layout->last->col in term_tbl() 577 const struct roffcol *col; /* Contains width and spacing. */ tbl_hrule() local 717 tbl_data(struct termp * tp,const struct tbl_opts * opts,const struct tbl_cell * cp,const struct tbl_dat * dp,const struct roffcol * col) tbl_data() argument 813 tbl_literal(struct termp * tp,const struct tbl_dat * dp,const struct roffcol * col) tbl_literal() argument 859 tbl_number(struct termp * tp,const struct tbl_opts * opts,const struct tbl_dat * dp,const struct roffcol * col) tbl_number() argument [all...] |
| /freebsd/usr.bin/systat/ |
| H A D | keyboard.c | 61 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 D | ul.c | 72 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 D | fold.c | 146 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 D | foldit.c | 45 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 D | col_test.sh | 14 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 D | ex_print.c | 92 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 D | lpf.c | 67 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 D | citrus_mskanji.c | 287 _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 D | lib_vline.c | 58 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 D | wresize.c | 110 int col, row, size_x, size_y; in wresize() local 180 for (col = 0; col <= ToCols; ++col) { in wresize() 181 bool valid = (col <= size_x); in wresize() 183 if (col == ToCols in wresize() 184 && col < size_x in wresize() 185 && isWidecBase(win->_line[row].text[col])) { in wresize() 189 s[col] = (valid in wresize() 190 ? win->_line[row].text[col] in wresize() 200 for (col = 0; col <= ToCols; ++col) in wresize() 201 s[col] = win->_nc_bkgd; in wresize()
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | amxintrin.h | 308 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 D | process_test.cpp | 120 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 D | cons.c | 54 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/cut/ |
| H A D | cut.c | 237 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() 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/usr.bin/tip/tip/ |
| H A D | value.c | 46 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 D | Big5.variable | 3 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/lib/libiconv_modules/mapper_zone/ |
| H A D | citrus_mapper_zone.c | 350 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/crypto/openssl/ssl/ |
| H A D | d1_srtp.c | 99 char *col; in ssl_ctx_make_profiles() local 109 col = strchr(ptr, ':'); in ssl_ctx_make_profiles() 111 if (!find_profile_by_name(ptr, &p, col ? (size_t)(col - ptr) : strlen(ptr))) { in ssl_ctx_make_profiles() 129 if (col) in ssl_ctx_make_profiles() 130 ptr = col + 1; in ssl_ctx_make_profiles() 131 } while (col); in ssl_ctx_make_profiles()
|
| /freebsd/contrib/ncurses/menu/ |
| H A D | m_global.c | 384 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 …]
|
| /freebsd/contrib/openpam/ |
| H A D | test-driver | 122 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"
|