/freebsd-9.3-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-9.3-release/usr.bin/col/ |
H A D | Makefile | 4 PROG= col
|
/freebsd-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-release/contrib/nvi/ex/ |
H A D | ex_print.c | 109 size_t col, len; local 116 col = 0; 130 if (ex_prchars(sp, p, &col, 8, 0, 0)) 144 else if (ex_ldisplay(sp, p, len, col, flags)) 160 ex_ldisplay(sp, p, len, col, flags) 163 size_t len, col; 166 if (len > 0 && ex_prchars(sp, p, &col, len, LF_ISSET(E_C_LIST), 0)) 170 if (ex_prchars(sp, p, &col, 1, LF_ISSET(E_C_LIST), 0)) 190 size_t col, len; local 192 col 231 size_t col, tlen, ts; local [all...] |
H A D | ex_screen.c | 112 int cnt, col, len, sep; local 120 col = len = sep = 0; 123 col += len = strlen(tsp->frp->name) + sep; 124 if (col >= sp->cols - 1) { 125 col = len;
|
/freebsd-9.3-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) {
|
H A D | wresize.c | 91 int col, row, size_x, size_y; local 158 for (col = 0; col <= ToCols; ++col) { 159 s[col] = (col <= size_x 160 ? win->_line[row].text[col] 169 for (col = 0; col <= ToCols; ++col) [all...] |
/freebsd-9.3-release/usr.bin/ul/ |
H A D | ul.c | 82 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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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;
|
/freebsd-9.3-release/contrib/com_err/ |
H A D | getarg.c | 87 check_column(FILE *f, int col, int len, int columns) argument 89 if(col + len > columns) { 91 col = fprintf(f, " "); 93 return col; 105 int col = 0, columns; local 109 col = 0; 110 col += fprintf (stderr, "Usage: %s", progname); 129 col = check_column(stderr, col, strlen(buf) + 1, columns); 130 col [all...] |
/freebsd-9.3-release/contrib/libucl/utils/ |
H A D | chargen.c | 46 int i, col, r; local 51 col = 0; 116 col += r; 117 if (col > 80) { 119 col = r;
|