Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 25 of 41) sorted by relevance

12

/original-bsd/old/lib2648/
H A Dupdate.c25 update(mold, mnew, rows, cols, baser, basec) in update() argument
27 int rows, cols, baser, basec;
41 aminmax(mold, rows, cols, &r1, &c1, &r2, &c2);
46 dumpmat("mold:", mold, rows, cols);
47 dumpmat("mnew:", mnew, rows, cols);
50 irow = baser + rows - i - 1;
51 if (emptyrow(mnew, rows, cols, i)) {
52 if (emptyrow(mold, rows, cols, i)) {
59 for (j=i+1; j<rows && emptyrow(mnew,rows,cols,j); j++)
70 if (mat(mold,rows,cols,i,j,1)!=mat(mnew,rows,cols,i,j,2)){
[all …]
H A Dnewmat.c19 newmat(rows, cols) in newmat() argument
20 int rows, cols; in newmat()
22 int size = ((cols + 7) >> 3) * rows;
27 fprintf(trace, "newmat: rows=%d, cols=%d\n", rows, cols);
38 zermat(m, rows, cols);
H A Ddumpmat.c18 dumpmat(msg, m, rows, cols) in dumpmat() argument
21 int rows, cols;
28 fprintf(trace, "\ndumpmat %s, m=%x, rows=%d, cols=%d\n", msg, m, rows, cols);
29 minmax(m, rows, cols, &r1, &c1, &r2, &c2);
34 fprintf(trace, "%c", mat(m, rows, cols, r, c, 5) ? 'X' : '.');
H A Dsetmat.c17 setmat(m, rows, cols, r, c, nval) in setmat() argument
19 int rows, cols, r, c, nval;
23 if (r<0 || c<0 || r>=rows || c>=cols) {
26 …fprintf(trace, "setmat range error: (%d, %d) <- %d in a (%d, %d) matrix %x\n", r, c, nval, rows, c…
H A Dzermat.c17 zermat(m, rows, cols) in zermat() argument
19 int rows, cols;
21 register int size = ((cols + 7) >> 3) * rows;
H A Dbitcopy.c19 bitcopy(mdest, msrc, rows, cols) in bitcopy() argument
21 int rows, cols;
23 register int size = ((cols + 7) >> 3) * rows;
H A Dmat.c19 mat(m, rows, cols, r, c) in mat() argument
22 int rows, cols, r;
H A Demptyrow.c20 emptyrow(m, rows, cols, r) in emptyrow() argument
22 int rows, cols, r;
/original-bsd/sys/hp/dev/
H A Dite.c217 tp->t_winsize.ws_row = ip->rows;
444 ip->cury = min(ip->pos, ip->rows-1);
452 ip->cury = min(ip->pos, ip->rows-1);
543 if (++ip->cury == ip->rows) {
629 if (++ip->cury == ip->rows) {
694 if (++ip->cury == ip->rows) {
739 if (ip->cury < ip->rows - 1) {
743 ip->rows - ip->cury - 1, ip->cols);
745 ite_clrtoeol(ip, sp, ip->rows - 1, 0);
752 if (ip->cury < ip->rows - 1) {
[all …]
H A Dite_subr.c39 ip->rows = ip->dheight / ip->ftheight;
H A Ditevar.h48 short rows, cols; member
/original-bsd/games/rogue/
H A Dinventory.c258 short rows = (((COMS / 2) + (COMS % 2)) + 1); in id_com() local
261 if (rows > LINES) { in id_com()
263 rows = LINES; in id_com()
267 for (i = 0; i < rows; i++) { in id_com()
273 for (i = 0; i < rows; i++) { in id_com()
277 for (i = 0; i < (rows-1); i++) { in id_com()
288 mvaddstr(rows - 1, 0, need_two_screens ? more : press_space); in id_com()
293 k += ((rows-1) * 2); in id_com()
297 for (i = 0; i < rows; i++) { in id_com()
/original-bsd/usr.bin/ex/
H A Dex_set.c168 register int rows = incr; in prall() local
171 for (; rows; rows--, op++) { in prall()
/original-bsd/contrib/sc/
H A DTODO8 (no more ##Meg images except for 100,000's of rows....)
15 -the maximum # of rows is limited by the virtual memory limit or
17 (4*X=64k, X=16384 rows (excluding malloc overhead) on
62 b) insert a few rows, look at the equations below the insert point
63 c) delete the inserted rows
H A Dsc.c173 int rows; local
221 for (i = strow, rows = 0, row=RESROW; row<LINES && i<maxrows; i++) {
222 rows++;
228 while (strow + rows - 1 < currow || currow < strow) {
232 } else if (strow + rows == currow) { /* Down one? */
246 for (i = strow, rows = 0, row=RESROW; row<LINES && i<maxrows; i++) {
247 rows++;
254 mxrow = strow + rows - 1;
/original-bsd/bin/csh/
H A Dfile.c230 register int i, rows, r, c, maxwidth = 0, columns; local
240 rows = (count + (columns - 1)) / columns;
241 for (r = 0; r < rows; r++) {
243 i = c * rows + r;
/original-bsd/sys/hp300/dev/
H A Dite_dv.c193 height = ip->rows - sy;
197 height = ip->rows - dy - 1;
H A Dite_gb.c173 height = ip->rows - sy;
179 height = ip->rows - dy;
H A Dite_rb.c192 height = ip->rows - sy;
196 height = ip->rows - dy - 1;
H A Dite_tc.c201 height = ip->rows - sy;
205 height = ip->rows - dy - 1;
H A Dite_hy.c169 height = ip->rows - sy;
173 height = ip->rows - dy - 1;
/original-bsd/sys/hp300/stand/
H A Dite.c210 if (++ip->cury == ip->rows) {
247 if (++ip->cury == ip->rows) {
H A Dite_subr.c32 ip->rows = ip->dheight / ip->ftheight;
H A Dite_tc.c125 register int height = ip->rows - sy;
/original-bsd/usr.bin/tn3270/ctlr/
H A Dapi.h130 rows, member

12