/freebsd-10.1-release/contrib/vis/ |
H A D | foldit.c | 45 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-10.1-release/usr.bin/col/ |
H A D | Makefile | 4 PROG= col
|
/freebsd-10.1-release/usr.bin/systat/ |
H A D | keyboard.c | 65 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...] |
/freebsd-10.1-release/usr.bin/fold/ |
H A D | fold.c | 159 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-10.1-release/usr.sbin/lpr/filters/ |
H A D | lpf.c | 79 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-10.1-release/contrib/ncurses/ncurses/widechar/ |
H A D | lib_in_wch.c | 47 int row, col; local 53 getyx(win, row, col); 55 *wcval = win->_line[row].text[col];
|
H A D | lib_in_wchnstr.c | 53 int row, col; local 56 getyx(win, row, col); 57 limit = getmaxx(win) - col; 58 src = &(win->_line[row].text[col]);
|
H A D | lib_vline_set.c | 48 NCURSES_SIZE_T row, col; local 56 col = win->_curx; 69 line->text[col] = wch; 70 CHANGED_CELL(line, col);
|
H A D | lib_inwstr.c | 47 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-10.1-release/contrib/groff/src/devices/grohtml/ |
H A D | output.cpp | 148 : 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-10.1-release/contrib/ncurses/ncurses/base/ |
H A D | lib_vline.c | 49 NCURSES_SIZE_T row, col; local 57 col = win->_curx; 70 line->text[col] = wch; 71 CHANGED_CELL(line, col);
|
H A D | lib_instr.c | 49 int i = 0, row, col; local 57 getyx(win, row, col); 64 cchar_t *cell = &(win->_line[row].text[col]); 102 str[i++] = (char) CharOf(win->_line[row].text[col]); 104 if (++col > win->_maxx) {
|
/freebsd-10.1-release/usr.bin/ul/ |
H A D | ul.c | 82 static int col, maxcol; variable 141 (void)strcpy(termcap, "dumb:os:col#80:cr=^M:sf=^J:am:"); 174 while ((c = getwc(f)) != WEOF && col < MAXBUF) switch(c) { 177 if (col > 0) 178 col--; 182 col = (col+8) & ~07; 183 if (col > maxcol) 184 maxcol = col; 188 col [all...] |
/freebsd-10.1-release/contrib/mdocml/ |
H A D | out.c | 146 struct roffcol *col; local 177 col = &tbl->cols[dp->layout->head->ident]; 178 tblcalc_data(tbl, col, sp->tbl, dp); 188 col = &tbl->cols[hp->ident]; 191 col->width = (*tbl->len)(1, tbl->arg); 194 col->width = (*tbl->len)(2, tbl->arg); 203 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, argument 215 if (col->width < sz) 216 col->width = sz; 225 tblcalc_literal(tbl, col, d 239 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp) argument 253 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl *tp, const struct tbl_dat *dp) argument [all...] |
H A D | tbl_term.c | 67 struct roffcol *col; local 156 col = &tp->tbl.cols[hp->ident]; 157 tbl_data(tp, sp->tbl, dp, col); 282 const struct roffcol *col) 286 tbl_char(tp, ASCII_NBRSP, col->width); 293 tbl_char(tp, ASCII_NBRSP, col->width); 298 tbl_char(tp, '-', col->width); 303 tbl_char(tp, '=', col->width); 311 tbl_char(tp, '-', col->width); 314 tbl_char(tp, '=', col 280 tbl_data(struct termp *tp, const struct tbl *tbl, const struct tbl_dat *dp, const struct roffcol *col) argument 369 tbl_literal(struct termp *tp, const struct tbl_dat *dp, const struct roffcol *col) argument 404 tbl_number(struct termp *tp, const struct tbl *tbl, const struct tbl_dat *dp, const struct roffcol *col) argument [all...] |
/freebsd-10.1-release/contrib/nvi/ex/ |
H A D | ex_print.c | 96 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 D | ex_screen.c | 105 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-10.1-release/contrib/openpam/ |
H A D | test-driver | 102 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 103 0:*) col=$grn res=PASS recheck=no gcopy=no;; 104 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; 105 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; 106 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; 107 *:*) col=$red res=FAIL recheck=yes gcopy=yes;; 111 echo "${col}${res}${std}: $test_name"
|
/freebsd-10.1-release/contrib/groff/src/preproc/eqn/ |
H A D | pile.cpp | 31 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-10.1-release/contrib/subversion/subversion/svn/ |
H A D | mergeinfo-cmd.c | 87 int row, col; 156 for (col = 0; col < COLS; col++) 158 col_width[col] = 0; 161 if (g[row][col] && ((int)strlen(g[row][col]) > col_width[col])) 162 col_width[col] = (int)strlen(g[row][col]); 85 int row, col; local [all...] |
/freebsd-10.1-release/contrib/ntp/sntp/libevent/build-aux/ |
H A D | test-driver | 117 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-10.1-release/usr.bin/tip/tip/ |
H A D | value.c | 54 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...] |
/freebsd-10.1-release/lib/libiconv_modules/MSKanji/ |
H A D | citrus_mskanji.c | 288 _index_t col, row; local 334 col = (_wc_t)wc & 0xFF; 335 if (!_mskanji1(row) || !_mskanji2(col)) 353 col -= 0x1F; 354 if (col >= 0x61) 355 col -= 1; 356 if (col > 0x7E) { 358 col -= 0x5E; 360 *idx = ((_index_t)row << 8) | col; 371 uint32_t col, ro local [all...] |
/freebsd-10.1-release/usr.bin/cut/ |
H A D | cut.c | 238 int ch, col; local 244 for (col = maxval; col; --col) { 272 size_t col, i, lbuflen; local 280 for (col = 0; lbuflen > 0; col += clen) { 291 if (col < maxval && !positions[1 + col]) { 298 i = col; 335 int col; local [all...] |
/freebsd-10.1-release/contrib/gcclibs/libcpp/ |
H A D | directives-only.c | 45 int lines, col; local 63 col = 1; 65 for (last_c = '\n', c = *cur; cur < rlimit; last_c = c, c = *++cur, ++col) 80 col = 0; 102 buffer->line_base -= col - 1; 144 LINEMAP_POSITION_FOR_COLUMN (loc, pfile->line_table, col); 196 col = 0;
|