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

1 2

  /src/sys/dev/wscons/
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)
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_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...]
wsdisplayvar.h 98 int ncols, nrows; member in struct:wsscreen_descr
  /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...]
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...]
hd44780_subr.c 144 hlcd_copycols(void *id, int row, int srccol, int dstcol, int ncols)
148 if ((dstcol + ncols - 1) > hdscr->hlcd_sc->sc_cols)
149 ncols = hdscr->hlcd_sc->sc_cols - srccol;
154 ncols);
156 memmove(&hdscr->image[dstcol], &hdscr->image[srccol], ncols);
164 hlcd_erasecols(void *id, int row, int startcol, int ncols, long fillattr)
168 if ((startcol + ncols) > hdscr->hlcd_sc->sc_cols)
169 ncols = hdscr->hlcd_sc->sc_cols - startcol;
173 ' ', ncols);
175 memset(&hdscr->image[startcol], ' ', ncols);
183 int ncols = hdscr->hlcd_sc->sc_cols; local
195 int ncols = hdscr->hlcd_sc->sc_cols; local
    [all...]
vga.c 455 scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2;
464 if (cpos < 0 || cpos >= type->nrows * type->ncols)
487 scr->pcs.cursorrow = cpos / type->ncols;
488 scr->pcs.cursorcol = cpos % type->ncols;
877 malloc(scr1->pcs.type->ncols * scr1->pcs.type->nrows * 2,
885 scr->pcs.mem = malloc(type->ncols * type->nrows * 2,
1039 oldtype->ncols * oldtype->nrows);
1057 scr->pcs.dispoffset, scr->pcs.mem, type->ncols * type->nrows);
1136 int ncols = scr->pcs.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...]
  /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...]
  /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)
  /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)
  /src/games/boggle/boggle/
mach.c 67 static int ncols; variable
133 prtable(pword, npwords, 0, ncols, prword, prwidth);
140 prtable(mword, nmwords, 0, ncols, prword, prwidth);
573 ncols = COLS;
  /src/usr.bin/column/
column.c 218 char **cols, **ncols; local
227 ncols = erealloc(cols, (maxcols +
228 DEFCOLS) * sizeof(*ncols));
231 cols = ncols;
  /src/external/bsd/openldap/dist/servers/slapd/back-sql/
add.c 169 for ( i = 0; i < row.ncols; i++ ) {
1247 SWORD ncols; local
1274 rc = SQLNumResultCols( sth, &ncols );
1286 } else if ( ncols != 1 ) {
1288 "create_proc result is bogus (ncols=%d)\n",
1289 op->ora_e->e_name.bv_val, ncols );
back-sql.h 183 SWORD ncols; member in struct:__anon7793
  /src/sys/dev/isa/
ega.c 346 scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2;
353 if (cpos < 0 || cpos >= type->nrows * type->ncols)
368 scr->pcs.cursorrow = cpos / type->ncols;
369 scr->pcs.cursorcol = cpos % type->ncols;
595 malloc(type->ncols * type->nrows * 2, M_DEVBUF, M_WAITOK);
606 scr->pcs.mem = malloc(type->ncols * type->nrows * 2,
709 oldtype->ncols * oldtype->nrows);
728 type->ncols * type->nrows);
838 int ncols = scr->pcs.type->ncols; local
    [all...]
  /src/external/bsd/mdocml/dist/
mdoc.h 124 size_t ncols; /* -column arg count */ member in struct:mdoc_bl
mdoc_term.c 628 size_t ncols, dcol; local
694 ncols = bl->norm->Bl.ncols;
695 dcol = ncols < 5 ? term_len(p, 4) :
696 ncols == 5 ? term_len(p, 3) : term_len(p, 1);
704 nn->prev && i < (int)ncols;
718 if (i >= (int)ncols)
  /src/usr.sbin/sunlabel/
sunlabel.c 971 int ncols; local
982 ncols = 80;
988 ncols = n;
993 ncols = wsz.ws_col;
997 ncols = tsz.ts_cols;
1000 if (ncols < 20)
1001 ncols = 20;
1002 return ncols;
1019 size_t ncols; local
1083 ncols = screen_columns() - 2
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
regcomp.c 1393 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; local
1396 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize)
1410 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; local
1414 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize)
  /src/external/bsd/nvi/dist/regex/
regcomp.c 1383 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; local
1386 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize)
1401 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; local
1405 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize)
  /src/sys/arch/amiga/dev/
amidisplaycc.c 277 int ncols; member in struct:amidisplaycc_screen
461 adp->gfxwidth = amidisplaycc_screentab[0].wsdescr.ncols *
509 if (row < 0 || col < 0 || row >= scr->nrows || col >= scr->ncols)
605 if (row < 0 || col < 0 || row >= scr->nrows || col >= scr->ncols)
702 amidisplaycc_copycols(void *screen, int row, int srccol, int dstcol, int ncols)
717 if (srccol < 0 || srccol + ncols > scr->ncols ||
718 dstcol < 0 || dstcol + ncols > scr->ncols ||
734 for (i = ncols - 1 ; i >= 0 ; i--
    [all...]
  /src/external/gpl3/binutils/dist/gprofng/src/
Print.cc 2376 int ncols = 0; local
2378 ncols++;
2380 ncols++;
2382 ncols++;
2383 if (ncols == 0)
2390 if (ncols == 1)
2412 ncols, style,

Completed in 57 milliseconds

1 2