Lines Matching defs:ncols
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;
187 memmove(&hdscr->image[dstrow * ncols], &hdscr->image[srcrow * ncols],
188 nrows * ncols);
195 int ncols = hdscr->hlcd_sc->sc_cols;
197 memset(&hdscr->image[startrow * ncols], ' ', ncols * nrows);