Lines Matching refs:num
47 NAME(erasecols)(cookie, row, col, num, attr)
49 int row, col, num; variable
64 num += col;
68 if ((col + num) > ri->ri_cols)
69 num = ri->ri_cols - col;
71 if (num <= 0)
75 num *= ri->ri_font->fontwidth << PIXEL_SHIFT;
80 if ((col & 31) + num <= 32) {
81 lmask = ~rasops_pmask[col & 31][num];
92 rmask = rasops_lmask[(col + num) & 31];
95 num = (num - (32 - (col & 31))) >> 5;
97 num = num >> 5;
111 for (cnt = num; cnt > 0; cnt--)
127 int lmask, rmask, height, row, col, num; variable
133 num = ri->ri_font->fontwidth << PIXEL_SHIFT;
136 if ((col & 31) + num <= 32) {
137 lmask = rasops_pmask[col & 31][num];
146 rmask = ~rasops_lmask[(col + num) & 31];
165 NAME(copycols)(cookie, row, src, dst, num)
167 int row, src, dst, num; variable
184 num += src;
188 if ((src + num) > ri->ri_cols)
189 num = ri->ri_cols - src;
192 num += dst;
196 if ((dst + num) > ri->ri_cols)
197 num = ri->ri_cols - dst;
199 if (num <= 0)
206 num *= cnt;
211 if (db + num <= 32) {
218 GETBITS(srp, sb, num, tmp);
219 PUTBITS(tmp, db, num, drp);
228 rmask = rasops_lmask[(dst + num) & 31];
230 rnum = (dst + num) & 31;
233 full = (num - (32 - (dst & 31))) >> 5;
235 full = num >> 5;
237 if (src < dst && src + num > dst) {
240 src = src + num;
241 dst = dst + num;