Searched refs:columns (Results 1 - 25 of 52) sorted by relevance

123

/freebsd-10.3-release/crypto/heimdal/lib/roken/
H A Dget_window_size.c61 get_window_size(int fd, int *lines, int *columns) argument
73 if (columns)
74 *columns = ws.ws_col;
86 if (columns)
87 *columns = ts.ts_cols;
98 if (columns)
99 *columns = dst[0];
112 if (columns)
113 *columns = 1 + sb_info.srWindow.Right - sb_info.srWindow.Left;
119 if (columns) {
[all...]
H A Drtbl.c57 struct column_data **columns; member in struct:rtbl_data
85 if(table->columns[i]->column_id == id)
86 return table->columns[i];
95 if(strcmp(table->columns[i]->header, column) == 0)
96 return table->columns[i];
106 struct column_data *c = table->columns[i];
118 free (table->columns);
128 tmp = realloc (table->columns, (table->num_columns + 1) * sizeof (*tmp));
131 table->columns = tmp;
147 table->columns[tabl
[all...]
H A Dgetarg.c194 check_column(FILE *f, int col, int len, int columns) argument
196 if(col + len > columns) {
229 int col = 0, columns; local
241 if(get_window_size(2, NULL, &columns) == -1)
242 columns = 80;
258 col = check_column(stderr, col, strlen(buf) + 1, columns);
280 col = check_column(stderr, col, strlen(buf) + 1, columns);
291 col = check_column(stderr, col, strlen(buf) + 1, columns);
299 check_column(stderr, col, strlen(extra_string) + 1, columns);
/freebsd-10.3-release/usr.sbin/crunch/crunchgen/
H A Dcrunched_main.c95 int columns, len; local
110 int columns, len; local
115 columns = 0;
118 if(columns+len < 80)
119 columns += len;
122 columns = len;
/freebsd-10.3-release/sys/dev/mfi/
H A Dmfi_debug.c66 int i, columns = 0; local
73 columns += 26;
74 if (columns > 77) {
76 columns = 0;
81 columns += 26;
82 if (columns > 77) {
84 columns = 0;
89 columns += 18;
90 if (columns > 71) {
92 columns
[all...]
/freebsd-10.3-release/contrib/groff/src/devices/grohtml/
H A Dhtml-table.cpp242 : out(op), columns(NULL), linelength(linelen), last_col(NULL), start_space(FALSE)
253 c = columns;
254 while (columns != NULL) {
255 columns = columns->next;
257 c = columns;
262 * remove_cols - remove a list of columns as defined by, c.
288 for (c = columns; c != NULL; c = c->next) {
307 if (columns != NULL)
308 return linelength - columns
[all...]
H A Dhtml-table.h100 cols *columns; /* column entries */ member in class:html_table
/freebsd-10.3-release/usr.sbin/timed/timedc/
H A Dtimedc.c208 int columns, width = 0, lines; local
219 columns = 80 / width;
220 if (columns == 0)
221 columns = 1;
222 lines = (NCMDS + columns - 1) / columns;
224 for (j = 0; j < columns; j++) {
/freebsd-10.3-release/contrib/netbsd-tests/bin/ps/
H A Dt_ps.sh44 # right-justified columns.
184 atf_set "descr" "Checks that the default set of columns is correct" \
185 "and also check that the columns printed by the -j," \
202 atf_set "descr" "Checks that 'ps -O foo' inserts columns just after" \
220 "columns are printed; this does not test header" \
248 "'ps -o foo=BAR'. This does not test columns " \
308 "does not test the case where all columns have" \
/freebsd-10.3-release/usr.sbin/lpr/lpc/
H A Dlpc.c301 int columns, width = 0, lines; local
311 columns = 80 / width;
312 if (columns == 0)
313 columns = 1;
314 lines = (NCMDS + columns - 1) / columns;
316 for (j = 0; j < columns; j++) {
/freebsd-10.3-release/sbin/fsdb/
H A Dfsdbutil.c209 int columns; local
213 columns = 0;
215 columns = ws.ws_col;
216 if (columns == 0 && (cp = getenv("COLUMNS")))
217 columns = atoi(cp);
218 if (columns == 0)
219 columns = 80; /* last resort */
220 return (columns);
/freebsd-10.3-release/contrib/nvi/cl/
H A Dcl_read.c35 #undef columns macro
53 size_t lines, columns; local
83 if (cl_ssize(sp, 1, &lines, &columns, &changed))
86 (void)cl_resize(sp, lines, columns);
311 cl_resize(SCR *sp, size_t lines, size_t columns) argument
325 a.len = SPRINTF(b1, sizeof(b1), L("columns=%lu"), (u_long)columns);
/freebsd-10.3-release/crypto/heimdal/appl/ftp/ftp/
H A Dmain.c541 int columns, width = 0, lines; local
551 columns = 80 / width;
552 if (columns == 0)
553 columns = 1;
554 lines = (NCMDS + columns - 1) / columns;
556 for (j = 0; j < columns; j++) {
/freebsd-10.3-release/contrib/binutils/binutils/
H A Dbucomm.c315 int columns;
319 columns = 0;
322 columns = atoi (colum);
323 if (columns == 0)
324 columns = 80;
333 while (wid < columns && bfd_target_vector[t] != NULL)
338 if (newwid >= columns)
312 int columns; local
/freebsd-10.3-release/contrib/apr-util/dbd/
H A Dapr_dbd_sqlite3.c57 apr_dbd_column_t **columns; member in struct:apr_dbd_row_t
124 row->columns = apr_palloc(pool, length);
128 row->columns[i] = column;
249 column = row->columns[n];
261 if (row->columns[n]->type == SQLITE_NULL) {
267 *(char*)data = atoi(row->columns[n]->value);
270 *(unsigned char*)data = atoi(row->columns[n]->value);
273 *(short*)data = atoi(row->columns[n]->value);
276 *(unsigned short*)data = atoi(row->columns[n]->value);
279 *(int*)data = atoi(row->columns[
[all...]
/freebsd-10.3-release/contrib/ntp/scripts/lib/NTP/
H A DUtil.pm103 my @columns = qw(tally host refid st t when poll reach delay offset jitter);
114 my $r = { map {; $columns[ $col++ ] => $_ } @line };
/freebsd-10.3-release/gnu/lib/libdialog/
H A DMakefile8 columns.c dlg_keys.c editbox.c fselect.c formbox.c guage.c \
/freebsd-10.3-release/contrib/ncurses/ncurses/tinfo/
H A Dlib_setup.c54 #include <term.h> /* lines, columns, cur_term */
200 /* Obtain lines/columns values from the environment and/or terminfo entry */
206 T(("screen size: terminfo lines = %d columns = %d", lines, columns));
210 *colp = (int) columns;
268 *colp = (int) columns;
284 columns = (short) (*colp);
310 int old_cols = columns;
/freebsd-10.3-release/contrib/ncurses/progs/
H A Dtput.c182 PUTS(TPARM_2(set_lr_margin, 0, columns - 1));
189 PUTS(TPARM_1(set_right_margin_parm, columns - 1));
203 PUTS(TPARM_1(parm_right_cursor, columns - 1));
205 for (i = 0; i < columns - 1; i++) {
220 for (i = 0; i < columns - 1; i += 8) {
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Frontend/
H A DTextDiagnostic.cpp174 /// of the printable representation of the line to the columns those printable
177 /// If a byte 'i' corresponds to muliple columns (e.g. the byte contains a tab
187 /// and instead is the number of columns needed to display the source
193 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to
206 int columns = 0;
209 out[i] = columns;
212 columns += llvm::sys::locale::columnWidth(res.first);
214 out.back() = columns;
217 /// This function takes a raw source line and produces a mapping from columns
227 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns t
[all...]
/freebsd-10.3-release/contrib/tcsh/
H A Dtw.parse.c2130 * Return how many rows needed to print sorted down columns
2135 int i, columns, rows; local
2142 columns = (TermH + 1) / maxwidth; /* PWP: terminal size change */
2143 if (!columns)
2144 columns = 1;
2145 rows = (count + (columns - 1)) / columns;
2152 * Print sorted down columns or across columns when the first
2159 int i, r, c, columns, row local
[all...]
H A Dsh.file.c309 * Print sorted down columns
316 int rows, r, c, maxwidth = 0, columns; local
323 columns = win.ws_col / maxwidth;
324 if (columns == 0)
325 columns = 1;
326 rows = (count + (columns - 1)) / columns;
328 for (c = 0; c < columns; c++) {
335 if (c < columns - 1) { /* last column? */
/freebsd-10.3-release/contrib/gperf/src/
H A Doutput.cc798 const int columns = 10; local
809 if ((count % columns) == 0)
932 const int columns = 14; local
965 if ((column++ % columns) == 0)
973 if ((column++ % columns) == 0)
983 if ((column++ % columns) == 0)
1126 int columns; local
1129 columns = 58 / (4 + (option[SHAREDLIB] ? 2 : option[NULLSTRINGS] ? 8 : 2)
1131 if (columns == 0)
1132 columns
1367 const int columns = 42 / field_width; local
[all...]
/freebsd-10.3-release/crypto/openssh/
H A Dsftp.c785 u_int c = 1, colspace = 0, columns = 1; local
810 columns = width / (m + 2);
811 columns = MAX(columns, 1);
812 colspace = width / columns;
848 if (c >= columns) {
874 u_int i, c = 1, colspace = 0, columns = 1, m = 0, width = 80; local
914 columns = width / (m + 2);
915 columns = MAX(columns,
1659 u_int y, m = 0, width = 80, columns = 1, colspace = 0, llen; local
[all...]
/freebsd-10.3-release/sys/dev/bktr/
H A Dioctl_meteor.h54 unsigned short columns; member in struct:meteor_geomet
172 int frame_size; /* row*columns*depth */

Completed in 300 milliseconds

123