Lines Matching refs:cci

204 	ipriv_t *cci = ip->priv;
219 cci->view = views[0].view;
221 ip->cols = cci->view->display.width / ip->ftwidth;
222 ip->rows = cci->view->display.height / ip->ftheight;
228 ite_default_height = cci->view->display.height;
229 ite_default_width = cci->view->display.width;
230 ite_default_x = cci->view->display.x;
231 ite_default_y = cci->view->display.y;
232 ite_default_depth = cci->view->bitmap->depth;
234 if (cci->row_ptr)
235 free_chipmem(cci->row_ptr);
236 if (cci->column_offset)
237 free_chipmem(cci->column_offset);
239 cci->row_ptr = alloc_chipmem(sizeof(u_char *) * ip->rows);
240 cci->column_offset = alloc_chipmem(sizeof(u_int) * ip->cols);
242 if (cci->row_ptr == NULL || cci->column_offset == NULL)
246 cci->width = cci->view->bitmap->bytes_per_row << 3;
247 cci->underline = ip->ftbaseline + 1;
248 cci->row_offset = cci->view->bitmap->bytes_per_row
249 + cci->view->bitmap->row_mod;
250 cci->ft_x = ip->ftwidth;
251 cci->ft_y = ip->ftheight;
253 cci->row_bytes = cci->row_offset * ip->ftheight;
255 cci->row_ptr[0] = VDISPLAY_LINE (cci->view, 0, 0);
257 cci->row_ptr[i] = cci->row_ptr[i-1] + cci->row_bytes;
260 cci->column_offset[0] = 0;
262 cci->column_offset[i] = cci->column_offset[i - 1] + cci->ft_x;
265 cci->font_cell[ip->font_lo] = ip->font;
267 cci->font_cell[i] = cci->font_cell[i-1] + ip->ftheight;
276 ipriv_t *cci;
278 cci = ip->priv;
280 if (cci)
294 cci = alloc_chipmem(sizeof (*cci));
295 if (cci == NULL)
298 ip->priv = cci;
299 cci->cursor_opt = 0;
300 cci->view = NULL;
301 cci->row_ptr = NULL;
302 cci->column_offset = NULL;
322 ipriv_t *cci;
325 cci = ip->priv;
331 is->x = cci->view->display.x;
332 is->y = cci->view->display.y;
333 is->width = cci->view->display.width;
334 is->height = cci->view->display.height;
335 is->depth = cci->view->bitmap->depth;
345 ws.ws_xpixel = cci->view->display.width;
346 ws.ws_ypixel = cci->view->display.height;
391 ipriv_t *cci;
395 cci = ip->priv;
396 v = cci->view;
401 cci->cursor_opt--;
403 if (!cci->cursor_opt)
405 cci->cursor_opt++;
409 if (cci->cursor_opt)
426 pl += cci->row_offset;
431 pl += cci->row_offset;
454 pl += cci->row_offset;
459 pl += cci->row_offset;
490 putc_nm(register ipriv_t *cci, register u_char *p, register u_char *f,
501 putc_in(register ipriv_t *cci, register u_char *p, register u_char *f,
513 putc_ul(register ipriv_t *cci, register u_char *p, register u_char *f,
517 int underline = cci->underline;
526 underline = fh - cci->underline - 1;
535 putc_ul_in(register ipriv_t *cci, register u_char *p, register u_char *f,
539 int underline = cci->underline;
548 underline = fh - cci->underline - 1;
557 putc_bd(register ipriv_t *cci, register u_char *p, register u_char *f,
572 putc_bd_in(register ipriv_t *cci, register u_char *p, register u_char *f,
588 putc_bd_ul(register ipriv_t *cci, register u_char *p, register u_char *f,
592 int underline = cci->underline;
607 underline = fh - cci->underline - 1;
618 putc_bd_ul_in(register ipriv_t *cci, register u_char *p, register u_char *f,
622 int underline = cci->underline;
637 underline = fh - cci->underline - 1;
677 ipriv_t *cci = (ipriv_t *) ip->priv;
685 put_func[mode](cci, cci->row_ptr[dy], cci->font_cell[c],
686 cci->column_offset[dx], cci->row_offset, cci->ft_x, cci->ft_y);
692 ipriv_t *cci = (ipriv_t *) ip->priv;
693 bmap_t *bm = cci->view->bitmap;
701 u_char *ptr = cci->row_ptr[sy];
717 u_char *pl = cci->row_ptr[sy];