HomeSort by: relevance | last modified time | path
    Searched refs:ncols (Results 1 - 25 of 284) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/lib/libcurses/
resize.c 45 static int __resizeterm(WINDOW *win, int nlines, int ncols);
46 static int __resizewin(WINDOW *win, int nlines, int ncols);
56 int ncols = req_ncols; local
62 win, nlines, ncols);
75 if (win->begx + ncols > win->orig->begx + win->orig->maxx)
76 ncols = 0;
77 if (ncols <= 0)
78 ncols += win->orig->begx + win->orig->maxx - win->begx;
79 if (ncols < 1)
80 ncols = 1
    [all...]
resize.c 45 static int __resizeterm(WINDOW *win, int nlines, int ncols);
46 static int __resizewin(WINDOW *win, int nlines, int ncols);
56 int ncols = req_ncols; local
62 win, nlines, ncols);
75 if (win->begx + ncols > win->orig->begx + win->orig->maxx)
76 ncols = 0;
77 if (ncols <= 0)
78 ncols += win->orig->begx + win->orig->maxx - win->begx;
79 if (ncols < 1)
80 ncols = 1
    [all...]
newwin.c 47 static WINDOW *__makenew(SCREEN *screen, int nlines, int ncols, int by,
49 static WINDOW *__subwin(WINDOW *orig, int nlines, int ncols, int by, int bx,
58 derwin(WINDOW *orig, int nlines, int ncols, int by, int bx)
61 return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx,
71 subpad(WINDOW *orig, int nlines, int ncols, int by, int bx)
74 return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx,
104 newwin(int nlines, int ncols, int by, int bx)
107 return __newwin(_cursesi_screen, nlines, ncols, by, bx, FALSE, FALSE);
115 newpad(int nlines, int ncols)
118 if (nlines < 1 || ncols < 1
    [all...]
newwin.c 47 static WINDOW *__makenew(SCREEN *screen, int nlines, int ncols, int by,
49 static WINDOW *__subwin(WINDOW *orig, int nlines, int ncols, int by, int bx,
58 derwin(WINDOW *orig, int nlines, int ncols, int by, int bx)
61 return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx,
71 subpad(WINDOW *orig, int nlines, int ncols, int by, int bx)
74 return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx,
104 newwin(int nlines, int ncols, int by, int bx)
107 return __newwin(_cursesi_screen, nlines, ncols, by, bx, FALSE, FALSE);
115 newpad(int nlines, int ncols)
118 if (nlines < 1 || ncols < 1
    [all...]
cur_hash.c 68 __hash_line(const __LDATA *cp, int ncols)
76 for (x = 0; x < ncols; x++) {
85 return __hash(cp, (size_t)(ncols * __LDATASIZE));
cur_hash.c 68 __hash_line(const __LDATA *cp, int ncols)
76 for (x = 0; x < ncols; x++) {
85 return __hash(cp, (size_t)(ncols * __LDATASIZE));
tstp.c 256 int nlines, ncols; local
290 ncols = COLS;
291 if (curscr->maxy != nlines || curscr->maxx != ncols)
292 wresize(curscr, nlines, ncols);
293 if (stdscr->maxy != nlines || stdscr->maxx != ncols)
294 wresize(stdscr, nlines, ncols);
tstp.c 256 int nlines, ncols; local
290 ncols = COLS;
291 if (curscr->maxy != nlines || curscr->maxx != ncols)
292 wresize(curscr, nlines, ncols);
293 if (stdscr->maxy != nlines || stdscr->maxx != ncols)
294 wresize(stdscr, nlines, ncols);
  /src/sys/dev/ic/
pcdisplay_subr.c 66 off = (scr->cursorrow * scr->type->ncols + scr->cursorcol) * 2
100 off = scr->cursorrow * scr->type->ncols + scr->cursorcol;
114 off = (scr->cursorrow * scr->type->ncols + scr->cursorcol);
136 + row * scr->type->ncols + col;
163 off = row * scr->type->ncols + col;
166 if (__predict_false(off >= (scr->type->ncols * scr->type->nrows)))
179 pcdisplay_copycols(void *id, int row, int srccol, int dstcol, int ncols)
186 srcoff = dstoff = row * scr->type->ncols;
194 ncols);
196 memcpy(&scr->mem[dstoff], &scr->mem[srcoff], ncols * 2)
227 int ncols = scr->type->ncols; local
    [all...]
pcdisplay_subr.c 66 off = (scr->cursorrow * scr->type->ncols + scr->cursorcol) * 2
100 off = scr->cursorrow * scr->type->ncols + scr->cursorcol;
114 off = (scr->cursorrow * scr->type->ncols + scr->cursorcol);
136 + row * scr->type->ncols + col;
163 off = row * scr->type->ncols + col;
166 if (__predict_false(off >= (scr->type->ncols * scr->type->nrows)))
179 pcdisplay_copycols(void *id, int row, int srccol, int dstcol, int ncols)
186 srcoff = dstoff = row * scr->type->ncols;
194 ncols);
196 memcpy(&scr->mem[dstoff], &scr->mem[srcoff], ncols * 2)
227 int ncols = scr->type->ncols; local
    [all...]
vga_raster.c 450 type->nrows * type->ncols * type->fontheight;
463 if (cpos < 0 || cpos >= type->nrows * type->ncols)
501 scr->cursorrow = cpos / type->ncols;
502 scr->cursorcol = cpos % type->ncols;
720 type->ncols * type->nrows, M_DEVBUF, M_WAITOK);
1048 off = (scr->cursorrow * scr->type->ncols + scr->cursorcol) +
1072 off = scr->cursorrow * scr->type->ncols + scr->cursorcol;
1094 off = scr->cursorrow * scr->type->ncols + scr->cursorcol;
1132 off = row * scr->type->ncols + col;
1134 if (__predict_false(off >= (scr->type->ncols * scr->type->nrows))
1307 int ncols; local
    [all...]
vga_raster.c 450 type->nrows * type->ncols * type->fontheight;
463 if (cpos < 0 || cpos >= type->nrows * type->ncols)
501 scr->cursorrow = cpos / type->ncols;
502 scr->cursorcol = cpos % type->ncols;
720 type->ncols * type->nrows, M_DEVBUF, M_WAITOK);
1048 off = (scr->cursorrow * scr->type->ncols + scr->cursorcol) +
1072 off = scr->cursorrow * scr->type->ncols + scr->cursorcol;
1094 off = scr->cursorrow * scr->type->ncols + scr->cursorcol;
1132 off = row * scr->type->ncols + col;
1134 if (__predict_false(off >= (scr->type->ncols * scr->type->nrows))
1307 int ncols; local
    [all...]
  /src/usr.bin/sort/
init.c 83 int ncols = 0; variable
101 p = realloc(clist, (ncols + 2) * sizeof(*clist));
105 memset(&clist[ncols], 0, sizeof(clist[ncols]));
107 for (i = 0; i < ncols; i++)
111 memmove(clist+i+1, clist+i, sizeof(COLDESC)*(ncols-i));
113 ncols++;
116 for (i = 0; i < ncols; i++)
120 memmove(clist+i+1, clist+i,sizeof(COLDESC)*(ncols-i));
122 ncols++
    [all...]
init.c 83 int ncols = 0; variable
101 p = realloc(clist, (ncols + 2) * sizeof(*clist));
105 memset(&clist[ncols], 0, sizeof(clist[ncols]));
107 for (i = 0; i < ncols; i++)
111 memmove(clist+i+1, clist+i, sizeof(COLDESC)*(ncols-i));
113 ncols++;
116 for (i = 0; i < ncols; i++)
120 memmove(clist+i+1, clist+i,sizeof(COLDESC)*(ncols-i));
122 ncols++
    [all...]
  /src/sys/dev/wscons/
vt100_base.h 35 u_int nrows, ncols, crow, ccol; member in struct:vt100base_data
83 if ((d)->ccol > ((d)->ncols >> 1) - 1) \
84 (d)->ccol = ((d)->ncols >> 1) - 1; \
88 #define NCOLS(d) ((d)->ncols >> (d)->dw)
89 #define COLS_LEFT(d) (NCOLS(d) - (d)->ccol - 1)
vt100_base.h 35 u_int nrows, ncols, crow, ccol; member in struct:vt100base_data
83 if ((d)->ccol > ((d)->ncols >> 1) - 1) \
84 (d)->ccol = ((d)->ncols >> 1) - 1; \
88 #define NCOLS(d) ((d)->ncols >> (d)->dw)
89 #define COLS_LEFT(d) (NCOLS(d) - (d)->ccol - 1)
wsemul_dumb.c 74 u_int nrows, ncols, crow, ccol; member in struct:wsemul_dumb_emuldata
91 edp->ncols = type->ncols;
114 edp->ncols = type->ncols;
153 edp->ncols - edp->ccol - 1);
177 if (edp->ccol < edp->ncols)
wsemul_dumb.c 74 u_int nrows, ncols, crow, ccol; member in struct:wsemul_dumb_emuldata
91 edp->ncols = type->ncols;
114 edp->ncols = type->ncols;
153 edp->ncols - edp->ccol - 1);
177 if (edp->ccol < edp->ncols)
wsemul_sun.c 84 u_int nrows, ncols, crow, ccol; member in struct:wsemul_sun_emuldata
112 #define COLS_LEFT (edp->ncols - edp->ccol - 1)
128 edp->ncols = type->ncols;
189 edp->ncols = type->ncols;
280 if (edp->ccol < edp->ncols)
350 if (dst < edp->ncols) {
352 src, dst, edp->ncols - dst);
380 edp->ccol = uimin(NORMALIZE_ARG(0), edp->ncols) - 1
    [all...]
wsemul_sun.c 84 u_int nrows, ncols, crow, ccol; member in struct:wsemul_sun_emuldata
112 #define COLS_LEFT (edp->ncols - edp->ccol - 1)
128 edp->ncols = type->ncols;
189 edp->ncols = type->ncols;
280 if (edp->ccol < edp->ncols)
350 if (dst < edp->ncols) {
352 src, dst, edp->ncols - dst);
380 edp->ccol = uimin(NORMALIZE_ARG(0), edp->ncols) - 1
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/
osdata.c 200 int ncols = 0; local
216 ncols = last->columns.size ();
232 --ncols;
236 ui_out_emit_table table_emitter (uiout, ncols, nrows, "OSDataTable");
240 if (ncols == 0)
osdata.c 200 int ncols = 0; local
216 ncols = last->columns.size ();
232 --ncols;
236 ui_out_emit_table table_emitter (uiout, ncols, nrows, "OSDataTable");
240 if (ncols == 0)
  /src/external/gpl3/gdb/dist/gdb/
osdata.c 200 int ncols = 0; local
216 ncols = last->columns.size ();
232 --ncols;
236 ui_out_emit_table table_emitter (uiout, ncols, nrows, "OSDataTable");
240 if (ncols == 0)
osdata.c 200 int ncols = 0; local
216 ncols = last->columns.size ();
232 --ncols;
236 ui_out_emit_table table_emitter (uiout, ncols, nrows, "OSDataTable");
240 if (ncols == 0)
  /src/external/bsd/openldap/dist/servers/slapd/back-sql/
sql-wrap.c 142 rc = SQLNumResultCols( sth, &row->ncols );
159 "ncols=%d\n", (int)row->ncols );
162 row->col_names = (BerVarray)ber_memcalloc_x( row->ncols + 1,
168 row->col_prec = (UDWORD *)ber_memcalloc_x( row->ncols,
174 row->col_type = (SQLSMALLINT *)ber_memcalloc_x( row->ncols,
180 row->cols = (char **)ber_memcalloc_x( row->ncols + 1,
186 row->value_len = (SQLLEN *)ber_memcalloc_x( row->ncols,
211 for ( i = 0; i < row->ncols; i++ ) {

Completed in 75 milliseconds

1 2 3 4 5 6 7 8 91011>>