/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[ in bikeshed() [all...] |
/freebsd/contrib/mandoc/ |
H A D | out.c | 124 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 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 | 115 p->tcol->col = 0; in term_flushln() 173 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_flushln() 201 while (p->tcol->col < p->tcol->lastcol && in term_flushln() 202 p->tcol->buf[p->tcol->col] == ' ') in term_flushln() 203 p->tcol->col++; in term_flushln() 231 p->col = p->tcol->col = p->tcol->lastcol = 0; in term_flushln() 272 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_fill() 376 for (ic = p->tcol->col; ic < nbr; ic++) { in term_field() 433 p->tcol->col = nbr; in term_field() 666 uc = -p->col; in term_word() [all …]
|
H A D | tbl_term.c | 295 tp->col = 0; in term_tbl() 433 if (tp->tcol->col < tp->tcol->lastcol) in term_tbl() 435 if (tp->tcol->col < tp->tcol->lastcol) in term_tbl() 502 sp->layout->last->col + 1 == sp->opts->cols) in term_tbl() 506 sp->next->layout->last->col + 1 == sp->opts->cols) in term_tbl() 510 sp->prev->layout->last->col + 1 == sp->opts->cols && in term_tbl() 517 sp->last->layout->col + 1 == sp->opts->cols) || in term_tbl() 519 sp->layout->last->col + 1 == sp->opts->cols) ? 2 : in term_tbl() 523 sp->last->layout->col + 1 == sp->opts->cols) || in term_tbl() 525 sp->layout->last->col + 1 == sp->opts->cols) ? 1 : 0; in term_tbl() [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 127 (void)strcpy(termcap, "dumb:os:col#80:cr=^M:sf=^J:am:"); in main() 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() [all …]
|
/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/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/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/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.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/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TileShapeInfo.h | 31 ShapeT(MachineOperand *Row, MachineOperand *Col, 33 : Row(Row), Col(Col) { 38 : Row(nullptr), Col(nullptr), RowImm(InvalidImmShape), in ShapeT() 42 MachineOperand *C = Shape.Col; 45 if (!Row || !Col) 47 if (Row->getReg() == R->getReg() && Col->getReg() == C->getReg()) 58 MachineOperand *getCol() const { return Col; } 64 bool isValid() { return (Row != nullptr) && (Col != nullptr); } 82 ColImm = GetImm(Col in deduceImm() 89 MachineOperand *Col; global() variable [all...] |
/freebsd/usr.bin/col/ |
H A D | README | 2 col - filter out reverse line feeds. 12 In the 32V source code to col(1) the default behavior was to NOT compress 23 Known differences between AT&T's col and this one (# is delimiter): 24 Input AT&T col this col 35 AT&T col claims to do this but doesn't. 38 is produced (the AT&T col is silent). The -l flag (not in AT&T col) can
|
/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/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/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/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() 334 int col; c_cut() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86LowerAMXType.cpp | 126 Value *Row = nullptr, *Col = nullptr; in getShape() local 134 Col = II->getArgOperand(1); in getShape() 150 Col = II->getArgOperand(1); in getShape() 154 Col = II->getArgOperand(2); in getShape() 183 Col = II->getArgOperand(1); in getShape() 190 return std::make_pair(Row, Col); in getShape() 227 // In AMX intrinsics we let Shape = {Row, Col}, but the 228 // RealCol = Col / ElementSize. We may use the RealCol 243 // %2 = call x86_amx @llvm.x86.tileloadd64.internal(i16 %row, i16 %col, 246 Value *Row = nullptr, *Col = nullptr; in combineLoadBitcast() 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()
|
/freebsd/contrib/kyua/utils/sqlite/ |
H A D | transaction_test.cpp | 75 db.exec("CREATE TABLE t (col INTEGER PRIMARY KEY)"); in ATF_TEST_CASE_BODY() 81 ATF_REQUIRE( check_in_table(db, "t", "col", 3)); in ATF_TEST_CASE_BODY() 82 ATF_REQUIRE(!check_in_table(db, "t", "col", 5)); in ATF_TEST_CASE_BODY() 90 db.exec("CREATE TABLE t (col INTEGER PRIMARY KEY)"); in ATF_TEST_CASE_BODY() 97 ATF_REQUIRE(check_in_table(db, "t", "col", 3)); in ATF_TEST_CASE_BODY() 98 ATF_REQUIRE(check_in_table(db, "t", "col", 5)); in ATF_TEST_CASE_BODY() 106 db.exec("CREATE TABLE t (col INTEGER PRIMARY KEY)"); in ATF_TEST_CASE_BODY() 113 ATF_REQUIRE( check_in_table(db, "t", "col", 3)); in ATF_TEST_CASE_BODY() 114 ATF_REQUIRE(!check_in_table(db, "t", "col", 5)); in ATF_TEST_CASE_BODY()
|
/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/crypto/openssl/ssl/ |
H A D | d1_srtp.c | 66 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 D | citrus_mapper_zone.c | 274 /* row/col */ in parse_var() 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() [all …]
|