Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/original-bsd/sys/hp/dev/
H A Dite.c146 bzero(ip->attrbuf, (ip->rows * ip->cols));
444 ip->cury = min(ip->pos, ip->rows-1);
452 ip->cury = min(ip->pos, ip->rows-1);
458 ip->curx = min(ip->pos, ip->cols-1);
712 attrmov(ip, ip->cury, ip->curx + 1, ip->cury, ip->curx,
727 attrmov(ip, ip->cury, ip->curx, ip->cury, ip->curx + 1,
730 attrclr(ip, ip->cury, ip->curx, 1, 1);
743 ip->rows - ip->cury - 1, ip->cols);
756 ip->rows - ip->cury - 1, ip->cols);
775 (*sp->ite_clear)(ip, ip->cury, 0, ip->rows - ip->cury, ip->cols);
[all …]
H A Dite_subr.c39 ip->rows = ip->dheight / ip->ftheight;
40 ip->cols = ip->dwidth / ip->ftwidth;
46 ip->fontx = ip->dwidth;
48 ip->cpl = (ip->fbwidth - ip->dwidth) / ip->ftwidth;
49 ip->cblankx = ip->dwidth;
50 ip->cblanky = ip->fonty + ((128 / ip->cpl) +1) * ip->ftheight;
57 ip->fonty = ip->dheight;
58 ip->cpl = ip->fbwidth / ip->ftwidth;
60 ip->cblanky = ip->fonty + ((128 / ip->cpl) + 1) * ip->ftheight;
77 (ip->fonty + (c / ip->cpl) * ip->ftheight) * ip->fbwidth +
[all …]
H A Ditevar.h83 ((* (u_char *) attrloc(ip, ip->cury, ip->curx)) & attr)
86 ((* (u_char *) attrloc(ip, ip->cury, ip->curx)) = attr)
92 (((c) % (ip)->cpl) * (ip)->ftwidth + (ip)->fontx)
95 (((c) / (ip)->cpl) * (ip)->ftheight + (ip)->fonty)
101 WINDOWMOVER(ip, ip->cblanky, ip->cblankx, \
102 ip->cury * ip->ftheight, \
103 ip->curx * ip->ftwidth, \
105 ip->cursorx = ip->curx; \
106 ip->cursory = ip->cury; }
109 WINDOWMOVER(ip, ip->cblanky, ip->cblankx, \
[all …]
/original-bsd/sys/hp300/stand/
H A Dite_subr.c32 ip->rows = ip->dheight / ip->ftheight;
33 ip->cols = ip->dwidth / ip->ftwidth;
39 ip->fontx = ip->dwidth;
41 ip->cpl = (ip->fbwidth - ip->dwidth) / ip->ftwidth;
42 ip->cblankx = ip->dwidth;
43 ip->cblanky = ip->fonty + ((128 / ip->cpl) +1) * ip->ftheight;
50 ip->fonty = ip->dheight;
51 ip->cpl = ip->fbwidth / ip->ftwidth;
53 ip->cblanky = ip->fonty + ((128 / ip->cpl) + 1) * ip->ftheight;
70 (ip->fonty + (c / ip->cpl) * ip->ftheight) * ip->fbwidth +
[all …]
H A Dite_tc.c72 topcat_windowmove(ip, 0, 0, 0, 0, ip->fbheight, ip->fbwidth, RR_CLEAR);
73 tc_waitbusy(ip->regbase, ip->planemask);
80 topcat_windowmove(ip, charY(ip, ' '), charX(ip, ' '),
81 ip->cblanky, ip->cblankx, ip->ftheight,
90 topcat_windowmove(ip, charY(ip, c), charX(ip, c),
91 dy * ip->ftheight, dx * ip->ftwidth,
92 ip->ftheight, ip->ftwidth, RR_COPY);
113 topcat_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
115 h * ip->ftheight, w * ip->ftwidth,
129 topcat_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
[all …]
H A Dite_rb.c51 rbox_windowmove(ip, 0, 0, 0, 0, ip->fbheight, ip->fbwidth, RR_CLEAR);
95 rbox_windowmove(ip, charY(ip, ' '), charX(ip, ' '),
96 ip->cblanky, ip->cblankx, ip->ftheight,
105 rbox_windowmove(ip, charY(ip, c), charX(ip, c),
106 dy * ip->ftheight, dx * ip->ftwidth,
107 ip->ftheight, ip->ftwidth, RR_COPY);
128 rbox_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
130 h * ip->ftheight, w * ip->ftwidth,
144 rbox_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
145 dy * ip->ftheight, sx * ip->ftwidth,
[all …]
H A Dite_gb.c30 gbox_init(ip) in gbox_init() argument
73 gbox_windowmove(ip, 0, 0, 0, 0, ip->dheight, ip->dwidth, RR_CLEAR);
79 gbox_windowmove(ip, charY(ip, ' '), charX(ip, ' '),
80 ip->cblanky, ip->cblankx, ip->ftheight,
89 gbox_windowmove(ip, charY(ip, c), charX(ip, c),
90 dy * ip->ftheight, dx * ip->ftwidth,
91 ip->ftheight, ip->ftwidth, RR_COPY);
112 gbox_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
113 sy * ip->ftheight, sx * ip->ftwidth,
114 h * ip->ftheight, w * ip->ftwidth,
[all …]
H A Dite_hy.c32 (((c) % (ip)->cpl) * ((((ip)->ftwidth + 7) / 8) * 8) + (ip)->fontx)
41 ip->cpl = (ip->fbwidth - ip->dwidth) / width;
42 ip->cblanky = ip->fonty + ((128 / ip->cpl) +1) * ip->ftheight;
49 hyper_windowmove(ip, 0, 0, 0, 0, ip->fbheight, ip->fbwidth, RR_CLEAR);
56 hyper_windowmove(ip, charY(ip, ' '), charX(ip, ' '),
57 ip->cblanky, ip->cblankx, ip->ftheight,
75 (ip->fonty + (c / ip->cpl) * ip->ftheight) *
94 hyper_windowmove(ip, charY(ip, c), charX(ip, c),
120 hyper_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
136 hyper_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
[all …]
H A Dite.c110 ip->fbbase += (int)ip->regbase; in iteconfig()
122 if (ip->dwidth > ip->fbwidth) in iteconfig()
123 ip->dwidth = ip->fbwidth; in iteconfig()
124 if (ip->dheight > ip->fbheight) in iteconfig()
125 ip->dheight = ip->fbheight; in iteconfig()
193 (*ip->isw->ite_init)(ip);
210 if (++ip->cury == ip->rows) {
213 ite_clrtoeol(ip, sp, ip->cury, 0);
234 (*sp->ite_putc)(ip, c, ip->cury, ip->curx, ATTR_NOR);
245 if (++ip->curx == ip->cols) {
[all …]
H A Dite_dv.c92 dvbox_windowmove(ip, 0, 0, 0, 0, ip->dheight, ip->dwidth, RR_CLEAR);
98 dvbox_windowmove(ip, charY(ip, ' '), charX(ip, ' '),
99 ip->cblanky, ip->cblankx, ip->ftheight,
109 dvbox_windowmove(ip, charY(ip, c), charX(ip, c),
110 dy * ip->ftheight, dx * ip->ftwidth,
111 ip->ftheight, ip->ftwidth, RR_COPY);
132 dvbox_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
134 h * ip->ftheight, w * ip->ftwidth,
148 dvbox_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
149 dy * ip->ftheight, sx * ip->ftwidth,
[all …]
/original-bsd/bin/stty/
H A Dkey.c109 f_all(ip) in f_all() argument
112 print(&ip->t, &ip->win, ip->ldisc, BSD);
136 ip->win.ws_col = atoi(ip->arg);
141 f_dec(ip) in f_dec() argument
159 print(&ip->t, &ip->win, ip->ldisc, BSD);
182 cfsetispeed(&ip->t, atoi(ip->arg));
187 f_nl(ip) in f_nl() argument
206 cfsetospeed(&ip->t, atoi(ip->arg));
211 f_raw(ip) in f_raw() argument
230 ip->win.ws_row = atoi(ip->arg);
[all …]
/original-bsd/sys/hp300/dev/
H A Dite_rb.c62 if (ip->dwidth > ip->fbwidth)
63 ip->dwidth = ip->fbwidth;
64 if (ip->dheight > ip->fbheight)
65 ip->dheight = ip->fbheight;
86 rbox_windowmove(ip, 0, 0, 0, 0, ip->fbheight, ip->fbwidth, RR_CLEAR);
130 rbox_windowmove(ip, charY(ip, ' '), charX(ip, ' '),
131 ip->cblanky, ip->cblankx, ip->ftheight,
151 rbox_windowmove(ip, charY(ip, c), charX(ip, c),
153 ip->ftheight, ip->ftwidth, wrr);
174 rbox_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
[all …]
H A Dite_gb.c40 gbox_init(ip) in gbox_init() argument
96 gbox_windowmove(ip, 0, 0, 0, 0, ip->dheight, ip->dwidth, RR_CLEAR);
102 gbox_windowmove(ip, charY(ip, ' '), charX(ip, ' '),
103 ip->cblanky, ip->cblankx, ip->ftheight,
110 gbox_windowmove(ip, 0, 0, 0, 0, ip->dheight, ip->dwidth, RR_CLEAR);
123 gbox_windowmove(ip, charY(ip, c), charX(ip, c),
124 dy * ip->ftheight, dx * ip->ftwidth,
125 ip->ftheight, ip->ftwidth, wrr);
146 gbox_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
147 sy * ip->ftheight, sx * ip->ftwidth,
[all …]
H A Dite_dv.c62 if (ip->dwidth > ip->fbwidth)
63 ip->dwidth = ip->fbwidth;
64 if (ip->dheight > ip->fbheight)
65 ip->dheight = ip->fbheight;
125 dvbox_windowmove(ip, 0, 0, 0, 0, ip->dheight, ip->dwidth, RR_CLEAR);
131 dvbox_windowmove(ip, charY(ip, ' '), charX(ip, ' '),
132 ip->cblanky, ip->cblankx, ip->ftheight,
152 dvbox_windowmove(ip, charY(ip, c), charX(ip, c),
154 ip->ftheight, ip->ftwidth, wrr);
175 dvbox_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
[all …]
H A Dite_tc.c94 topcat_windowmove(ip, 0, 0, 0, 0, ip->fbheight, ip->fbwidth, RR_CLEAR);
95 tc_waitbusy(ip->regbase, ip->planemask);
139 topcat_windowmove(ip, charY(ip, ' '), charX(ip, ' '),
140 ip->cblanky, ip->cblankx, ip->ftheight,
147 topcat_windowmove(ip, 0, 0, 0, 0, ip->fbheight, ip->fbwidth, RR_CLEAR);
148 tc_waitbusy(ip->regbase, ip->planemask);
160 topcat_windowmove(ip, charY(ip, c), charX(ip, c),
161 dy * ip->ftheight, dx * ip->ftwidth,
162 ip->ftheight, ip->ftwidth, wmrr);
183 topcat_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
[all …]
H A Dite_hy.c44 (((c) % (ip)->cpl) * ((((ip)->ftwidth + 7) / 8) * 8) + (ip)->fontx)
65 ip->cpl = (ip->fbwidth - ip->dwidth) / width;
66 ip->cblanky = ip->fonty + ((128 / ip->cpl) +1) * ip->ftheight;
71 hyper_windowmove(ip, 0, 0, 0, 0, ip->fbheight, ip->fbwidth, RR_CLEAR);
80 hyper_windowmove(ip, charY(ip, ' '), charX(ip, ' '),
81 ip->cblanky, ip->cblankx, ip->ftheight,
88 hyper_windowmove(ip, 0, 0, 0, 0, ip->fbheight, ip->fbwidth, RR_CLEAR);
108 (ip->fonty + (c / ip->cpl) * ip->ftheight) *
128 hyper_windowmove(ip, charY(ip, c), charX(ip, c),
151 hyper_windowmove(ip, sy * ip->ftheight, sx * ip->ftwidth,
[all …]
/original-bsd/old/implog/
H A Dimplog.c208 ip->il_imp = ntohs(ip->il_imp);
235 impdata(ip, cc) in impdata() argument
246 register u_char *cp = ((u_char *)ip) + sizeof(*ip);
314 ip->il_htype, ip->il_host, ip->il_imp);
346 printf("host %u/%u dead: ", ip->il_host, ip->il_imp);
380 ip->il_htype, ip->il_host, ip->il_imp);
403 ip->il_htype, ip->il_host, ip->il_imp);
482 ip->il_network, ip->il_flags);
484 ip->il_mtype, ip->il_htype, ip->il_host, ip->il_host,
485 ip->il_imp, ip->il_imp);
[all …]
/original-bsd/sys/ufs/ffs/
H A Dufs_ihash.c48 for (ip = ihashtbl[INOHASH(device, inum)];; ip = ip->i_next) {
49 if (ip == NULL)
51 if (inum == ip->i_number && device == ip->i_dev)
70 for (ip = ihashtbl[INOHASH(device, inum)];; ip = ip->i_next) {
71 if (ip == NULL)
73 if (inum == ip->i_number && device == ip->i_dev) {
92 ufs_ihashins(ip) in ufs_ihashins() argument
97 ipp = &ihashtbl[INOHASH(ip->i_dev, ip->i_number)];
100 ip->i_next = iq;
102 *ipp = ip;
[all …]
H A Dufs_inode.c70 if (ip->i_mode == 0) {
83 ip->i_lockholder = -1;
88 if (!getinoquota(ip))
92 ip->i_rdev = 0;
93 mode = ip->i_mode;
94 ip->i_mode = 0;
128 ip = VTOI(vp);
129 ufs_ihashrem(ip);
134 if (ip->i_devvp) {
135 vrele(ip->i_devvp);
[all …]
/original-bsd/sys/deprecated/bbnnet/
H A Dip_input.c152 register struct ip *ip; local
177 ip = mtod(mp, struct ip *);
188 ip = mtod(mp, struct ip *);
206 ip = mtod(mp, struct ip *);
392 register struct ip *ip; in ip_reass()
457 ip->ip_end = ip->ip_off + ip->ip_len - 1;
598 register struct ip *ip; variable
842 struct ip *ip; variable
923 register struct ip *ip; in ip_opt()
1254 struct ip *ip;
[all …]
H A Dic_output.c37 struct ip *ip; in icmp_addr()
68 struct ip *ip; in ping_addr()
100 struct ip *ip; in redir_addr()
152 register struct ip *ip; variable
154 ip = mtod(m, struct ip *);
156 ip->ip_tos = 0;
213 register struct ip *ip; variable
217 ip = mtod(m, struct ip *);
255 register struct ip *ip; variable
257 ip = mtod(m, struct ip *);
[all …]
/original-bsd/usr.bin/lam/
H A Dlam.c61 for (ip = input; ip->fp != NULL; ip++)
93 ip->pad = P;
95 ip->sepstring = (S ? (ip-1)->sepstring : "");
97 ip->format = ((P || F) ? (ip-1)->format : "%s");
99 ip->eol = (T ? (ip-1)->eol : '\n');
100 ip++;
120 ip->pad = 1;
145 pad(ip) in pad() argument
161 gatherline(ip) in gatherline() argument
170 if (ip->eof)
[all …]
/original-bsd/sys/ufs/ufs/
H A Dufs_ihash.c48 struct inode *ip; local
51 for (ip = INOHASH(dev, inum)->lh_first; ip; ip = ip->i_hash.le_next)
52 if (inum == ip->i_number && dev == ip->i_dev)
56 if (ip)
71 struct inode *ip; local
76 for (ip = INOHASH(dev, inum)->lh_first; ip; ip = ip->i_hash.le_next) {
77 if (inum == ip->i_number && dev == ip->i_dev) {
78 vp = ITOV(ip);
94 ufs_ihashins(ip) in ufs_ihashins() argument
104 ipp = INOHASH(ip->i_dev, ip->i_number);
[all …]
H A Dufs_inode.c54 if (ip->i_mode == 0)
58 if (!getinoquota(ip))
62 ip->i_rdev = 0;
63 mode = ip->i_mode;
64 ip->i_mode = 0;
78 if (ip->i_mode == 0)
100 ip = VTOI(vp);
101 ufs_ihashrem(ip);
106 if (ip->i_devvp) {
107 vrele(ip->i_devvp);
[all …]
/original-bsd/sys/netinet/
H A Dip_input.c117 register struct ip *ip; in ipintr() local
149 ip = mtod(m, struct ip *); in ipintr()
164 ip = mtod(m, struct ip *); in ipintr()
259 ip->ip_id = htons(ip->ip_id); in ipintr()
265 ip->ip_id = ntohs(ip->ip_id); in ipintr()
318 ip = mtod(m, struct ip *); in ipintr()
508 return ((struct ip *)ip);
613 register struct ip *ip = mtod(m, struct ip *); local
930 struct ip *ip = mtod(m, struct ip *); local
972 register struct ip *ip = mtod(m, struct ip *); local
[all …]

12345678910>>...13