Searched refs:cols (Results 1 - 25 of 236) sorted by relevance

12345678910

/macosx-10.10/ncurses-44/ncurses/form/
H A Dfrm_scale.c39 | Function : int scale_form( const FORM *form, int *rows, int *cols )
48 scale_form(const FORM *form, int *rows, int *cols) argument
50 T((T_CALLED("scale_form(%p,%p,%p)"), form, rows, cols));
60 if (cols)
61 *cols = form->cols;
H A Dfld_info.c40 | int *rows, int *cols,
51 int *rows, int *cols,
57 rows, cols,
66 if (cols)
67 *cols = field->cols;
50 field_info(const FIELD *field, int *rows, int *cols, int *frow, int *fcol, int *nrow, int *nbuf) argument
H A Dfrm_data.c154 pos = form->begincol + field->cols;
158 if (check_len >= field->cols)
159 check_len = field->cols;
163 pos += field->cols;
179 if (!Only_Padding(form->w, field->cols, field->pad))
/macosx-10.10/ncurses-44/ncurses/menu/
H A Dm_scale.c54 scale_menu(const MENU * menu, int *rows, int *cols) argument
56 T((T_CALLED("scale_menu(%p,%p,%p)"), menu, rows, cols));
65 if (cols)
66 *cols = menu->width;
H A Dm_format.c46 | Function : int set_menu_format(MENU *menu, int rows, int cols)
59 set_menu_format(MENU * menu, int rows, int cols) argument
63 T((T_CALLED("set_menu_format(%p,%d,%d)"), menu, rows, cols));
65 if (rows < 0 || cols < 0)
78 if (cols == 0)
79 cols = menu->fcols;
85 menu->fcols = cols;
87 assert(rows > 0 && cols > 0);
88 total_rows = (menu->nitems - 1) / cols + 1;
90 minimum(menu->nitems, cols)
123 menu_format(const MENU * menu, int *rows, int *cols) argument
[all...]
/macosx-10.10/ksh-23/ksh/src/lib/libcmd/
H A Dfold.c89 static void fold(Sfio_t *in, Sfio_t *out, register int width, const char *cont, size_t contsize, char *cols) argument
94 cols[0] = 0;
105 if(cols['\b']==0 && (n=sfvalue(in))<=width)
115 while((n=cols[*(unsigned char*)cp++])==0);
154 if(cols[' '])
177 char cols[1<<CHAR_BIT]; local
180 memset(cols, 0, sizeof(cols));
181 cols['\t'] = T_TAB;
182 cols['\
[all...]
/macosx-10.10/groff-38/groff/src/devices/grohtml/
H A Dhtml-table.h63 typedef struct cols { struct
67 struct cols *next;
68 } cols; typedef in typeref:struct:cols
75 cols *get_column (int coln);
77 int modify_column (cols *c, int hstart, int hend, char align);
85 int is_gap (cols *c);
91 int get_right (cols *c);
100 cols *columns; /* column entries */
102 cols *last_col; /* last column started */
105 void remove_cols (cols *
[all...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm/CodeGen/PBQP/
H A DMath.h116 Matrix(unsigned rows, unsigned cols) :
117 rows(rows), cols(cols), data(new PBQPNum[rows * cols]) {
122 Matrix(unsigned rows, unsigned cols, PBQPNum initVal) :
123 rows(rows), cols(cols), data(new PBQPNum[rows * cols]) {
124 std::fill(data, data + (rows * cols), initVal);
129 rows(m.rows), cols(
[all...]
/macosx-10.10/ruby-106/ruby/benchmark/
H A Dbm_so_matrix.rb10 def mkmatrix(rows, cols)
14 row = Array.new(cols, 0)
15 (0 .. (cols - 1)).each do |j|
24 def mmult(rows, cols, m1, m2)
27 row = Array.new(cols, 0)
28 (0 .. (cols - 1)).each do |j|
30 (0 .. (cols - 1)).each do |k|
/macosx-10.10/ksh-23/ksh/src/lib/libast/port/
H A Dastwinsize.c26 * return terminal rows and cols
72 astwinsize(int fd, register int* rows, register int* cols) argument
81 if (cols) *cols = ws.ws_col;
92 if (cols) *cols = ts.ts_cols;
103 if (cols) *cols = ws.bytesx;
113 if (cols) *cols
[all...]
/macosx-10.10/ruby-106/ruby/ext/curses/
H A Dhello.rb9 (lines - 5) / 2, (cols - width) / 2)
22 setpos((lines - 5) / 2, (cols - 10) / 2)
H A Dmouse.rb10 (lines - 5) / 2, (cols - width) / 2)
32 setpos((lines - 5) / 2, (cols - 10) / 2)
/macosx-10.10/ruby-106/ruby/ext/tk/sample/tkextlib/tktable/
H A Dbasic.rb14 cols = 8
18 ((-(cols))..cols).each{|y|
25 table = Tk::TkTable.new(:rows=>rows, :cols=>cols, :variable=>ary,
H A Dmaxsize.rb15 cols = 10
19 ((-(cols))..cols).each{|y|
26 table = Tk::TkTable.new(:rows=>rows, :cols=>cols, :variable=>ary,
H A Dbuttons.rb15 cols = 20
17 table = Tk::TkTable.new(:rows=>rows + 1, :cols=>cols + 1,
67 0.step(cols){|j|
H A Dcommand.rb15 cols = 10
19 ((-(cols))..cols).each{|y|
30 table = Tk::TkTable.new(:rows=>rows, :cols=>cols,
/macosx-10.10/CPANInternal-159.1/Class-DBI-v3.0.17/lib/Class/DBI/
H A DColumnGrouper.pm12 my @cols = $colg->group_cols($group);
112 my @cols = map $self->add_column($_), @names;
113 $_->add_group($group) foreach @cols;
114 $self->{_groups}->{$group} = \@cols;
120 my @colg = $cols->group_cols($group);
121 my @groups = $cols->groups_for(@cols);
135 my ($self, @cols) = @_;
136 return _uniq(map $_->groups, @cols);
141 my @cols
[all...]
/macosx-10.10/tcl-105/tcl_ext/expect/expect/example/
H A Dtkterm56 set cols 80 ;# number of columns in term
133 set env(COLUMNS) $cols
211 stty rows $rows columns $cols < $spawn_out(slave,name)
217 -relief sunken -bd 1 -width $cols -height $rows -wrap none -setgrid 1
252 global cols cur_col cur_row
258 set space_rem_on_line [expr $cols - $cur_col]
267 global rows cols cur_row cur_col term
270 set blankline [format %*s $cols ""]\n
285 global rows cols term
288 if {$colsNew > $cols} {
[all...]
/macosx-10.10/sudo-73/src/
H A Dlbuf.h32 int cols; member in struct:lbuf
/macosx-10.10/tcl-105/tcl_ext/mk4tcl/metakit/python/
H A Dmetakit.py29 cols = []
35 cols.append([None])
51 cols[c].append(text)
56 cols[c][0] = widths[c] * '-'
57 cols[c].append(cols[c][0])
63 print '', justs[c](cols[c][r], widths[c]),
/macosx-10.10/tcl-105/tcl_ext/tklib/tklib/modules/controlwidget/
H A DradioMatrix.tcl175 set cols $options(-columns)
177 # Only really need # of cols.
180 if {$cols eq ""} {
181 set cols [expr ($len + $rows - 1)/$rows]
187 for {set i 0} {$i < $cols} {incr i} {
217 # See arrangeHorizontally for the overall picture, just swap cols
221 set cols $options(-columns)
225 set rows [expr ($len + $cols -1)/$cols]
/macosx-10.10/tcsh-65/tcsh/win32/
H A Dnt.screen.c59 static int GetSize(int *lins, int *cols);
90 int lins,cols; local
92 nt_getsize(&lins,&cols,&DisplayWindowHSize);
108 TermH = cols;
188 else if(!lstrcmp(cv,"cols") ) {
450 int lins,cols; local
452 nt_getsize(&lins,&cols,&DisplayWindowHSize);
456 T_Cols = cols;
471 * Return the new window size in lines and cols, and
475 GetSize(int *lins, int *cols) argument
497 ChangeSize(int lins, int cols) argument
[all...]
/macosx-10.10/tcl-105/tcl_ext/tktable/tktable/demos/
H A Dbasic.tcl15 cols 8
33 fill $table(array) $table(rows) $table(cols)
34 table $table(table) -rows $table(rows) -cols $table(cols) \
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-sql/
H A Dschema-map.c384 at_row.cols[ 0 ],
385 at_row.cols[ 1 ],
386 at_row.cols[ 2 ],
387 at_row.cols[ 3 ] ? at_row.cols[ 3 ] : "",
388 at_row.cols[ 4 ] ? at_row.cols[ 4 ] : "",
389 at_row.cols[ 5 ] ? at_row.cols[ 5 ] : "",
390 at_row.cols[
[all...]
/macosx-10.10/CPANInternal-159.1/Template-Toolkit-2.25/lib/Template/Plugin/
H A DTable.pm44 my ($size, $rows, $cols, $coloff, $overlap, $error);
73 $cols = 1;
78 $cols = int ($size / $coloff)
83 elsif ($cols = $params->{ COLS }) {
84 if ($size < $cols) {
85 $cols = $size;
90 $coloff = int ($size / $cols)
91 + ($size % $cols > $overlap ? 1 : 0);
97 $cols = 1;
105 _NCOLS => $cols,
196 sub cols { subroutine
[all...]

Completed in 194 milliseconds

12345678910